Testing a Global-Ranking Change in a Location-Based Social App
Statistics & ExperimentsModel answerLast updated
Design metrics, a randomization scheme that handles interference, and a novelty-versus-durable-effect plan for a ranking change that favors globally active users over nearby ones.
Scenario
A location-based social and dating app has a browse feed that currently ranks nearby people first. The product team proposes a new ranking: profiles belonging to users who are highly active across the whole platform would be promoted, even when they are far away. Leadership expects total time in the app to rise. Others worry the change will lead to fewer in-person meetups and will frustrate users who mainly want people close to them.
Your task
- Metrics. Propose a primary metric, supporting (diagnostic) metrics, and guardrail metrics. Explain why each matters in a market where one user's attention is another user's supply.
- Experiment design. Decide what to randomize (individual users, geographic clusters, or something else) so that treated and control users do not contaminate each other. Explain how you would estimate the effect of a full launch.
- Novelty vs. lasting effect. Describe how you would tell a short-lived curiosity bump from a real, durable change in the value users get.
Assumptions
- The app has millions of daily active users.
- Behavior is interdependent: when a user's activity changes, it changes what other users see and receive.
- Your analysis must separate local engagement from global engagement.
Aim for a structured answer, including trade-offs and the main pitfalls.
Hints
Hint 1
Time spent is easy to inflate. Look for a metric that only counts an outcome when both sides participate, and split it by nearby versus distant.
Hint 2
Ask what happens to a control user when a treated user messages them. What assumption of a standard A/B test does this break, and what unit of randomization contains most interactions?
Hint 3
Think about assigning different treatment shares to different regions, and about keeping a long-lived untouched group after launch. Also consider users who joined after the change and so never saw the old feed.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What a strong answer shows
The headline metric (time in app) is the easiest to move and says little about value. A good answer separates value from activity, treats the change as a redistribution of attention between two sides of a market, handles interference, and plans for effects that unfold slowly.
1. Metrics
Primary: reciprocated conversations per weekly active user. Define a reciprocated conversation as one where both parties send at least a couple of messages. It needs both sides to participate, so one-sided browsing or spam cannot inflate it. Report it in total and split into local (for example, within about 10 km) and non-local. That split captures the central tension.
Avoid session time as the primary metric: a feed that makes good matches harder to find can increase time spent.
Diagnostic metrics (mechanism):
- Session time, sessions per day, profile views (the leadership hypothesis).
- Messages sent per user (sender side).
- Reply rate to first messages (recipient side). If sending rises while replies fall, attention was moved around, not created.
- Distance distribution of started and reciprocated chats, to confirm the mechanism.
- Proxies for offline meetings, such as location sharing or meet-up intent, plus periodic in-app surveys, since real meetups are not observed.
Guardrails (must not degrade):
- Local reciprocated conversations per user, with an explicit non-inferiority margin (for example, no worse than -1%).
- Retention at D7 and D28 and churn, especially for historically local-heavy users.
- Attention concentration: Gini coefficient of messages received and the share of users receiving zero messages per week. Promoting very active users creates a rich-get-richer effect.
- Unanswered-message rate and inbox load for the top decile of recipients (burnout).
- Blocks, reports, and "not interested" actions.
- Subscription conversion, cancellations, revenue; latency and crashes.
2. Experiment design
Why user-level randomization fails. Treated users view and message highly active people who may sit in control. Consequences:
- Control recipients receive extra inbound messages, inflating control and biasing toward zero.
- Attention of active users is pulled toward treated senders, making control senders look worse and biasing away from zero.
- If only a small share is treated, local supply barely changes, so the harm to local seekers is invisible. At 100% rollout every local user loses visibility.
Recommended: geographic cluster randomization with randomized saturation.
- Clusters: metro areas. Check from logs that cross-metro conversations are a small share (roughly under 10-15%).
- Match and stratify: pair metros by DAU, density, historical local-chat share, and pre-period trend; randomize within pairs. Use CUPED or difference-in-differences with pre-period data to regain power.
- Randomize saturation: assign each cluster a treated share (for example 0%, 50%, 100%). Then:
- direct effect = treated vs. untreated within 50% clusters;
- spillover = untreated in 50% clusters vs. 0% clusters;
- total launch effect = 100% vs. 0% clusters, the figure leadership needs.
- Residual cross-cluster interference: the feature is global by design. Log sender and recipient arms, compute control users' exposure to treated senders, and run a sensitivity analysis excluding highly exposed controls. Buffers or naturally isolated regions (separate countries) can help.
- Analysis level: per cluster, or with cluster-robust standard errors.
Power: the effective sample size is the number of clusters, not millions of users. Compute the minimum detectable effect on local reciprocated conversations up front. If it is too coarse, prioritize the guardrail over the engagement metric.
Switchbacks: alternating treatment over time suits markets with short memory. Here carryover is large (a conversation begun under treatment continues under control), so use them only for short diagnostics.
3. Novelty vs. durable effect
- Persistent holdout: after launch, keep a set of metros (around 5% of clusters) on the old ranking for 2-3 months.
- Effect by time since first exposure: plot the effect against days in treatment, not calendar date. A spike that decays to a plateau signals novelty; fit an exponential decay and report the asymptote as the long-run estimate.
- New-user cohort: people who joined during the test have no prior feed to be curious about, so their effect approximates steady state.
- Lagging metrics: D28 and D60 retention and the trajectory of local supply. Users who cannot find nearby matches leave weeks later, and burnout among very active users builds slowly.
- Leading-to-lagging validation: check whether early gains in local reciprocated conversations predict later retention in the holdout before trusting short tests.
Decision framing
Ship only if the total effect on reciprocated conversations is positive at saturation, the local guardrail stays within its margin, concentration and burnout metrics do not worsen materially, and the effect persists after the novelty decays. A possible compromise is a blended ranking that promotes active users only when nearby supply is thin.
Common mistakes
- Choosing time spent as the primary metric.
- Randomizing individual users and ignoring spillover.
- Counting millions of users as the sample size when clusters are the unit.
- Reading a week-one lift as permanent.
- Ignoring the distribution of effects: averages can hide harm to local seekers or to the long tail of users who receive little attention.