The interview problem

Practice prompt

A team checks an experiment every hour and stops when a conventional p-value falls below 0.05. Explain the problem and propose a valid monitoring plan.

Original practice, not a reported company interview. All scenarios and worked numbers are illustrative. Interview date: not applicable. Sources retrieved September 30, 2026.

1. Scope and assumptions

Separate fixed-horizon inference from time-uniform inference. Assume a defined outcome, sampling unit and assignment mechanism. A method valid under independent bounded observations may not cover delayed or clustered outcomes unchanged.

2. Worked approach

Choose either a fixed analysis time, a prespecified group-sequential design or a validated confidence sequence. Define stopping for benefit, harm and futility before launch, together with exposure and label-maturity requirements. Display the method and decision boundary in the dashboard so an ordinary interval is not mistaken for a continuously valid one.

A confidence sequence aims for simultaneous coverage across its allowed observation times, under its assumptions. It generally spends more uncertainty than a single fixed-time interval. Do not invent an adjusted threshold by dividing a p-value by elapsed hours.

3. Calculate the example

If twenty independent null tests each had false-positive probability 0.05, the chance of at least one rejection would be 1−0.95^20≈64.15%. Hourly looks at accumulated data are dependent, so this number is an illustration, not the actual false-positive rate of that dashboard. A Bonferroni plan for twenty prespecified valid tests would use 0.05/20=0.0025 per test and does not require independence for its union-bound control.

4. Failure cases and trade-offs

Changing the primary metric or population midstream changes the inferential problem. Delayed conversions can make an early apparent win reverse. Stopping on an unadjusted slice while claiming protection from a global sequential test bypasses the plan.

Fixed horizons are simple but cannot support arbitrary early claims. Sequential methods allow earlier decisions at the cost of design and sometimes wider intervals. Operational safety monitoring may stop a harmful rollout even when efficacy inference remains inconclusive; report those decisions separately.

5. Validate the result

Simulate the complete monitoring and stopping rule under null and alternative scenarios, including delays and dependence. Verify coverage/error control at the intended unit and log every look, metric change and stop reason.

6. Interview follow-ups and self-review

Can you resume a stopped experiment under the same guarantee? How do many segments affect monitoring?

Reward a valid alternative, qualified repeated-test arithmetic and attention to changing populations and delayed labels.

Sources and related practice

Technical reference: arxiv.org — Primary confidence-sequence research; dashboard example and Bonferroni calculation are original.

Exact publication/update date not established in this review. Retrieved September 30, 2026. This reference supports the named technical concept; the proposed workflow and examples are original, not a documented vendor implementation or interview report.

Continue with Control false discoveries across many model experiments; A/B tests: from randomization to a decision.

Continue your preparation

Choose a connected learning path or browse more ML fundamentals questions. Read our editorial method and attribution policy.