KatInterview

Designing a Marketplace Experiment for a Courier Preference Feature

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsa/b testingmarketplaceexperiment design

Last updated

Design a rigorous pilot study to evaluate a courier-controlled order filter, balancing supply-side satisfaction against customer fulfillment risk in a two-sided marketplace.

Background

A food delivery platform is weighing a new feature that lets couriers set a personal cap on how far they are willing to travel for an order. Couriers want it because shorter trips reduce fuel costs and physical wear. Operations leadership is skeptical: if couriers in dense areas all cap their range, the platform may stop reliably serving customers who place orders far from available couriers — creating coverage gaps and rising cancellation rates.

You have been asked to design a pilot study before any wider rollout.

Your Task

Address each of the following areas:

1. Experimental Design

What should be the unit of randomization — individual courier, city, or something else — and why does that choice matter here? How would you detect and limit contamination between your treatment and control groups given that couriers and orders share the same dispatch pool?

2. Metric Framework

Identify the metrics you would track for each side of the marketplace. How do you decide which metrics are primary, which are guardrails, and which are diagnostic? How do you avoid the situation where each side looks fine in isolation but the marketplace as a whole is worse off?

3. Decision Rule

Suppose the pilot concludes and courier-side metrics improved while customer wait times also crept up. Walk through how you would decide whether to ship the feature, hold it, or launch it with modifications.

Constraints

  • The platform operates across thousands of geographically distinct markets with a wide range of population densities, from dense urban cores to sparse suburban areas.
  • You have full order-level data: offer timestamp, courier GPS at offer time, order distance, tip, delivery outcome, and time-to-assign.

Hints

Hint 1

Think about what happens to the orders a treatment courier declines. Who picks them up, and what does that do to your control group's measurements?

Hint 2

A metric like 'earnings per hour' can rise even if the feature creates no real value — consider why, and what cost it might be hiding.

Hint 3

Rather than averaging courier and customer outcomes together, think about what it would take to put them on the same scale so you can net them out.