Diagnose Drop in Completed Marketplace Orders
Statistics & ExperimentsModel answerLast updated
A framework to investigate, diagnose, and validate the root causes behind a sustained multi-week decline in completed orders on a two-sided marketplace platform.
You are a Lead Data Scientist at a local logistics and on-demand delivery platform. Over the past month, executive leadership noticed that successful completed orders in a key metropolitan market dropped continuously across four consecutive weeks.
A successful completed order is defined as an order that was submitted, accepted by the merchant, fulfilled by a courier, delivered to the customer, and did not result in a subsequent cancellation or full refund due to platform, merchant, or driver failure.
You are asked to present a structured diagnostic plan to the product leadership team:
- How do you verify that this decline reflects a true operational issue rather than a data pipeline artifact?
- How would you construct a quantitative framework to decompose the funnel and isolate where the volume is being lost?
- How do you distinguish between issues driven by customer demand, merchant/courier supply, operations, or tracking/instrumentation?
- How do you isolate confounding variables (e.g., macro trends, weather, local regulatory shifts, or mix shifts across customer cohorts and sub-regions)?
- What specific experimentation strategy (including design, primary metrics, guardrail metrics, and spatial/temporal considerations) would you deploy to test potential solutions?
Hints
Hint 1
Start by ruling out telemetry anomalies, definition changes, or delayed logging pipelines before building complex causal models.
Hint 2
Express successful orders as a multiplicative chain of rates along the user and order lifecycles; applying natural logarithms makes the funnel loss additive.
Hint 3
Distinguish between supply and demand bottlenecks by conditioning conversion metrics on quoted variables like Estimated Time of Arrival (ETA) or dynamic delivery fees.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Diagnostic Framework Overview
Diagnosing a metric drop on a multi-sided platform requires a structured approach. A strong investigation moves through four distinct phases: Validation, Funnel Decomposition, Marketplace Disambiguation, and Validation via Controlled Experiments.
[Phase 1: Validation] ──> [Phase 2: Funnel Breakdown] ──> [Phase 3: Marketplace Diagnostics] ──> [Phase 4: Targeted Interventions]
(Data & Telemetry) (Additive Log Funnel) (Supply vs. Demand vs. Ops) (Switchbacks / Synthetic Control)
Phase 1: Data Integrity & Baseline Validation
Before attributing the decline to real-world consumer behavior or platform dynamics, rule out data engineering and instrumentation failures.
- Reconcile Data Sources:
- Compare event-stream totals (
order_placed,order_deliveredfront-end logs) against transactional backend databases (orderstable) and financial settlement ledgers. - If revenue and payout ledgers are flat while event volumes drop, the issue stems from logging loss or front-end tracking failures.
- Compare event-stream totals (
- Evaluate Schema & Release Boundaries:
- Map the timing of the decline against recent application deployments, SDK updates, backend API releases, or changes to logging definitions (e.g., changes to refund categorization codes).
- Slice order drop rates by mobile OS (iOS vs. Android) and application build versions. A drop isolated to a specific app version points to a client-side bug.
- Verify Pipeline Dynamics:
- Audit ETL pipelines for processing latency, late-arriving backfills, or updated geofencing boundaries that may have silently reassigned orders to an adjacent market zone.
Phase 2: Quantitative Funnel & Mix-Shift Decomposition
Once data integrity is confirmed, decompose total successful orders into an additive multiplicative funnel to isolate the stage of greatest leverage.
Multiplicative Funnel Model
Express total successful orders ($Y$) as a product of distinct conversion steps:
$$Y = \text{DAU} \times \frac{\text{Sessions}}{\text{DAU}} \times \frac{\text{Menu Views}}{\text{Session}} \times \frac{\text{Carts}}{\text{Menu View}} \times \frac{\text{Checkouts}}{\text{Cart}} \times \frac{\text{Placed}}{\text{Checkout}} \times \frac{\text{Accepted}}{\text{Placed}} \times \frac{\text{Delivered}}{\text{Accepted}} \times \frac{\text{Successful}}{\text{Delivered}}$$
Taking the natural logarithm transforms this into an additive equation:
$$\Delta \ln(Y) = \Delta \ln(\text{DAU}) + \Delta \ln(\text{Session Rate}) + \dots + \Delta \ln(\text{Fulfillment Quality Rate})$$
This allows exact attribution of the drop percentage across every phase of the customer and order lifecycle.
Kitagawa / Oaxaca-Blinder Mix-Shift Decomposition
Aggregate conversion rates can decline even if every individual sub-segment is healthy, purely due to mix shift (e.g., a surge in traffic from lower-converting night hours). Decompose aggregate change $\Delta R$ across segments $i$ into rate effects and mix effects:
$$\Delta R = \sum_{i} \bar{w}i \Delta r_i + \sum{i} \bar{r}_i \Delta w_i$$
Where:
- $w_i$ is the volume weight of segment $i$, and $r_i$ is the conversion rate of segment $i$.
- $\bar{w}_i$ and $\bar{r}_i$ represent the mid-point averages across the comparison periods.
Primary Slicing Dimensions:
- Customer Segment: New vs. Returning, Subscription Members vs. Non-Members, Recency Cohorts.
- Temporal: Daypart (Breakfast, Lunch, Dinner, Late Night), Day of Week.
- Geography: Zip codes, micro-neighborhood clusters, merchant density zones.
- Supply Chain: Merchant type (national chains vs. local independent stores), courier transportation mode (bicycle vs. car).
Phase 3: Isolating Marketplace Root Causes
On a two-sided platform, supply shortages often manifest as apparent demand reductions (e.g., lack of couriers raises quoted ETAs, causing users to abandon carts). Use the signatures below to isolate the primary driver:
| Cause Category | Primary Behavioral Signature | Critical Diagnostics & Indicators |
|---|---|---|
| Demand-Driven | Drop occurs at top-of-funnel (DAU, Sessions). Downstream conversion rates stay constant. | • App opens, organic search trends down.<br>• Competitor promo activity or price changes.<br>• CAC increases while marketing spend remains flat. |
| Supply-Driven | Funnel drops at Cart $\rightarrow$ Checkout or Checkout $\rightarrow$ Placed. Top-of-funnel is stable. | • Quoted ETAs shift right (longer delivery estimates).<br>• High rate of out-of-stock items or store pauses.<br>• High courier utilization (percent time spent on orders). |
| Operational | Drops occur post-order placement (Placed $\rightarrow$ Delivered $\rightarrow$ Successful). | • Merchant order rejection rates spike.<br>• Unassigned order rates and dispatch delays increase.<br>• Lateness, cold-food reports, and support ticket rates rise. |
| Instrumentation | Sudden step-function drop correlated with software release windows. | • Mismatch between client events and financial ledger.<br>• Drop restricted to specific client app versions. |
Diagnostic Test: Disentangling Supply vs. Demand
To determine whether lower checkout conversion is driven by true lack of user interest (demand) or extended fulfillment timelines (supply):
- Condition Conversion on Quoted ETA: Plot Cart-to-Checkout conversion rate as a function of quoted ETA minutes ($P(\text{Checkout} \mid \text{ETA} = t)$).
- If conversion at each specific ETA bin remains unchanged, but the overall market ETA distribution shifted toward 45+ minutes, the issue is Supply/Logistics.
- If conversion dropped across all ETA bins, the issue is Demand/Pricing.
- Courier Utilization: High courier utilization ($>85%$ active time) paired with high ETAs confirms driver deficit. Low courier utilization paired with dropping orders indicates excess driver supply relative to weak consumer demand.
Phase 4: Experimental Validation & Remediation
To validate hypotheses and evaluate corrective interventions, standard user-level A/B testing cannot be used due to marketplace spillover (e.g., offering a promo to user A leaves fewer couriers for control user B).
Proposed Experiment: Regional Switchback Test
Objective: Test if targeted courier peak-pay incentives resolve supply constraints and restore successful order volume during high-friction hours.
Time Window Sub-Market Region A Sub-Market Region B
08:00 - 10:00 Treatment (Peak Pay Boost) Control (Standard Pay)
10:00 - 12:00 Control (Standard Pay) Treatment (Peak Pay Boost)
12:00 - 14:00 Treatment (Peak Pay Boost) Control (Standard Pay)
-
Experimental Design:
- Unit of Randomization: Cluster-time windows (e.g., 2-hour time blocks within spatial sub-zones).
- Design: Switchback design alternating treatment (e.g., $3 courier peak pay boost) and control across matched sub-regions over a 14-day window.
- Variance Reduction: Apply Directional Spatial-Temporal Clustering to prevent courier migration across adjacent zone boundaries.
-
Metrics Framework:
- Primary Metric: Net Successful Orders per Zone-Hour.
- Secondary / Efficiency Metric: Cost per Incremental Completed Order.
- Guardrail Metrics:
- Courier Fulfillment ETA / Dispatch Latency.
- Order Defect Rate (cancellation/refund percentage).
- Merchant Order Preparation Time (ensuring kitchens aren't overloaded).
-
Potential Confounders & Mitigation:
- Spatial Leakage: Couriers driving into treatment zones to chase peak pay. Mitigation: Define buffer geographical borders around trial clusters.
- Carryover Effects: Drivers extending shifts after a treatment block into control blocks. Mitigation: Insert 30-minute burn-in/washout periods between time blocks that are excluded from metric evaluation.