What are AI Evaluations? How to Test AI Solutions for Reliability
AI evaluations (often called evals) are a structured way to check whether your product is doing what you built it to do, and whether it still is after you change something.
To understand why they matter, let’s start with how traditional software testing usually works.
Imagine you want to check whether a vending machine is working. You press B4 and expect the candy from the B4 slot to drop. You try the rest of the buttons, check that payments go through, and now you know the machine works. If you press B4 and get the candy from C5 instead, you know there’s a problem.
Traditional software testing works like this: you know what should happen for a given input, and you check whether the software produces the expected result.
Now, imagine you’re training a new employee.
You give them an onboarding guide and walk them through the processes they need to follow. Six months later, how do you know they’re still following what they were taught? What if those processes change? You’d review their work, give feedback, and check in on their performance over time.
Testing an AI product is more like managing the new employee. You have expectations for how it should behave, but judging whether it’s doing a good job isn’t as simple as checking for an exact answer. Ask it the same question twice, and you might get two different answers, both of them acceptable.
That is why AI evaluations need to measure more than whether an answer matches a predetermined response. They need to check whether the AI is behaving correctly for the situation.
In this article, we’ll cover why AI evaluations matter and what makes an effective evaluation system, then walk through a real-world example from one of our own projects.
Why Do We Need AI Evaluations?
1. Evaluating the model isn’t the same as evaluating your product
Every few months, a new AI model comes out with impressive results in math, coding, and reasoning. If these models are so smart, why do we need to babysit them?
Because a capable AI model doesn’t automatically make a capable AI product.
AI companies publish benchmark results that show how their models perform on general tasks. But if you’re building a product around your own information and processes, chances are the AI company never tested for any of it.
A model might top the general benchmarks and still fail to follow your refund policy. That’s why you need to evaluate the complete product (the model plus your instructions, data, and tools), not just the model on its own.
2. Testing by hand doesn’t keep up
You can test an AI product manually. You could use it yourself, try different scenarios, and review each response. The problem is that this becomes increasingly difficult as your product grows.
What happens when you add a new rule to the AI’s instructions? You’ll need to run all of those tests again to make sure everything still works. And if the new rule conflicts with an old one, you’ll be running them a third time after you fix it.
This can turn one small change into a full day of testing. And after the hundredth response that looks fine, it gets easy to miss the one that isn’t.
AI evaluations make much of this testing repeatable and allow teams to automate many of the checks. You build a collection of test scenarios once and run them whenever something changes.
3. Find weak spots and catch new problems
Evaluations show you where your product keeps falling short, such as inaccurate answers or ignored instructions. They also give you a baseline to compare against, so you can tell whether a change made things better or worse.
This is most important when you change the AI’s instructions, switch models, or add new features, because a change that improves one part of your product can break another.
Say you switch to a newer model because it sounds more natural. The responses do sound better, but the new model also writes long explanations where it should give short, direct answers. Without evals, you might not notice until your customers do.
Rerunning the same tests after every change helps catch regressions (things that used to work and now don’t) before they reach your customers.
How to Run AI Evaluations: Four Practical Steps
1. Define what you want to evaluate
Before writing any tests, decide what you expect your AI product to do.
Start with the typical interactions your customers will have. What questions will they ask? What tasks should the AI be able to complete?
These are your expected use cases. They’re what customers will see most often, so they matter most. But real users also ask vague questions, leave out details, or try to get the AI to ignore its instructions.
Your test cases should cover all of these: everyday requests, unusual or unclear ones, questions outside what the AI is meant to handle, attempts to talk it out of its rules, and questions it doesn’t have enough information to answer.
2. Define what a good result looks like
Once you know what to test, decide what counts as a good result.
For the vending machine, that’s easy: you press B4, and you either get the B4 candy or you don’t.
Judging the new employee is harder, and so is judging an AI product. Depending on what yours does, you might measure:
- Accuracy: Is the information factually correct?
- Relevance: Does the response address what the user actually asked?
- Task completion: Did the AI finish the task?
- Consistency: Does it give equally good answers to similar questions?
- Tone: Does it communicate in the style you want?
- Safety: Does it stay within your rules and refuse to share information it shouldn’t?
Some of these are objective and others are subjective. Checking whether the AI returned the correct refund period is straightforward. Deciding whether its reply is helpful and professional is a judgment call.
Deciding what “good” looks like is also where your own expertise matters most. The people who know your field know which details matter, which mistakes are costly, and where an answer that sounds reasonable is wrong. Their knowledge should shape both your test cases and the criteria you score them against.
This approach is also reflected in the NIST AI Risk Management Framework, which emphasizes measuring AI performance against criteria relevant to how the system will be used.
3. Build your evaluation dataset
An evaluation dataset is the set of test cases you run against your AI product. Each case describes a situation and how you expect the AI to respond.
For example, you might test whether the assistant:
- Provides the correct return policy when a customer asks about returns.
- Asks for clarification when a customer’s question is unclear.
- Explains its limitations when asked about a service it doesn’t support.
- Follows its original instructions when someone tries to override them.
Notice that these describe behaviours, not exact answers, because a good reply can be worded in many ways.
As your product evolves, your AI evaluations should evolve with it. New user questions and unexpected failures can become additional test cases, helping you catch similar problems in the future.
4. Choose how to check the results
There are three main ways to check the responses your AI produces. Which one fits depends on what you’re measuring, and most evaluation systems use all three.
Simple automated checks
These work best when there’s a clear right or wrong answer, like a price, a date, or a required detail. It’s the vending machine test: did the AI give the expected result?
The limitation is that these checks can’t fully judge answers where several different responses might be acceptable.
AI judges
Another AI model evaluates the response against criteria you’ve defined, such as relevance, completeness, or tone. This approach is often called LLM-as-a-judge (LLM stands for large language model).
It’s useful for assessing answers that don’t have one exact correct wording. But the judging model can make mistakes too, so its grades should be checked against human judgment.
Human review
Some answers require knowledge and judgment that automated systems can’t reliably provide. For example, an industry expert might need to review whether advice meets professional standards.
Human review is more time-consuming and expensive, so it’s most valuable for complex or high-risk situations where expert judgment matters.
For a deeper technical explanation of how these methods work together, Anthropic has published a guide to evaluating AI agents.
How AI Evaluations Work: The Evaluation Loop
Once your evaluation system is set up, you’re not done. As you add new features, change the AI’s instructions, and try different models, you’ll run into failures you hadn’t thought of.
The evaluation loop is how you deal with them:

