KatInterview

Diagnosing and Reducing Temperature Complaints in Food Delivery

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperimentationmetricscausal-inference

Last updated

Identify why meals arrive at suboptimal temperatures, design metrics to quantify the issue, and structure a controlled test to validate a solution.

You work as a data scientist on a food delivery platform's operations team. User feedback indicates that many meals don't maintain proper temperature during transit.

Your task is to:

  1. Investigate the root causes: How would you determine why meals lose temperature? What breakdown would you use to isolate the problem areas?

  2. Define measurement: The platform doesn't have temperature sensors. How would you quantify this issue using available data?

  3. Design an intervention test: Propose a solution (such as improved carrier equipment, adjusted dispatch timing, or modified batching rules) and structure a rigorous experiment to evaluate it. Specify your hypothesis, how you'll assign units to test groups, which metrics you'll track, and how you'll calculate the required test duration.

  4. Account for system interactions: The platform is a marketplace where drivers, restaurants, and customers interact. How does this affect your experimental design choices?

Explain your reasoning at each step, including any assumptions you're making and potential complications you'd need to address.

Hints

Hint 1

Break the delivery lifecycle into sequential stages from order placement through final handoff, measuring duration at each step

Hint 2

Since direct temperature measurement isn't available, identify observable behaviors that correlate with the underlying quality issue

Hint 3

Marketplace dynamics mean that changing how one group of orders is handled can affect other orders competing for the same resources—consider this when choosing your randomization approach