Testing A Reply Ranking Change Under Network Interference
Last updated: November 29, 2026
Quick Overview
X wants to test a new ordering of replies under a post. Because replies are seen by both the author and other readers, a user-level A/B test can leak effects between groups. Design the experiment and the metrics, and explain how you would detect and correct for interference.
X
November 29, 20260
0
0 solved
X wants to test a new ordering of replies under a post. Because replies are seen by both the author and other readers, a user-level A/B test can leak effects between groups. Design the experiment and the metrics, and explain how you would detect and correct for interference.
Reply ranking on X affects people who did not see the treatment: if treated readers reply more, control authors get more notifications and post more. The interviewer checks whether you recognise SUTVA violations, can pick a randomization unit that fits, and can state a decision rule.
What the Interviewer Expects
- Names a primary metric and guardrails
- Explains why user-level randomization violates independence here
- Proposes post-level or cluster-level randomization and its cost in power
- Discusses how to measure spillover with a two-level design
- States duration, novelty effects and a ship rule
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 would you estimate the power loss from randomizing by conversation instead of by user?
- Replies by Premium subscribers are already boosted. How do you keep that from confounding the result?
- If the treatment increases replies but also increases blocks, what do you recommend?
- How would you detect a novelty effect?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Change: replies under a post are ordered by a new quality model instead of the current ranker. Goal: better conversations. Primary metric: replies per conversation view that receive a positive engagem...
Approach
User-level randomization leaks: a treated reader writes a reply in a thread whose author is in control, and the author's experience changes. Randomize by conversation (root post id hash) instead, so e...