Handling Interference When Testing Batched Order Assignment
Last updated: November 29, 2026
Quick Overview
DoorDash's dispatch team built a new algorithm that batches two nearby orders onto one Dasher more aggressively. Explain why a standard order-level A/B test would give a biased answer and design a test that would not.
DoorDash
November 29, 20260
0
0 solved
DoorDash's dispatch team built a new algorithm that batches two nearby orders onto one Dasher more aggressively. Explain why a standard order-level A/B test would give a biased answer and design a test that would not.
Dispatch is the heart of DoorDash's logistics, and interviewers for marketplace data science roles probe whether you understand interference between treatment and control. They want you to name the direction of bias and pick a design that removes it.
What the Interviewer Expects
- Explain the mechanism of interference through shared Dashers
- Predict the direction of bias of an order-level test
- Propose switchback or geo-cluster randomization
- Choose metrics on both consumer and Dasher sides
- Discuss a variance and power trade-off
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
- Would the order-level test overstate or understate the efficiency gain?
- How would you test batching if markets differ wildly in density?
- What if batching helps Dasher earnings but hurts consumer ratings?
- How could you use simulation to complement the experiment?
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 changes how many Dashers are needed per order. Treatment: more aggressive batching. Metrics: Dasher active time per delivery (efficiency), delivery duration and lateness for consumers, food w...
Approach
In an order-level test, treated orders get batched and free up Dashers, and those freed Dashers then serve control orders too. Control looks better than a true no-batching world, so the measured e...