Run an Experiment on Booking Flow in a Supply-Constrained Marketplace

Last updated: November 29, 2026

Quick Overview

Headway wants to test a redesigned booking flow that shows patients more therapists per search; explain how you would design the experiment when therapist availability is limited and treatment patients may take slots that control patients would have booked.

Headway
Analytics & Experimentation
Data Scientist
Headway
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


Headway wants to test a redesigned booking flow that shows patients more therapists per search; explain how you would design the experiment when therapist availability is limited and treatment patients may take slots that control patients would have booked.

Experiments on Headway's patient side compete for a shared pool of therapist slots, so a naive user-level A/B test can overstate the win. The interviewer checks whether a candidate recognizes interference, picks a design and metrics that measure true marketplace impact, and can reason about power with modest sample sizes.

What the Interviewer Expects
  • Identify interference through shared supply and why it biases user-level tests
  • Propose a design that limits it, such as market-level or time-sliced randomization
  • Choose a primary metric tied to care delivered, not clicks
  • Estimate power with clustered units and discuss variance reduction
  • Plan guardrails for provider experience and patient outcomes
Key Topics to Cover
marketplace interference
cluster randomization
switchback designs
power analysis
CUPED
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
  • How would you pick markets for a cluster-randomized design so arms are balanced?
  • What if the effect on new patients is positive but returning patients lose slots?
  • How would you check for interference after running a user-level test anyway?
  • When would a switchback design not work here?
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 decision: the booking flow for new patients. Success: more patients who complete a first session, not more booking clicks. Constraint: in many state and plan combinations, open slots in the ne...

Approach

With user-level randomization, treatment patients who see more options book faster and take slots that control patients would have booked. The measured lift is τ^=YˉT−YˉC\hat\tau = \bar Y_T - \bar Y_C where $...


Submit Your Answer
Markdown supported

Related Questions