Detection floor — the smallest difference a test set can see
A test set of cases has a resolution. Differences below it are noise, whatever the dashboard shows. nondeterminism-statistics says to check significance before raising an alarm; this note is the arithmetic behind that.
The interval on one score
For a pass rate over independent cases, the 95% interval is about
At :
| Cases | Half-width | Interval |
|---|---|---|
| 60 | 0.116 | 0.584 – 0.816 |
| 200 | 0.064 | 0.636 – 0.764 |
| 1,000 | 0.028 | 0.672 – 0.728 |
| 5,000 | 0.013 | 0.687 – 0.713 |
A published worked case with 60 tickets reports 0.700 with a bootstrap interval of 0.583 to 0.817, which matches the first row. Halving the width takes four times the cases.
Comparing two versions
- Pair them. Score both versions on the same cases and look at the per-case differences. The interval on the difference is narrower than the interval on either score, because the case-to-case difficulty cancels. McNemar's test is the standard tool for pass/fail pairs.
- A difference whose interval includes zero is noise. In the same worked case, two prompt versions both scored 0.700; the difference was +0.000 with an interval of −0.117 to +0.117, and the second version had got worse on 14% of cases while getting better on others.
- The floor. With 60 cases the smallest detectable difference is about 12 points. A 5-point regression cannot be seen. To see it, do the power calculation first and collect that many cases.
- Many tries, one winner. Test 20 variants and keep the best, and one of them will look about 10 points better by luck. Correct for it, or confirm the winner on cases it has not seen.
When there were no failures at all
Zero failures in independent trials does not mean a zero rate. Solving gives the 95% upper bound
| Clean trials | Upper bound on the failure rate | At 1,000,000 calls a day |
|---|---|---|
| 300 | 1% | up to 10,000 failures |
| 5,000 | 0.06% | up to 600 failures |
| 100,000 | 0.003% | up to 30 failures |
This bound needs the trials to be a random sample of real use. A red-team battery is chosen to be hard, so it is not such a sample, and its clean result bounds nothing about the rate in production. It says only that those known attacks did not get through (automated-red-teaming).
What to put on the dashboard
The pass rate with its interval, the detection floor for the current , and the share of cases that got worse. A bare pass rate invites reading noise as progress.
Up: testing-software-3-0 · Kin: nondeterminism-statistics · judge-agreement · capability-vs-reliability
Source: Miller, "Adding Error Bars to Evals" (2024, arXiv:2411.00640); Makarevych, "Evals: how to know whether an AI system actually works" (X article, 2026-10-03) for the 60-ticket case, the 12-point floor and the 20-variant figure; NIST AI 800-3 (2026-02) on separating benchmark accuracy from generalized accuracy. The two tables and the zero-failure bound are computed here from the formulas.