Skip to content

ltm: discovery's 200-loop cap can still drop single-loop groups #677

Open

Description

@bpowers

Owner decision: accept the remaining case and close, or add a per-group floor to the 200-loop cap.

Discovery reports at most 200 loops.
Since #1023 the cap first keeps, in every feedback group (cycle partition) with two or more loops, the loop that dominates at each step, and retained_loops tells callers how many loops were cut.

What it still drops:

  • Loops that are alone in their group, past the cap (the weakest by magnitude go first).
  • If more than 200 loops each dominate some step in a group of two or more, only the top-ranked 200 of them are kept.

A caller sees only that retained_loops exceeds the reported count, not which groups lost their loop.
No real model is known to hit this.

Fix

Recommended: close.
A loop alone in its group always has a relative score of plus or minus 1, so "dominant in its group" says nothing about it; the cap is the paper's 200, and the cut is visible.
Alternative: list the groups with no reported loop beside retained_loops (S), or raise the cap for models with many groups.

Pointers

  • src/simlin-engine/src/ltm_finding.rs: select_reported, MAX_LOOPS

Activity

  1. added
    ltm
    on Jun 2, 2026
  2. changed the title [-]ltm-finding: global MAX_LOOPS truncation is partition-blind past 200 partitions (no per-partition floor)[/-] [+]ltm: discovery's 200-loop cap can drop a feedback group's dominant loop[/+] on Oct 12, 2026
  3. added
    bug
    on Oct 12, 2026
  4. changed the title [-]ltm: discovery's 200-loop cap can drop a feedback group's dominant loop[/-] [+]ltm: discovery's 200-loop cap can still drop single-loop groups[/+] on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugltm

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions