PrepCity

A/B tests that don’t lie

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 12 pages · about 12 min

A/B tests that don’t lie

An A/B test shows a new ranker to a random half of the shoppers and compares. It is the last word on whether a change helps, and it is easy to fool: peeking, a broken split, novelty and a win paid for elsewhere. Run on the shop’s seeded shoppers, with interleaving as the fast variant.

What it is
An A/B test splits real users at random into two groups at the same time, shows each group one version, and compares a number chosen beforehand between the groups.
What it is for
Offline scores judge a model on old logs. Only real shoppers show what a change does to clicks, sales and complaints, and the random split makes the two groups alike in everything but the change.
Use it when
Before shipping any change you can show to part of the users: a ranker, a layout, a price rule. Not for changes you cannot split, or effects too small for the traffic you have.

Words you’ll learn

  • Row
  • Offline metrics
  • A/B test
  • Service
  • Stream
  • Lift
  • Confidence interval
  • Dashboard
  • A/A test
  • Readout

Page by page