How large should a golden eval set be, and what signals tell you when you have enough examples?
You are building the eval set for a production LLM system. How do you decide how many examples are enough? What criteria signal that adding more examples will not improve eval quality, and what signals tell you the opposite?
Size to the decision, not a magic number. Pick the smallest n that resolves the score difference you care about, then make each slice clear its own minimum independently.
Imagine deciding whether a new recipe is better by feeding it to taste-testers. With three testers, one grumpy person flips the verdict, so the result is noise. Add more testers and the average steadies, but past a point a new taster barely moves it. The right number is the smallest crowd whose average is steady enough that a real improvement still shows through the wobble. There is a catch. If you want to know how the recipe does for kids versus adults, you cannot just count the whole crowd. Each group needs enough of its own testers, or that group's verdict stays noisy even when the overall crowd is huge. So you size for the question you are actually asking, group by group, not for one big total.
Detailed answer & concept explanation~8 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: derive n from the minimum detectable effect via the proportion CI, explain square-root scaling, enforce per-slice minimums, separate sampling from judge variance, and reason about the cost versus resolution trade.
Real products, models, and research that use this idea.
- LangSmith and Braintrust report per-slice eval scores with sample counts, surfacing thin slices before you trust a global mean.
- RAGAS faithfulness scores are computed per example so teams can bootstrap a confidence interval on the aggregate rather than read a bare mean.
- Chatbot Arena needs tens of thousands of pairwise votes precisely because resolving small Elo gaps between Claude Opus 4.7 and GPT-5.5 demands tight intervals.
- OpenAI Evals and Promptfoo let you re-run an identical suite to quantify run to run judge variance as a first-class stopping signal.
- Patronus and Galileo stratify production eval sets by query type so each failure category clears its own minimum example count.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you separate true regression from judge stochasticity when scores wobble between runs?
QYour global score is fine but one slice is only 6 examples wide. How do you decide whether to grow it?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Citing a fixed number like 500 as if it were universal, instead of deriving n from the smallest score difference you must detect and the confidence interval width your decision can tolerate.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.