AI eval (evaluation)

Definition

An AI eval (evaluation) is a repeatable test that checks whether an AI prompt or workflow gives good answers, by running it on a fixed set of inputs and scoring the outputs against agreed criteria. It turns "seems fine" into a score you can compare.

By Ronan Liedmeier, fractional head of growth and course author · Published 17 October 2026 · Last updated 17 October 2026

Also called: evals, AI evaluation, LLM evaluation

Output quality drifts when someone edits a prompt or the provider updates the model, and nobody notices until a customer does. An eval catches that drift first, and it gives you evidence when someone asks whether the AI is any good.

How it works

You start with a fixed set of test inputs, each paired with a known good output, called a golden dataset. Graders then score every output. Simple checks run as code, like whether the JSON is valid or a price sits in the allowed range. Quality questions go to a written pass/fail rubric, scored by a person or by a second model acting as a judge.

The first full run sets the baseline, and every later change has to match or beat it before it ships. Scoring a small sample of live outputs each week catches drift between releases.

Example

A marketing ops lead uses AI to write product descriptions for a webshop. She collects 20 past products whose descriptions the brand team approved and writes four pass/fail checks: correct material named, no invented discount, under 120 words, brand tone. Before switching models, she runs all 20 through the old and new versions and compares pass counts.

Common mistake

Starting with a dashboard of generic scores like "helpfulness 4.2 out of 5". The number moves and nobody can say why. Read real outputs first, write down how they actually fail, then build checks for those failures.

Learn it in AI Academy

Related terms

Golden dataset
A golden dataset is a small, fixed set of real example inputs, each paired with an answer you know is right, used to test an AI system. You run every new prompt or model against it and compare the results with those known-good answers.
LLM-as-a-judge
LLM-as-a-judge is a method of grading AI outputs by asking a second AI model to score them against written criteria, instead of having a person review every answer. It makes quality checks fast enough to run on every change, but the judge itself needs checking.
Error analysis
Error analysis is the practice of reading a batch of real AI outputs, noting every way they go wrong, and grouping those failures by type before deciding what to fix or measure. It shows which problems actually happen, so your tests target those.
Regression testing for AI
Regression testing for AI is re-running a fixed set of test cases after any change to a prompt or model, to check that what worked before still works. It catches changes that raise the average score while breaking one specific case.

Browse all terms

Find your next step with AI