01Chapter 1: Why releasing a new model is different from releasing codeA code release usually changes how a system performs a defined task. Tests can check whether the same input still produces the expected output. A model release changes the decision rule itself. The new model may behave differently on inputs that were never included in tests, so production data becom2 min read
02Chapter 2: What offline evaluation tells you and what it cannotAssume you can serve a model behind an HTTP or RPC endpoint, understand common metrics such as accuracy and latency, and know basic probability. Offline evaluation means testing a model on data collected before deployment. The data includes inputs and, ideally, the correct outcomes called labels.2 min read
03Chapter 3: Splitting traffic between model versionsAssume you know how to serve a model behind an HTTP or RPC endpoint. You should also be comfortable with latency, error rate, and basic probability. This chapter focuses on routing requests to a stable model and a candidate model.2 min read
04Chapter 4: Logging predictions so versions can be comparedAssume you can serve a model behind an HTTP or RPC endpoint and understand basic metrics such as accuracy, precision, recall, and latency. This chapter focuses on the data you need to compare model versions after they receive the same request.2 min read
05Chapter 5: Choosing metrics and guardrailsAssume you can serve two model versions and understand basic metrics such as accuracy, precision, recall, and latency. This chapter focuses on deciding whether a candidate model is safe to expose to more production traffic.2 min read
06Chapter 6: Shadow deployment: testing on live traffic with no user impactAssume you can serve a model behind an HTTP or RPC endpoint and understand basic latency, error-rate, and prediction metrics. Shadow deployment, also called traffic mirroring, runs a candidate model on copies of real production requests while users continue receiving responses from the stable model.2 min read
07Chapter 7: Canary release: exposing a small share of users in stagesAssume you can serve a model behind an HTTP or RPC endpoint, read latency and error metrics, and use basic proportions and averages. A canary release is a rollout method that sends a small, controlled share of real user requests to a candidate model while most requests continue using the stable mode2 min read
08Chapter 8: Deciding to promote or roll backAssume you can serve two model versions behind an HTTP or RPC endpoint, route requests between them, and read metrics such as error rate, latency, and business conversion. This chapter uses basic proportions and averages.2 min read
09Chapter 9: Choosing the randomization unit and keeping assignment stickyAssume you can serve a model through an HTTP or RPC endpoint, understand basic model metrics, and can read short Python. This chapter focuses on deciding who receives each model version. It does not cover how to calculate every model metric.2 min read
10Chapter 10: Significance, power, and sample sizeThis chapter assumes that you can serve two model versions, split users into groups, and calculate a metric such as conversion rate. It also assumes basic probability, proportions, and averages.2 min read
11Chapter 11: Handling delayed and missing labelsAssume you can serve models behind an HTTP or RPC endpoint, read Python and YAML, and understand proportions, averages, and metrics such as precision, recall, and latency. This chapter focuses on a harder production problem: the correct label often arrives after the prediction.2 min read
12Chapter 12: A/B testing models against a business outcomeAssume you can serve two model versions behind an HTTP or RPC endpoint, understand metrics such as accuracy and latency, and can read basic Python and probability notation. This chapter focuses on measuring a business result, not only the model's offline score.2 min read
13Chapter 13: Pitfalls: sample ratio mismatch, peeking, novelty, and interferenceAssume you understand model serving, basic metrics such as conversion rate and latency, and elementary probability. You should also know how a request is assigned to a stable or candidate model. These assumptions matter because many experiment failures come from assignment and measurement rather tha3 min read
14Chapter 14: Choosing and combining strategiesAssume you can serve multiple model versions behind an HTTP or RPC endpoint, route requests using an identity such as a user ID, and collect latency, errors, model outputs, and eventual labels. You should also understand basic proportions and averages. The goal is not to choose one rollout method fo2 min read
15Chapter 15: Beyond fixed splits: bandits and interleavingAssume you understand sticky A/B assignment, guardrail metrics, delayed labels, and basic statistical testing. This chapter explains two strategies that go beyond a fixed traffic split: bandits and interleaving.2 min read