Partner Health: measuring marketplace health as a first step to improve it

Anna Via29 Mar 2022

Problem

Stores leave a delivery marketplace mainly because they do not get enough orders. Store churn and engagement are lagging indicators, so they show the damage too late. The first candidates were threshold metrics, such as the share of partners above X weekly orders or with 0 orders. Their thresholds do not carry over between cities or countries, and the metrics are coarse and volatile, so experiments on them took too long. Glovo's Search & Discovery team needed one metric for company OKRs and for A/B tests of ranking.

Example from the article: a city with four partners (pizza, chicken, sushi, burger) where 150 orders can be split in very different ways.

Solution in brief

Partner Health is a Gini-based score of how evenly orders are spread over stores, from 0% (one store gets everything) to 100% (equal split). It needs no thresholds. For A/B tests the Gini is bootstrapped at customer level, and simulations check the false positive and false negative rates of the test.

Questions this case answers
  • How to measure how evenly a scarce resource (orders, impressions) is distributed across supply-side entities in a way that needs no per-region thresholds and scales to any region size
  • How to run and power an A/B test on a distribution-level metric (an inequality index) that has no closed-form variance
  • How to measure whether orders are spread evenly enough across the stores of a marketplace?
  • How to define a partner-side marketplace metric that works in any city without fixed thresholds?

Tools and methods

  • Gini coefficient (Partner Health) — one number for how evenly orders are spread across stores
  • PySAL — Gini function used to compute the metric
  • Bootstrap with replacement by customer — confidence interval for the test-minus-control difference
  • Simulation on random splits — checks false positive rate and false negative rate before trusting the metric in tests
Continue reading — it's free

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