Chance a Flagged Video Actually Violates Community Guidelines
Last updated: November 29, 2026
Quick Overview
An automated classifier flags 95% of videos that violate community guidelines and wrongly flags 2% of videos that do not. If 0.5% of uploads actually violate guidelines, what fraction of flagged videos are true violations?
TikTok
November 29, 20260
0
0 solved
An automated classifier flags 95% of videos that violate community guidelines and wrongly flags 2% of videos that do not. If 0.5% of uploads actually violate guidelines, what fraction of flagged videos are true violations?
Base-rate questions are a quick filter in TikTok data science and trust and safety phone screens. The interviewer wants Bayes' rule applied cleanly with natural frequencies, then a practical takeaway for how moderation queues should use the flag.
What the Interviewer Expects
- Writes Bayes' rule with prior, likelihood and evidence
- Computes about 19% correctly
- Explains the result with natural frequencies
- Draws the operational conclusion for human review
- Mentions how precision changes with prevalence
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What false positive rate would be needed for precision of 50%?
- How does precision change for a sub-population where 5% of uploads violate?
- If a second independent classifier also flags the video, what is the probability now?
- How would you estimate the true prevalence if you only see flagged videos?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Prevalence , sensitivity , false positive rate . We want precision, . I assume these rates hold uniformly across uploads....
Approach
Bayes' rule: . I also translate it to counts per 100,000 uploads, which is easier to explain to a policy team....