Diversity beats size, but you still need enough size
"How many cases do I need?" is the wrong question. The right question is: "do my cases represent every behavior I care about, with enough samples per behavior to detect the regression I care about?"
Statistical floor
For a binary pass/fail metric, detecting a 5% pass-rate change with 95% confidence requires roughly 400 cases. Detecting a 10% change requires ~100. If you only have 20 cases, your suite cannot tell a real regression from noise — even when the average shifts by 10 percentage points.
The diversity dimensions
- Topic / domain — coding, medical, legal, casual chat all have different failure modes.
- Difficulty — easy, medium, hard, edge. A suite of all easy cases hides the regressions that matter.
- Length — short inputs and long inputs trigger different model behaviors. Always include both.
- Language / locale — at least sample your top 3 user languages.
- User intent — informational, navigational, transactional, exploratory.
- Time — sample across multiple days; a Monday-only sample misses weekend traffic.
Imbalance lies to you
If 80% of your dataset is "easy English chitchat," the average pass rate will reflect that and hide regressions in the other 20%. Always report per-tag pass rates alongside the aggregate. The aggregate is for executives; the per-tag breakdown is for engineers.