Build an AI analytics evaluation set from decisions people already make, with each case recording the wording, identity, source snapshot, expected behavior and an owner-approved reference. Include ambiguous, unanswerable and permission-sensitive questions, since answering isn’t always the correct behavior. Size matters less than most teams assume at first: 100 cases gives a 95 percent interval of about plus or minus 7 points around 85 percent, and quadrupling the set only halves that. Protect it from tuning with a held-out portion, and assign someone to own it.
Begin with who acts on the number
Sets built by asking someone to write 100 test questions come out tidy and easy, in the voice of the person who built the schema. A better start is a bounded area, such as pipeline or receivables, and a list of decisions made there. Who looks at this each week, what do they do with it, and what would change if the figure moved by five percent? Those answers tell you which questions matter and how much error is tolerable.
OpenAI’s evaluation guidance names production data, expert-written examples and historical logs as sources, and warns against test data that does not reflect real traffic. For analytics, the richest sources are usually close to hand: requests in the data team’s ticket queue, the questions asked in a monthly review, the BI reports people export most, and query logs. Keep the original wording, abbreviations and vagueness included. Clean wording makes a system look better than it is.
What one case has to hold
A case is more than a question and an answer. Without an identity it cannot test permissions, and without a snapshot its answer goes stale. Relative dates are the classic trap, because the reference for last quarter changes on the first day of the next one. Pin an as-of date in the case, and run against a snapshot, or else compute the reference fresh from an approved query.
Record the expected behavior as well as the value. For some cases the correct outcome is a question back to the user, or a decline that names what is missing. Write that down before the first run, while you still have no system output to anchor on.
{
"id": "rcv-031",
"source": "data team ticket queue",
"asked_as": "regional-finance-west",
"question": "how much is overdue in the west right now",
"as_of": "2026-09-30",
"expected_behaviour": "answer",
"measure": "open receivables past due date",
"population": "West region, excludes intercompany",
"reference_query": "refs/rcv-031.sql",
"tolerance": "0.01 in reporting currency",
"owner": "ar-lead",
"approved_on": "2026-10-12",
"split": "regression"
}A mix that tests behavior
A set of nothing but answerable cases can’t penalize a system that always answers, so include the cases that test when to hold back. The mix below shows the shape for a first set. The quantities are illustrative, and yours should follow your risks. Give permissions more weight under strict row-level rules, and add ambiguous cases in a domain with contested definitions.
| Case type (synthetic mix of 120) | Count | What it catches |
|---|---|---|
| Ordinary questions, real wording | 54 | Baseline correctness across the work people do |
| Single-condition variations | 18 | Period boundary, grouping or scope handled wrongly |
| Ambiguous measures | 14 | Silent choice between meanings with different numbers |
| Unanswerable or missing source | 16 | Invented answers |
| Permission-sensitive, per identity | 12 | Rows or values the identity should not see |
| Reference known to be empty or zero | 6 | Bad filters that look like a real zero |
Use small changes to locate failures
Variations that change one thing at a time are the best-value cases you can write. Take a question that passes and move the period boundary, change the grouping or switch the scope. When the original passes and the variation fails, you already know where to look, and that saves far more time than a failed question with no sibling.
Pair a disagreement case with an unchanged control, too. When two teams define a measure differently, add the question and keep one ordinary case on the same measure. Then a change in clarification behavior can be told apart from an accidental regression in a calculation that already worked.
How many cases to write
There’s real tension here. Anthropic’s guidance prioritizes volume, preferring more automatically graded questions over fewer hand-graded ones. An analytics reference needs an owner’s approval, so it’s costly. I’d take both, as two tiers: a smaller set of owner-approved references that decides correctness, and a larger automatically checked set that catches crashes, format breaks and permission issues without needing a reference value.
For the first tier, the arithmetic is useful and a little humbling. Using the Wilson interval from the NIST handbook at an observed 85 percent, 50 cases gives about plus or minus 10 points, and 100 gives about 7. It takes 200 for about 5, and 400 for about 3.5. Each halving of uncertainty takes four times the cases, so going from 100 to 400 needs 300 more approvals from busy people, and that only makes sense if the decision depends on the difference.
Start at around 100 for one domain, and report the interval with each score. When you compare two candidates, pairing on the same questions gives much more power than comparing two separate intervals, as the post on LLM evaluation metrics shows. For a permission check, the count sets your claim: 12 clean cases support an upper bound of only about 22 percent at 95 percent confidence (the rule of three’s 3/n is a rougher 25 percent at this size), so permission testing should go on to run automatically across many identities and questions.
Assume your references contain errors
A 2026 expert analysis found annotation error rates of 52.8 percent in BIRD Mini-Dev and 62.8 percent in Spider 2.0-Snow, both prepared by careful researchers. Your references come from a spreadsheet someone trusts, or a query from before the last reorganization. Expect mistakes.
Have the person who owns the number approve each reference, with the measure, population, period and calculation written out, so that the approval is of something specific. Have a second person derive a sample independently, and treat each disagreement as a finding about the definition. When a system disagrees with a reference, audit the reference first, then record which side was wrong. Reviewers will also disagree about narrative quality, and OpenAI’s guidance suggests refining rubrics over several rounds with examples at each score level. Preserve those disagreements. They often reveal that the organization has never settled what the word means.
Keep it from going stale or getting memorized
A set you tune against stops measuring anything else. Divide it from the start. A regression split can be read and discussed openly, and failures there drive fixes. A held-out split stays away from anyone changing prompts, runs only at decision points, and reports a score with no per-question detail. Once people have seen those questions and tuned against them, they belong in the regression split, and you need new ones. Replacing them from fresh tickets every quarter also gives you a view of whether the work has shifted.
Sample data and real data answer different questions, so label each case. Synthetic data suits tests of structure and boundaries. Real questions on approved data show how the system handles your domain. A sample-data score should never be presented as evidence of production performance. Evaluation data can also be sensitive, so apply the same access controls to it as to the source.
Name an owner. New failure reports need a decision on whether they enter the set, and definitions change: when finance changes how a measure is calculated, the reference has to change, with the reason recorded. A set nobody maintains slowly turns correct answers into failures, until the team stops believing it.
A starting plan
This week, pick one domain and collect 150 real questions from tickets and review meetings. Next week, have the owner choose 100, approve references for them, and add the behavior cases. Hold out 20, then run your candidate and read every failure, reference included, before you look at the percentage. A first run mostly teaches you about your definitions.
We grade Nexatron on returned results, score refusals in both directions and publish no headline figure. Run your own set on us and on anyone else, because a vendor’s questions weren’t written for your business.
Claude is a trademark of Anthropic, PBC.
Bring three business questions
Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.