KatInterview

Experiment Plan for a Run-Loop Suggestion Feature in a Maps App

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingexperiment-designmetrics

Last updated

Plan a randomized experiment for a feature that suggests running loops in a maps app: choose metrics, define who enters the analysis, pick the randomization unit, set guardrails, and size the test.

Scenario

A large consumer maps application is considering a new feature that proposes running loops of a chosen length, starting from the user's current location. Product leadership wants to know whether it is worth shipping.

Task

Explain how you would decide whether the feature is valuable for users and for the business, then lay out a launch experiment. Your answer should cover:

  1. Value assessment before any experiment is run.
  2. Success metrics: one primary metric and supporting secondary metrics, with precise definitions.
  3. Triggering logic: who is included in the analysis, and what must be logged for both arms.
  4. Randomization unit and run duration.
  5. Guardrail metrics, including anything specific to sending people outdoors.
  6. Minimum detectable effect (MDE) and sample size, with explicit assumptions.
  7. Decision rule for launching, iterating, or stopping.

State any numbers you assume, and call out the pitfalls you would watch for.

Hints

Hint 1

Pick a metric that reflects real behavior (a run actually finished) rather than curiosity (an impression or tap), and restrict the analysis to users who had a chance to see the feature.

Hint 2

In the control arm, log a 'would have shown' event at the same decision point and with the same eligibility rules, so the two triggered populations can be compared fairly.

Hint 3

For sample size, use a binary metric such as 'at least one completed run per week' among triggered users: n per arm is roughly 2(z_alpha/2 + z_beta)^2 p(1-p) / delta^2. Then consider variance reduction with pre-period data.

Hint 4

Safety is the guardrail that matters most here, because the product routes people onto real streets. Define it concretely and decide in advance what happens if it moves.