KatInterview

Design a Reputation Badge A/B Test for a P2P Marketplace

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperiment designA/B testingnetwork effects

Last updated

Design a rigorous experiment to measure whether a seller reputation badge increases transaction volume on a peer-to-peer platform, handling network interference and fairness concerns.

Background

A peer-to-peer marketplace is rolling out a "Verified Seller" badge that users can earn after completing an identity and track-record check. The product team believes the badge will reduce hesitation between strangers, leading to more completed transactions and stronger long-term retention.

Before a full launch, you need to design a controlled experiment to find out whether the badge actually moves those numbers — or whether it just shifts behavior around without creating net value.

Your task

1. Metrics

Define a primary metric that captures trust through revealed behavior (not a survey). Then list at least two guardrail metrics that would tell you the platform is being destabilized or that certain users are being harmed.

2. Hypothesis

Write a precise, testable hypothesis. Be explicit about what the treatment is and what it is not.

3. Experimental unit and randomization strategy

The badge is visible across users: if a treated user transacts with a control user, the control user's behavior may change. Explain why this violates a core assumption of standard A/B testing, and propose a randomization unit that contains the spillover. Compare at least two options.

4. Power analysis and test duration

Walk through how you would estimate the minimum detectable effect (MDE) and how you would adjust sample-size calculations when your randomization unit is not the individual user. What inputs do you need, and where do you get them?

5. Bias and fairness checks

Describe how you would detect whether the badge disproportionately benefits or harms specific groups of users — both in terms of access to the badge and impact from the experiment.

What a strong answer looks like

  • A clear primary metric tied to a concrete user action, not a proxy like clicks
  • Recognition of the SUTVA violation and a well-reasoned choice of clustering unit
  • Correct inflation of sample size for cluster-level variance (intra-cluster correlation)
  • Separation of "who can get verified" bias from "who benefits from the feature" bias
  • Awareness of self-selection: verification is a choice, so naive comparisons are confounded

Hints

Hint 1

The badge is seen by the *counterparty*, not just the badge holder — think about where the treatment effect actually lands and which randomization unit prevents it from leaking into the control group.

Hint 2

Standard sample-size formulas assume independent observations. When you randomize clusters, every user inside a cluster is correlated. The design effect formula DE = 1 + (m − 1) × ICC tells you how many more users you need; estimate ICC from historical data before you run the experiment.

Hint 3

Fairness has two separate questions: (1) Does the verification process reject certain groups at higher rates? (2) Do unverified users inside treated clusters transact less because counterparties now prefer verified sellers? These require different data and different tests.