A golden test set is a fixed list of real cases from your own process, each with the answer your own experts say is correct. An AI system is run against that list and the result is a count: so many right out of so many. On our pricing page this sits in one line: the acceptance metric and the baseline are agreed before work starts, and what you accept is a number against a number, not an impression from a demo. This post is the method behind that line.
Most of what ranks for this subject is written by companies that sell evaluation tooling. Their guides are good on storage and automated scoring, and thin on what a buyer has to settle: who writes the set, how it stays honest, and what it is worth once the project is over.
What you are signing off on
If you own the budget and not the technology, this is the part to read. A demo shows the system on the cases the builder picked. A test set shows it on the cases your people picked, including the ones they know are awkward. At the end of a build you are handed three things: the list of cases, the score of the system on that list, and the score of the way the work is done today on the same list. You compare two numbers. You do not have to judge a model.
That is why the set has to exist before the software does. A criterion written after the result is in tends to move towards the result. A criterion written first cannot.
Why your experts write it, and the supplier does not
There are three reasons, and they are not about trust.
- Only your people know what correct means here. An invoice line that matches the purchase order on amount but not on cost centre is a pass in one finance team and a fail in the next. The model supplier cannot know that, and neither can we.
- The party being measured should not write the exam. A supplier who writes the test set will, with the best intentions, write the cases the system was designed around.
- The set has to outlive the supplier. If it is in your experts' words and your own records, it is still usable when the model, the prompt or the supplier changes.
OpenAI's own evaluation guide makes the first point in four words, "Use human expert labellers", and lists a dataset that does not faithfully reproduce production traffic among its anti-patterns.
Where the cases come from
A set that only contains tidy cases measures nothing useful, and a set of only disasters does not either. A good one is built from three sources.
- A frequency sample of real history. Take cases from a normal period in the proportions in which they occur. If seven in ten incoming documents are standard, seven in ten test cases are standard. This is what makes the score say something about an ordinary week.
- The known hard ones. Every team has them: the supplier whose invoices arrive as a scan of a fax, the customer who puts three questions in one email, the werkbon filled in by hand. Your experts can name twenty from memory. They go in on purpose, and they are tagged as hard so they can be scored separately.
- Cases with no right answer. Some inputs should not be answered at all: the information is missing, the request is outside the process, or two of your own experts disagree. The correct output there is a refusal or a handover to a person. A set without these cases rewards a system for always answering.
Anthropic's documentation on building test cases names the same last category: irrelevant or nonexistent input data, and ambiguous cases where even people would find it hard to reach consensus.
An illustration, not a client case. For a system that matches purchase invoices to purchase orders in AFAS, the frequency sample is last quarter's invoices in their real mix. The hard cases are partial deliveries, credit notes and invoices that cover two orders. The no-right-answer cases are invoices without an order number, where the only correct behaviour is to route the invoice to the buyer.
Writing an expected answer two experts would score the same
The weak point of most test sets is not the cases. It is the expected answers. "A good reply to the customer" cannot be scored. Two people will read the same output and disagree, and then the number depends on who did the scoring.
The test is simple: give the case and the expected answer to a second expert who did not write it. If that person would mark the same outputs right and wrong, the answer is precise enough. In practice that means:
- State the decision, not the prose. "Route to the buyer, reason: no order number" can be checked. "Handle appropriately" cannot.
- List the fields that must be exact and the ones that may vary. Amount, VAT code and creditor exact; the wording of the note free.

