You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ltm: exhaustive and pinned loop results lack cycle partition info #685
Discovery-mode results tell you which cycle partition each loop belongs to (a partition is a group of stocks coupled by feedback; relative loop scores are only comparable within one partition).
The exhaustive and pinned-loop results did not: SimlinLoop, pysimlin Model.loops/Run.loops, and the MCP loop summary had no partition field, even though the engine had computed it.
Status
This looks fixed on main by #732. SimlinLoop.partition and SimlinLoops.partitions exist (src/libsimlin/src/ffi.rs), pysimlin has Model.loop_partitions and Loop.partition, and the TS Loop type has partition (src/engine/src/types.ts).
Partition indices are only meaningful within one result; the docs say to match partitions across results by their set of stock names. #732's description says "Fixes #495, #679, #685, #701", but GitHub only auto-closed the first issue in that list.
d42c8a7 (#732) added SimlinLoop.partition and SimlinLoops.partitions (src/libsimlin/src/ffi.rs:199, :216; filled in analysis.rs:244-285), pysimlin Loop.partition and Model.loop_partitions (model.py:715, :763; run.py:364), TS Loop.partition (src/engine/src/internal/analysis.ts:349-362), and the MCP summary's partition (src/simlin-mcp-core/src/types.rs:236). Pinned by src/libsimlin/tests/integration/analysis.rs:3539, src/pysimlin/tests/test_model.py:513-553, src/simlin-engine/tests/integration/simulate_ltm_pinned.rs:1307 and src/simlin-mcp-core/tests/integration/read_model_e2e.rs:182.
Activity
[-]ltm: expose cycle-partition metadata on exhaustive/pinned loop surfaces (SimlinLoop, Model.loops/Run.loops, MCP LoopDominanceSummary), keyed by stock-set identity[/-][+]ltm: exhaustive and pinned loop results lack cycle partition info[/+]bpowers commentedon Oct 12, 2026
Closing: already fixed on main.
d42c8a7 (#732) added
SimlinLoop.partitionandSimlinLoops.partitions(src/libsimlin/src/ffi.rs:199, :216; filled in analysis.rs:244-285), pysimlinLoop.partitionandModel.loop_partitions(model.py:715, :763; run.py:364), TSLoop.partition(src/engine/src/internal/analysis.ts:349-362), and the MCP summary'spartition(src/simlin-mcp-core/src/types.rs:236). Pinned by src/libsimlin/tests/integration/analysis.rs:3539, src/pysimlin/tests/test_model.py:513-553, src/simlin-engine/tests/integration/simulate_ltm_pinned.rs:1307 and src/simlin-mcp-core/tests/integration/read_model_e2e.rs:182.