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: discovery misses loops active only between saved steps #309
Loop discovery looks at link scores only at saved time steps, not at every DT.
When save_step is larger than dt, a loop that is active only between two saved steps is never seen and never reported.
The papers search at every DT (Schoenberg, Davidsen and Eberlein 2020; docs/reference/ltm--loops-that-matter.md section 12.4).
Example
With dt = 1/8 and save_step = 1, a loop that becomes active and then goes quiet within a single time unit is missing from the discovered loop list, while a run with save_step = 1/8 reports it.
This is the expected behavior from the code; no such model has been built.
The recorded scores themselves are correct at every saved step: each is the score over the last DT ending at that time, the same number a save_step = dt run records there.
Only which loops are found is affected.
Why it matters
Only loops that are briefly dominant between saved steps are affected.
Not seen in a real model.
The user workaround is to set save_step = dt for the analysis run.
Fix
Recommended: leave it as a documented divergence (it already is, in the design doc's "Divergences from the Papers").
Alternative: have analyze_model run its own simulation with save_step = dt regardless of the project's setting; this costs memory proportional to dt / save_step on large models such as C-LEARN, and changes the time axis of the returned dominance series.
changed the title [-]ltm-finding: discovery runs at save_step instead of dt[/-][+]ltm: discovery misses loops active only between saved steps[/+]on Oct 12, 2026
Already a documented intentional divergence (design doc 'Divergences from the Papers' item 1), recorded scores are correct, the user workaround is save_step = dt, and no real model has shown it.
Activity
doc: refresh LTM tech-debt entries after triage of open issues
engine: exact LTM discovery with a shortest-path fallback (#1023)
[-]ltm-finding: discovery runs at save_step instead of dt[/-][+]ltm: discovery misses loops active only between saved steps[/+]bpowers commentedon Oct 12, 2026
Closing as won't fix.
Already a documented intentional divergence (design doc 'Divergences from the Papers' item 1), recorded scores are correct, the user workaround is save_step = dt, and no real model has shown it.