Testing a Swipeable Related-Pins Module in a Social Feed
Statistics & ExperimentsModel answerLast updated
Design an A/B test for a horizontally swipeable content module in a home feed: pick a primary metric, define guardrails, and separate real engagement gains from cannibalization.
Scenario
A visual discovery app is adding a new module to its home feed. The module shows a group of related items that a user can swipe through sideways, in place of scrolling past them one by one in the vertical feed. You are the data scientist responsible for judging whether it should launch, and you will do so with a randomized experiment.
Questions
- Choose a single primary metric for the experiment. Explain why it is a better indicator of success than the alternatives.
- Name at least two guardrail metrics that would reveal harm to the wider product, and say why each matters.
- Explain how you would tell apart a real increase in engagement from the module simply pulling clicks away from other parts of the feed.
Constraints
- Standard event logs are available: impressions, clicks, saves and session duration.
- The test runs for 14 days.
- Your answer should consider both short-term engagement and the long-term user experience.
What a good answer covers
Describe the experiment setup (randomization unit, duration, variance handling), then answer each of the three questions above. Mention what you would do if the results are ambiguous.
Hints
Hint 1
Think about which unit to randomize on. If a user can see both versions of the feed, the comparison is contaminated.
Hint 2
A metric measured only inside the new module cannot detect clicks that were taken from elsewhere. Which metric is summed over the entire app per user?
Hint 3
To detect cannibalization, compare total engagement per user between arms, then split it into the module part and the rest of the feed.
Hint 4
Guardrails should cover speed and stability, negative feedback, revenue or ads, and retention. Decide on acceptable thresholds before the test starts.
Model answer
Easy Try it yourself first — then compare your approach, complexity and edge cases.
Framing
The interviewer is checking three things: whether you choose a metric that reflects user value rather than the module's own vanity numbers, whether you run the test rigorously, and whether you think about the broader ecosystem. The obvious trap is to answer "click-through rate on the new module." That metric is biased by placement and cannot see cannibalization. The better answer anchors everything on total per-user outcomes.
Experiment setup
- Randomization unit: the logged-in user. Randomizing by session or impression would let one person see both experiences and would contaminate the comparison, because the feed is one shared surface.
- Arms: control is the current feed. Treatment is the feed with the module inserted under the planned ranking rules.
- Duration: 14 days covers two full weekly cycles, which absorbs day-of-week effects. It only partly handles novelty, so look at the effect over time and compare early days with late days.
- Power and variance: run a power analysis on the primary metric using pre-period variance. Apply CUPED, using each user's pre-experiment value of the metric as a covariate. This often cuts variance by roughly 30 to 50 percent.
- Ratio metrics: for metrics like CTR or saves per session, use the delta method or a user-level bootstrap. Impressions from the same user are correlated, so naive standard errors are too small.
- Sanity checks: test for sample ratio mismatch and check balance on pre-period metrics before reading any results.
1. Primary metric
Saves per user per day, counted across all surfaces and averaged over users in each arm.
Why:
- It reflects core value. A save means the user found something worth keeping. It is a stronger intent signal than an impression or a casual click, and it feeds personalization.
- It is measured per user, not per module. It answers "did users get more value from the product?" rather than "was the module used?" Any engagement taken from the vertical feed nets out automatically.
- It moves within 14 days. Long-horizon outcomes such as 28-day retention are too slow and noisy to be the primary metric, though they belong in monitoring.
Secondary metrics: sessions per user, long clicks or closeups above a dwell threshold, outbound clicks per user, and the share of users with at least one save (a breadth measure so a few heavy users cannot drive the result).
Diagnostic only (not decision metrics): module impressions, swipe depth, module CTR and module save rate. They explain the result but should not decide it.
2. Guardrail metrics
Pre-register a non-inferiority threshold for each.
| Guardrail | Why it matters |
|---|---|
| Feed latency (p50/p95 time to first item, scroll jank, crash rate) | The module loads several images per slot and may slow the feed. |
| Negative feedback (hides, "see less", reports per 1k impressions) | Catches irrelevant or forced content. |
| Ads health (ad impressions, ad CTR, revenue per user) | The module uses vertical space and can shift ad slots or viewability. |
| Retention (D7 return rate, sessions per user) | Short-term engagement must not damage habit formation. |
| Creator ecosystem (distinct creators getting impressions, concentration of impressions) | Carousels can funnel exposure to already popular content. |
3. Real lift vs. cannibalization
Cannibalization means the module's clicks come at the expense of clicks elsewhere, with no gain in total value. The test is whether total engagement rises.
- Compare totals. Compute Δtotal = E[saves per user | treatment] − E[saves per user | control] over all surfaces. If module saves look large but Δtotal is about zero, the feature is pure cannibalization.
- Decompose. Split treatment engagement into module and non-module parts: Δtotal = Module_T − (NonModule_C − NonModule_T). Define the incrementality ratio as Δtotal / Module_T. A ratio near 1 is fully incremental, near 0 is fully cannibalized, and negative means the module is net harmful (for example, it disrupts scrolling).
- Positional analysis. Compare engagement on the vertical items that the module displaced or that sit right after it with the same positions in control. Check whether scroll depth falls in treatment, which would mean users stop after the module.
- Cross-surface spillover. Look at search, boards and notifications. A drop there suggests engagement moved rather than grew.
- Quality per engagement. Examine save rate per click, dwell after closeup and outbound long clicks. Swipes can be low-intent, so more clicks may carry lower downstream value.
Decision rule: ship only if the primary metric rises significantly, the incrementality ratio is meaningfully positive, and no guardrail breaches its threshold.
Short-term vs. long-term
- Plot the daily treatment effect. A decaying curve signals novelty; a stable or rising one is more trustworthy.
- New users have no habit to disturb and no novelty bias, so they give a cleaner read on long-run value.
- Consider a long-running holdout group after launch to measure retention and ecosystem effects beyond 14 days.
Segment analysis
Define segments from pre-experiment attributes only (tenure, prior 28-day activity bucket). Segmenting on post-treatment behavior biases results because treatment can change segment membership. Test the treatment × segment interaction and apply a multiple-comparison correction such as Benjamini–Hochberg. Power users may find the module a friction on an efficient scroll, so watch their negative feedback and scroll depth.
When signals conflict
If clicks rise but session duration falls, it could be efficiency (users find things faster) or shallowness (more taps, less value). Use downstream value to decide: saves per session, dwell after closeup and return rate.
Common mistakes
- Using module CTR or module saves as the success metric.
- Randomizing or analyzing at the impression level, which understates standard errors.
- Treating more time spent as inherently good.
- Slicing results post hoc without correction.
- Declaring victory from the first few days, when novelty inflates the effect.
- Ignoring ads and latency, which a UI change can quietly damage.