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
Analytics & Experimentation
Data Scientist
Tencent
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

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
Network effects
SUTVA
Cluster randomization
Design effect
Metric design
Spillover
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 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 Questions
Sample 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...


Submit Your Answer
Markdown supported

Related Questions