In 30 seconds
- Personalized recommendations against a best-sellers list: 2.06% vs 2.16% conversion, p = 0.81. Decision: do not ship.
- The checks and the decision rule were written down before I read a single result.
- The test could only detect a lift of 1.23 points or more, and saying so is part of the result.
Every growth team has a list of ideas everyone already believes. I took five common ones and tested them on 99,441 real orders from Olist, a Brazilian marketplace, plus a Python-generated behavior layer: 500,000 sessions, about 3 million events, 50 campaigns and one A/B test, labeled as synthetic everywhere it's used. Three of the five ideas didn't survive.
Rules before results#
The most popular idea was personalized recommendations. Test exp_001 compared a best-sellers list (control) with personalized recommendations (treatment). Before looking at any outcome, I wrote down three steps:
- Sample ratio check. A chi-square test on the 49,720 and 49,721 assigned users confirmed the split was clean.
- Significance test. A two-proportion z-test, written by hand in T-SQL, then reproduced exactly in Python with scipy.
- Decision rule. Ship only with a significant, positive lift.
The result I didn't want#
The point estimate was negative, and the engine had already lost offline: its Hit Rate@5 was 0.07% against 1.07% for a simple best-sellers list. The decision was do not ship, and treat the engine as research.
Because the rules were fixed first, a disappointing p-value couldn't be argued away.
What the test can't tell you#
With about 2,200 eligible users per group, this test could only reliably detect a lift of 1.23 points or more. So it shows no evidence that personalization helps. That isn't the same as proving it has no effect. Detecting a realistic 10% lift would need about 71,000 users per group. I put that caveat next to the result, not in a footnote.
Where the money actually is#
The "no" freed attention for the things the data did support:
- The product page is the biggest leak. 62.76% of sessions that view a product never add it to the cart, a bigger loss than checkout or payment.
- Retention falls off a cliff. Only 3.00% of customers ever order twice, and 0.48% come back in month one.
- A small group carries the value. The top 10% of customers bring 41.14% of revenue.
A mistake that helped#
My first retention number was wrong by more than 10×. The SQL averaged every monthly cohort equally, so a one-customer cohort with 100% retention counted as much as a cohort of 1,600. The Power BI measure weighted by cohort size and disagreed. Two tools disagreeing is a gift: it's how I found the bug.
Fix the product-view-to-cart step first, rebuild the first month after purchase, and don't deploy the current recommendation engine. Size the next experiment for a realistic lift before running it.
Sources in the repo
08_Experimentation/03_SRM_Validation_Results.mdSample ratio check on 49,720 / 49,721 users08_Experimentation/05_statistical_significance.sqlThe two-proportion z-test, written in T-SQL08_Experimentation/05_Statistical_Significance_Results.mdResult: p = 0.8126 and the confidence interval08_Experimentation/07_Business_Decision_Results.mdThe formal do-not-ship decision