Repository navigation
Description
Summary
scripts/eval/runner.ts has no repetition support — no --runs, no reps, no repeat flag. Every score this project has ever quoted from the agent matrix is a single draw from a distribution the repo itself documents as wide.
From the committed scripts/results-e4b.json:
"Run-to-run variance is real and substantial: 6/12, 9/12, 8/12 across three consecutive runs with identical guidance and no code changes between them."
That is 50% → 75% on the same code. #1862 reached the same conclusion independently and its memo says single-run matrix numbers are not decision-grade.
Why this is the highest-value eval fix
Two consequences, and the second is worse than the first.
It cannot detect the improvements we actually ship. A change worth +1 or +2 scenarios sits entirely inside the noise band. That means a long run of "prompt tuning measured null" may partly be an instrument that cannot see a real effect — every null result in that history is confounded with a measurement floor we never established.
It produces confident wrong conclusions. Measured live in #2239:
- Ornith 1.5 rep 1 gave a clean "strict subset of E4B's failures, never wins" reading. Rep 2 had Ornith passing 11a and 11d — both scenarios E4B fails in all three of its reps. The structural claim survived exactly one rep.
- Ornith flipped 6 scenarios across 2 reps; E4B flipped 1 across 3. Stability differs by model and is invisible in a single score, yet it is arguably the more decision-relevant property for a model that writes to a user's graph.
Proposal
1. --runs N on the runner. Run the fixture N times, same environment, and record every rep in one results file.
2. Report pass^k as the headline, pass^1 alongside. pass^k (all k reps must pass) is the field standard for exactly this problem — τ-bench made run-to-run reliability its central metric rather than a footnote, and published results show models dropping sharply from pass^1 to pass^8. Reliability is what we care about; best-case capability is not.
3. Per-scenario flip rate in the summary. "Fails 3/3" and "fails 1/3" are different findings and currently render identically. This is the output that tells you which failures are debuggable.
4. Keep provenance per rep, not just per file — a rep that hit a degraded environment must be identifiable after the fact.
Notes
- Purge + daemon restart between reps is required (see the agent-eval doc);
--runsshould own that rather than leaving it to the caller, since forgetting it silently measures stale guidance. - This composes with the exclusion accounting added in Evaluate Ornith 1.5 and Qwen 3.6 on the dev-workflow matrix (prior rejections predate the current stack) #2239's branch: an excluded scenario should not count as either a pass or a fail toward pass^k.
- Wall clock is the real cost — a rep is 12-25 minutes depending on model, so
--runs 3is an hour. Worth it for a number anyone cites.
Activity
malibio commentedon Aug 22, 2026
Baseline (worktree issue-2241-eval-runs, commit fe63b7d): Frontend 4792 passed / 2 failed (227 files: 225 passed, 2 failed). Both failures are known machine-load flakes unrelated to this issue — core-plugins viewer registration timeout and architecture-benchmarks bulkStructural (88ms vs 40ms threshold).