NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new
Advanced
Production Evals and Monitoring
35 min readChapter 8Core

1. Production evals and monitoring

The assistant is live. How do you know its quality has not dropped since launch? Production evaluation is the answer: you measure answer quality on real live traffic, continuously, instead of only on a fixed test set before launch. The plan: log every request as a trace, score all of them with cheap code checks and a sample with an LLM judge, watch what users do, alert when a score drops below its normal noise, and turn failures into new eval cases.

Use it once a feature is live and its traffic, content, or model can change under you, and when you need to know within a day that a change hurt quality. Before launch there is no live traffic, so the offline eval set and version comparison do the job. Whether the service is up and fast is a question for ordinary latency and uptime monitoring, not quality evaluators. LLM Engineering 101 sketches production monitoring as one part of the overview. Here we size it and wire it up.

We stay with HelpDesk Assistant, a support assistant that answers from help-center articles and, in agent mode, looks up accounts and issues refunds. Earlier sections gave it a failure taxonomy (wrong or missing citation, refund-policy violation, answering from a stale article, wrong tool call), an offline regression set, and a refund-policy judge: binary PASS/FAIL, validated on held-out labels at TPR (true positive rate) 0.90 and TNR (true negative rate) 0.80, with an observed pass rate of 0.78. HelpDesk handles 40k conversations a day.

"How do you monitor it once it's live?" is a frequent opener in AI engineering rounds and the last part of most "how would you evaluate this feature" answers, usually five to ten minutes. A mid-level answer names traces, judges on a sample, and user signals. A senior answer sizes the sample, sets alert lines from measured noise, and shows how a production failure ends up as a test case.

premium content mask
Upgrade to premium and unlock full chapter
Spot an issue or have a suggestion?
Red Teaming and Safety Evaluation  |

Discussion

Upgrade to premium to read and join the discussion.