Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
ExperiencesCoaching
New
Practice
Mock InterviewsTimed interview simulations with feedbackSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Get started

Bayes Precision for Reels Safety

MediumStatistics & Probability00:00
Practice interviewer
In session
5 left
00:00

Whenever you're ready, walk me through how you'd approach this.

You need to log in / sign up to chat or submit.

Problem

Business Context

Meta is evaluating a lightweight classifier that flags potentially bad Instagram Reels before ranking. The model is being considered as an upstream filter in the AARRR funnel because false alarms can suppress healthy creator distribution, while misses can hurt integrity.

Problem Statement

A classifier used on Instagram Reels has 95% true positive rate and 95% true negative rate for detecting bad content. The underlying prevalence of actually bad Reels is only 1%. You need to determine the probability that a Reel is actually bad given that the classifier predicted bad.

Given Data

MetricValue
Base rate of actually bad Reels1.0%
True positive rate, P(B^∣B)P(\hat{B}\mid B)P(B^∣B)95.0%
True negative rate, P(G^∣G)P(\hat{G}\mid G)P(G^∣G)95.0%
False positive rate, P(B^∣G)P(\hat{B}\mid G)P(B^∣G)5.0%
Population size for intuition check1,000,000 Reels

Here, BBB means actually bad, GGG means actually good, and B^\hat{B}B^ means predicted bad.

Requirements

  1. Compute the false positive rate from the true negative rate.
  2. Use Bayes' theorem to calculate P(B∣B^)P(B \mid \hat{B})P(B∣B^).
  3. Verify the answer with a confusion-matrix style count using 1,000,000 Reels.
  4. Briefly explain why this result matters for product decisions on Instagram Reels ranking and integrity.

Assumptions

  • The classifier is evaluated on traffic representative of production Reels inventory.
  • The 1% prevalence is stable during the measurement window.
  • Each Reel is treated independently.
  • Ignore downstream effects such as novelty effect, SRM, or CUPED adjustment; this is a pure conditional probability question.