What is the practical guidance on golden eval set size for LLM systems?
Golden set size is driven by the effect size you must detect and per-slice coverage, not a round number. 100 to 500 well-stratified examples usually suffice; the pass-rate confidence interval tells you if you need more.
Imagine polling whether a town likes a new park. You do not poll everyone. A few hundred well-chosen people give a tight enough estimate. But if you want to know what each neighborhood thinks separately, each neighborhood needs its own sample, so the total grows. An eval set works the same way. A few hundred examples pins down your overall pass rate to within a few points. The catch: if you care about each customer type or each failure mode separately, each slice needs enough examples on its own. And if you re-run the same set and the score jumps around, adding examples will not save you. You first have to make the measurement stable, by pinning the judge to a fixed temperature.
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.
4 min: the proportion CI sets the floor, effect size drives the number, slices multiply it, and judge variance usually binds before raw count does.
Real products, models, and research that use this idea.
- OpenAI Evals and Promptfoo both report pass rate alongside run to run variance, surfacing whether a score delta is signal or judge noise.
- LangSmith dataset views let teams stratify eval examples by tag, making per-slice example counts visible before sizing decisions.
- RAGAS faithfulness scoring is typically run over a few hundred stratified RAG examples rather than tens of thousands.
- Anthropic and OpenAI eval guidance emphasises curated failure-mode coverage over raw example count for golden sets.
- Braintrust and Langfuse expose confidence intervals on aggregate scores so teams can judge whether a regression is statistically real.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you actually compute the eval set size needed to detect a 3-point regression at 95 percent confidence?
QYour global eval score is stable but one customer slice keeps swinging. What is happening and what do you do?
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.
Picking a round number like 1,000 without asking what effect size you must detect or whether every slice has enough examples to give a usable per-slice estimate.
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.