short · 3 min
Online evals
Scoring real traffic after shipping, next to the fixed test set you run before.
updated 29 Sept 2026
A support assistant has been live for a month. On Tuesday morning a user asks about a refund, and the assistant promises one the policy doesn't allow. The reply goes out. The user is happy, for now.
An hour later, a background job picks that conversation out of a sample of the morning's traffic and hands it to a grader. The grader flags it. That's an online eval: grading what the feature did with real users, after it shipped.
Why not catch it before shipping? We did have a test set.
What the test set can't see
The evals we run before each release are a fixed set: core features, past bugs, known edge cases. They run on every change, so they're kept small and cheap, mostly code checks. Their job is to stop known problems coming back.
But a fixed set only contains what we put in it. Nobody wrote a test for this refund wording, because nobody had seen it yet. Once real users arrive, the question changes to: what's going wrong that we didn't think to test, and how often?
How it runs
Every session is logged as a trace. Each day a sample of traces goes to graders that run on their own schedule, away from the user's request.
Here's the catch. On live traffic there's no right answer to compare against. Nobody wrote the ideal reply for each real user. So online graders are usually reference-free, typically an LLM judge asked something like "did it promise a refund the policy doesn't allow?". Those cost more per trace than code checks, which is one reason we grade a sample, not everything.
And because it's a sample, each rate is an estimate. Track a confidence interval around it, not just the number. When the lower edge of that interval crosses the threshold you care about, look closer, which means reading the flagged traces (error analysis).
Isn't that just a guardrail?
Both look at real inputs and outputs, so they're easy to mix up. The difference is where they sit.
Guardrails sit in the path of the request. They have a few milliseconds, so they're simple rules: a regex, a blocklist, a schema check, a small classifier. They catch clear-cut failures like leaked personal data or broken JSON, and when one fires, the system refuses, redacts or regenerates before the user sees anything.
Online evaluators run after the reply has gone. They never block. That's exactly what lets them be slow and thorough, like a judge checking whether an answer was correct or complete. (A slow judge can sit inline only if the latency budget allows, say on a small share of borderline cases.) The two stack: guardrails stop the obvious failures now, evaluators measure the subtle ones for later.
So could our refund promise have been a guardrail? Only if a fast rule could spot it, and "promised something the policy doesn't allow" needs judgement. Which brings up the uncomfortable part: an online eval finds a problem only after it reached someone. It's for learning, not for protection. Anything that must never reach a user needs a guardrail or a pre-release test.
Back to Tuesday's refund
The flagged conversation doesn't just sit on a dashboard. We read it, find it's part of a pattern, and add a few examples of it to the test set. From then on, it gets checked before every release and can't quietly come back. Online grading found it; the test set guards it. That handoff, done over and over, is the data flywheel.
What we couldn't find, as of 2026-09, is any company publishing real sample rates, judge costs or alert thresholds for this. The advice comes from practitioners, not case data, so those numbers will have to come from our own logs.
Further reading
- Q: How are evaluations used differently in CI/CD vs. monitoring production?, Hamel Husain and Shreya Shankar, 2025. A short page on the test set versus grading live traces, and how the two connect.
- Q: What’s the difference between guardrails & evaluators?, Hamel Husain and Shreya Shankar, 2025. Read it if you keep mixing the two up.