One-Sided or Two-Sided Test for a Messenger Speed Improvement
Last updated: November 29, 2026
Quick Overview
An engineer wants to use a one-sided test for a Messenger change that should only make message sending faster, arguing it gives more power. Evaluate the proposal.
Meta
November 29, 20260
0
0 solved
An engineer wants to use a one-sided test for a Messenger change that should only make message sending faster, arguing it gives more power. Evaluate the proposal.
This conceptual question tests whether a candidate knows what a one-sided test buys and what it gives up. Meta interviewers look for nuance: when direction is truly known in advance and when a harm in the other direction must still be detected.
What the Interviewer Expects
- Explains how a one-sided test reallocates alpha
- Quantifies the sample size savings
- Warns that a one-sided test cannot detect harm in the other direction
- Notes the decision must be made before seeing data
- Suggests pairing with a separate harm check
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How much smaller is the sample for a one-sided test at 80% power?
- What if the result goes significantly in the wrong direction?
- When is a one-sided test standard practice?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Ask what "faster" means (time from tapping send to server acknowledgment), whether the change could slow anything (extra encryption step, battery or data usage), and what decision is being made (ship ...
Approach
A two-sided test at puts 2.5% in each tail. A one-sided test puts all 5% in the predicted direction, so the critical value drops from 1.96 to 1.645. This gives more power for the predi...