The most expensive habit in experimentation

Someone opens the results dashboard on day three. The variant is up 8%, the p-value reads 0.04, and there’s a little green tick next to it. The test gets called, the change ships, and everyone moves on.

Three weeks later nobody can find the 8% in the revenue numbers. It was never there.

This is the single most common failure mode in commercial A/B testing, and it has almost nothing to do with the tool, the design, or the hypothesis. It’s a statistics problem — specifically, the problem of stopping a test when you happen to like the number you see. The uncomfortable truth is that a classical significance test only means what you think it means if you decide the sample size before you start and don’t look until you get there.

Almost nobody does that. So let’s talk about what actually goes wrong, and how to stop tests honestly.

What p < 0.05 actually promises

A p-value is a conditional statement. It says: if there were genuinely no difference between A and B, the chance of seeing a result this extreme (or more) is 5%. Set your threshold at 0.05 and, in a world of pure null effects, you’ll wrongly declare a winner about 1 time in 20.

That 1-in-20 guarantee is calculated for a single look at a fixed sample size. It is the entire basis of the “95% confidence” everyone quotes. And it quietly assumes you ran the test to a pre-planned end and evaluated it exactly once.

The moment you check repeatedly and reserve the right to stop when it looks good, that guarantee is gone. Not weakened — gone.

Why peeking inflates your error rate

Think about what a live test actually does. The cumulative difference between two arms doesn’t sit still; it wanders. Early on, with small samples, it wanders a lot — random noise easily produces swings of 10-20% that mean nothing. Over time, as volume accumulates, it settles towards the truth.

Now overlay a habit on top of that random walk: “I’ll stop and declare a winner the first time the line crosses significance.”

You’ve given yourself dozens of independent chances for noise to cross the threshold. Each daily peek is another roll of the dice. Cross once, and you stop and keep the win. Never mind that if you’d waited another two days it would have drifted straight back to zero.

The numbers are stark. Check a test once, and your false positive rate is the 5% you signed up for. Check it every day for two weeks and stop at the first significant result, and your real false positive rate climbs to somewhere around 25-40%, depending on traffic and how twitchy your stopping rule is. You think you’re running at 95% confidence. You’re running at closer to 65%.

This is exactly the mechanism behind the compositional false positives that make revenue metrics so unreliable — except peeking manufactures false positives out of any metric, not just the heavy-tailed ones.

”But the uplift is huge, surely it’s real?”

Big early effects are the trap, not the reassurance. Effect size and sample size trade off against each other in every significance calculation. Early in a test your sample is tiny, so the only results that can possibly cross the significance line are the extreme ones — the ones noise is most likely to have exaggerated.

This is why tests so often show a dramatic uplift in the first few days that erodes steadily towards nothing. It isn’t the effect “wearing off”. It’s regression to the mean: the early number was inflated by the same randomness that let it reach significance early, and more data drags it back to reality.

A large effect seen early is weak evidence, not strong evidence. It feels like the opposite, which is precisely why it’s dangerous.

The honest options for stopping

There are only really three defensible ways to decide when a test is done. Pick one before the test starts.

Option 1: Fixed horizon (the classical way)

Decide the sample size up front from a power calculation — your baseline rate, the minimum effect worth detecting (your MDE), your significance level and your desired power (usually 80%). Run to that sample size. Look once. Decide.

This is statistically clean and needs no clever maths. Its weaknesses are practical: you have to commit to an MDE honestly (teams almost always overstate how big an effect they’ll get, which understates the sample they need), and you can’t legitimately react to the result until you reach the finish line. But if you run one look at a pre-planned N, your 0.05 means 0.05.

A rule of thumb worth internalising: to reliably detect a 5% relative lift on a 3% baseline conversion rate, you’re often looking at tens of thousands of conversions per arm — frequently more traffic than a mid-sized site can supply inside a sensible window. If the maths says you can’t power the test, that is a real answer, not a failure. It means the effect you’re chasing is too small to measure with the traffic you have, and you should either aim for a bolder change or accept that CRO is more technical and constrained than the “just test everything” narrative suggests.

Option 2: Sequential testing (look as often as you like — legitimately)

If you genuinely need to monitor a test continuously — because you want to catch harmful variants early, or you simply can’t stop people opening the dashboard — then use a method designed to be peeked at.

  • Group sequential designs (alpha spending). You plan a set number of interim looks and spend your 5% error budget across them using an O’Brien-Fleming or Pocock boundary. Early looks demand a much more extreme result to stop; later looks relax towards the normal threshold. The total false positive rate across all looks stays at 5%.
  • Always-valid inference / sequential probability ratio tests. Methods like mixture sequential probability ratio tests and “always-valid p-values” (popularised by Optimizely and others) give you confidence sequences that are valid at every point in time. You can look continuously, stop whenever the interval excludes zero, and your error guarantee still holds.
  • Bayesian monitoring. Track the posterior probability that B beats A and the expected loss of picking wrong. Stop when the expected loss drops below a threshold you’re comfortable with. This is the approach underneath cohort-based Bayesian auto-optimisation, and it’s the most natural fit when you want a decision rule a business stakeholder can actually understand (“there’s a 97% chance this is better, and the downside if we’re wrong is tiny”).

The trade-off is that continuous monitoring buys flexibility with data. To preserve the same error rate across many looks, sequential methods need somewhat more sample than a single fixed-horizon look would. That’s the price of being allowed to peek — and it’s a fair one.

Option 3: Run for full business cycles, then look

Even with the statistics handled, calendar time matters. Behaviour on a Tuesday is not behaviour on a Saturday; payday week is not the dead week before it. Always run a test across whole weekly cycles — a minimum of one, preferably two or more — so both arms see the same mix of weekday, weekend, promotional and seasonal traffic.

A test that hits its sample size in four days should still run to the end of the week. Otherwise you risk the composition problem: one arm accidentally over-sampled from a high-intent slice of the week, and you’re measuring the calendar, not the change.

A stopping checklist you can actually use

Before you call any test, run through this:

  1. Did I decide the rule before I started? Fixed N, or a named sequential method. If the honest answer is “I stopped because it looked good”, the result is not trustworthy — full stop.
  2. Has it run for at least one full weekly cycle? Preferably two.
  3. Is the sample big enough that the effect isn’t resting on a handful of conversions? Segment the winners: does the story hold, or is it one lucky day carrying the whole result?
  4. Would I have stopped just as happily if the number were flat? If the answer is no, your stopping rule is outcome-dependent — that’s peeking with extra steps.
  5. Does the effect survive a sanity check against a source of truth? If the platform says +8% revenue, does the actual money in the payment provider agree?

The mindset that fixes it

The instinct to stop early comes from treating an experiment as a race to a green tick. It isn’t. An experiment is a measurement, and measurements have a required precision that you don’t get to negotiate down because the deadline is tight or the early number is exciting.

The teams that get consistent, replicable wins from experimentation are almost boringly disciplined about this. They power their tests properly, they don’t touch the results until the rule says they can, and when the maths says “you can’t detect an effect this small with this traffic”, they believe it and pick a bolder change instead of fooling themselves with an underpowered one.

Slower, but real. And real compounds; false positives just quietly cost you.


Getting stopping rules right is partly discipline and partly infrastructure — you need an experimentation layer that assigns cleanly, holds allocation stable across the whole run, and doesn’t corrupt your sample with flicker or cache misses. That’s exactly what Conversion Workers is built for: edge-side assignment on Cloudflare that keeps each visitor in a stable bucket for the life of the test, so the only thing moving your numbers is the change you’re testing — not the plumbing.