3/32
Part 1 of 6 · The splitLearn and do

Check the split before you read any metric

Before you compare the rates, check that the groups are still the ones randomization made. A broken split leaves them unalike.

One way a split breaks (an example)Interactive
users assigned to B.

Randomization promises a ratio, usually 50/50. Sometimes the user counts miss it by more than chance allows. Then something added or removed users on one side: a bug that crashes the treatment on one browser, a redirect that loses people, bot filtering that hits one variant harder.

The users who went missing aren't random. Here B lost its old-browser users and A kept them, so every metric comparison inherits the bias. That's a sample ratio mismatch, or SRM: a split that misses its planned ratio by more than chance allows.

Fabijan and colleagues studied it across four companies, including Microsoft and Booking.com. They put it bluntly: "Sample Ratio Mismatch in most cases completely invalidates experiment results." They found one in "approximately 6% of experiments at Microsoft".

In the editor, users_a and users_b count each group's users by browser, the way a dashboard splits them. Write where_missing(users_a, users_b): the browser where B is shortest against A, which is where to look for the bug.