writing

Where do you draw the line?

Nov 2026

Airport security gets laxer when the queue gets long. The TSA even has a squirrelly-worded name for one version: “Managed Inclusion”, which moved ordinary passengers into lanes with less security — but dogs — to move them through faster.1

In 2018 one passenger, stuck in a queue “3x longer than normal”, noticed that “nobody has to take off their shoes or remove electronics from bags”. Dogs were working the line instead. It was, they wrote, “the fastest I’ve ever been through security”.2 A TSA officer explained: the dogs are “usually only run during peak times”.3

Officials say as much. The morning after the 2018 Super Bowl in Minneapolis, the TSA’s regional account announced a dog team at the airport “to expedite the screening of a record-breaking number of passengers”.4 Seattle-Tacoma airport told one traveller that “often times we’ll move passengers to a line w/ a TSA dog bc those lines move faster”.5 In 2020 the TSA’s own inspector general found that airports “used canine teams for efficiency and reducing passenger wait times at checkpoints rather than for security”.6

On a quiet day it can go the other way. One traveller, alone in an empty security line, was stopped over a karaoke microphone and asked whether they would sing something.7

But really, it’s important to notice that what they’re doing here is choosing the operating point.

Classifiers are scores and lines

Every classifier, whether you’re getting looked up and down at airport security or working on a machine learning model has two core parts. You have a score, and then you have a threshold that you choose to either pull someone aside or let them through. In general, you are the one who decides that threshold. And that gives you a lot of power to control how many people you let through as well as how many people you disrupt needlessly.

This same pattern occurs again and again. One particularly distinctive example comes from safety benchmarks, where you have models acting as safety monitors, scoring items on harmfulness between, say, zero and a hundred. Here, everything that is below a certain threshold score will get accepted and considered benign, and everything above will get flagged, and maybe everything above an even greater threshold will get blocked.

Here are the Claude Opus 5 scores for 1,110 AEGIS 2.0 prompts, you can draw your own threshold on the chart:

Flag at 50 out of 100 or above
Caught 62% of harmful prompts flagged
Wrongly flagged 4% of benign prompts flagged
Source: Claude Opus 5’s scores for 1,110 AEGIS 2.0 prompts under two monitor prompts.

You will always be making a mistake. You just choose which one

No matter how you set the threshold you’ll always be trading off between excessive stop-and-searches and not catching people. Ultimately, you have control which one you care more about based on where you set the line. You can go for recall, which is focusing on whether we catch as much as we can, or the false positive rate: of the innocent people, how many did we pull aside.

Flag at 50 out of 100 or above
Per 1,000 prompts: 314 caught, 192 missed, 18 wrongly flagged
There is no winning, only losing in a different way.

Just try all the options with an ROC curve

If you start plotting recall against the false positive rate, you get something called the ROC curve. The curve itself doesn’t care about the particular threshold you choose, because it sweeps through all the thresholds that are possible. Each axis is a rate within one pile: recall within the harmful prompts, the false positive rate within the benign ones. So it doesn’t care about how frequent a particular harm is; it only cares about whether you are able to discriminate between something which is harmful and something which isn’t.

Flag at 50 out of 100 or above
Recall 62% of harmful prompts flagged
False positive rate 4% of benign prompts flagged
Drag the line to walk across the ROC curve

Wrong flags depend on how rare harm is

This ability to choose the threshold is why you should be incredibly careful whenever someone quotes you a figure around accuracy. I can build a system that catches every single criminal: I just arrest every single person. Easy. That’s 100% recall, and there are no bad consequences to that at all.

Equally, if I say my system never accuses an innocent person, I could just decide to let everyone go free. I get away with a 0% false positive rate, and every criminal walks.

Really, you want something that’s takes this into account. There are certain metrics that will allow you to numerically measure this discrimination ability, such as AUC or AUROC, which stands for the Area Under the Curve. When you think about sweeping across these threshold values, how good is each threshold value at correctly discriminating between the good and the bad items? The ideal curve shape is a line that is perfectly discriminatory. You can clearly separate all harmful things from all not harmful things just at one threshold. Sadly, life is rarely so idyllic. Instead, you have to make some trade-off, and you have to decide what you want to do.

Real deployments look at a very, very small segment of the ROC curve. You don’t want many false positives because, unlike airport security, where you have a very high number of false positives in order to catch the very small percentage of criminals — if they catch any at all — safety monitors and refusal monitors, you don’t want to get it wrong easily.

You can think a bit like an airport agent doing racial profiling. If they are assuming that everyone of a certain race is far more likely to be a criminal, their internal score, irrespective of the underlying truth, will be much higher. And so they’d be more likely to flag you down, give you an extra pat-down, and otherwise, if the more variance that occurs between these individuals, say you had someone who’s less, shall we say, inclined to shortcutting, then they will have a very different opinion.

Flag at 50 out of 100 or above
Recall 62% of harmful prompts flagged
False positive rate 4% of benign prompts flagged
Wrong flags 5% of flags are benign prompts
Per 1,000 prompts: 314 caught, 192 missed, 18 wrongly flagged
Incidence rate does not change our ROC curve; but it does massively change how many flags are wrong

Why this matters

You need to be cautious of the numbers you’re being quoted. A claim of 99% accuracy should have you asking at what false positive rate; if they claim no mistakes, you should have be asking how much they miss.

You can trade them off easily — although not without consequences.

  1. The TSA dropped “Managed Inclusion 2” which was run by behaviour officers and explosive swabs in September 2015. That year the inspector general’s covert tests of its checkpoints had gone so badly that the new administrator, Peter Neffenger, told Congress he was “greatly disturbed by TSA’s failure rate on these tests” (the results themselves are classified). The inspector general had also found Managed Inclusion let “random passengers” into PreCheck “with no assessment of risk”, and that the extra checks meant to make up for it “were often simply not present” (Roth and Neffenger, testimony to the House, 3 November 2015). It kept the version at airports with dog teams (GAO-16-707T, June 2016). Dog screening “continued at some major airports” (CRS R45500). ↩

  2. @Kalyandra on X, 22 May 2018, in a thread of five posts (archived). ↩

  3. u/fritomnky, a self-described TSA officer, on r/tsa, 15 January 2024, replying to a passenger who walked past a dog at Minneapolis–St Paul instead of taking their shoes off (archived). ↩

  4. @TSA_Pacific on X, 5 February 2018 (archived). The account is the TSA’s regional voice for fourteen western states, Minnesota among them; the TSA’s social media page lists it. ↩

  5. @flySEA on X, 14 April 2016 (archived), the airport’s official account, replying to a passenger. Note that the airport can only speak for its checkpoints not for the TSA. ↩

  6. DHS Office of Inspector General, TSA’s Challenges with Passenger Screening Canine Teams, OIG-20-28, 28 April 2020, reporting the TSA’s own 2018 survey of dog handlers. The TSA accepted both of its recommendations (a plan for its dog teams that holds airports to using them as intended, and a yearly check that the dogs can smell current explosives) while saying it “strongly disagrees” with the findings. It promised them by March 2021. The last one was still open in September 2024 and gone from the inspector general’s list of open recommendations by March 2025. ↩

  7. u/OrcinusVienna on r/tsa, 3 January 2024 (archived). ↩