When an A/B Test Can Stop Early Without Lying
Repeatedly checking an ordinary fixed-sample test changes its false-positive behavior. Early stopping is defensible only when the design, monitoring rule, and decision are built together.
An experiment dashboard turns green at 10 a.m. The team stops the test, ships the change, and saves a day of traffic. But the test was planned for Friday, and the dashboard has been checked every hour. Did the data earn that decision—or did the stopping rule quietly change the test?
The problem is not looking at data early. The problem is repeatedly applying a fixed-sample procedure as if it had been used once. If the decision to stop depends on the observed results, the analysis plan includes that repeated opportunity to cross a threshold. A nominal 5% false-positive rate for a one-time test does not automatically remain 5% under continuous peeking.
What the stopping rule changes
A fixed-sample test is calibrated for a specified analysis: collect the planned amount of data, then test once under the assumptions of that procedure. When analysts test after every new batch and stop at the first p < .05, chance fluctuations get multiple opportunities to look decisive. The realized false-positive probability can exceed the advertised level.
That does not mean every early look is invalid. It means the monitoring plan and inference method must match. A pre-specified group-sequential design can allocate the error budget across interim looks. An anytime-valid procedure can support repeated monitoring under its stated assumptions. Alternatively, a team can use a fixed design and make the decision only at the planned analysis point. These are different designs, with different trade-offs in power, complexity, and stopping behavior.
Netflix describes one specialized use case: software canaries for client releases. Its engineers monitor play-delay, including changes in the tails of the distribution, because an unchanged mean can hide a worse experience for users already facing long delays. The post frames the problem as continuous data and develops an anytime-valid approach for that deployment gate. This is a useful example of matching inference to operations; it is not evidence that one stopping method is right for every product experiment.
Spotify’s discussion of fixed-power designs makes the choice less binary. Its authors describe a design that estimates the required sample size from accumulating outcome data and stops when the collected sample reaches that requirement, while analyzing with nonsequential methods under the design’s assumptions. They also emphasize that sequential tests can sacrifice sensitivity and that not every form of peeking has the same consequences. “Never peek” and “stop whenever the dashboard looks good” are both too crude as general rules.
Build the decision before the dashboard
Before launch, write down the estimand, outcome, randomization unit, analysis population, and decision the experiment is meant to inform. Then specify the monitoring design:
- Baseline: the organization’s current fixed-sample analysis, with one planned final look.
- Monitoring rule: the exact interim schedule or anytime-valid method, including any safety or harm boundary.
- Success condition: a decision threshold tied to a practically meaningful effect, not merely a conventional significance cutoff.
- Stopping rule: what triggers early stopping for benefit, harm, futility, or operational failure—and who can stop for each reason.
- Artifact to keep: the protocol, analysis code/version, timestamped decision log, and the result at the actual stopping time.
If the method is new to the team, run a bounded simulation before relying on it. Under a null scenario, estimate how often the complete monitoring-and-stopping process declares a win. Under plausible effect sizes, assess power and expected duration. Include delayed outcomes, repeated users, multiple metrics, and the actual randomization unit where relevant. This is a proposed diagnostic, not a result from the cited company case; no simulation was run for this article.
Practitioner judgment
Early stopping is most valuable when delay has a real cost: a deployment can harm users, a treatment effect is large enough to detect quickly, or the experiment consumes scarce traffic. But a method that is valid for continuous monitoring may still be inappropriate if the data are dependent in ways the method does not handle, outcomes arrive with delay, assignment is clustered, or the team keeps changing metrics and subgroups after seeing results.
The same discipline matters when a study uses nonrandomized behavioral data: see why engagement is not the same as a causal outcome and why temporal integrity matters in model evaluation.
Also separate statistical stopping from operational stopping. A broken logging pipeline, a safety incident, or a product deadline may justify ending data collection. That does not turn the resulting estimate into a confirmatory result. Record why the run ended and label the inference accordingly.
The evidence here is Reported: Netflix and Spotify describe their methods and operational motivations; their public posts do not provide a transferable guarantee for your experiment without matching assumptions. The general warning about repeatedly testing a fixed-sample procedure follows from the inferential design. The proposed simulation is Hypothesis / planned reconstruction, not completed work.
Practice card
- Try: Put the stopping rule in the protocol before the first result appears.
- Check: Does the inferential method account for every planned look and decision path?
- Avoid when: The method’s assumptions, outcome timing, or multiplicity structure do not match the live experiment.
Sources
- Netflix, “Sequential A/B Testing Keeps the World Streaming: Part 1 — Continuous Data”
- Spotify, “Fixed-Power Designs: It’s Not IF You Peek, It’s WHAT You Peek at”
Chinese edition: A/B 测试何时可以提前停止,而不自欺?.