# What are AI evals?

> First published 2026-12-02
> Source: https://viktor.com/learn/ai-evals

AI evals are tests that check whether AI software, or a system built around it, meets clear goals. The goals come first. An eval runs test cases, then scores what comes back against rules set in advance so the team can compare versions of the system. For a business, that can show whether a change helps with real work or adds flaws that a good demo could miss.

## How does an eval turn work quality into a test?

A support reply can sound helpful while quoting an old returns policy. Testing tone alone would miss the mistake. A useful eval checks whether the facts are right as well as whether the tone works.

A language model is software that reads and writes text. The same input can lead to different words each time. Test whether the result meets the need, not whether it uses the exact same words.

Public [eval design guidance](https://platform.openai.com/docs/guides/evaluation-best-practices) starts with a goal and keeps testing as the system changes. For a support process, the steps could look like this:

1. Define success. Write down what a correct reply must say, what it must avoid and when it should ask for help.
2. Collect cases. Gather questions that reflect real work, with the records the system would get. Include hard cases and requests with missing facts.
3. Define the checks. Set the right answer, a rule the output must meet or a scoring guide for a person to use.
4. Run the system. Save the answer and any actions it took. Keep the records it looked up when those are part of the test.
5. Score and compare. Apply the same checks to the current version and the proposed change.
6. Keep testing. Add newly found failures and rerun the checks when the system changes.

The group of cases is the test set. A rubric is the scoring guide: it tells a reviewer which results pass or fail, and what earns partial credit. Set both before you read the score.

For the returns reply, the rubric could require the current policy and rule out promises that it doesn't support. Different words can pass as long as they convey the same facts.

## Who decides whether an answer passes?

A program can check an exact value or confirm that a form has all the fields it needs. It can also compare an action with the result you expect. These checks suit rules with a clear right answer.

Judging whether a reply explains a policy well takes more thought. A person can review the answer against a rubric. A language model can also grade outputs. That method is called model-based grading.

Check the grader too. Public [grading guidance](https://platform.claude.com/docs/en/test-and-evaluate/develop-tests) calls for clear rubrics and tests of how well the judge works before wider use. Give it examples with known grades and compare its choices with human reviews.

The [eval design guidance](https://platform.openai.com/docs/guides/evaluation-best-practices) also describes bias toward longer answers or an answer's place in a list. A polished reply can earn credit it doesn't deserve if the rubric doesn't check the facts.

Use the simplest check that can prove the point. An exact invoice reference doesn't need a writing score. A policy reply shouldn't pass just because it contains the right phrase if the rest of the answer is wrong.

## What makes the test cases representative?

A test set of clean questions with all the facts says little about an inbox full of vague requests. Include the kinds of input the system will get, not just the ones it can handle with ease.

Public [test-design guidance](https://platform.claude.com/docs/en/test-and-evaluate/develop-tests) calls for cases that match the task and edge cases. An edge case is a rare or hard situation. It can lack facts or be a request that even informed people find unclear.

For support replies, include short questions with unclear intent and ones the policy can't answer. Asking for more detail can be the right result. Making up a policy should count as failure.

Keep some cases aside while you improve the instructions. This held-out test set checks whether a change works beyond the cases used to make it. A team can get good at passing known questions without doing better on new work.

Review each kind of case as well as the whole score. Strong results on routine questions can hide flaws in the cases that pose the most risk. State which failures would block a change before reading the result.

## How would a team compare a revised support process?

Consider a made-up service business changing how it drafts returns replies. The current version is cautious but doesn't explain the policy well. The proposed version aims to be clearer without changing the policy.

The team runs both versions on the same saved cases. A program checks that each reply uses the right order reference. Reviewers check the policy facts and whether missing facts lead to a question instead of a guess.

The new version reads better, but promises a refund for goods the policy says must be checked first. The team records that failure apart from tone. A better writing score doesn't cancel a promise that breaks the rules.

After fixing the instructions, the team reruns the checks, including held-out cases. The choice depends on the goals set before the test. The person in charge sees which policy mistakes still need a fix.

## What can a passing score tell you?

A passing result means the system met the chosen rules on the tested cases. It doesn't prove that each new request will go well. The cases and scoring method limit what you can learn from the score.

Look beyond the average. Check the failed cases and the cost of each mistake. Does the change help with one kind of work while harming another? Check wait times or running costs too when those affect whether the result is useful.

Evals also differ from monitoring. An eval runs set cases against stated rules. Monitoring watches the running system for events and patterns. That can find new failures to add to the test set.

Keep a record of which version you tested, with its inputs and scoring rules. Without that record, a later score can look better just because someone changed the test.

## Common questions

### Are public benchmarks enough for my business?

No, a public benchmark tests its own tasks with its own rules. Your process can need different records or safeguards. Use benchmarks as background, then test work that reflects your team's needs. State what counts as success for that work.

### Do I need a single correct sentence for every case?

No, an eval can use rules instead of exact wording. A support reply could need to state the right policy and ask for a missing receipt. A rubric can accept different ways to do that while rejecting a promise the policy doesn't support.

### When should the team rerun evals?

Rerun affected tests when a model, a connection to another service or a set of instructions changes. Keep adding cases from newly found failures. Continuous evaluation means keeping that comparison up to date instead of trusting a score from a version the team no longer uses.

## Related reading

[Viktor product overview](/product)
