Consult

Insights

The AI asset nobody budgets for: the test set

When an AI project goes over budget or stalls in approval, the same gap is often underneath. Plenty was spent on the model, the integration and the interface. Almost nothing was spent on proving the thing works, and keeping it working.

That gap is the test set: a curated collection of real questions or tasks, with expert-agreed answers, that every version of the system is scored against. It sounds mundane. In my view it is the single most valuable asset an AI programme produces.

Why AI cannot be tested like ordinary software

Finance and technology leaders are used to software that behaves predictably. AI does not, in five ways that matter:

  • The same input can give different outputs. So you run each test several times and judge the spread, not one answer.
  • There are many acceptable answers. So you check for the key facts and rules, not an exact match.
  • It fails quietly. Ordinary software throws an error. AI produces a confident, well-written wrong answer. Errors have to be looked for.
  • It changes when you did not change it. A new model version, an edited prompt or an updated document can all shift behaviour. Every one of those needs a re-test.
  • Users can type anything. Including deliberate attempts to misuse it.

The consequence is that evaluation is not a sign-off at the end of the project. It is a control that runs for the life of the system, with a test set, a scoring method, a schedule and an owner.

What a good test set looks like

Good test sets share a few features:

  • Real questions, not invented ones. Pulled from emails, call logs, tickets and pilot sessions. Builders writing their own questions produce flattering scores.
  • Hard cases on purpose. Ambiguous wording, two policies that conflict, figures buried in tables.
  • Cases where the right answer is “no”. Requests it should refuse, advice it must not give, data the user should not see.
  • Small and sharp. Fifty to a hundred well-chosen cases beat a thousand random ones. The set then grows from real failures.
  • Owned by the business. Subject experts write and sign off the expected answers, not the developers.
  • Versioned and kept separate from anything used to tune the system, so every score can be traced and trusted.

The last two points are where the budget goes missing. The scarce resource in AI evaluation is not compute. It is expert time. A senior credit analyst, tax specialist or controller has to spend days agreeing what a good answer looks like. If that time is not planned and protected, the test set never gets built, and the project quietly relies on demos instead of evidence.

How to score at scale

There are three ways to score answers, and they work best together:

  1. Code checks for anything a program can test: format, required fields, a figure matching its source, a refusal where one was required. Fast, cheap, exact.
  2. A second model acting as judge, scoring each answer against a written rubric, such as “is every claim supported by the cited sources?”. This scales to thousands of cases, but it has known biases, such as favouring longer answers or the first option shown.
  3. Human experts scoring a sample with the same rubric and settling disputes. Slow and costly, and essential for sign-off.

The practical set-up is code checks on everything, a model judge on everything else, and people scoring a sample. Crucially, you only trust the model judge after measuring how often it agrees with your experts. Skipping that step is like relying on a control that has never been tested.

Guardrails are separate from the model

A related misconception: that you can make an AI system safe by telling it what not to do. Instructions such as “never give investment advice” help, but they are not a control, because they can be overridden by a clever user or a malicious document.

Real guardrails run outside the model. They check what goes in (masking personal data, blocking out-of-scope requests), what comes out (blocking data the user may not see, checking claims against sources, adding required disclosures) and what gets done (allowing only listed tools, capping values, requiring approval for anything that moves money or changes a record).

Prompt injection, where instructions are hidden in content the system reads, deserves a specific mention. There is no complete fix for it today. Defence relies on limiting what a successful attack could achieve: removing tools a task does not need, checking actions in code, and keeping known attack cases in the test set so they are re-run after every change.

If you cannot show me the test results, you cannot show me the AI works. You can only show me that it worked once.

The commercial payoff

Leaders sometimes see evaluation as a cost of compliance. I see three returns.

Speed of approval. Risk and model validation teams cannot approve what they cannot see evidence for. A test set with results by version, red-team findings and a monitoring plan is precisely the evidence pack they ask for. Projects that arrive with one tend to move through approval much faster.

Freedom to switch models. When a provider releases a cheaper or better model, a team with a test set can compare it in days. A team without one is locked in, because nobody can say whether the change is safe.

Learning from live use. Once a system is live, sampled quality scores, user feedback, override rates and guardrail hits each need a threshold, a named owner and an agreed response, written down before go-live. Every failure in production becomes a new test case. The system gets better rather than drifting.

What to put in the plan

If you are funding an AI initiative, I would look for four lines in the plan: protected subject expert time to build and own the test set; a red-team exercise before launch by people outside the build team; an evaluation step in the release pipeline that blocks a change if scores drop; and named owners for each live monitoring signal.

None of these are large costs. All of them are frequently missing.

If you would like help designing an evaluation approach that satisfies both the business and the risk function, let’s talk.

Facing this in your organisation?

Tell me what you are working on. The first conversation is free and confidential, and I reply within one working day.

More insights

  • AI agents should earn their autonomy

    Agentic AI is a dial, not a switch. The organisations getting value from it set autonomy by what an action can change, and promote an agent only on evidence, much as they would a new hire.

  • AI coding tools: measure delivery, not enthusiasm

    AI coding assistants are now in most engineering teams and in many value creation plans. The evidence on productivity is more mixed than the marketing. How to capture the gain, avoid the new risks, and know whether it is real.