Experiment Design for a Pre-Post Civility Nudge Under Neighborhood Spillover

Last updated: November 29, 2026

Quick Overview

Nextdoor wants to test a nudge that asks members to rephrase a reply when a model flags it as likely uncivil. Design the experiment, choose the unit of randomization and the metrics, and explain how you would analyze it given that replies affect other people in the same thread.

Nextdoor
Analytics & Experimentation
Data Scientist
Nextdoor
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


Nextdoor wants to test a nudge that asks members to rephrase a reply when a model flags it as likely uncivil. Design the experiment, choose the unit of randomization and the metrics, and explain how you would analyze it given that replies affect other people in the same thread.

Civility features like a pre-post nudge are central to Nextdoor's brand, and their effects spill over because a calmer reply changes how the rest of a thread goes. The interviewer checks whether you spot interference, pick a unit that contains it, and balance civility gains against posting and engagement losses.

What the Interviewer Expects
  • Identify interference between treated and control members in the same thread or neighborhood
  • Propose cluster randomization by neighborhood and explain the power cost
  • Define a primary metric (for example reported or removed replies per 1,000) plus guardrails on posting volume
  • Analyze at the cluster level or with cluster-robust standard errors
  • Address novelty effects and run long enough to see repeat behavior
Key Topics to Cover
Cluster randomization
Network interference
Guardrail metrics
CUPED variance reduction
Trust and safety metrics
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
  • You only have 20,000 eligible neighborhoods with skewed sizes. How do you improve power?
  • How would you measure whether members rephrase or simply abandon the reply?
  • Treatment shows fewer reports but 2% fewer replies. How do you decide whether to ship?
  • How would you detect that the model nudges some dialects or groups more than others?
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

Treatment: when a classifier scores a draft reply above a threshold, show a prompt to edit before posting. Goals: fewer hostile exchanges without making people stop talking. Eligible population: membe...

Approach

User-level randomization is biased: a control member replying to a treated member's softened reply is less likely to escalate, so control improves too and the measured effect shrinks. Randomize by nei...


Submit Your Answer
Markdown supported

Related Questions