Measure How Much Spillover Biases a Google Docs Comment Experiment

Last updated: November 29, 2026

Quick Overview

Google Docs is testing a redesigned comment notification that should get collaborators to respond faster. You suspect treated users' faster replies also speed up their untreated collaborators. Design an experiment that measures both the direct effect and the size of the spillover.

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

0

0

0 solved


Google Docs is testing a redesigned comment notification that should get collaborators to respond faster. You suspect treated users' faster replies also speed up their untreated collaborators. Design an experiment that measures both the direct effect and the size of the spillover.

Collaboration products at Google are full of interference, and senior DS candidates are expected to quantify the bias rather than only avoid it. The interviewer is looking for a two-stage or saturation design, clear estimands, and a plan for analysis with a dependent network.

What the Interviewer Expects
  • Defines direct, spillover, and total effects as separate estimands
  • Proposes a randomized saturation design: clusters assigned a treatment share, then users within clusters
  • Builds clusters from the collaboration graph (shared-document co-editors), for example by graph partitioning
  • Estimates spillover from control users in high-saturation versus low-saturation clusters
  • Accounts for clusters in inference and discusses power trade-offs
Key Topics to Cover
randomized saturation design
spillover effects
graph clustering
network interference
total treatment effect
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 do you build clusters when a few users collaborate with thousands of people?
  • What if the spillover is negative, for example notification fatigue among collaborators?
  • How would you extrapolate from 50% saturation to a full launch?
  • Is it worth running a simpler user-level test alongside?
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
  • Outcome: median time from a comment being posted to the first reply, and share of comments resolved within 24 hours.
  • Interference channel: if a treated user replies faster, the comment thread move...
Approach
  1. Clusters: build a graph of users weighted by shared comment threads over the past 90 days. Partition it with a balanced graph clustering method (for example, Louvain with a size cap). Most Work...

Submit Your Answer
Markdown supported