Skip to content

What are evals for AI systems?

Evals are systematic assessments that measure an AI system against defined cases and criteria, helping teams compare versions and understand its risks.

Evals are systematic assessments that measure how an artificial intelligence system performs a task against defined cases and criteria. For an assistant answering questions about contracts, for example, they check whether the answer is correct and points to the right clause. Each test pairs an input with a rule for judging the result; the test set may include expected answers or instructions for the evaluator. Checks can be performed by people, programs, or another language model, depending on what needs to be measured. Results help teams compare configurations and catch errors before release and in production. They describe only what was observed on the cases tested, so they cannot certify that the system will work in every situation. The choice of cases, criteria, and testing conditions therefore determines what conclusions a decision maker can draw from the score.

See also: Eval alertingThe operating threshold on an eval score: when a quality drop wakes a person up, and with what severity.

How it works

A reference set, often called a golden dataset, collects examples with expected answers or judging criteria. A NIST publication notes that evaluations rely on realistic, testable scenarios with associated test data, methods, and metrics. For a company, that means including documents and requests typical of the intended use, along with hard cases and cases with missing information. An automated check can verify a structured field; assessing whether an explanation is correct may require an expert. A language model can also act as a judge, a method called LLM-as-a-judge, but its assessments should be checked against human judgments.

The choice of judge matters: research on position bias found that some model judges favor an answer partly because of its position in the prompt. Judge verdicts should therefore be calibrated against a sample of expert judgments.

The harness is part of the measurement

The harness is the set of instructions, tools, and context surrounding the model. Comparing two versions requires recording those conditions and distinguishing a model change from a change to the surrounding system. The academic HELM project compares models on shared scenarios and metrics, including robustness and efficiency alongside accuracy. A general leaderboard is no substitute for testing a company's own workflow.

From release gate to continuous discipline

The same test suite can be rerun after a change to instructions, retrieved documents, or the model. Recording the version, cases, and results keeps comparisons interpretable; adding newly observed failures broadens coverage. A frequently reused set can become less informative if the system is optimized for those cases. If the cases are public, they can also leak into the model's training data, a failure known as benchmark contamination.

An enterprise example

A procurement team evaluates an assistant that finds contract clauses. Experts prepare requests where the clause is present, absent, or ambiguous and record what an acceptable answer looks like. A script checks that the document is cited; a reviewer confirms that the cited clause actually answers the question. If a new configuration improves simple answers but invents clauses, the person responsible can stop the release and request a fix before rerunning the tests.

Why it matters for decision makers

When choosing among vendors, asking for cases, criteria, versions, test costs, and results broken down by error type allows a more useful comparison than a single score. Acceptance thresholds should reflect the consequences of errors and the human checks available. The NIST generative AI profile recommends documenting the limits of generalization: passing a test does not guarantee results on unseen requests.

Frequently asked questions

Choose representative cases and quality criteria, then assess answers with automated checks, expert judgments, or both.

After any change to the instructions, the retrieved documents, or the model. Rerun the same test suite and add new failures observed in production.
  • Eval alertingThe operating threshold on an eval score: when a quality drop wakes a person up, and with what severity.
  • Benchmark contaminationA public benchmark's own data ends up in a model's training set, inflating its score without a real capability gain.
  • Evaluator independenceThe condition that makes the verdict on an AI system credible: whoever grades it must have no stake in the outcome.
  • Agent harnessAn agent harness is the software scaffolding around an LLM that makes it an agent: the execution loop, the tools, the context and the limits you give it.
  • LLM DeterminismLLM determinism is the ability to return the same response to the same request every time, under defined execution conditions that stay verifiable over time.

See it in the universe

If you need the AI in production, not in a demo, that is my job.

See AI integrations

Or write to me.