Design an Alert That Flags Real Drops in Daily Engagement Metrics
Last updated: November 29, 2026
Quick Overview
Meta has thousands of daily metrics per product and teams are flooded with false alarms. Design a method that flags a real drop in a daily engagement metric quickly while keeping false positives low.
Meta
November 29, 20260
0
0 solved
Meta has thousands of daily metrics per product and teams are flooded with false alarms. Design a method that flags a real drop in a daily engagement metric quickly while keeping false positives low.
Anomaly detection on metrics is a practical problem for Meta data scientists who own product health dashboards. The interviewer checks whether you handle seasonality, noise, multiple testing across many metrics and segments, and whether alerts are useful (actionable and routed to the right owner).
What the Interviewer Expects
- Model weekly seasonality and holidays
- Use robust baselines that resist past anomalies
- Combine statistical and practical significance thresholds
- Control false alarms across many metrics and segments
- Make alerts actionable with segment drill-down and ownership
- Evaluate the alerting system itself
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How would you handle holidays like New Year's Eve that break the weekly pattern?
- How do you control false alarms when you monitor 5,000 metric and segment pairs?
- How would you detect a slow drift rather than a sudden drop?
- How would you measure whether the alert system is good?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Clarify: what latency is needed (hourly vs daily), how many metrics and segments, and what is costly: missing a real drop (an outage) or waking someone for nothing. Daily DAU-type metrics are smooth; ...
Approach
- Baseline: compare today to the same weekday over the past 8 weeks, which handles weekly seasonality. Use median and MAD (median absolute deviation) instead of mean and standard deviation so one...