Skip to content
Discussion options

You must be logged in to vote

Question: The README recommends a minimum of 6 iterations for reliable trend significance. My loops usually finish in 3. Is LoopGain useless for me?

Answer: Partly, and here's the honest mechanics of why.

The trajectory classifier decides using an OLS slope on log10(E) plus a t-test on that slope. At n≤4 the t-test is severely underpowered — with df=2 you need |t| > 4.3 to clear p<0.05. So on very short loops the significance test almost never fires, and the classifier conservatively falls back to STALLING rather than claiming a trend it can't support.

That conservatism is deliberate. Real LLM error series are noisy, and a classifier that calls DIVERGING on three noisy points would abort …

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