Test a Scheduled Delivery Window Feature When Hubs Share Capacity

Last updated: November 29, 2026

Quick Overview

The team wants to let customers pick a 30-minute delivery window instead of getting the next available slot. Design an experiment to measure the effect on orders and on-time delivery, given that all customers of a hub share the same drones.

Zipline
Analytics & Experimentation
Data Scientist
Zipline
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


The team wants to let customers pick a 30-minute delivery window instead of getting the next available slot. Design an experiment to measure the effect on orders and on-time delivery, given that all customers of a hub share the same drones.

Zipline's home delivery is capacity constrained per hub, so one customer's choice changes what others are offered. The interviewer is checking whether you spot interference between treatment and control, pick a randomisation unit to match, and choose metrics that capture both demand and operational cost.

What the Interviewer Expects
  • Identify interference through shared drone capacity
  • Propose hub-level or switchback randomisation and justify it
  • Define primary, secondary and guardrail metrics
  • Address the power of a test with few clusters
  • Plan the analysis with cluster-robust errors or a permutation test
Key Topics to Cover
Interference / SUTVA
Cluster randomisation
Switchback tests
Guardrail metrics
Power analysis
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • You only have 12 hubs; how do you get enough power?
  • How would you detect novelty effects in the first two weeks?
  • Treatment raises orders but lowers on-time rate; how do you decide?
  • How would you estimate the effect if you could only launch to all hubs at once?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

Unit of value: orders per active customer per week. Constraint: drones and dock slots per hub are shared, so if treated customers book popular windows, control customers see longer waits. Ask how many...

Approach

User-level randomisation violates SUTVA: control users are affected by treated users' bookings, which biases the comparison. Options:

  • Hub-level cluster randomisation: assign whole hubs to treatm...

Submit Your Answer
Markdown supported

Related Questions