Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast
The Guide
07Phase 3 · Making it work

Evaluation — 'How do we know it works?'

The most-talked-about new AI-PM skill. You swap gut feel for a scorecard.

7-min read~4–5 hrs with the practice + a short course
The analogy

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.

Unlearn this

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

01

What is it?

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.

38%Retrieval24%Formatting18%Made-up12%Refusal8%Toneshare of failures, from reading traces (illustrative)
Error analysis, in one picture: read 50–100 real traces, tag what went wrong, and the tallies point you at the evals to build first. Here retrieval dominates — so that's where the eval effort goes.
RAGAS: the faithfulness metricRAGAS docs
02

Why it matters to a PM

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.

Your AI Product Needs EvalsHamel Husain
03

When would I reach for it?

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.

04

Trade-offs & failure modes

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.

05

Say this in an interview

"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."

Evals, Error Analysis & Better PromptsHamel Husain (Lenny's)
Learn it from the best — as you go

The canonical explainers for this topic. Open them alongside the lesson, not after it.

Watch
  • Evals, Error Analysis & Better PromptsHamel Husain (Lenny's) · Watch a systematic error-analysis workflow that moves teams past 'vibe checks'.
Read
  • Your AI Product Needs EvalsHamel Husain · The canonical case for why evals drive AI product quality — the reference every AI PM cites.
  • FAQ (and answers) about AI evalsHamel Husain & Shreya Shankar · Distilled from teaching 4,500+ PMs/engineers — error analysis, binary vs Likert, golden sets.
Course
  • Evaluating AI AgentsDeepLearning.AI × Arize · Hands-on tracing, code vs LLM-as-judge vs human evaluators, offline → production.
Docs
  • RAGAS: the faithfulness metricRAGAS docs · A concrete, code-ready definition of a hallucination-rate metric for RAG.

External links open in a new tab. Content and prices change — verify before relying on any of them.

Key terms

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.

The stack — tools you'll hear about

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.

  • RAGAS · DeepEval · promptfooEval & tracingEval frameworks and metrics.
  • LangSmith · Langfuse · BraintrustEval & tracingTracing + eval on production data.
  • Arize PhoenixEval & tracingOpen-source LLM observability.
  • HeliconeEval & tracingLogging, cost and latency monitoring.

Try it

Set the shipping bar

Move the confidence threshold and watch precision, recall and the wrong-answer rate move.

Eval Explorer (04)

Does it actually work? Evals, not vibes.

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.

Answer almost everythingAnswer only when sure
Confusion matrix · 36 tickets
Should
auto-answer
Should
escalate
Bot
answers
True positive
15
answered · correct
False positive
3
answered · WRONG
Bot
escalates
False negative
7
escalated · missed
True negative
11
escalated · correct

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.

Live metrics
Precision
83%
of auto-answers, share correct
Recall
68%
of answerable tickets, share caught
Accuracy
72%
all decisions, share right
Auto-answer coverage
50%
share of tickets handled by the bot
Wrong-answer rate
8.3%
false-positive share of all traffic
Shipping bar · wrong-answer rate < 2%

Bar not met. The wrong-answer rate is 8.3%, above the 2% ceiling. Raise the threshold to trade coverage for safety before shipping.

The precision / recall trade-off

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.

Guardrail metric

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.

Why this matters to a PM

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.

Test yourself

Recall beats re-reading. Answer before you flip.

Evaluation — 'How do we know it works?' · self-test
2 cards
Card 1 / 2 · box 1
Do this

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.

Go deeper
  • Your AI product needs evalsHamel Husain
  • LLM-as-a-judge (G-Eval) guideConfident AI

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.

PreviousAI AgentsNextAI UX — Designing for Uncertainty