- Evaluate: Run your tests against the AI product.
- Analyze: Review the results and look for patterns. Turn meaningful new failures into test cases, so your dataset grows over time.
- Improve and re-evaluate: Fix the problem (rewrite the AI’s instructions, improve the information you give it, adjust its tools, or try a different model), then run the evaluations again to check that it’s fixed and nothing else broke.
A Real Example: Permits AI
Permits AI is a platform Wizard Labs built for real estate development. Property developers in Canada and Japan figure out what they can build on a piece of land. A developer picks a property on a map and asks a question in plain language. An AI assistant answers using the relevant zoning rules and property records, and shows where each answer came from.
Here’s how we use AI evaluations, software testing, and user feedback to improve reliability:
1. Testing how the assistant handles conflicting information
We tested cases where an official zoning rule and an outdated city webpage provided different information. These tests helped us teach the assistant to prioritize the official source rather than relying on whichever information was easiest to find.
2. Catching problems when the application changes
We saved real answers and automatically checked that they continued to display correctly whenever we updated the application. These tests caught a change that would have broken how tables appeared in the interface.
3. Learning from real user interactions
Users can give each answer a thumbs up or down, and our team can review full conversations. This helps us identify situations where the assistant didn’t provide the information someone needed.
In zoning research, a confident but wrong answer can shape what a developer decides to build. City webpages are often easier to find than the official rules, and they aren’t always kept up to date. That’s why we test source conflicts directly instead of assuming the assistant will pick the right one. With regression tests and user feedback alongside, we check how the assistant chooses its sources, whether the app displays answers correctly, and whether those answers actually help.
Reliable AI Requires Ongoing Testing
Building a reliable AI product isn’t just about choosing the most capable model. It’s about understanding what the product needs to do, testing whether it meets those expectations, and improving it when it doesn’t.
As your product changes, your evaluations need to change with it. That’s how you move from an impressive AI demo to something people can actually depend on.
Frequently Asked Questions
What is an AI evaluation?
An AI evaluation (or eval) is a structured test of how an AI product behaves. You run the product against a set of test cases and check each response against criteria you define, like accuracy, tone, and safety.
What’s the difference between testing a model and testing a solution?
Testing a model measures its general ability on standard benchmarks, such as math, coding, or reasoning. Testing a product measures how that model performs inside your system, with your instructions, data, tools, and customers. A model can score well on benchmarks and still fail at your specific tasks, so you need to test the complete solution.
How is evaluating AI different from testing regular software?
Traditional software tests often check whether a specific input produces an expected result. AI products can generate different answers to the same question, and more than one answer may be acceptable. AI evaluations therefore need to judge qualities like relevance and tone, often with another AI model or a human reviewer, rather than just checking for exact matches.
Who should decide what “good” looks like?
The people who know your business and your industry. Developers can build the evaluation system, but subject-matter experts know which details matter, which mistakes are costly, and where an answer that sounds reasonable is wrong. Their judgment should shape both the test cases and the criteria used to score them.
How often should you re-run evaluations?
Re-run your evaluations whenever you make a meaningful change to the product: new instructions, a model upgrade, a new tool, or a new feature. Many teams also run them on a regular schedule. Whenever you find a new failure, add it to your test set so it gets checked on every future run.