The Pitfalls Catalogue
P8.experimentation.04 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Designing an A/B Test
P8.experimentation.04 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Designing an A/B Test
Randomization makes the comparison fair; the design makes it big enough; honest reading turns it into a decision. And yet the most confident wrong conclusions in industry come from experiments that did all three — then were quietly corrupted by a handful of recurring mistakes. Each one manufactures significance that was never really there. This module is the catalogue: know these five by name and you will catch most of the false wins before they ship.
The most seductive pitfall. You watch the dashboard daily, and the moment the p-value dips below 0.05 you declare victory and stop. It feels responsible — why waste traffic once you have your answer? It is in fact one of the surest ways to ship pure noise.
Why it matters — A p-value wanders as data accumulates. Even when there is no real effect at all, that random walk will dip below 0.05 at some point in a long-enough test — check often enough and you are guaranteed to catch it on a lucky day. Stopping the instant you see significance converts that guaranteed fluke into a 'win'. The false-positive rate of a peeked test is far above the 5% the 0.05 threshold promises.
The fix is the discipline the design module already demanded: fix the sample size and stop time in advance, and read the result once, at the end. If you genuinely need to look early — and sometimes you do — there are sequential testing methods that budget the error across many looks, but the naive "stop when green" is never among them.
This series recalls Why Randomize?, Designing an A/B Test, Reading the Readout and The Pitfalls Catalogue.
Self-check
A variable that pushes both which group someone ends up in and the result you measure is called what?
Self-check
Before an A/B test starts, the team names the one number that will decide whether the change ships. What is that number called?
Self-check
A team checks the dashboard every morning and ends the test on the first day the result looks significant. What is this pitfall called?
Self-check
A language school tests a homework app. The whole range of plausible gains in reading scores sits above zero, but below the smallest gain the school said would justify the cost. What should the school do?
Self-check
A test planned an even split. After two weeks and a million users, 52 out of every 100 sit in the old version and 48 in the new one. What should the analyst do first?
Self-check
An online dictionary wants to test a new search page. The same visitor often comes back several times a day. What should the coin decide for?
Self-check
Hotels that chose to install a new booking system now report more bookings than hotels that did not. Why does this not show that the system works?
Self-check
An analyst writes: our test was far too small to detect anything, it came back flat, so we now know the feature has no effect. What is wrong?
Self-check
A report says: we compared the new design on twenty different metrics, one improved significantly, so the design works. What is the flaw?
Self-check
A product manager says: we have plenty of traffic, so we will run the test for three days only, Tuesday to Thursday. What is the problem?
Practise this lesson's 10 self-checks
One per screen: 10 checked on this page, 0 you reveal and mark yourself. Nothing is recorded.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Hunt the pitfalls in the wild: judge whether an early stop was justified, build the sample-ratio-mismatch check by hand, watch multiple comparisons inflate false positives and tame them, then audit a deliberately flawed readout end to end.
Loading exercise…
Loading exercise…
Loading exercise…
Loading exercise…
A scratch console for this page's ideas — ungraded, nothing you run here is recorded.
Scratch console
A scratch console with the scientific stack (pandas, numpy, scikit-learn). Runs on the server — no network, resource-limited and measured.
Output appears here.
Loading your notes...