Designing and Measuring a Similar Item Alert System
Statistics & ExperimentsModel answerLast updated
Design a notification feature for a peer-to-peer resale platform that alerts buyers when similar items are listed, then create an experiment to measure its impact.
You work as a data scientist for a peer-to-peer resale platform where individuals buy and sell used goods.
How the platform works today:
- Buyers search and view item listings
- When interested, buyers click "Contact seller" to start a conversation
- Each conversation initiated counts as one engagement
Proposed new feature: The product team wants to add an optional alert system. When viewing an item, buyers could choose to receive notifications when similar items get posted. The system would send push notifications highlighting newly available items that match the buyer's interest.
Your task has two parts:
Part 1: Pre-launch decision framework
Before building anything, how would you determine if this is worth pursuing? Address:
- What buyer pain point does this solve, and what's your core hypothesis?
- Which metrics would you track as primary success indicators versus supporting diagnostics versus safety monitors?
- What potential downsides or unintended consequences should you consider?
- What historical data analysis would you run to estimate the opportunity size?
- If uncertain about viability, what lightweight validation approach would you recommend?
Part 2: Launch evaluation design
Assuming the feature gets built, design a rigorous evaluation to measure its effect. Specify:
- Your experimental setup: randomization approach, treatment/control definitions, and test duration
- Your metric framework: which metrics prove success, which explain mechanisms, which protect the ecosystem
- Key threats to validity (selection effects, spillover between users, external factors) and your mitigation strategies
- Decision criteria: how would you interpret results to decide whether to launch fully, iterate, or abandon?
Hints
Hint 1
Consider that used items are unique—once sold, they're gone. How does scarcity affect both the buyer experience and potential experiment design?
Hint 2
Think about who benefits when a notification leads to a purchase. Is this creating new value or just rearranging existing demand?
Hint 3
If you only compare users who opted in versus those who didn't, what selection bias would that introduce?
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
Part 1: Pre-launch Decision Framework
The Core Problem and Hypothesis
Used goods markets have a fundamental mismatch problem: every item is unique, and inventory appears unpredictably. A buyer finds a couch they like, but it's already claimed, costs too much, or is too far away. The right item might appear tomorrow, but the buyer must remember to search again—and most won't.
Hypothesis: By alerting interested buyers when matching inventory arrives, we reduce failed searches and connect high-intent buyers to fresh supply faster, increasing completed transactions while helping sellers get responses sooner.
Metric Framework
Primary success metrics (prove the feature creates value):
- Buyer-seller conversations that receive replies (per buyer over 30 days)—better than raw messages because it filters out spam and reflects genuine connections
- New listings receiving their first qualified response within 24 hours—confirms sellers benefit too, not just buyers
Diagnostic metrics (explain performance):
- Alert enrollment rate among viewers
- Alerts triggered per enrolled user
- Notification open rate and open-to-contact conversion
- User-reported relevance ratings
- Time from listing creation to notification delivery
Guardrail metrics (detect harm):
- Notification permission revocation rate
- Daily active users and session frequency
- Messages per listing (concentration risk—are sellers overwhelmed?)
- Organic search sessions per buyer
- Seller response rates overall
- Spam reports and "hide this" feedback
Potential Risks
Notification burnout: Excessive or poorly targeted alerts train users to ignore all push notifications, damaging other features that rely on that channel.
Demand shifting, not creation: Buyers who would have found the item through search anyway now arrive via notification. Engagement relocates but doesn't grow.
Marketplace competition dynamics: Since items are one-of-a-kind, alerting some buyers gives them first access. Non-alerted buyers lose opportunities. Total successful matches might not increase—just the winners change.
Seller message flooding: Popular items trigger alerts to many buyers simultaneously, overwhelming sellers and degrading response quality.
Poor similarity matching: A weak recommendation algorithm sends irrelevant alerts, poisoning the entire feature before we learn whether the concept works.
Opportunity Sizing with Historical Data
Before writing any code:
-
Measure repeat intent: For buyers who contacted a seller about an item, how often did they contact sellers about similar items (same category, similar price, nearby location) within the next two weeks? High repetition indicates frustrated demand.
-
Check supply availability: For each historical expression of interest, count how many similar listings appeared in the following 7–14 days. If the median is zero in key categories, there's nothing to notify about.
-
Estimate incremental discovery: Of those similar listings that did appear, what percentage did the original buyer never view organically? Only this slice represents genuinely new connections. The rest is cannibalized search traffic.
-
Build a funnel estimate:
Weekly active buyers: 8M × viewing sessions with eligibility: 40% × projected enrollment rate: 12% × alerts per enrolled user (monthly): 4 × open rate: 15% × open-to-contact rate: 25% × incremental fraction: 60% = ~35K incremental qualified contacts/monthCompare this to total monthly contacts and engineering investment required.
-
Check analogous features: If the platform has saved searches or favorites, analyze their usage patterns and retention impact as a proxy signal.
MVP Validation Path
Step 1—Fake door test: Display the "Notify me" button without backend implementation. Measure click rate to gauge demand before building infrastructure.
Step 2—Constrained pilot:
- Launch in 2–3 high-inventory categories (e.g., furniture, electronics)
- Cap at one notification daily via in-app alerts first (cheaper, less intrusive than push)
- Use simple matching rules: exact category + price within 20% + distance within 15 miles
- Target 5% of users for 3 weeks
Step 3—Expand conditionally: Only add real-time push and ML-based similarity if early metrics validate the concept.
Part 2: Launch Evaluation Design
Experimental Setup
Randomization unit: individual buyer, assigned to control (no alert option visible) or treatment (can enroll and receive alerts).
Critical: use intent-to-treat analysis. Compare all treatment-assigned users to all control users, regardless of whether treatment users actually enrolled. Comparing enrolled users to non-enrolled creates massive selection bias—enrollers are inherently more engaged.
To estimate the effect on actual enrollees: divide the intent-to-treat effect by the enrollment rate (this is the Complier Average Causal Effect, valid if showing the button doesn't affect non-enrollers).
Addressing marketplace interference: Buyers compete for the same inventory. A user-level test can show treatment gains that simply steal opportunities from control users, making the feature look effective when total value is unchanged.
Mitigation: Run a parallel geographic cluster test—randomize entire metro areas or regions. Within treated regions, assign most users to treatment. Then measure market-level outcomes: total qualified conversations per capita, total listings with responses, transaction volume. User-level lift without market-level lift reveals zero-sum reallocation.
Duration: minimum 4 weeks
- Captures full weekly cycles (weekday/weekend differences)
- Allows time for alert → return → contact delay
- Lets novelty effects dissipate
- Consider retaining a 2% long-term holdout to monitor multi-month fatigue and retention
Variance reduction: Apply CUPED using each user's pre-period contact behavior as a covariate, and winsorize extreme outliers (contact counts are heavy-tailed). This improves statistical power by 30–50%.
Metric Framework for the Test
Primary metrics:
- Qualified conversations per buyer (30-day window)
- Share of new listings receiving response within 24 hours
Secondary/diagnostic metrics:
- Total contacts initiated (to measure cannibalization)
- Contacts originating from notifications versus organic search
- Session frequency and search activity
- Time spent browsing
- Enrollment rate and alerts delivered per user
- Notification engagement (opens, clicks, dismissals)
Guardrail metrics:
- Push permission disable rate (weekly cohort tracking)
- App sessions per user
- Messages per listing (seller overload detector)
- Seller response rates
- User churn and retention
Threats to Validity and Mitigations
Selection bias from enrollment: Handle via intent-to-treat analysis. Never compare opt-ins to opt-outs directly.
Attribution inflation: "Contacts from notification clicks" overstates impact—many would have happened anyway. Instead, measure total contacts per user (treatment vs. control) and examine the search-originated slice to quantify substitution.
Notification fatigue over time: Track weekly cohorts separately. Plot open rates and permission revocations week-over-week. A pattern of declining opens with rising opt-outs signals unsustainable engagement, even if week-1 looks positive.
Seasonality and external events: Avoid major holidays and shopping events. If unavoidable, use difference-in-differences (compare treatment-control gap before and during the test) to separate seasonal patterns from treatment effects.
Network spillovers: The geo-cluster test addresses this. If user-level and market-level results diverge significantly, interference is real and the user-level estimate is biased.
Novelty effects: Early enthusiasm may fade. The 4-week duration and long-term holdout help distinguish temporary spikes from sustained impact.
Decision Framework
Ship criteria:
- Statistically significant lift in qualified conversations (p < 0.05, practical significance > 2%)
- Market-level test shows positive or neutral total marketplace activity (not zero-sum)
- No degradation in guardrails (permission revokes, response rates, sessions)
- Enrollment rate > 8% and notification open rate > 12%
- Diagnostic metrics confirm mechanism works (alerts lead to contacts that wouldn't have happened)
Iterate criteria:
- Directionally positive but noisy results
- Strong enrollment but weak conversion (similarity model needs work)
- Evidence of fatigue (declining opens) but otherwise positive—try digest formats
Kill criteria:
- No detectable lift after 4 weeks with adequate power
- Market-level test shows zero-sum or negative total activity
- Guardrail violations (elevated churn, permission revokes > 5%, seller response rate drop)
- High operational cost relative to tiny impact
Analysis depth: Segment by category, user tenure, geography, and device type to identify where the feature works best, informing iteration or targeted rollout even if overall results are mixed.