How large should a golden eval set be, and what signals tell you when you have enough examples?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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.
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.
What an interviewer would ask next. Try answering before peeking at the approach.
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.