The Experiment JournalA/B testing, recorded properly

The bench › Case Studies

The A/B Testing Case Study You Should Actually Copy (It's Not What You Think)

Recorded 2026-10-25

1 Overview

Most case studies about A/B testing are really stories about a clever idea that happened to win. They show a before-and-after chart, attribute the lift to the change, and invite you to copy the tactic. That is the wrong thing to copy. The tactic may have worked for reasons specific to that product, that audience, and that moment, and it may fail badly somewhere else. What travels across contexts is not the winning button color or the rewritten headline. What travels is the discipline of asking a clear question, committing to a measurement plan before you look at data, and interpreting the answer honestly.

So the case study worth copying is not a specific test. It is the structure of a well-run test, applied to a question you actually care about. In this article we walk through that structure as if we were designing a single experiment from scratch. We will not report a famous result or a dramatic lift, because inventing one would teach you nothing you could reuse. Instead we will show how a hypothesis becomes a metric, how a metric becomes a design, and how a design becomes a decision you can defend to a skeptical colleague.

The payoff is not a single answer. It is a repeatable loop: frame the question, design the test, size the sample, run it cleanly, read the result with appropriate humility, and decide what to change next. Each step constrains the others, and skipping any of them is how teams end up with confident conclusions that do not survive contact with reality.

2 Framing the question

A test begins with a question, not a feature. The tempting starting point is "let us try a new layout," but that is a solution looking for a problem. A better starting point names the population, the change, the expected direction of the effect, and the reason you believe it. Written out, a hypothesis might say that for new visitors arriving from a particular channel, replacing a long form with a shorter one will increase the share who complete it, because the current form asks for information before the visitor sees any value. That sentence contains a who, a what, a predicted direction, and a rationale. It can be wrong, which is exactly what makes it useful.

Notice what the hypothesis does not contain. It does not promise a specific percentage lift, because you do not know that in advance and pretending otherwise invites wishful thinking. It does not name a winner, because the point of the test is to find out. It does not bundle five unrelated changes, because if several things move at once you cannot tell which one mattered. A clean hypothesis isolates one meaningful change, or a coherent set of changes that only make sense together, so the result is interpretable.

The framing step also decides what you will not measure. Every experiment generates dozens of numbers, and the temptation to hunt through them after the fact is strong. Choosing the primary metric in advance, along with a small number of secondary and guardrail metrics, protects you from the most common form of self-deception: finding a flattering result somewhere in the noise and presenting it as the finding. The question you frame determines the metric you commit to, and that commitment is what makes the eventual answer trustworthy.

3 Designing the test

The design is the machinery that turns a question into evidence. At its core is random assignment: eligible units, whether users, sessions, or accounts, are split into a control group that sees the current experience and one or more variants that see the change. Randomization is what lets you attribute a difference in outcomes to the change rather than to pre-existing differences between the groups. If you instead compare this week to last week, or one market to another, you are running a comparison, not an experiment, and the comparison is exposed to every other thing that changed at the same time.

Beyond randomization, the design fixes the details that would otherwise drift. You define who is eligible, how assignment is persisted so a returning visitor keeps the same experience, what counts as exposure, and how long the test will run. You also decide the unit of analysis and make sure it matches the unit of assignment, because mismatches between the two are a quiet source of overstated confidence. Holding everything except the treatment constant is the goal; in practice you approximate it by changing as little as possible and by running control and variants side by side in the same period.

The design should also specify the decision rule before launch. What effect size would change your mind? What would you do if the result is flat, or if a guardrail metric degrades? Writing these down in advance converts the experiment from a search for a pleasing number into a genuine test of a belief. It also makes the post-test conversation about the evidence rather than about who wanted which outcome.

4 Sample size and validity

Sample size is where enthusiasm meets arithmetic. The number of observations you need depends on the smallest effect you care about detecting, the baseline level of your metric, the variability of that metric, and the error rates you are willing to tolerate. A smaller effect is harder to detect, so it demands more data. A noisier metric demands more data. A stricter standard for false positives demands more data. Because these quantities interact, the honest answer to "how big should this test be?" is always "it depends on your setup," and any rule of thumb should be treated as a starting point, not a guarantee.

Underpowered tests are dangerous precisely because they still produce numbers. A small experiment can show a large difference purely by chance, and if you stop as soon as that difference appears, you will systematically overestimate effects and ship changes that do not work. This is why the duration and the sample target should be set in advance and why peeking at results and stopping on a favorable reading undermines the test. The same logic applies to running too long: a test left open indefinitely accumulates drift from seasonality, promotions, and product changes that contaminate the comparison.

Validity is the broader question of whether your result means what you think it means. Threats include biased assignment, broken instrumentation, novelty effects where users engage with anything new, primacy effects where they resist change, interference between variants, and external events that hit one group harder than another. None of these are exotic. A careful team audits the assignment logs, checks that the groups look comparable before the change, and treats an implausible result as a reason to investigate rather than to celebrate.

5 Running and reading the results

Once the test is live, the job is mostly to leave it alone. Monitor for technical failures, confirm that traffic is splitting as intended, and watch guardrail metrics for harm, but resist the urge to interpret the primary metric before the planned endpoint. Every early glance is a chance to be fooled by noise, and the discipline of waiting is what separates an experiment from a dashboard. If something genuinely breaks, fix it and treat the affected period as compromised rather than pretending the data is clean.

When the test reaches its planned end, read the result as an estimate with uncertainty rather than as a verdict. The observed difference between groups is a point estimate, and the range around it tells you how much the data can actually pin down. A difference that is large but uncertain is not strong evidence. A small difference measured precisely may be. Ask whether the effect is big enough to matter for the decision at hand, not merely whether it cleared some threshold. Practical significance and statistical significance are different questions, and a statistically detectable effect can still be too small to justify the cost of shipping.

Then check the story against the mechanism. Did the change move the metric for the reason you predicted, or did something unexpected drive it? Look at secondary metrics for consistency and guardrails for damage. A result that contradicts your rationale is not automatically wrong, but it deserves more scrutiny than one that fits. Finally, record what you learned, including the setup and the sample size, because the context is what makes the finding reusable. A result without its conditions is a rumor.

6 What to change next

The output of a good experiment is rarely a single yes or no. It is a sharper understanding of your users and a better next question. If the variant won and the mechanism is plausible, the next step is to ship it, then verify that the gain persists after launch, since the conditions of a test are not identical to the conditions of full rollout. If it lost, the next step is to ask why: was the hypothesis wrong, was the execution flawed, or was the effect real but too small to detect with the sample you had? Each answer points to a different follow-up.

If the result was inconclusive, resist the temptation to declare victory from a subgroup or a secondary metric. Inconclusive usually means the test could not distinguish the effect from noise, which is a statement about the design as much as about the idea. The remedy may be a larger sample, a less noisy metric, a bigger change, or a decision to stop testing this particular idea and spend the budget elsewhere. Knowing when to stop is as valuable as knowing when to push.

The most important change is to the process itself. Keep a written log of hypotheses, metrics, designs, and outcomes. Over time that log becomes your most valuable asset, because it shows which kinds of changes tend to work in your context and which assumptions keep failing. Copying someone else's winning tactic gives you one guess. Copying the loop, and running it on your own questions with honest sample sizes and clean designs, gives you a system that keeps producing answers.

7 Frequently asked questions

How long should a test run? Long enough to reach the sample size your design requires and to cover at least one full business cycle, so weekly patterns do not bias the comparison. The exact duration depends on your traffic, your metric, and the effect you are trying to detect, so there is no universal number. What matters is that you decide the endpoint before launch and honor it.

Can I stop early if the result looks great? Stopping when a favorable difference appears inflates the chance of a false positive and exaggerates the size of the effect. If you need the flexibility to stop early, that has to be built into the design with appropriate methods, not improvised mid-test. Otherwise, wait for the planned endpoint.

What if my test is underpowered? You will tend to miss real effects and to overestimate the ones you do detect. Options include running longer, increasing traffic to the test, choosing a more sensitive metric, or accepting that you can only detect large effects. Be explicit about which trade-off you are making.

Does a significant result mean I should ship? Not by itself. Consider the size of the effect, its practical value, the guardrail metrics, and whether the mechanism makes sense. Statistical significance answers whether a difference is likely real; it does not answer whether the change is worth making. Those are separate judgments, and both deserve attention.

Adjacent experiments