- For text output, write what must be in it and what must not. Must name the delivery date, must not promise a refund.
- Where the two experts disagree about the answer itself, do not vote. Move the case to the no-right-answer group, with handover as the expected output.
Writing these answers is often the first time the rule in people's heads is put on paper.
How many cases
The number follows from how fine a difference you need to see. With 50 cases, each case is two percentage points, so 94% and 96% are one case apart. With 200 cases a measured 90% carries an uncertainty of roughly four points either way; with 100 cases, roughly six. That is plain sampling arithmetic, and it tells you that a threshold of 95% cannot be defended on forty cases.
The second constraint is your experts' time. A smaller set with precise answers beats a large one with vague answers, because a vague answer adds noise that no amount of volume removes.
The vendor guides often say the opposite, and they are not wrong. Anthropic advises to "prioritize volume over quality" for automated grading. That advice is about the development set, the large and automatically scored collection a builder runs many times a day while working. The acceptance set is a different instrument: smaller, written by experts, and run to make a decision. A build uses both. Only one of them belongs in the contract.
The part the builder never sees
If the builder can see every case, the system gets tuned to those cases. That is what iteration does. The score on a set that has been looked at fifty times says how well the system fits that set.
So the set is split. One part is open: the builder works with it, studies the failures and improves the system. The other part is held back by the customer and run at acceptance, once. The Anthropic guide draws the same loop with "held-out evals" as the step before shipping. The held-back part is the number you sign off on. The gap between the open score and the held-back score is informative too: a large gap means the system has learned the examples and not the task.
The baseline: score today's process on the same set
A score of 93% means nothing alone. It means something next to the score of the way the work is done now. So the current process is measured on the same cases: take what was actually booked, sent or decided at the time and score it against the expected answers your experts just wrote.
This is usually the uncomfortable moment, and a useful one. Manual work has an error rate that nobody has counted, and it is rarely zero. Once it is counted, the conversation changes from "is the AI perfect" to "is it better than Tuesday afternoon". The wider questions around a baseline, such as time, counter-metrics and who owns the number, are in what to measure in an AI pilot.
The threshold, agreed before the build
With a set and a baseline, the acceptance threshold can be written as a sentence in the proposal: the score on the held-back part, the minimum on the hard cases, and the behaviour on the no-right-answer cases. Three lines, each one checkable.
How high the threshold should be is a business decision, not a technical one. It depends on what a missed case costs and how fast it is found. We wrote about that separately in how wrong is it allowed to be, and about widening an agent's authority step by step as the numbers hold in treating autonomy like a probation period. The test set is what makes both of those measurable.
After go-live: the set becomes the regression test
An AI system changes without a release. The model provider updates the model, someone edits a prompt, a connected tool changes what it returns. Each of those can move behaviour while every dashboard stays green.
The test set is the instrument that catches it. Run it on every change to the model, the prompt or a tool definition, and compare with the last run. OpenAI's guide describes the same practice as continuous evaluation: run evals on every change and grow the set over time. Growing matters. Every production mistake that a person corrects becomes a new case, with the correction as its expected answer, so the same mistake is tested for from then on.
Two earlier posts cover the organisation around this: classifying AI changes by what they can break and what an AI implementation asks of you after go-live. Both assume there is something to run after a change. This is that something.
Why the test set is the most valuable thing in the handover
At handover you receive the code, the model configuration, the prompts and the test set. Of those four, the code is the most replaceable. Models are replaced every few months, prompts are rewritten for each new model, and code can be rebuilt by a competent team.
The test set cannot be bought anywhere. It is your definition of correct work, in your experts' words, on your own cases, with your own baseline attached. With it you can:
- Compare a new model with the current one in an afternoon, on your work and not on a public benchmark.
- Ask a second supplier to quote against a measurable target, which is the practical core of avoiding lock-in.
- Keep your strategy independent of one model, with evidence that a replacement performs the same.
- Show an auditor how the system was accepted and how it has been checked since.
That is why we transfer it with everything else, and why it is worth asking any supplier one question before signing: who writes the test set, and who keeps it?
Where to start
You do not need a project to begin. Ask the two people who know the process best to collect thirty real cases this week, ten ordinary, ten hard, ten that should have been refused, and to write down the correct outcome for each. If they disagree on more than a few, you have learned what to settle before any AI is built. If they agree, you hold the first version of the document every later decision will rest on. How we take it from there is on the AI implementation page.
A consultant tells you where AI pays off; Crux Digits also builds it. A fixed price per step, one named expert, from Utrecht.
AI consultancy in the Netherlands →


