How to run an offline A/B test: speeding up delivery at Samokat

14 Jun 2024

Problem

Offline experiments have thousands of users and dozens of stores, not millions, and people must adopt the change. With so few units, every extra metric adds Type I error risk, and corrections for multiple testing cost power. Samokat.tech wanted to know whether widening the 15-minute delivery zone would raise orders without hurting on-time delivery. Earlier attempts used "before / after" comparisons without a control group.

Example from the article: the standard express zone covers addresses within 1,200 meters of a dark store. The team expanded it by 100 meters for 50 dark stores and compared them with 50 similar stores for a month.

Solution in brief

Run the offline test like a classical experiment: matched groups, one hypothesis, one primary metric, guardrails and a rollout estimate. The primary metric was chosen before launch by checking, on historical data, which of three candidate metrics would give a noticeable revenue (GMV) effect if it moved.

Questions this case answers
  • How to choose a single primary metric for an experiment with few randomization units, before launch, using historical differences between two existing groups
  • How to run a controlled experiment on physical operations where the sample is dozens of units rather than millions of users
  • How to run an A/B test when the treatment is a change in the physical world and only dozens of units are available?
  • How to pick one primary metric from several candidates when a small sample rules out testing all of them?

Tools and methods

  • A/B test on groups of dark stores — test and control groups of 50 stores each with similar order frequency, one month.
  • Pre-launch effect sizing — expected metric change times users reached gives the expected GMV effect per candidate metric.
  • Guardrail metrics — late-delivery share, courier load, plus an information metric that the treatment is switched on.
Continue reading — it's free

Google or a one-time email code. No password.