Skip to content

Detect quality drift after a rollout

Choose an SLI, cohort and alert that expose a production regression hidden by fleet averages.

Scenario

An education platform splits a grammar assistant rollout between two models. Request latency improves, and overall HTTP success is steady. Reports from bilingual classrooms say the new model drops examples from corrections.

Explanation

Define the service level indicator in terms of the user outcome, with a numerator and a denominator. An SLO specifies the target over a window. For a quality SLI based on sampled reviews, document the sampling rule and minimum evidence. Use availability and latency separately so they do not mask quality.

Compare the deployed baseline and candidate within comparable cohorts such as intent, language, tenant class or route. Keep cost and token use alongside quality. Watch for behavior shifts after model changes and usage shifts after traffic or tenant changes. A dashboard can trend both, and an alert needs an owner and response.

For a high-impact canary slice, choose a pre-set stopping condition and review enough cases to make it actionable. Follow the alert with a trace or labeled sample that explains what changed.

Worked example

A synthetic report shows 99% HTTP success on both routes. In an audited bilingual-classroom sample, benchmark completeness falls from 98 of 100 to 89 of 100. The classroom target is at least 95 of 100. An alert that uses the completeness label for that release cohort flags what HTTP success misses.