Think Build Implement Repeat
AI & Machine Learning

Measuring Whether Your AI Feature Is Any Good

Last updated:

Anecdote is the default and it is terrible

Without a measurement set, AI systems are improved by whoever complained most recently. Someone reports a bad answer, the prompt is adjusted, something else degrades, and nobody notices because nobody is measuring.

The fix is unglamorous: a fixed set of cases you re-run on every change.

Building the set

  1. Take real cases, not invented ones. Real inputs are messier and that is the point.
  2. Include the awkward ones deliberately — the ambiguous, the incomplete, the unusual.
  3. Agree the correct answer with someone who knows the domain, in writing.
  4. Include cases where the right answer is “I do not know”, because refusal behaviour needs testing too.
  5. Aim for a few hundred, which is enough for most business features.
The disagreements that arise while agreeing correct answers are themselves valuable. If two experts disagree on 20% of cases, no system will exceed 80% agreement and you have learned the ceiling before building.

Choose metrics that reflect consequence

Overall accuracy hides the failures that matter. A system that is 95% accurate but wrong on your highest-value cases is worse than one that is 90% accurate uniformly.

  • Measure by category, not just overall
  • Weight by business consequence where errors differ in cost
  • Track false positives and false negatives separately — they usually cost different amounts
  • Report straight-through rate, not just field accuracy, where human review is involved

Use a model to grade, carefully

For subjective outputs, having a model evaluate against criteria is a practical approach and needs validating: check its grades against human grades on a sample before trusting them.

Where the criteria are objective, prefer deterministic checks. A model grading whether a date was extracted correctly is an unnecessary source of noise.

Watch for the trap of overfitting to the set

If you tune repeatedly against the same cases, you will eventually optimise for them rather than for the real distribution. Hold back a portion you do not tune against, and refresh the set periodically with new real cases.

Also re-examine the set when the world changes: new document formats, new product lines, new customer types.

Run it automatically

The evaluation should run on every change, without anyone remembering. Manual evaluation happens twice and then stops, at which point you are back to anecdote.

Frequently asked questions

How long does building an evaluation set take?

Typically one to two weeks including the domain expert's time to agree correct answers. It is the best-value fortnight in most AI projects.

What accuracy is good enough?

Whatever beats the current process at acceptable risk, with a good escalation path. Decide the threshold before you are emotionally invested in shipping.

Can we use production data as our evaluation set?

Use it as the source, and you need agreed correct answers, which production data does not come with. Sampling production and labelling it is the usual approach.

Who should own evaluation?

Someone in the business who understands what correct means, working with whoever builds it. Evaluation owned entirely by the builder tends to measure what is easy rather than what matters.

Keep reading

Improving an AI feature by guesswork?

An evaluation set turns that into measurement. Tell us what your feature does and we will suggest what the set should contain.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI AgentsMachine LearningAI Integration