Test a Share-to-Friend Feature When Users Influence Each Other
Last updated: November 29, 2026
Quick Overview
A short-video product wants to test a new one-tap 'share to friend' button; explain why a standard user-level A/B test gives a biased answer and design an experiment that measures the true effect.
Tencent
November 29, 20260
0
0 solved
A short-video product wants to test a new one-tap 'share to friend' button; explain why a standard user-level A/B test gives a biased answer and design an experiment that measures the true effect.
WeChat Channels distributes video largely through the social graph, so treatment users sharing more changes what control users see. Tencent data science interviews often probe network interference, because naive A/B results on social features can be badly wrong, and the interviewer wants the candidate to reason about SUTVA, cluster designs and their cost in power.
What the Interviewer Expects
- Identifies the SUTVA violation and the direction of bias
- Proposes graph cluster randomization or another interference-aware design
- Quantifies the power cost via the design effect
- Defines primary and guardrail metrics for both senders and receivers
- Mentions a way to detect interference, such as comparing designs
- Discusses rollout and novelty effects
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 build the clusters, and what fraction of edges should stay within clusters?
- Would a geo or time-sliced switchback design work here, and why or why not?
- How would you estimate the spillover effect itself rather than just remove it?
- What if leadership needs an answer in one week?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
What is the goal of the button: more shares, more watch time across the platform, or more social connection? Which population (all users, a region)? Primary metric proposal: total video views per user...
Approach
In a user-level test, treated users share more, and many receivers of those shares are control users. Control users now watch more shared videos too, so the control baseline is contaminated and th...