Problem
Booking.com runs thousands of experiments at once on very different users, from single travellers to large travel agencies. Their metrics legitimately contain extreme values, and one such observation can inflate variance enough to hide a real effect or fake one. The team ships changes that do nothing or kills useful features, and the wrong calls add up at this scale. So the handling has to be automatic and work on any metric.
Example from the article: for a hypothetical "number of bookings" metric across 50 simulated experiments, thresholds from 150 bookings upward pass the A/A permutation test, and a threshold of 20 was selected.
Solution in brief
Check each metric with a permutation-based A/A test: if the p-values are not uniform, outliers are breaking the test. Then winsorize, meaning cap values at a threshold, and pick the lowest-impact threshold among those that make the A/A test pass consistently across many experiments.
Questions this case answers
- How to detect that heavy-tailed values in an experiment metric invalidate the test's false positive rate
- How to choose an automated outlier cap that reduces variance without biasing the effect estimate across many experiments
- How to tell whether extreme values in a metric make A/B test results unreliable?
- How to cap outliers automatically across many experiments without per-test manual work?
Tools and methods
- Permutation A/A test — simulates hundreds of experiments with no true effect to check the p-value distribution
- Max-to-99.9th percentile ratio — a quick statistic that predicts whether the A/A test will fail
- Winsorization — caps extreme values instead of dropping them
- Relative and absolute thresholds — percentile-based or business-logic caps
Google or a one-time email code. No password.