Most LLM applications are signed off the same way: someone tries twenty questions, the answers look good, and it ships. Then a prompt is tweaked, a model is upgraded or the documents behind it change, and nobody can say whether it got better or worse.
Evaluation fixes that. It is not a one-off test. It is a small, repeatable piece of engineering that tells you whether the system is good enough today, and whether the change you are about to make keeps it that way. This is the method we use with clients, from a global bank’s HR system to government tools that write to victims of crime.
1. Start with the people who own the outcome
Before any metric, ask the people who will live with the results what a good answer looks like, and what a harmful one looks like. In a project assuring AI-drafted letters to victims of crime, that meant sitting with victim liaison staff. Their judgement, about accuracy, tone, completeness and what must never be said, became the written criteria everything else was measured against.
Good criteria are specific enough that two reviewers would usually agree. “Helpful” is not a criterion. “States the next step and who will contact the reader” is.
2. Build an evaluation set that includes the hard cases
Collect real or realistic inputs, and make sure the set is not just the easy middle. Include:
- typical requests, in proportion to how often they happen;
- hard and ambiguous cases, where experts disagree or the information is incomplete;
- sensitive cases, where a wrong answer does real harm;
- adversarial and deliberately flawed inputs, to see how the system fails.
Hold back part of the set for release checks only. If you tune prompts against every case you have, you end up measuring how well the system fits your test, not how well it works.
3. Match each criterion to the right measure
No single score captures quality. Use the cheapest measure that is reliable for each criterion:
- Code checks for anything objective: format, length, required fields, banned phrases, valid references.
- Comparison with a reference answer where experts can write one.
- An AI judge for qualities like tone, completeness or relevance, scored against the written criteria.
- Human review for the highest-stakes cases and to keep everything else honest.
4. Check the AI judge before you trust it
Using one model to grade another is powerful and easy to get wrong. Before relying on an AI judge, have human experts score the same cases and compare. Where they disagree, fix the judging instructions or move that criterion to human review. Then keep sampling: a judge that agreed with your experts in March may not after a model update in June.
5. Test for consistency
Run the same input several times, and run small variations of it: a reworded question, a typo, a change of name. If the answer’s quality swings, users will notice before you do. When we evaluated a government tool that gives feedback on written content, this check was as important as accuracy, because inconsistent feedback undermines trust in all of it.
6. Look for unfair differences
Compare results across the groups the system serves: different types of case, user, language or circumstance. You are looking for a difference in tone, completeness or outcome that nobody intended. This is where evaluation overlaps with ethics and bias, and it is much cheaper to find before launch.
7. Make it run on every change
An evaluation that lives in someone’s notebook will stop being run. Put it in the release process so every prompt, model or retrieval change is scored before it ships, with clear pass marks. For an HR AI system we took to production for a global bank, the evaluation suite ran automatically on every change, alongside functional, regression and adversarial tests.
8. Carry it into production
Your test set is a sample. Real users will find cases you did not imagine. Trace each AI run, sample live outputs for review against the same criteria, and set alerts with a named owner for the signals that matter. Every failure you find in production becomes a new test case, so the evaluation set gets stronger over time. Design the logging so personal data stays out of plain logs.
Common mistakes
- Measuring what is easy (word overlap, response time) instead of what matters to users.
- Testing only typical cases, so the system looks better than it is.
- Trusting an AI judge that has never been checked against people.
- Running the evaluation once at launch and never again.
- Building it so only the original developer can run it.
Where this fits
Evaluation, testing and monitoring are three of the twelve pillars in our framework for AI assurance. They answer the first question every AI system should be able to answer: is it actually doing what we need it to do?
If you are running an LLM application and cannot yet say how good it is, we can help you build the evaluation, or check the one you have. AI evaluation and monitoring · Get in touch