KatInterview

Designing Evaluation Framework for Checkout Donation Feature

Statistics & ExperimentsModel answer
EasyModel answerStatistics & ExperimentsExperiment DesignA/B TestingMetrics

Last updated

Design a metrics hierarchy, user-level experiment plan, and launch decision framework for an optional checkout donation feature on a food-delivery platform.

An online food-delivery platform is evaluating an optional checkout feature that allows customers to add a small donation (either directly to the merchant or to a charity selected by the merchant) when placing an order.

You are the lead Data Scientist assigned to design the evaluation framework. Write a comprehensive evaluation plan that covers the following five areas:

  1. Product Goal & Hypotheses: Define the main product objective. State one primary hypothesis and 2–4 secondary hypotheses (including at least one plausible negative effect).
  2. Metrics Hierarchy: Establish a structured framework with primary, diagnostic, and guardrail metrics. For critical metrics, specify the unit of analysis, numerator/denominator, evaluation window, and stage in the checkout funnel.
  3. Experimentation Strategy: Outline the experiment design:
    • Randomization unit, triggering, and eligibility logic.
    • Variant structure.
    • Sample size, power, and duration considerations (including variance reduction techniques like CUPED).
    • Strategies for handling repeated exposures, marketplace spillovers (courier/merchant equilibrium), novelty decay, and heterogeneous treatment effects.
  4. Risks & Confounders: Identify key biases and risks (e.g., selection bias, tip cannibalization, instrumentation bugs) and detail mitigation strategies.
  5. Launch Decision Framework: Define clear rules for launching the feature and how to make trade-off decisions across conflicting outcomes.

Hints

Hint 1

Distinguish between the unit of randomization (user) and the unit of analysis (order) when calculating standard errors for ratio metrics.

Hint 2

Consider marketplace feedback loops: reduced courier tips could impact order acceptance and fulfillment times for both treatment and control users.

Hint 3

Formulate checkout conversion rate as a non-inferiority hypothesis test rather than a standard two-tailed test.