Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
abad7c5
Add ConstraintMetadataStore / VariableMetadataStore types
termoshtt Apr 27, 2026
a6b764e
Hold metadata stores at the collection layer
termoshtt Apr 27, 2026
6e0d759
WIP: remove per-element metadata field from constraint / DV structs
termoshtt Apr 27, 2026
1507133
WIP: Phase B — serializer per-element shims (default metadata)
termoshtt Apr 27, 2026
05c4f6e
WIP: Phase C — solution.rs / sample_set extract via SoA store
termoshtt Apr 27, 2026
e73897d
WIP: Phase D — mutation sites write through SoA store
termoshtt Apr 27, 2026
2cc4e74
WIP: Phase E — parse/serialize boundary plumbing for ParametricInstan…
termoshtt Apr 27, 2026
749fbee
WIP: Phase F — Rust SDK tests green (470 passing, 0 failed)
termoshtt Apr 27, 2026
24a24a1
WIP: Phase G — PyO3 wrappers carry metadata locally (constraint / DV …
termoshtt Apr 27, 2026
104017b
WIP: Phase G — pandas.rs WithMetadata, Solution / SampleSet / Paramet…
termoshtt Apr 27, 2026
dc78cd6
Phase G — Solution / SampleSet propagate variable_metadata in evaluat…
termoshtt Apr 27, 2026
f9c6be6
docs(metadata-soa): mark landed vs deferred parts in METADATA_STORAGE…
termoshtt Apr 27, 2026
e17629d
Regenerate stub
termoshtt Apr 27, 2026
0428a52
Phase G — fix create_qubo_manually example for SoA metadata storage
termoshtt Apr 27, 2026
2c1edbe
Phase G fixes: Codex review findings + bytes/From scope reduction
termoshtt Apr 27, 2026
7f01bdf
Phase G fixes (round 2): Codex second review findings
termoshtt Apr 27, 2026
56455e6
docs(metadata-soa): include NamedFunction migration in proposal
termoshtt Apr 28, 2026
d6afb53
Promote LogicalMemoryProfile to pub, derive everywhere, add IDType ma…
termoshtt Apr 28, 2026
67e8c4a
Merge branch 'main' into feat/metadata-soa-rust
termoshtt Apr 28, 2026
3a1c688
Fix doc-claim drift around LogicalMemoryProfile pub-promotion
termoshtt Apr 28, 2026
6b8e5ad
Replace *_collection_mut with narrow *_metadata_mut accessors
termoshtt Apr 28, 2026
84a5dad
Merge remote-tracking branch 'origin/main' into feat/metadata-soa-rust
termoshtt Apr 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
233 changes: 171 additions & 62 deletions METADATA_STORAGE_V3.md

Large diffs are not rendered by default.

477 changes: 4 additions & 473 deletions docs/api/api_reference.json

Large diffs are not rendered by default.

17 changes: 0 additions & 17 deletions python/ommx-tests/tests/test_named_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,6 @@ def test_optional_fields_default(self):
assert nf.parameters == {}


class TestNamedFunctionSerialization:
def test_roundtrip(self):
x = DecisionVariable.integer(1)
nf = NamedFunction(
id=7,
function=2 * x + 1,
name="test",
subscripts=[3],
)
data = nf.to_bytes()
nf2 = NamedFunction.from_bytes(data)
assert nf2.id == 7
assert nf2.name == "test"
assert nf2.subscripts == [3]
assert nf2.function.evaluate({1: 5.0}) == 11.0


class TestNamedFunctionArithmetic:
def test_add(self):
x = DecisionVariable.integer(1)
Expand Down
7 changes: 0 additions & 7 deletions python/ommx-tests/tests/test_serialize.py

This file was deleted.

47 changes: 12 additions & 35 deletions python/ommx/ommx/_ommx_rust/__init__.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading