AI evals: what they are and how to run them
AI evals are tests that tell you whether an AI system is doing what you want. Each one takes an example, scores the answer against a criterion and returns a pass or a fail. This guide is for product teams. It covers the kinds of check, what to measure, and the step most teams skip: finding out whether the answer helped the person who got it.
What are AI evals?
An eval is a test for behavior. A normal unit test checks that a function returns the same output for the same input. An AI feature does not work that way, because the same question can produce many different answers. So an eval checks a property of the answer instead of an exact match: is it grounded in the source, is it in the right tone, did it follow the instruction.
Every eval has the same three parts: an example (an input, and sometimes the answer you hoped for), a criterion that says what good means, and a score. Put many examples through one criterion and you get a rate, such as 8 in 10 answers with a source. That rate is the number you track.
You will also hear the word used for the whole practice of testing an AI product, and for public benchmarks. This guide uses it for the first meaning: tests you write for your own product.
The three kinds of check
Most teams end up using all three, each where it is strong.
| Check | Good for | Weak at |
|---|---|---|
| Code check | Rules a program can test: valid JSON, a link that exists, a required phrase, a length limit. | Anything that needs judgment, such as tone or whether the answer makes sense. |
| Model judge | Judging many answers fast against a written rubric. | Knowing your product and your users. It must be checked against people. |
| People | Telling whether an answer was useful, clear and right for the situation. | Volume and speed. People cannot read every answer. |
Start with code checks, because they are cheap and never disagree with themselves. Add a judge model where a rule is not enough; how an LLM judge works and when to trust it is its own guide. Keep people for the questions only people can answer.
What an eval cannot see
An eval scores an answer. It does not tell you whether the person who read it could use it. An answer can be correct, grounded and polite, and still be useless to the user because it came too late, buried the one step they needed, or missed what they were really asking.
Research points at the same gap. A study led by Eva co-founder Willem van der Maden, published at ACM CHI 2026 under the title "Results-Actionability Gap: Understanding How Practitioners Evaluate LLM Products in the Wild", found that 17 of 19 people building AI products gathered evaluation data but could not turn it into concrete improvements. They had numbers. They did not know what to change.
Closing the gap takes four things, and the rest of this guide follows them: criteria in your own words, a pass mark for each, real answers from real users next to your automatic scores, and a fresh measurement after every change.
What should you evaluate?
Evaluate what your users came to do, not what is easy to score. Start from the feature and ask what a good answer looks like to the person using it. Write each answer as a criterion: one sentence, one thing, checkable.
- Good: "The answer names the source it used." You can check it on any answer.
- Good: "The answer tells the user the next step." One behavior, visible in the text.
- Too vague: "The answer is high quality." Nobody can say when it fails.
- Too broad: "The answer is accurate, short and friendly." That is three criteria. Split it.
Five to ten criteria are enough to start. Your team knows the product and the users best, so your team writes them. Generic scores from outside rarely match what your users care about.
Set the pass mark before you look
A pass mark is the rate at which a criterion counts as met. Write it down before you run the eval: "at least 8 in 10 answers name a source". If you pick the number after you see the result, you will pick one the result already clears.
The pass mark also tells you where to work. With a pass mark on every criterion you can sort by distance: the criterion furthest below its mark is the next thing to fix. Without one, every score looks like a fact and none of them looks like a task.
Add a note on what happens when a criterion misses. "Below 8 in 10: we change the prompt this week." A pass mark with no consequence is a decoration.
How to run evals as a loop
One run of evals is a snapshot. The value comes from running them again after each change, so you see what the change did.
- Write the criteria and the pass marks.
- Collect examples from real usage, and real answers from users, not only invented cases. A golden dataset of checked examples is the usual way to keep them.
- Measure every criterion and sort by distance from its pass mark.
- Pick the furthest one, make one change (often a prompt change you can test), and measure all criteria again.
- Keep a record: the criterion, the evidence, the change and what the change did.
Measuring all criteria again matters more than it sounds. A change that lifts one score often lowers another, and you want to see that before your users do. Eva runs this loop as a product feature; see how Eva measures criteria against pass marks. The loop works with a spreadsheet too.
Common mistakes
- Testing only invented examples. Real users ask things you did not think of.
- Trusting a judge model that nobody checked against people.
- Tracking one average. An average of ten criteria hides the one that is failing.
- Changing the examples and the prompt at the same time, so you cannot tell which moved the score.
- Tuning the prompt on the same examples you test on. The score goes up and the product does not improve.
- Collecting results and never changing anything. This is the gap from the study above.
A small dry note: an eval suite that has never failed is not a sign of a perfect product. It is more often a sign that the criteria are too easy.
Where to go next, and what evals cannot tell you
Three guides go deeper. LLM evaluation, its metrics and a five-step way of working covers what to measure for single answers, conversations and agents. The guide on a golden dataset shows how to build the set of examples from real usage. The guide on an LLM judge shows how to write a rubric and check it against people.
Evals tell you whether answers meet the criteria you wrote. They do not tell you whether you wrote the right criteria. That is why real user answers sit next to the scores: they are how you find out that a criterion was wrong, or that something important was never on your list.