Skip to content
Discussion options

You must be logged in to vote

Intended, and it's the most important thing to understand about what LoopGain is telling you.

There are two different terminal states that both look like "it stopped":

TARGET_MET — observed error hit or dropped below target_error. This is a clean success. The loop finished the job.

STALLING (surfacing as outcome == "stalled") — the error stopped moving in a statistically detectable way, two readings in a row, while still above your target. LoopGain is saying more iterations won't help, which is not the same as the answer is good. You've plateaued at, say, 2 failing tests and burning 15 more iterations won't clear them.

That distinction is the whole design. LoopGain decides when to stop; y…

Replies: 1 comment

Comment options

fitz2882
Aug 5, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by fitz2882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant