Online evaluation in production
For engineers
Production quality metrics, user feedback, online judges, A/B tests and feeding live failures back into offline evals
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
An email-drafting feature wants one metric that reflects whether drafts are useful. Which is closest to the user's goal?
Check yourself · 2 of 5
Only 1% of sessions leave a rating, and 1 in 50 of those is a thumbs-down. What can you conclude?
Check yourself · 3 of 5
Where should an LLM judge for production quality scoring run?
Check yourself · 4 of 5
Why randomize an A/B test of two prompts by user rather than by request?
Check yourself · 5 of 5
A flagged production trace shows a clear failure. What should you do before fixing the prompt?
Topics
- Choosing production quality metrics4 min read · Task completion, escalations, edits to AI drafts, latency, cost per task and guardrail triggers, and proxies that mislead
- Collecting implicit and explicit user feedback4 min read · Thumbs, regenerations, copies, edits and abandonment as signals, and the biases in sparse thumbs-up data
- Running judges on live traffic5 min read · Asynchronous checks and LLM judges on sampled production traces, drift alerts, cost limits and privacy constraints
- A/B testing prompt and model versions5 min read · Randomization unit, sample size, guardrail metrics, novelty effects and why offline wins can lose online
- Feeding production failures back into evals5 min read · Triage of flagged and sampled traces, adding cases to the dataset and re-running offline evals before the fix ships
Start here
- Langfuse: Evaluation overview (opens in a new tab)DocsFree
How online scores, user feedback and LLM-as-a-judge attach to production traces, next to offline datasets.
- Trustworthy Online Controlled Experiments (Kohavi, Tang, Xu) (opens in a new tab)BookPaid
The standard book on randomization units, guardrail metrics, sample size and novelty effects.
- OpenTelemetry semantic conventions for generative AI (opens in a new tab)StandardFree
Common attribute names for model calls, token usage and latency, so metrics line up across tools.
Helps to know first
110 questions · last verified 2026-12