Completed DoorDash orders have declined in Los Angeles (LA). The team needs to understand what changed and choose a response. Consumers, merchants, and dashers share a marketplace, so changes in customer activity, available selection, or delivery capacity can affect the same completed-order count.
Your task is to localize the decline, compare plausible explanations, recommend a response supported by the findings, and design an experiment that measures recovery while protecting guardrails.
Start by clarifying what the reported count includes and what it is being compared with. The symptom alone leaves the cause open, so keep proposed explanations separate from evidence and recommendations conditional on what the investigation finds.
1. Where are completed orders being lost?
Which metrics and dimensions would you inspect to determine where the decline is concentrated?
First confirm that the completed-order decline is real and measured consistently. Then separate fewer ordering sessions, fewer orders placed per session, and lower completion after placement. Break the lost orders down by geography, daypart, and relevant customer or product segments, prioritizing their absolute contribution to the decline.
How would you check which LA orders are actually missing?
Reconcile the reported count with operational orders, using a stable definition, comparable periods, and mature outcomes. Three clarifications change that check immediately:
- Definition and geography: What terminal state counts as completed, and does LA mean the delivery address, merchant location, or another boundary?
- Timing and comparison: When did the decline begin, how large is it, and is the baseline comparable in weekday, daypart, season, and coverage?
- Measurement and maturity: Are both windows complete, are event definitions unchanged, and have orders had equal time to reach an outcome?
For a working definition, use distinct delivered order IDs with LA delivery addresses. Reconcile the reported count against an operational order record. Missing client events, delayed ingestion, or joining several status events to one order can create a misleading change. Inspect the onset against logging and product changes before assigning a behavioral cause.
IMPORTANT
Keep the count's clock explicit. Orders completed on Tuesday include some placed earlier, while orders placed on Tuesday may complete later.
Reproduce the completion-date count that triggered the investigation, then use mature placement cohorts to study completion and cancellation. Reconcile orders crossing the window boundaries. Otherwise, a recent cohort with many pending deliveries can look like a fulfillment failure.
Locate the loss by area and daypart, then inspect the most relevant consumer cohorts, merchant availability, platform/version, and fulfillment types. Compare absolute lost orders as well as percentage changes. A large relative decline in a small segment can contribute less than a modest decline in a busy one. Use mutually exclusive segments when adding contributions. Area, platform, and customer cuts overlap.
Could completed orders fall while the completion rate rises?
Yes. Fewer placed orders can reduce completed-order volume even as the aggregate completion rate rises. A change in the mix of placed orders can create that rate improvement without better fulfillment within any segment.
For a consistently attributed population, let:
be ordering sessions, including attempts that encounter unavailable service.be orders placed from those sessions.be those orders that complete after outcomes mature.
Then, when the denominators are positive,
The factors separate ordering opportunities, orders placed per session, and post-placement completion. Orders per session can exceed 1, so is not automatically a binary conversion probability. In real data, check unmatched orders and missing ordering channels before using this identity to explain the full market count.
Consider the following hypothetical case data. Areas A and B partition the market, and dinner and other hours partition session origins. Both periods cover comparable 7-day session cohorts. Orders are linked to their originating session and retain its segment. All outcomes have matured. This example uses session-origin cohorts to keep attribution consistent, rather than equating them with completion-calendar counts.
TIP
The Python cells in this case study run in your browser and share one session. Click Run on each cell from top to bottom. If you change an earlier input, rerun that cell and the later cells that depend on it.
Keep the segment order fixed across the input arrays. The session counts are the same in both periods, while placed and completed orders can change:
import pandas as pd
segments = ["A dinner", "A other hours", "B dinner", "B other hours"]
sessions = [40000, 60000, 30000, 70000]
baseline_placed = [10000, 12000, 9000, 14000]
baseline_completed = [9000, 11400, 8100, 13300]
current_placed = [7600, 12000, 8100, 14000]
current_completed = [6840, 11400, 7290, 13300]
pd.DataFrame(
{
"sessions": sessions,
"baseline_placed": baseline_placed,
"baseline_completed": baseline_completed,
"current_placed": current_placed,
"current_completed": current_completed,
},
index=segments,
).rename_axis("Segment").reset_index()
First calculate the count change, then separate placement from completion. All denominators in this example are positive:
baseline_total = sum(baseline_completed)
current_total = sum(current_completed)
order_change = current_total / baseline_total - 1
baseline_placement = sum(baseline_placed) / sum(sessions)
current_placement = sum(current_placed) / sum(sessions)
baseline_completion = baseline_total / sum(baseline_placed)
current_completion = current_total / sum(current_placed)
print(f"Completed orders: {baseline_total:,} -> {current_total:,} ({order_change:.4%})")
print(f"Orders placed per session: {baseline_placement:.2%} -> {current_placement:.2%}")
print(f"Completed per placed order: {baseline_completion:.4%} -> {current_completion:.4%}")
Completed orders: 41,800 -> 38,830 (-7.1053%)
Orders placed per session: 22.50% -> 20.85%
Completed per placed order: 92.8889% -> 93.1175%
The calculated values are:
| Quantity | Baseline | Current |
|---|---|---|
| Completed orders | 41.8k | 38.83k |
| Orders placed per session | 22.50% | 20.85% |
| Completed per placed order | 92.8889% | 93.1175% |
| Completed-order change from baseline | −7.1053% |
Now hold the baseline shares of placed orders fixed. For each segment, multiply its baseline weight by its current completion rate, then add the contributions:
standardized_completion = 0
baseline_total_placed = sum(baseline_placed)
for index in range(len(segments)):
baseline_weight = baseline_placed[index] / baseline_total_placed
current_segment_rate = current_completed[index] / current_placed[index]
standardized_completion += baseline_weight * current_segment_rate
print(f"Standardized completion: {standardized_completion:.4%}")
Standardized completion: 92.8889%
The standardized completion rate is 92.8889%, the same as the baseline rate. The aggregate rate increase comes from a different mix of placed orders, while within-segment completion rates are unchanged.
There are 200k sessions in each period. Placed orders fall from 45k to 41.7k, and completed orders fall by 2.97k, or 7.11%. Yet the aggregate completion rate rises from 92.89% to 93.12%.
The segment changes explain the apparent improvement:
| Segment | Completed-order change | Completion rate in both periods |
|---|---|---|
| A dinner | −2.16k | 90% |
| A other hours | 0 | 95% |
| B dinner | −810 | 90% |
| B other hours | 0 | 95% |
No segment completes a higher fraction of placed orders. Dinner orders have a lower completion rate and become a smaller share of placements, lifting the aggregate rate. The code removes this composition change by weighting each current segment rate by its baseline share of placed orders:
Here, indexes segments, 0 is baseline, and 1 is current. Fixed-mix completion is still 92.89%. This is a descriptive standardization, not an estimate of what a policy would cause.
For these hypothetical counts, the answer is to prioritize dinner placement: session volume and within-segment completion are unchanged, and all lost completed orders come from fewer dinner orders placed per session. This localizes the loss without explaining why it happened. Question 2 develops the possible mechanisms behind that pattern.
Which funnel transition accounts for the loss?
The session identity localizes traffic, placement and completion. To find a repairable step, follow the same ordering opportunities through impression, click, checkout, placement, merchant acceptance, pickup and delivery. Separate acceptance failures from accepted orders that fail before pickup, and pickups that fail before delivery.
Use unique linked opportunities rather than multiplying raw event totals. One session can contain many impressions or clicks. Deduplicate each stage and retain its predecessor link. For a simple nested funnel, use at most one order per opportunity. If real opportunities produce multiple orders, retain order-level branches instead of interpreting every ratio as a probability.
Consider a separate hypothetical funnel. Each row follows the same initially exposed opportunities to mature outcomes. Counts are reconciled and the stages are nested. These are different case data from the earlier session-cohort example:
stages = ["click", "checkout", "place", "accept", "pickup", "deliver"]
baseline_funnel = [100000, 50000, 25000, 20000, 18000, 17100, 16245]
current_funnel = [100000, 40000, 20000, 16000, 12800, 12160, 11552]
funnel = pd.DataFrame(
{"baseline": baseline_funnel, "current": current_funnel},
index=["impression"] + stages,
)
funnel["baseline_rate"] = funnel.baseline / funnel.baseline.shift()
funnel["current_rate"] = funnel.current / funnel.current.shift()
funnel.round(3).rename_axis("Stage").reset_index()
To allocate the count difference, change the initial opportunity count first, then replace each baseline transition rate with its current rate in the displayed order. After each replacement, recompute expected deliveries. The difference from the preceding calculation is that step's accounting contribution:
from math import prod
rates = [baseline_funnel[i + 1] / baseline_funnel[i] for i in range(6)]
expected_deliveries = current_funnel[0] * prod(rates)
contributions = {"opportunities": expected_deliveries - baseline_funnel[-1]}
for index, stage in enumerate(stages):
rates[index] = current_funnel[index + 1] / current_funnel[index]
updated_deliveries = current_funnel[0] * prod(rates)
contributions[stage] = updated_deliveries - expected_deliveries
expected_deliveries = updated_deliveries
bridge = pd.Series(contributions).round(1)
print(f"Total change: {bridge.sum():,.1f} deliveries")
bridge.rename_axis("Stage").reset_index(name="Delivery change")
Total change: -4,693.0 deliveries
The executed bridge is:
| Stage reached | Baseline | Current | Delivery contribution |
|---|---|---|---|
| Initial impression | 100k | 100k | 0 |
| Click | 50k | 40k | −3.249k |
| Checkout | 25k | 20k | 0 |
| Placement | 20k | 16k | 0 |
| Merchant acceptance | 18k | 12.8k | −1.444k |
| Pickup | 17.1k | 12.16k | 0 |
| Delivery | 16.245k | 11.552k | 0 |
The contributions sum to the 4.693k missing deliveries. Click-through falls from 50% to 40%, and acceptance conditional on placement falls from 90% to 80%. Later absolute counts fall even though their conditional rates stay unchanged. That tells us to investigate the click and acceptance transitions rather than treating every lower count as another failure.
Plotting the conditional rates side by side makes the two changed transitions easy to spot:
import matplotlib.pyplot as plt
ax = funnel[["baseline_rate", "current_rate"]].dropna().plot.bar(figsize=(6, 3.5), rot=0)
ax.set_ylabel("Conversion from previous stage")
ax.set_title("Conditional funnel rates")
plt.show()
This bridge is exact accounting, not causal attribution. With interacting rate changes, reversing the replacement order reallocates their interaction. Record the order, and check whether a different order changes the priority. Neither ordering establishes that a merchant policy, a fee change or an outage caused the loss.
2. What could explain the order decline?
What plausible hypotheses would you consider across consumers, merchants, dashers, pricing, operations, and external factors?
Consider all six families, but connect each hypothesis to the funnel stage and population identified in Question 1. For the dinner example, the leading question is why customers place fewer orders despite stable session volume. Several mechanisms can produce that pattern:
| Family | Possible mechanism |
|---|---|
| Consumers | Lower intent or a shift toward lower-intent customers can reduce placements despite stable sessions. |
| Merchants | Unavailable selection can deter placement. Rejection or preparation delays can reduce completion. |
| Dashers | Limited reachable capacity can raise quoted waits or delay assignment. |
| Pricing | Higher checkout totals or lost promotions can increase abandonment. |
| Operations | Checkout, payment, or dispatch defects can reduce orders. Logging defects can create apparent losses. |
| External factors | Calendar, weather, road access, or competition can change demand or capacity. |
For this example, prioritize mechanisms that affect dinner placement: customer intent and mix, exposed merchant availability, total price, quoted waits, and checkout reliability. Lower completion is less consistent with the observed within-segment rates, but stable completion among customers who still order does not rule out a supply problem affecting those who abandon. Longer quoted waits could also reflect merchant preparation or an estimated time of arrival (ETA) prediction defect. The hypotheses therefore remain alternatives to distinguish, rather than conclusions selected from the funnel counts.
3. How would you test the leading hypotheses?
What data and comparisons would you use to validate or reject the hypotheses you prioritize?
For each prioritized hypothesis, specify the data, a comparable baseline or affected-versus-unaffected group, and a result that would weaken the explanation. Check whether the mechanism's timing and exposure align with the decline. These comparisons should separate the alternatives in Question 2, rather than merely confirm that the same segment has fewer orders.
Use comparable periods and examine area and daypart separately. Define consumer cohorts before the decline, separating repeat users from new traffic. Match requested addresses and hours for merchant comparisons, and baskets and addresses for prices. Check external benchmarks for differences in weather, customer composition, and exposure to the suspected shock.
| Family | Compare | Distinguishing evidence |
|---|---|---|
| Consumers | Sessions and placements per user, by cohort and acquisition channel. | Stable cohort activity weakens a broad traffic-loss explanation. |
| Merchants | Visible/open merchants, item availability, rejection, and preparation times. | Stable selection and preparation weaken merchant explanations. |
| Dashers | Reachable supply, offer acceptance, assignment delays, and quoted waits. | Inflated quotes with stable assignment and service favor a prediction defect. |
| Pricing | All-in quotes, fee components, and preexisting promotion eligibility. | Stable comparable prices weaken the price explanation. |
| Operations | Client/server order records and failures by version, operating system (OS), and payment provider. | Stable server orders with fewer client events suggest a logging issue. |
| External factors | Matched calendar patterns and relevant external exposures. | An isolated version failure favors an internal cause. |
These are diagnostic comparisons, and their interpretation depends on data coverage and precision. A noisy null result does not eliminate a mechanism. Quote-level price and availability data matter because examining only completed orders excludes the people whose abandonment we need to explain. When joining quotes, offers, or status events, summarize them at the session or order level first so repeated events do not multiply orders.
Some comparisons need additional care:
- Delivery capacity: Measure reachable available dasher minutes relative to ordering demand. Online headcount alone can miss a shortage at the requested place and time. Separate preparation, assignment, and road travel delays to locate the failing step.
- Pricing: A supply shock can change both fees and conversion. Their association alone does not identify price elasticity.
- Operations: Align incident and release timing with the affected population, then reproduce the suspected failure. Similar failures in unaffected versions weaken a release-specific explanation.
For the dinner example, start with comparable quotes, exposed merchant availability, checkout reliability, and assignment conditions. Suppose quoted waits and assignment delays worsen where reachable supply falls, while prices, merchant preparation and checkout are stable. That pattern makes a supply response more plausible. If only quotes worsen while realized assignment and service stay stable, investigate ETA prediction instead. The distinction changes the proposed action.
How much of the decline could each cause explain?
Separate where orders disappeared from what would recover them. A dinner-zone loss can be counted directly. Calling that loss a merchant-availability effect requires evidence about what those customers would have done with availability restored. Several causes can affect the same opportunity, so their separate correlations cannot be added.
For each supported mechanism, define a specific restoration and estimate the change in completed-order probability over a fixed population. For a placement mechanism, that can be the change in placement probability multiplied by completion conditional on placement, allowing completion to change when the restored orders have different fulfillment prospects.
For example, suppose an illustrative estimate says restoring merchant availability raises placement by 0.4 percentage points over 50k eligible opportunities. If 90% of those additional orders would complete, the implied recovery is 180 completed orders. The multiplication is useful, but the placement effect and downstream completion assumption still need identification and uncertainty. It is not a measured DoorDash result.
Use a randomized restoration when feasible. An observational comparison needs credible untreated opportunities, comparable prior trends and no unaccounted concurrent shock. Estimate effects within relevant area, daypart and merchant groups, then aggregate over the fixed target population. Propagate uncertainty and check sensitivity to the comparison. A favorable pre-trend does not prove the identifying assumptions.
If merchant availability and fees changed together, estimate a joint restoration or explicitly allocate their interaction under a stated convention. Report unresolved contribution ranges when the data cannot separate them. The goal is a defensible estimate of each supported mechanism's recoverable orders, not percentages forced to sum to the historical decline.
4. Which intervention would you choose?
Based on the investigation's findings, what product or operational changes would you propose, and how would you choose among them?
An intervention should repair the failing step and have a credible path to net recovered orders. When measurement is wrong, fix the measurement and reassess the symptom. When checkout or dispatch is defective, repair the verified failure.
Match other responses to the supported mechanism:
- Merchants: Restore accurate hours, menus, or availability when selection has contracted. Preparation problems call for merchant operating changes.
- Pricing: Evaluate correcting fees or targeted pricing when consumer cost is the supported constraint.
- Demand: Evaluate relevant acquisition or reactivation when demand has weakened, with capacity to serve the resulting orders.
- External disruptions: Consider targeted coverage or operating adjustments for temporary disruptions.
For a worked branch, assume the discriminating checks support insufficient effective dinner supply. A temporary incentive on eligible dasher offers could increase useful participation or availability and reduce waits. Specify the extra payout, eligibility, timing and budget before testing. The earlier funnel counts do not establish that this is the right intervention. The additional supply evidence is what selects this branch.
Consider the trade-off directly. Coupons can increase demand faster than a constrained fleet can fulfill it. A supply incentive can also move dashers from neighboring areas or other hours without increasing total delivery capacity. Compare useful recovered orders with incremental spend, delivery quality, and displacement. The largest local lift need not be the best system outcome.
5. How would you test order recovery?
How would you design an experiment to determine whether the chosen intervention restores completed orders without harming guardrail metrics?
For the conditional incentive selected in Question 4, use an assignment that captures its effect on shared delivery supply. Estimate the increase in mature completed orders during eligible LA dinner periods relative to current policy, with prespecified guardrails for quality, cost and displacement. Also compare volume with an appropriate historical expectation to assess restoration. An intervention can produce positive incremental lift while total volume remains below its historical level.
Who should receive the policy when consumers share a fleet?
Assign the policy at a boundary that captures the fleet it changes. Compare an individual split with a whole-market policy before choosing the experimental unit.
Individual assignment shares a fleet. Whole-market blocks still leave carryover to address.
Bad Solution: Split consumers who share a fleet
Randomize consumers or individual orders, then compare completed orders between treatment and control. This creates many assigned observations and may look like a direct comparison of incentive exposure. But both groups draw on the same local fleet, and treatment can change which dashers are available to serve either group.
If incentives attract or redirect dashers, control orders can also gain or lose service. Their difference may no longer estimate the effect of adopting the policy across the market. The number of orders does not equal the number of independent experimental units.
Good Solution: Whole-market switchback for a short-lived response
If historical behavior supports a short-lived response, randomize the whole LA marketplace's policy over predefined blocks, balancing comparable weekdays and dayparts. Everyone in a block faces the same policy, reducing simultaneous treatment/control competition for the local fleet. Compare outcomes across the randomized blocks rather than treating orders as independent experimental units.
Switching policies still leaves temporal carryover and movement across market boundaries. Choose block length and a fixed burn-in from delivery duration, incentive commitments, and supply response. The illustrated sequence is one possible randomized schedule, not a deterministic alternation rule.
After a policy switch, orders and dashers from the earlier block may still influence the market. Analyze the predetermined core portion after burn-in. Do not choose excluded time based on whether the observed result looks favorable. This estimates a transient post-burn-in effect. It requires earlier-policy effects to become negligible within that interval and participants not to anticipate future assignments. Define exposure for quotes, offers and in-flight deliveries, and inspect boundary crossings.
If the incentive changes future work schedules or retention, short blocks cannot measure that enduring effect. A persistent randomized design across sufficiently separate supply catchments or comparable markets may be more suitable. Check actual dasher movement before treating neighborhood boundaries as independent clusters. Too few separate catchments can make a persistent LA-only experiment impractical. Broader market coverage or a more limited conclusion may be necessary.
Which orders and time periods belong in the experiment outcome?
The primary outcome is mature completed orders originating from eligible placements in each block's fixed core window. Normalize by core hours when comparing opportunity time. Keep geography and the follow-up rule consistent. Placed orders that do not complete remain in the denominator of diagnostic completion rates.
For balanced paired blocks with equal core duration, estimate the average treatment-minus-control difference in completed orders per core hour. Analyze market-block outcomes with uncertainty that respects the randomized schedule and time dependence. Thousands of individual orders do not become thousands of independent experimental units. Validate assignment and exposure logs, missing outcomes, and preassigned time coverage. A difference in orders placed may be the effect we want to detect, so volume imbalance alone does not establish broken randomization.
Plan duration and precision from historical block outcomes, the proposed assignment, carryover assumptions and a practically useful recovery target. Without those inputs, a fixed “2-week test” or an order-level sample-size calculation would give unsupported precision. Sessions, placement and completion rates help explain the result. They do not determine which periods enter the analysis after treatment.
What result would justify rollout after accounting for harm and displacement?
Rollout requires useful net recovery at acceptable cost, with sufficiently precise evidence that harm stays within agreed tolerances. Prespecify those tolerances for the metrics the incentive could change:
- delivery lateness/duration and cancellation/refund rates.
- dasher earnings per active hour, merchant rejection/preparation, and consumer total price where relevant.
- incremental incentive spend and contribution.
- neighboring-market and adjacent-hour outcomes, alongside dasher movement.
Rates and averages can change when the intervention changes the orders placed, so inspect relevant counts and populations alongside them. A gain in LA dinner orders accompanied by losses elsewhere needs a net recovery assessment. A short dinner test also needs follow-up for orders displaced across time.
Recommend a larger rollout when the gain is useful, uncertainty supports the agreed recovery requirement, cost is acceptable, and guardrail estimates exclude harm beyond the prespecified tolerances with adequate precision.
WARNING
“No significant harm” is insufficient. A wide interval may still permit an unacceptable deterioration.
If the result is imprecise, collect more informative evidence within the planned analysis or redesign the test. If harm or displacement is material, revise the intervention.
6. What if orders fell on just one day?
The number of successful deliveries drops on a particular day. How would you investigate this version, and how would the approach differ for a sustained decline in daily successful orders?
Start with that day's completed-delivery count. A rate decline is not given. Wait for reporting to settle, match the local timezone and geographic definition, then compare with several recent matching weekdays. Adjust the expected baseline for known holidays or unusual operating coverage before calling the residual an anomaly. One preceding day can be a poor comparison because ordering demand varies by weekday.
Keep the completion-date outcome separate from the placement-cohort explanation. Some deliveries completed that day were placed earlier, while some orders placed that day finish later. Reconcile those boundary orders. Then compare mature cohorts for total placements and completion conditional on placement. The earlier count example already shows why fewer deliveries can coexist with a higher completion rate.
Localize the difference by hour, delivery zone and funnel stage. An abrupt checkout break around a release suggests a different investigation from an all-day loss of merchant selection. Match the onset to payment incidents, merchant closures, road access, weather and competitive offers. Use unaffected hours or areas as diagnostic comparisons while checking whether they share the shock. A coincident event is a lead to validate, not a cause established by timing alone.
For a sustained decline in daily orders, repeat the same decomposition as a daily series. Check whether the same segment and transition contribute repeatedly, or whether one exceptional day drives the apparent trend. Compare matched weekdays rather than interpreting a weekly cohort total as evidence that every day declined equally.
Restore service promptly for a reproduced incident, then reconcile recovered ordering and mature deliveries. Evaluate a new incentive with a prospective control when feasible. A rebound the following day can reflect ordinary variation or resolution of the original shock, so it does not establish the incentive's incremental effect.
7. How would you restore merchant online time?
After the citywide investigation, you are told that merchant online time has decreased. Design an incentive to increase it, including metrics, sample size, assignment and geographic spillovers. Would short switchback periods fit this intervention?
This finding selects a merchant intervention. It does not establish the Dasher shortage assumed in the earlier worked branch. First determine which merchants and promised service periods lost usable online time, and why. A merchant app failure needs a repair. A staffing or participation constraint may respond to an incentive, provided the merchant can actually accept and fulfill additional orders.
What behavior would the offer reward?
Offer eligible merchants a capped weekly bonus for meeting precommitted additional service slots. Set eligibility, target hours, payment rules and the comparison schedule before assignment. Avoid resetting a merchant's target after it cuts availability, which would reward an artificially low baseline. The exact bonus is a decision to cost and pilot, not a supplied case fact.
Measure serviceable online minutes within the fixed target slots. A heartbeat from a store that has paused orders, hidden its menu or cannot accept orders is not useful availability. Track item availability and acceptance to detect that behavior. Keep assigned merchants in the analysis even if they decline the offer or close, rather than comparing only bonus earners.
Online time is the mechanism measure. The business decision also needs incremental completed orders and contribution after bonus costs. Track rejection, preparation time, cancellations, refunds, delivery delay and merchant burden as guardrails. Count all relevant market orders when assessing recovery, because extra orders at participating stores can displace orders from other merchants.
Which assignment keeps the incentive meaningful?
Short on/off blocks are a poor default when a merchant commits staff, inventory or opening hours for a longer period. Turning off the offer does not undo those commitments. The control block can retain earlier treatment exposure, and an intraday incentive may not be an offer the merchant can meaningfully follow.
Read the orange band as a possible schedule commitment, not an estimated duration. A changed assignment label does not necessarily reset behavior:
Merchant scheduling effects can outlast an offer's on/off blocks.
The persistent-arm alternative keeps assigned policy stable for the evaluation horizon. It removes rapid within-merchant switching, but it does not guarantee that treated and control merchants are economically independent. Choose the assignment boundary from the expected interactions:
| Design | Appropriate comparison | Main limitation |
|---|---|---|
| Geographic holdout | Stable policies across demand catchments | Few independent areas and cross-border exposure |
| Merchant assignment | Eligible merchants offered bonus vs. usual policy | Shared customers and fleets can affect controls |
| Randomized phased rollout | Earlier rollout vs. concurrent not-yet-treated groups | Calendar changes, anticipation and late persistence |
For geographic assignment, form areas using overlapping delivery catchments and actual order flows. Pair or stratify areas on pre-period demand and availability, then randomize the policy. Include all orders in the fixed areas in the outcome, not just orders at participating merchants. Monitor cross-border deliveries, customer substitution and chain-wide responses. Merchants need not physically move across a zip boundary for an incentive to spill over.
Merchant assignment is useful for a local availability pilot when interference is limited. Keep assignment stable, stratify by baseline hours and size, and aggregate the full-period outcome per assigned merchant. If stores share an operating decision, assign their chain or owner together and use that unit for inference. With independent merchant assignment and repeated daily observations, use merchant-clustered inference. This handles correlated observations within merchants, but it does not repair spillover bias between treated and control stores.
A phased rollout can preserve persistent exposure while meeting an operational rollout constraint. Randomize which groups start in each wave and compare them with contemporaneous not-yet-treated groups, accounting for calendar effects and elapsed exposure. Once every group is treated, no concurrent untreated control remains. A universal before/after rollout cannot by itself separate the incentive from a market rebound.
Prefer a persistent geographic policy test when market recovery is the decision and sufficiently separate areas are available. Use a merchant pilot for its narrower outcome when geography is too limited, and state that its effect may not predict a market-wide rollout. A short switchback becomes plausible only if the actual incentive and behavior can reset within defensible blocks. That condition was optional in the Dasher example, not established for this merchant offer.
How many assigned units would the test need?
Choose the smallest useful improvement, the outcome horizon and tolerable error before computing a sample size. Minimum detectable effect (MDE) describes the effect the design is powered to detect. It is not the smallest effect that can ever produce a significant result, and it is not an observed treatment lift.
For an illustrative merchant-randomized pilot, let the outcome be each merchant's total serviceable online hours during a fixed 28-day period. Assume independent merchants, equal allocation, common standard deviation 20 hours, a useful mean improvement of 5 hours, a two-sided 5% significance level and 80% power. These are planning assumptions, not company estimates.
With n merchants per arm, the difference in means has standard error . Under a large-sample normal approximation:
Here, is the target mean-hour improvement, is the false-positive probability and is power. The normal quantiles give a first planning approximation:
from math import ceil, sqrt
from statistics import NormalDist
normal = NormalDist()
z_total = normal.inv_cdf(0.975) + normal.inv_cdf(0.80)
merchant_hours_sd = 20
target_gain_hours = 5
merchants_per_arm = ceil(2 * z_total**2 * (merchant_hours_sd / target_gain_hours)**2)
mde_with_100_per_arm = z_total * merchant_hours_sd * sqrt(2 / 100)
print(f"Merchants per arm: {merchants_per_arm} ({2 * merchants_per_arm} total)")
print(f"MDE with 100 per arm: {mde_with_100_per_arm:.2f} hours")
Merchants per arm: 252 (504 total)
MDE with 100 per arm: 7.92 hours
The calculation gives 252 merchants per arm, or 504 total. With only 100 merchants per arm, the approximate detectable improvement becomes 7.92 hours rather than 5. More daily rows from those same merchants do not create more independently assigned merchants.
Estimate the planning variance from comparable historical full-period merchant outcomes. If assignment is geographic or by owner, rebuild power at that assignment unit using its outcome variance and dependence. Simulate the proposed assignment on historical data, inject a plausible effect and check how often the intended analysis detects it. Preserve calendar dependence and cross-area spillovers in sensitivity checks. Do not substitute the merchant count above for a required number of areas.
Power the completed-order decision and important guardrails separately. Detecting more online hours does not guarantee enough precision on net orders or contribution. Prespecify the follow-up horizon, repeated-look rule and missing-data handling, then analyze all assigned units according to assignment. Roll out only when useful net recovery, cost and guardrails support it. If hours rise but market orders do not, investigate displacement and whether those extra hours occurred when customers wanted to order.
8. Why did one merchant's conversion fall?
One merchant has a conversion-rate decline. How would you define the outcome, locate the change, validate explanations and choose a response?
Treat this as a fresh merchant-level diagnosis. The citywide cause has not been supplied for this follow-up. First ask what converts: an impression to a merchant-page visit, a page visit to checkout, or checkout to placement. Confirm the merchant identifier, geography, observation window and logging. A different denominator can change the rate without changing the underlying customer behavior.
For a working example, define conversion as distinct merchant-page sessions producing a placed order within a fixed attribution window. Include unavailable-state visits in page sessions. Diagnose lost impressions or discovery exposure separately, since customers who never reach the page are outside this denominator. Deduplicate repeated events and reconcile placements with server-side order IDs.
Could a different audience explain the lower rate?
Compare traffic sources before attributing the change to the merchant's menu or service. Consider these hypothetical page-session counts. Direct/repeat traffic and discovery traffic partition the sessions, and each session produces at most one counted placement:
| Traffic source | Baseline sessions | Baseline orders | Current sessions | Current orders |
|---|---|---|---|---|
| Direct/repeat | 800 | 160 | 400 | 80 |
| Discovery | 200 | 20 | 600 | 60 |
The aggregate rate falls even though each source retains its earlier conversion. Hold the baseline audience weights fixed to inspect that possibility:
baseline_views, current_views = [800, 200], [400, 600]
baseline_orders, current_orders = [160, 20], [80, 60]
baseline_conversion = sum(baseline_orders) / sum(baseline_views)
current_conversion = sum(current_orders) / sum(current_views)
fixed_mix_conversion = 0
for index in range(len(baseline_views)):
baseline_share = baseline_views[index] / sum(baseline_views)
source_conversion = current_orders[index] / current_views[index]
fixed_mix_conversion += baseline_share * source_conversion
print(f"Baseline conversion: {baseline_conversion:.0%}")
print(f"Current aggregate conversion: {current_conversion:.0%}")
print(f"Fixed-mix current conversion: {fixed_mix_conversion:.0%}")
Baseline conversion: 18%
Current aggregate conversion: 14%
Fixed-mix current conversion: 18%
Baseline conversion is 18%, current aggregate conversion is 14%, and fixed-mix current conversion is 18%. Direct/repeat conversion stays at 20% and discovery conversion stays at 10%. In this example, a larger share of lower-converting discovery traffic explains the aggregate drop. It does not show that the new traffic is unprofitable, or that removing it would improve total orders.
What evidence would justify a merchant-specific change?
If conversion falls within comparable traffic groups, inspect the merchant's page-to-cart, cart-to-checkout and checkout-to-placement transitions. Compare the same items, addresses, dayparts and customer groups before and after onset. Check what the customer saw, including availability, price and quoted delivery time. Merchant averages can hide a change concentrated in one item or service period.
| Localized break | Candidate explanation | Distinguishing check |
|---|---|---|
| Page to cart | Missing items or unavailable menu | Item exposure and stock state at the visit |
| Cart to checkout | Basket total or minimum-order change | Comparable baskets and all-in prices |
| Checkout to placement | Payment or app failure | Server errors by version and payment route |
| Several stages at dinner | Availability or unattractive quotes | Merchant hours, preparation and reachable fleet |
Similar nearby merchants provide context only if they have comparable customer mix and exposure. Check the merchant's own configuration and change logs, then reproduce a suspected defect. Stable comparison stores weaken a broad market explanation but do not prove that one merchant change caused the decline.
Repair a verified checkout or menu defect directly. If audience composition alone explains the rate, assess incremental orders and contribution before trying to restore the old aggregate rate. For an uncertain price or availability intervention, test a clearly assigned policy with the relevant spillover and persistence precautions. Use mature orders, cost, acceptance and customer-experience guardrails to decide. Do not prescribe the earlier citywide incentive solely because the merchant shares the same platform.
9. Wrapping up
Completed-order volume, placement and completion rates answer different questions. The original counts show a dinner placement loss hidden by an improving aggregate completion rate. The detailed funnel shows how an exact accounting bridge can locate failed transitions, while identifying each cause's recoverable orders requires a defensible counterfactual. For a one-day shock, reconcile the calendar count before interpreting mature cohorts or a later rebound.
Let the revealed mechanism select the response. A short-lived Dasher incentive and a persistent merchant online-time offer need different assignment assumptions. Test merchant availability alongside net orders and costs, plan precision at the assigned unit, and account for substitution across boundaries. A separate merchant conversion decline starts with its own denominator and traffic mix. Those conditions determine the answer rather than an incentive or experiment design chosen in advance.