KatInterview

Testing Product Changes in a Multi-Sided Marketplace

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperimentationcausal-inferencemarketplace

Last updated

Design A/B tests for feature launches in a delivery marketplace, addressing unit selection, metric definition, interference, and trade-offs across users, merchants, and revenue.

You're working as a data scientist at a delivery platform with three stakeholders: customers who order food, merchants who fulfill orders, and the platform itself which earns revenue through fees and advertising.

The product team has proposed several changes. For each one, design an experiment to evaluate whether the change should launch. Your design should address:

  • What hypothesis you're testing
  • How you'll define treatment and control groups
  • What granularity to randomize at (user, session, order, merchant, geographic area, etc.)
  • Which metric best captures success
  • What guardrails prevent unintended harm
  • Where bias, interference between units, or spillover effects could arise
  • How you'd interpret results to make a launch decision

Unless you have strong reasons otherwise, assume a two-week measurement window and that users stay in their assigned group throughout the experiment.


Change 1: Default credit application

Currently, customers must manually select their account credits during checkout. The proposal is to apply any available credits automatically, with an option to toggle them off.

Design an experiment to evaluate this change. Consider the tension between conversion rate, speed of credit spending, platform margin, and long-term retention. Should randomization happen at the user, session, or order level? What matters most for the launch decision?


Change 2: Removing duplicates from search

Sometimes the top paid search result and the top organic result show the same merchant, creating a duplicate. One option is to remove the duplicate (keeping the paid listing) and promote other merchants upward.

Is this change beneficial? Design a test. What metrics reflect value for customers, advertisers, and the overall marketplace? How do you handle the fact that treatment changes which merchants get exposure? How might advertiser budget dynamics create bias?


Change 3: Flexible merchant promotions

Merchants can currently offer a standard promotion: "$5 off orders of $30 or more." The team wants to let merchants customize both the discount amount and the minimum threshold.

Address three questions:

  1. How would you increase the number of merchants who create promotions?
  2. How would you test the rollout of customizable promotions?
  3. How would you measure whether customizable promotions perform better than the standard template?

For all three, discuss both merchant outcomes and customer outcomes. Consider variation by merchant characteristics (order volume, cuisine type, new vs. established). Explain how to distinguish true incremental value from simply shifting spend between merchants or between orders that would have happened anyway.

Hints

Hint 1

Think about what state is shared across randomization units—credit balances, advertiser budgets, merchant capacity—and how that creates dependencies between treatment and control.

Hint 2

For marketplace experiments, surface metrics like CTR can move in the opposite direction of economic value. Always tie metrics back to contribution margin or long-term platform health.

Hint 3

When one group's treatment affects another group's outcomes (a merchant gets more orders because nearby merchants are in control), standard variance estimates break down. Consider geographic clustering or variance inflation.