productinterview.tools
MenuClose

AI Evals Foundations: What an Eval Is and Where to Start

What an eval is, and why AI products need them.

FoundationsEvals core3 lessons5 questions

What this module covers

  • Why AI features can't be tested like ordinary software, and what an eval is instead
  • The three parts of every eval: examples, a grader and a metric
  • Why the first step is reading real outputs, not picking a metric
  • How offline evals (before launch) and online signals (after launch) fit together

Why it matters, by role

  • Applied AI PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation: "How would you know this feature works?" comes up in almost every AI product interview. This module is the base of a good answer.
  • Model PM: release decisions rest on evals; you're expected to know what an eval can and can't tell you.
  • AI Safety PM: safety metrics are evals; their weaknesses are your weaknesses.
  • Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation: customers need proof a pilot works; evals are how you show it.
  • AI Product Engineer: you'll build and run the evals for the features you ship.

Lessons

  1. What an eval is, and why AI products need them
  2. Start with error analysis, not metrics
  3. Offline and online evals

What an eval is, and why AI products need them

Ordinary software is tested with fixed inputs and exact expected outputs. AI features don't work that way: the same input can give different outputs, and many different outputs can be correct. "Summarise this ticket" has no single right answer.

An eval is how you measure an AI feature anyway. Every eval has three parts:

Part What it is Example
Examples A set of realistic inputs, sometimes with reference answers 200 real support tickets
Grader How each output is judged A code check, an LLM judgeLLM-as-judge. Using a language model, with a rubric, to grade another model's outputs. Read the full explanation, or a person
Metric How results roll up into a number Share of tickets where the answer was correct

Evals aren't benchmarks. A benchmark compares models on a public, general task. An eval measures your product on your users' inputs, against your definition of good. A model that tops a benchmark can still fail your eval.

Start with error analysis, not metrics

The most common mistake is to start by choosing metrics ("we'll track helpfulness and accuracy") before knowing how the product actually fails. Generic metrics measure generic things, and miss the failures your users hit.

Start by reading outputs instead:

  1. Collect 50–100 real examples (or realistic ones, before launch) with the model's full output.
  2. Read each one and write a short note on anything wrong. Don't use categories yet; just describe what you see.
  3. Group the notes into failure modes, such as "invents a refund policy", "ignores the customer's language", "answers the wrong question".
  4. Count them. The counts tell you which failures matter most.
  5. Build evals for the top few failure modes, one grader per mode.

This takes a few hours and is the highest-value work in the whole eval process. Interviewers listen for it: a candidate who says "first I'd read a sample of outputs" sounds like someone who has done this for real.

Offline and online evals

Offline evals Online signals
When Before launch, and before every change After launch, continuously
Data A fixed set of examples you control Real traffic
Good for Comparing versions; blocking regressions Finding failures you didn't anticipate
Weakness Only as good as the examples Noisy, delayed, and often indirect

You need both. Offline evals let you compare two versions fairly, because they run on the same examples. Online signals (thumbs down, retries, edits, escalations to a human) show what real users hit.

When offline evals pass but online signals look bad, the offline set no longer matches real usage. The fix is to pull the failing production cases into the offline set, so the next version is tested on them.

Questions

Foundations

QuestionTypeRolesAsked atSource
Your team shipped an AI email-drafting feature last month with no evals. Leadership wants to know if it's any good. Where do you start?metricsApplied AI PM, Model PM, AI Product Engineer–Representative
A PM moving from regular software asks: 'We have unit tests. Why do AI features need evals?' What do you tell them?explainApplied AI PM, AI Product Engineer, Model PM–Representative

Core

QuestionTypeRolesAsked atSource
You're about to launch an AI meeting-scheduler. There's no production data yet. How do you build an eval set?metricsApplied AI PM, AI Product Engineer, Forward Deployed Engineer–Representative
You join a team whose AI feature has no evals. You have one week before a model upgrade decision. What do you do, day by day?executionApplied AI PM, Model PM, AI Product Engineer–Representative
Your offline eval shows 92% of answers are correct, but user ratings are poor. Who's right, and what do you do?diagnoseApplied AI PM, Model PM, AI Product Engineer–Representative

Rubric

Dimension Weak Passable Strong
Starting point Picks metrics first Mentions reading outputs Starts with error analysis and builds evals from the failure modes it finds
Eval anatomy "We'd measure accuracy" Names examples and a metric Examples, grader and metric, and why each choice fits the product
Offline vs online Only one of the two Both, without saying how they connect Both, and how production failures flow back into the offline set
Specificity Generic quality words Some product-specific criteria Failure modes specific to this product and its users

Next modules