Testing a New Order Batching Policy in a Two-Sided Marketplace
Last updated: November 29, 2026
Quick Overview
Operations wants to roll out a policy that batches more orders onto each delivery partner. Design an experiment that measures its effect on cost per delivery and customer delivery time.
Zomato
November 29, 20260
0
0 solved
Operations wants to roll out a policy that batches more orders onto each delivery partner. Design an experiment that measures its effect on cost per delivery and customer delivery time.
At Zomato, riders are a shared pool within a zone, so treating some orders differently changes rider availability for all orders. The round checks whether the candidate spots interference and chooses a design such as switchback or geo randomization.
What the Interviewer Expects
- Explain why user-level randomization is biased by shared rider supply
- Propose switchback (zone by time window) or zone-level randomization
- Define primary and guardrail metrics
- Handle carryover between switchback windows
- Estimate power with clustered units
- Discuss heterogeneity across zones and peak hours
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How long should each switchback window be, and what drives that choice?
- What if the policy also changes rider earnings and therefore rider supply next week?
- How would you analyze it, and what standard errors would you use?
- How would you decide to launch if cost drops but delivery time rises slightly?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Batching is decided by the dispatcher per zone. Goals: lower cost per delivery and higher orders per rider hour. Risks: longer delivery for the second customer in a batch, cold food, lower ratings. I ...
Approach
Randomizing customers fails: if treatment orders are batched, riders are freed up, so control orders in the same zone also get faster assignment. The difference understates or misstates the true effec...