
Oops I Did It Again: Common Testing Mistakes and How to Fix Them
Ever wondered why your A/B tests aren’t delivering the results you expected? Reveal the most common A/B testing mistakes made by top companies and how you can avoid them.

P-hacking is exploiting the flexibility in how data is analysed until a result crosses the significance threshold. It rarely involves anyone deciding to cheat — the same outcome arrives through a series of individually defensible choices made after seeing the data.
Every analysis involves choices. Which metric is primary, which users to exclude, whether to cap outliers and at what threshold, which segments to examine, when to stop collecting. Make those choices after seeing the data and you can search — deliberately or not — until something reaches significance. That search is p-hacking, and the resulting p-value describes a procedure nobody performed.
The framing that makes it recognisable rather than accusatory is the garden of forking paths. Most p-hacking involves no dishonesty at all: an analyst hits a flat primary metric, notices that excluding bot-like sessions is defensible, tries it, sees the result improve, and keeps it. Each decision is reasonable in isolation, and each was made with knowledge of what it did to the answer. The false-positive rate is set by all the paths that could have been taken, not by the one that was.
In experimentation the flexibility concentrates in a few places. Stopping when the result looks good is the peeking problem. Reading fifteen metrics and reporting the significant one is multiple comparisons without a correction. Slicing by device, country, tenure and channel until a segment shows an effect is the same thing with more paths. Choosing an outlier cap after seeing how it changes the result is a subtler version, and the changing definition of a metric mid-analysis is subtler still.
The defence is pre-registration, and it need not be elaborate. Write down the primary metric, the sample size, the duration, the exclusion rules and the segments of interest before the experiment starts, and treat everything else as exploratory. It costs ten minutes and it converts a garden of forking paths into a single path. What makes it work is not formality but timing: the decisions must be made when they cannot be influenced by their effect on the answer.
Exploratory analysis remains valuable and should not be discouraged — most good hypotheses come from looking at data without a plan. What matters is labelling it honestly. A segment that looks interesting is a candidate for the next experiment, not a finding from this one, and an organisation that keeps that distinction can explore freely without accumulating beliefs that no experiment established.
The arithmetic of how quickly flexibility manufactures significance, which is faster than most people expect.
paths = metrics × segments × exclusion rules × stopping pointsThree metrics, four segments and two exclusion rules is 24 analyses, not one.
1 − ( 1 − α )^kk = 24 at α = 0.05 gives 71%. Even correlated paths, which reduce this, leave it well above 5%.
a single pre-specified testNot the best of 24. Nothing in the output records how many paths were explored.
fix metric, sample size, exclusions and segments before launchConverts the garden into one path — see the sample size calculator for the duration half.
An experiment on a genuinely inert change comes back flat. An analyst, acting in good faith, works through a sequence of reasonable adjustments. Each step is simulated 10,000 times over null data to see how often it eventually yields a significant result.
Six layers of defensible flexibility take the false-positive rate from 5% to 78% on data with no effect in it whatsoever.
No step in that list is disreputable. Checking secondary metrics is diligent. Capping outliers is often correct. Excluding three-second sessions removes probable bots. Segmenting by device is standard practice. Stopping when the answer is clear is efficient. The problem is that all six were performed with visibility of what each did to the p-value, and the reported number describes only the last one. The rate would be lower in practice because these paths are correlated rather than independent — but the direction and the order of magnitude are right, and 78% is not far from what a genuinely determined search achieves. The remedy is not to forbid any of these operations; it is to decide them in advance. An outlier cap chosen from historical data before launch is a good analysis; the same cap chosen because it produced p = 0.04 is not, and the two are indistinguishable in the output.

Ever wondered why your A/B tests aren’t delivering the results you expected? Reveal the most common A/B testing mistakes made by top companies and how you can avoid them.


Many analysts make fundamental mistakes that can misrepresent or undermine the test's findings. This blog highlights common reporting errors and offers practical guidance for presenting tests results effectively.

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.