Stand Up & Math · Activity

The Flagged Essay

HL Only AHL 4.13 · Bayes' Theorem ⏱ 50–55 min 👥 Groups of 3–4 🧮 GDC required

The Scenario

A school's academic integrity committee has deployed an AI-detection tool to analyse student essays. The tool uses two signals: whether the essay is flagged by the detector, and whether it scores low on vocabulary diversity.

Your group is on the committee. An essay has just come in — the detector flagged it, and it scored low on vocabulary diversity. Your job is to figure out: what is the actual probability this essay is AI-assisted?

Work through each phase on the whiteboard. Your teacher will unlock each phase with a code.

1

Reading the Evidence

Priors · Likelihoods · Conditional probability from a table
🔓
📋 School Database — 1000 essays reviewed last semester
AI-assisted Human-written Total
Flagged by detector 153 82 235
Not flagged 27 738 765
Total 180 820 1000
Task 1a
Prior probabilities

From the table, find the probability that a randomly selected essay is AI-assisted, and the probability that it is human-written. Write these as decimals on your board. These are called the prior probabilities — our belief about the essay before any detector result is known.

Task 1b
Likelihoods — how the detector behaves

Using the table, find all four of the following conditional probabilities:

  • \( P(\text{Flagged} \mid \text{AI-assisted}) \)
  • \( P(\text{Flagged} \mid \text{Human-written}) \)
  • \( P(\text{Not flagged} \mid \text{AI-assisted}) \)
  • \( P(\text{Not flagged} \mid \text{Human-written}) \)

These are called likelihoods. They tell us how probable each detector outcome is, given the true origin of the essay.

Task 1c
A first instinct

The detector flags an essay. Your group's instinct: what is the probability it is AI-assisted? Write your estimate on the board — you'll revisit it after Phase 2.

🔐 Enter teacher code to unlock Phase 2
2

The Bayes Flip

Law of total probability · Posterior from one signal
🔒
🔒

Complete Phase 1 to unlock

3

Second Signal — Sequential Update

Posterior becomes prior · Bayes with three events
🔒
🔒

Complete Phase 2 to unlock

4

The Threshold — How Sensitive Is the Model?

Posterior as a function of the prior · Numerical solution
🔒
🔒

Complete Phase 3 to unlock

Activity Complete!

You've worked through all four phases of The Flagged Essay.
Well done — get ready for the class consolidation.