The most-talked-about new AI-PM skill. You swap gut feel for a scorecard.
A golden exam with an answer key you re-run on every change. Offline evals are the practice test taken before shipping; online evals are watching real students in the exam hall for problems the practice test never showed.
That you can eval an AI feature by 'trying a few prompts and it looks good'. Without a fixed test set and metrics, you can't catch regressions — and a prompt or model change silently breaks things you fixed last week.
The lesson, in five answers
Evals are how you measure a product that doesn't always give the same answer. But the modern way starts before any metric, with error analysis. You read 50 to 100 real outputs (called traces). You label what went wrong in plain words. Then you group those failures into a taxonomy. That grouping tells you which evals to build. Next come two kinds. Offline evals are a hand-picked set with known-good answers. You run them on every change to catch things you broke (regressions). Online evals watch live traffic for drift and new failures. For RAG, keep two scores apart: how good the retrieval was (context precision and recall) and how good the writing was (faithfulness and answer relevancy). An LLM-as-a-judge (one model scoring another's work) lets you score at scale. It works best on plain pass/fail calls, not fuzzy 1-to-5 scores. Have humans spot-check it.
Evals become your definition of done. They turn 'is it good enough to ship?' into a number. Eval-writing is the single most-probed AI-PM skill in interviews. But what sets good PMs apart is how they do it. PMs who talk evals run canned metrics. PMs who do evals read their traces first. That needs observability. You can't run online evals without first capturing production traces.
Read real traces before you pick metrics. Build an eval set before you ship. Run it on every prompt, model, or retrieval change. Add guardrail metrics you never let slip while you push the main one up.
An LLM-as-a-judge is cheap and scales well. But it's biased and only roughly agrees with humans (treat any agreement figure as rough). Check it with spot-checks and prefer plain pass/fail calls. A golden set goes stale, so you have to maintain it. Error analysis and tracing take time you must plan for. Skip them, and you'll measure the wrong things. That's why most eval efforts fail.
"Before I pick metrics, I'd read 50 to 100 real outputs and group the failures into a taxonomy. That tells me what to measure. Then I'd build a golden set. I'd score faithfulness and retrieval precision-recall with a binary LLM-judge, plus human spot-checks. I'd wire up tracing so I can watch production. And I'd set a shipping bar, like a wrong-answer rate under 2%, with latency and safety as guardrails."
The canonical explainers for this topic. Open them alongside the lesson, not after it.
External links open in a new tab. Content and prices change — verify before relying on any of them.
Error analysis
Reading real outputs, labelling what went wrong in plain words, then grouping those failures into buckets (a taxonomy). Do this step before you pick metrics.
Golden set
A fixed set of representative inputs with known-good outputs, run on every change.
Offline vs online eval
Pre-ship test set vs. production monitoring for drift and new failures. You need both.
LLM-as-a-judge
A model scoring outputs at scale — best as binary pass/fail. Validate against human spot-checks.
Observability / tracing
Capturing production inputs, outputs and tool calls (Langfuse, Braintrust…). It's what online evals need to run.
Guardrail metric
A metric (safety, latency) you never let regress while improving the primary one.
You don't need to use or master these. Recognising the names — and which box each sits in — is the tech-stack awareness a PM needs. No deep dive.
Try it
Move the confidence threshold and watch precision, recall and the wrong-answer rate move.
An AI support bot scores every ticket: how confident am I that I can auto-answer this correctly? You pick a confidence threshold — answer above it, escalate below it. Move the slider and watch precision, recall, and the costly wrong-answer rate trade off against coverage.
False positives are the costly error — a customer gets a confidently wrong answer. False negatives are cheaper: a human simply handles a ticket the bot could have. Of 36 tickets, 22 are truly answerable and 14 should be escalated.
Bar not met. The wrong-answer rate is 8.3%, above the 2% ceiling. Raise the threshold to trade coverage for safety before shipping.
Raise the threshold and precision climbs — the answers you do give are more reliable — but recall and coverage fall, because you escalate tickets the bot could have handled. There is no single “best” setting, only the one that fits the cost of a wrong answer versus the value of coverage.
Wrong-answer rate is a guardrail — a number you never let regress, even to win coverage or hit a launch date. You can trade recall for precision, but the guardrail is a hard floor the eval enforces on every release.
Evals replace vibes with a number you can defend. You don’t just ask “does it feel good?” — you pick the threshold and the shipping bar deliberately, weighing the cost of a confidently wrong answer against the value of every ticket the bot takes off a human’s plate.
Recall beats re-reading. Answer before you flip.
For one AI feature, write a 15-row golden set: input, an ideal answer, and the pass/fail rule. Decide the shipping bar (e.g. wrong-answer rate < 2%) and one guardrail metric. This is the single most valuable thing to show a hiring manager.
This is where the hours go — reading is the warm-up, doing is the learning.
External resources open in a new tab. Course prices and links change — verify before paying.
Marked this one off? Your progress saves on this device.