Evaluation set sizes and statistics

How many cases you need before a difference is real, what a percentage point means at each size, and when to believe a judge.

What one number is worth

Standard error of a rate√(p(1−p) ÷ n)The 95% interval is roughly ±2 standard errors. At p near 0.5 this is at its widest, which is the conservative case to plan with.
n = 100±10 percentage pointsA smoke test. It will catch a catastrophe and nothing subtler. Reporting 73% from 100 cases implies a precision you do not have.
n = 400±5 percentage pointsEnough to notice a large regression. Still not enough to decide between two candidate prompts differing by a few points.
n = 1,000±3 percentage pointsA reasonable working size for a decision-grade suite, if the cases are well chosen.
n = 2,500±2 percentage pointsAbout the smallest difference a hand-labelled offline suite can defend. Below this, label noise starts to matter as much as sample size.
n = 10,000±1 percentage pointRarely worth it for a hand-curated suite. At this size the labelling cost dominates, and label noise usually exceeds the precision gained.

Comparing two systems

Detecting a 10-point differenceabout 400 cases per armAt 80% power, 5% significance, rates near 50%. Rates further from 50% need fewer.
Detecting a 5-point differenceabout 1,600 cases per armQuadrupling precision costs sixteen times the data. This is the single most useful thing to know before promising to detect a small improvement.
Detecting a 2-point differenceabout 10,000 cases per armWhich is usually the point at which the honest answer is that you cannot measure this offline, and the question belongs in an online experiment.
Paired testingrun both systems on the same cases and compare only where they disagreeMcNemar's test. Removes the variance from case difficulty and often needs a third to a fifth of the cases an unpaired comparison would. Always do this when you can.
Multiple comparisons20 variants tested at p < 0.05 produce about one false winner by chancePrompt sweeps are exactly this situation. Hold out a final confirmation set that the winner has never been scored on.
Rule of threezero failures in n trials means failure rate is under about 3/n with 95% confidenceZero out of 100 does not mean safe. It means the rate is plausibly as high as 3%.

Judges and labels

Cohen's kappabelow 0.4 poor · 0.4-0.6 moderate · 0.6-0.8 substantial · above 0.8 strongKappa corrects for agreement that would happen by chance, which raw percentage agreement does not. On a skewed rubric, 90% raw agreement can be a kappa near zero.
The ceiling on a judgehow well two careful humans agree with each otherOften 0.7-0.8 on subjective rubrics. A judge matching human-human agreement is as good as the task allows; demanding more than that is demanding the impossible.
Validating a judgeat least 100 human-labelled cases, stratified across the score rangeSampling only easy cases flatters the judge. Include the ambiguous ones deliberately, because those are the cases that decide whether a change shipped.
Pairwise versus absolutepairwise preferences agree with humans substantially better than absolute scoresAsk which of two outputs is better rather than to rate one out of five. Randomise the order — position bias is real and measurable.
Revalidate on changeany change to the judge prompt or judge model invalidates prior scoresVersion the judge alongside the system, and keep a frozen set so you can tell which of them moved.

Building the set

Minimum useful suiteabout 100 cases drawn from real trafficBetter than 1,000 invented at a desk. Error analysis on real traces is where a good eval set comes from.
Stratify by failure mode20-50 cases per mode you have actually observedA uniform random sample will underrepresent the rare failure that is the reason you are building this.
Hold out a confirmation set20-30% of cases, scored only when a change is about to shipIterating against every case you own is how a suite stops predicting production and becomes a training set for your prompts.
Refresh cadenceadd new failures continuously; prune cases every system passesA suite where everything passes measures nothing. The information is in the cases that still fail.

Figures last checked 2026-09-13. Several of these age; check anything you are about to rely on.

Where these numbers come from