Observing quality with traces and human review
hard 6 minTrace the path from an input through search, model calls and tools to an externally observable outcome.
Video lesson · Chapter 1 of 4
Twelve answers suddenly change the score
Theory
Read or listen first. About 2 min.
What it is
Trace the path from an input through search, model calls and tools to an externally observable outcome. Record the resolved release, prompt, index and grader versions. A score shift can originate in the model, the retrieval corpus, the evaluation rule or the incoming traffic. Logging every input verbatim creates its own privacy and retention problems.
Why it exists
Compare like with like. Replay a stratified sample through the previous and candidate pipeline while holding other versions fixed. Route ambiguous disagreements to reviewers who cannot see which release produced each answer. Relate model grades to delayed user or business outcomes, and monitor cohort coverage alongside the average.
Why did a release suddenly look worse?
Inside this chapter
Chapter sources- Outcome-linked telemetry
- Join redacted spans to a stable task ID and distinguish task duration from overlapping child spans. Track which version served the request and retain sufficient evidence under a defined access policy.
Each span (search, model call, tool call) carries the task ID, the release and component versions, and a redacted summary of what went in and out. Joining them lets you go from "resolution rate fell" to the specific release and step that changed. Two traps: summing overlapping child durations as if they ran in sequence, and storing raw payloads everywhere, which creates a privacy and retention problem of its own.
Example. Two parallel searches each take 300 ms. A dashboard summing them as 600 ms misattributes the wall-clock delay.
Another example. A claims assistant's latency dashboard shows 4 s per task. The span tree reveals three document fetches running in parallel at 1 s each and a 2 s model call, so the real critical path is 3 s plus overhead.
Spans joined to one task
Parallel searches overlap. Summing child spans overstates the delay. - Grader drift and adjudication
- Freeze a reference dataset and human-reviewed labels. Compare scorer versions against those references before using new scores to make a model release decision. Review disagreements, including labels that reflect changing policy.
An automated grader (often an LLM judge) is itself a versioned component whose prompt, model or rubric can change. Before trusting a new grader's scores for a release decision, run it on a frozen set of outputs with human-reviewed labels and compare it with the old one. Send the disagreements to blinded reviewers to separate genuine policy changes from grader quirks.
Example. The model produces exactly the same responses. A new grader changes 12 acceptances to rejections, so the score drop cannot be attributed to changed model output.
Another example. Upgrading the judge model for a summarisation product drops faithfulness scores by 5 points overnight with no product change. Adjudication shows the new judge penalises paraphrase that the rubric allows.
Same replies, two graders
Replies Grader v1 accepts Grader v2 accepts Changed verdicts Frozen set of 200 170 158 12 flipped to reject Human adjudication of the 12 9 grader v2 too strict, 3 policy changed Illustrative split of the 12 disagreements. The model output never changed. - Monitoring with delayed labels
- Input drift is observable immediately while true outcomes may arrive later. Track both. Sample rare cohorts deliberately and record sampling weights if estimating population-wide quality.
Inputs are visible immediately; true outcomes (did the customer churn, was the claim correct, was the ticket reopened) can take days or weeks. Monitor both, and expect the aggregate to shift whenever the traffic mix shifts. Deliberately oversample small cohorts so they have enough labels, and keep the sampling weights so population-wide estimates can be reweighted correctly.
Example. A new language accounts for more traffic this week. Compare within-language outcomes before attributing the aggregate change to model degradation.
Another example. A new Portuguese launch makes up 20% of traffic and resolves slightly less often than English. The overall rate dips although each language is flat week on week. A within-language comparison shows no model regression.
Fast signals now, true outcomes later
Compare within cohorts before blaming the model for an aggregate move. - Reviewer agreement and selection bias
- Track who received review and why. A queue that over-samples uncertain answers estimates quality for that queue. Retain a separate randomly sampled slice and measure class-specific reviewer disagreement before combining labels.
Agreement is only meaningful per class: a rubric can be clear for routine answers and ambiguous for the decisions that matter most. Also record why each item reached review. A queue fed by low-confidence answers overrepresents hard cases, so its error rate is not the system's error rate. Keep a separate random slice for population estimates.
Example. Two reviewers agree on 90 of 100 tickets but disagree on 8 of 10 refund denials. Audit the denial rubric before publishing an overall improvement claim.
Another example. A moderation team reviews only items the classifier scored between 0.4 and 0.6. Their 30% error rate describes that band, not the classifier as a whole; a random sample of 500 shows 6%.
Agreement overall versus by class
Slice Tickets Reviewers agree Agreement All tickets 100 90 90% Refund denials 10 2 20% Everything else 90 88 about 98% Figures from the example. High overall agreement hides a broken rubric for one class. - Privacy-preserving trace capture
- Decide what each span may store before you log it. Redact or tokenise personal data at capture time, keep full payloads only for a sampled, access-controlled slice with a retention limit, and record that a payload was withheld so analysts know it exists.
Redacting after export is too late, since copies already sit in log pipelines and backups. Put the redaction step in the instrumentation library so every team gets it by default, and test it with seeded fake identifiers to confirm they never reach storage.
Example. A banking assistant logs intent, tool names, latency and a redacted message for every task, but full text only for 1% of tasks, kept for 30 days and readable by the quality team alone.
What each tier keeps
Tier Share of tasks Stored Retention Metadata all IDs, versions, timings, outcome long Redacted content all text with names and numbers masked medium Full payload small sample original text, restricted access short Illustrative tiers. Set the shares and retention to match your own policy and regulations.
How it works
Step through the idea, or press Play.
Trace sampler. Capture redacted versioned outcomes
Understand it
Worked example
Why did a release suddenly look worse?
- 1
Capture redacted versioned outcomes
Record task IDs and sample by language and failure severity without exporting full private payloads.
- 2
Hold generated replies fixed
Score the same replies with old and new graders. Then hold the grader fixed while separately comparing pipeline releases.
- 3
Inspect the twelve disagreements
Blinded reviewers distinguish genuine policy changes from grader behavior and record the explanation.
Follow the handoffs
Replay grid: change one thing at a time
| Replay | Replies | Grader | What a score change means |
|---|---|---|---|
| A | release R11 outputs | v1 vs v2 | grader effect only |
| B | R11 vs R12 outputs | v1 fixed | pipeline effect only |
| C | R11 vs R12 outputs | v1 vs v2 | confounded, avoid |
- 1Sample tracesstratified by language, severity
- 2Replay gridhold replies or grader fixed
- 3Find disagreements12 changed verdicts
- 4Blinded reviewrelease hidden from reviewers
- 5Calibrated labelsfed back to the lab
Summary
The whole topic in one minute.
Holding the evaluated evidence fixed allows differences to be attributed to scoring behavior.
Compare like with like. Replay a stratified sample through the previous and candidate pipeline while holding other versions fixed. Route ambiguous disagreements to reviewers who cannot see which release produced each answer. Relate model grades to delayed user or business outcomes, and monitor cohort coverage alongside the average.