01Chapter 1: Why releasing a new model is different from releasing codeA new model version can pass every test, deploy cleanly, and still make your product worse. This chapter explains why model releases carry risks that ordinary code releases do not, and why that justifies the staged rollout techniques the rest of this tutorial covers: shadow, canary, and A/B.7 min read
02Chapter 2: What offline evaluation tells you and what it cannotThis chapter assumes you can read short Python snippets and know the common model metrics (accuracy, precision, recall, AUC, latency). It also assumes you know what a held-out test set is. The previous chapter explained why a model release carries risk that a code release does not. This chapter cove7 min read
03Chapter 3: Splitting traffic between model versionsThis chapter assumes you can serve a model behind an HTTP or RPC endpoint, read short Python and YAML snippets, and understand proportions and percentages. It covers how to send some requests to a stable model and some to a candidate. Later chapters build shadow, canary, and A/B rollouts on this mec6 min read
04Chapter 4: Logging predictions so versions can be comparedThis chapter assumes you can serve a model behind an HTTP or RPC endpoint, read short Python snippets, and read JSON. It also assumes you know the basic model metrics (accuracy, precision, recall, latency). The previous chapters covered why offline evaluation is not enough and how to split traffic. 5 min read
05Chapter 5: Choosing metrics and guardrailsThis chapter assumes you can read short Python snippets, you know metrics such as precision, recall, and p95 latency, and you understand what a proportion is. Shadow, canary, and A/B rollouts all end in the same question: did the candidate model do well enough to keep going? Metrics and guardrails a6 min read
06Chapter 6: Shadow deployment: testing on live traffic with no user impactThis chapter assumes you can read short Python and YAML snippets. It also assumes you know how a model is served behind an HTTP or RPC endpoint, and that you know basic metrics such as accuracy, precision, recall, and latency. Earlier chapters covered offline evaluation, traffic routing, and predict7 min read
07Chapter 7: Canary release: exposing a small share of users in stagesThis chapter assumes you can serve a model behind an HTTP or RPC endpoint, read short Python and YAML snippets, and interpret error rate, latency, and proportions. It builds on traffic splitting, prediction logging, and guardrail metrics from earlier chapters, and it comes after shadow deployment.5 min read
08Chapter 8: Deciding to promote or roll backThis chapter assumes you can read short Python and YAML snippets, know common model metrics such as precision, recall, and latency, and understand proportions and averages. You should also know how a canary release sends a small share of traffic to a candidate model, as covered in the previous chapt6 min read
09Chapter 9: Choosing the randomization unit and keeping assignment stickyThis chapter assumes you can read short Python and YAML snippets. It also assumes you know what a weighted traffic split is, as covered in the traffic routing chapter, and that you understand proportions and averages.6 min read
10Chapter 10: Significance, power, and sample sizeThis chapter assumes you can read short Python snippets and know what a proportion and a standard deviation are. You should also know the rollout vocabulary from earlier chapters: stable and candidate models, sticky assignment, and guardrail metrics. Here you learn how to decide, before an A/B test 6 min read
11Chapter 11: Handling delayed and missing labelsThis chapter assumes you can read short Python snippets and know the model metrics from earlier chapters, such as precision and recall. You should also know that shadow, canary and A/B rollouts all compare a candidate model with the stable one on live traffic. Here we deal with a problem that sits u6 min read
12Chapter 12: A/B testing models against a business outcomeThis chapter assumes you can read short Python snippets, know basic model metrics, and understand proportions and averages. It also assumes you have seen shadow and canary releases earlier in this tutorial.5 min read
13Chapter 13: Pitfalls: sample ratio mismatch, peeking, novelty, and interferenceThis chapter assumes you can read short Python snippets and know what a p-value and a two-proportion test are. You should also know how sticky assignment works from the earlier chapters on traffic splitting and A/B testing. The A/B test chapter showed how to compare two models. This chapter covers t6 min read
14Chapter 14: Choosing and combining strategiesThis chapter assumes you know how shadow, canary, and A/B rollouts work individually. It also assumes you can read short Python snippets and know what a p-value and a guardrail metric are. Here you will decide which strategy fits a given model change and how to chain strategies so each one removes a6 min read
15Chapter 15: Beyond fixed splits: bandits and interleavingThis chapter covers two ways to learn which model is better without a fixed traffic split. It assumes you have read the chapters on A/B testing, sticky assignment, and significance testing. You should also be comfortable with proportions and short Python snippets.6 min read