TOPIC 20/3712 MINNOT STARTED

Experiments and A/B tests for testers

An A/B test shows two versions to two groups and compares one result. A tester checks that users are split as planned, that events are logged and that the test is cleaned up.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: two shop windows on two days. A shop owner wants to know which window brings in more people. On Monday she shows a red hat. On Tuesday she shows a blue hat. Then she counts how many people walk in. She does not ask which hat she likes best. She counts what people did.

Daily List is a to-do list app. Nina, the product owner, wonders if a green upgrade button gets more sign-ups than a blue one. Showing one colour to half the users and the other colour to the other half, at the same time, is a . People often call it an A/B test.

Tom, the tester, does not decide which button wins. He checks that the test is fair and the numbers can be trusted.

The picture has a limit. A shop tries one window per day, so Monday and Tuesday may differ for other reasons. An online test shows both versions at the same time, which is fairer.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Showing two versions to two fair groups at once, counting what people do and checking the numbers can be trusted.

  1. Split fairly
  2. Log events
  3. Watch guardrails
  4. Check the split
Count, don't guess

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Two shop windowsTwo versions
Counting who walks inThe measured result
Which hat the owner likesAn opinion that does not count
Counting at the doorLogging events

WHERE THIS PICTURE STOPS

  • A shop tries one window per day. An online test shows both at once.
  • A shop counts people only. A test can count many things.
  • A shop owner can see the door. A tester must check the logging.

HOOK

Two groups, one count, trust the data.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

Usually check the test before you read the result. Was the split fair, and can the numbers be trusted?

What each part of the trick stands for
In the trickWhat it stands for
Fair splitBoth versions shown at the same time to two groups
Trusted numbersThe tester checks the logging

It misleads if you stop once the split looks fair, since the logging can still be wrong.

TELL A FRIEND

Two shop windows and a count of who walks in. A tester checks the split, the logging and the clean-up.

OFTEN MIXED UP WITH Feature flags and canary releases. The flag lesson shows how to release in steps. This lesson uses flags to compare two versions and asks whether the numbers can be trusted.

PRACTISE AND KEEP

Sources for this topic — 5 sources
  1. Market practice

    Feature Toggles (Martin Fowler) ↗ — Martin Fowler · Experiment toggles support A/B testing: each user is placed in a cohort and the router consistently sends that user down one code path (search excerpt, page not opened)

    Sorts toggles into release, experiment, ops and permission kinds, with different lifetimes. Practitioner guidance, not a standard. Original source image and reuse terms directly reviewed 6 November 2026; image bytes retained unchanged. · Checked 2026-11-06

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    Verification supplement, 6 November 2026: Feature Toggles by Pete Hodgson (revised 9 October 2017): actual toggle-point/router/context/configuration overview inspected, with all four dashed arrows and explanatory labels. Illustration permission is in the host FAQ; credit Hodgson and acknowledged diagram assistance by Fernanda Alcocer.

  2. Market practice

    How bucketing works (Optimizely documentation) ↗ — Optimizely · Bucketing hashes the user ID so a user stays in the same variation; changing traffic can move users into other variations (search excerpt, page not opened)

    Says the user identifier (ID) is hashed so a user stays in the same variation; changing traffic can move users. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Sample Ratio Mismatch and Other Trust-Related Guardrail Metrics (Trustworthy Online Controlled Experiments, chapter 21) ↗ — Cambridge University Press · Sample ratio mismatch is when the observed split between variants differs from the designed split; it is a trust-related guardrail (search excerpt, page not opened)

    Chapter on sample ratio mismatch as a trust-related guardrail by Kohavi, Tang and Xu. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Microsoft ExP — Diagnosing Sample Ratio Mismatch in A/B Testing ↗ — Microsoft Research · 14 September 2020, SRM detection versus diagnosis; actual article opened 6 November 2026. Planned/observed counts and diagnostic threshold; ExP threshold is platform policy.

    Microsoft Experimentation Platform original article opened; diagnosticsection, conclusion and references read,2019KDDresearch cited. Plannedratio/sample statisticalcheck, assignment/execution/logging/filterrootcauses; not unequalcountalone. Microsoftlocal musttestpolicy notuniversallegalmandate. No automaticrulealltests50:50/exactly1week/fixedsamplesequentialexception. · Checked 2026-11-06

    Relevant public sections reviewed 6 November 2026 for V11 BA agile/product. See applicability for exact version, scope and access limitations.

  5. Market practice

    Statistical significance (Optimizely support) ↗ — Optimizely · r5g-optimizely-statistical-significance: defines significance as how unusual results would be if variation and baseline performed identically; minimum visitors before a winner. Vendor support page, search excerpt, page not opened. The 'not large or useful' point is standard statistics and is stated without a separate source here.

    Defines statistical significance as how unusual results would be if variation and baseline performed identically; sequential testing in Stats Engine; minimum visitors and conversions before a winner is declared. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.