INFINITE UPSIDE

Business and technology

Testing Dispatch When Customers Share the Same Drivers

A region-time assignment must contain the marketplace effect you want to measure.

A dispatch change can improve the experience of the customers who receive it while quietly making the control group worse. Both groups are drawing from the same drivers. A tidy split of customers does not separate the resource they compete for.

The useful decision is where to draw the experimental boundary. You need a unit large enough to contain the shared-supply effect, a window long enough for the previous policy to stop influencing the next one, and an outcome that does not reward moving difficult work out of sight.

Why DoorDash changed the unit

DoorDash's February 2018 engineering account describes randomizing region-time units when marketplace participants affect one another. It also discusses serial correlation and carryover: a policy that takes easier deliveries now can leave harder deliveries for the next period. This is a historical design case, not a statement of DoorDash's current experimentation standard.

Imagine two dispatch policies sharing a neighborhood's fleet. Policy B assigns the nearest available driver more aggressively. Its orders may arrive faster partly because A's orders wait longer. A customer-level comparison would measure the two policies competing inside that arrangement. It would not automatically estimate what happens when the entire neighborhood uses B.

Write the target before the schedule

For an original hypothetical trial, suppose the target is the change in the average region-window fraction of eligible orders completed within 30 minutes of arrival when the region operates B rather than A. Each region-window receives equal weight. This is a specific operating question; a company interested in the average order could choose different weights.

Define eligibility using information available at order arrival. Include cancellations and failures in the denominator; they do not qualify as on-time completions. Apply the assigned policy to that order's initial dispatch decision and do not reassign its treatment at a switch. Allow its entire 30-minute outcome window to mature. Dropping an unfinished delivery at the switch would give the experiment an incentive to hide its own mess.

Now propose 90-minute region blocks: the first 30 minutes allow the previous assignment to wash out, and arrivals during the remaining 60 minutes enter measurement. Their outcomes are followed for another 30 minutes where necessary. These durations are invented design inputs. They become defensible only if prior operational evidence shows the relevant driver-position and backlog effects settle within that washout.

That last condition matters more than the neat schedule. If an assignment changes driver supply for several hours, a 30-minute washout does not erase the change. If drivers frequently cross the proposed region boundary, adjacent regions may still interfere. Enlarge or coordinate the units, extend the window, or reconsider the design before interpreting a treatment contrast.

Randomize the operating unit

Within each prespecified comparable region and time stratum, independently assign each eligible block A or B with probability one-half. Record the assignment before the block starts. An automatic A-B-A-B alternation is not this randomization: a recurring demand pattern could line up with its predictable schedule.

The log should connect each order to its arrival time, region, assigned block, eligibility decision and mature outcome. Keep switch times, outages and driver movements visible. Define the treatment for washout arrivals too, even though those arrivals are excluded from the primary measurement. Their work can affect the next eligible orders.

Prespecify how to handle a region-window with no eligible orders. Its fraction is undefined; assigning it a convenient zero after seeing the results changes the target. The four-window calculation below contains no empty windows and does not resolve that production design choice.

The same four windows answer two questions

Consider these fictional totals. In two B windows, 7 of 10 orders and 81 of 90 orders finish on time. Their window fractions are 70% and 90%. In two A windows, 9 of 10 and 63 of 90 finish on time, producing 90% and 70%.

With equal weight per window, B averages (70% + 90%)/2 = 80%, and A also averages 80%. The contrast is zero percentage points. That matches the stated equal-window target for this arithmetic illustration.

Pool the orders instead and B becomes 88/100 = 88%, while A becomes 72/100 = 72%. The contrast is now 16 percentage points. The busy windows receive nine times the weight of the quiet ones. Neither arithmetic operation is mysterious; the danger is choosing the attractive answer after looking.

These four made-up windows establish no causal effect, uncertainty interval or sample-size requirement. They show why the estimand and aggregation rule belong in the design. In a real experiment, traffic itself could respond to treatment, making a casually chosen denominator another part of the causal question.

Uncertainty follows the assignment

A thousand deliveries inside one assigned block are not a thousand independent assignments. Neighboring windows may share weather, traffic and driver backlogs; regions may share a citywide shock. The analysis must preserve those dependencies rather than feed every delivery into an independent-person t-test.

The analyst therefore needs a variance or randomization procedure justified for the actual assignment scheme and its spatial and temporal dependence. Prelaunch A/A checks and operational diagnostics can expose a poor design, but a reassuring diagnostic does not prove that every carryover mechanism has disappeared. The fictional fractions above deliberately supply no p-value.

Before launch, ask someone to trace one difficult order across a switch: which assignment owns it, where does its driver go, when is its outcome observed, and whose next window inherits the consequences? If the team cannot answer, the experiment is not yet ready to answer the rollout question.

Use the conversion-test guide for an independently assigned user comparison. For shared supply, first make the randomized unit resemble the operating decision you actually want to make.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

How do I interpret an A/B conversion-test result?

How do I interpret an A/B conversion-test result?

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store