Testing Duet Features When Treatment Leaks to Control Users

Last updated: November 29, 2026

Quick Overview

TikTok wants to test a redesigned Duet flow that makes it easier to respond to another user's video. Explain why a standard user-level A/B test may be biased and design a better experiment.

TikTok
Analytics & Experimentation
Data Scientist
TikTok
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


TikTok wants to test a redesigned Duet flow that makes it easier to respond to another user's video. Explain why a standard user-level A/B test may be biased and design a better experiment.

Duet, Stitch and comments create interactions between users, so TikTok interviewers use them to probe interference in experiments. They check whether you can recognize SUTVA violations, choose a cluster design and reason about the bias direction.

What the Interviewer Expects
  • Explain the SUTVA violation and how treatment reaches control users
  • Predict the direction of bias in a naive test
  • Propose cluster randomization using the interaction graph or geography
  • Discuss the power cost of clustering and how to mitigate it
  • Suggest a way to measure the spillover itself
Key Topics to Cover
network effects
interference
cluster randomization
SUTVA
graph partitioning
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 from the social graph?
  • What is the design effect and how does it change sample size?
  • Could an ego-network design estimate direct and indirect effects separately?
  • What would you do if clusters are too few for adequate power?
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

The outcome of interest matters: Duets created per user, Duets received by creators, or overall engagement. A Duet created by a treated user appears in the feed of control users and notifies the origi...

Approach

In a user-level test, treated users create more Duets. Control users receive and watch those Duets, which can raise their engagement and their own tendency to Duet back. That makes control look better...


Submit Your Answer
Markdown supported