AB Testing for People Who Touch Grass

Tchia17 Jul 2025

Problem

Kingfisher had an AI tool (AI-Markdown) that sets clearance prices and had to prove it before a second-market rollout. The test units were about 100 physical stores, not web sessions. Simple randomisation can put the large urban stores in one group and the small rural ones in another. Customers also drive between stores to compare prices, and managers sometimes change prices by hand, so groups are not isolated.

Example from the article: In the new market, a central team with Excel spreadsheets priced half the stores and AI-Markdown priced the other half, on identical products. Store 292 ended up with a 40% discount instead of the planned 30% and had to be excluded.

Solution in brief

Each store was paired with its nearest statistical twin using several features, and one store of each pair went to each team at random. A store that breaks the protocol is dropped together with its partner. With only 45 days, both sides had to reach 25% sell-through, and unsold units were charged the margin lost by discounting them further.

Questions this case answers
  • How to build balanced control and treatment groups when there are only about a hundred heterogeneous units, simple randomisation can produce lopsided groups, and some units may have to be dropped after the test starts
  • How to compare two decision policies fairly when both must hit a volume target but end with different volumes and margins
  • How to A/B test a pricing algorithm across about 100 physical stores when stores cannot be randomised like web users?
  • How to form comparable control and treatment groups from a small number of heterogeneous stores?

Tools and methods

  • Store pairing by nearest neighbours — find a statistical twin for each store and randomise within the pair
  • Margin decay penalty — compare two pricing approaches that hit different sell-through levels
  • Euclidean distance on standardised features — measure how similar two stores are
Continue reading — it's free

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