A fairness gate · American Community Survey · 600,551 people

WARN

15 pass · 9 warn · 0 fail

A model decides who looks like they earn enough. It is wrong about some people far more often than others. This page measures that, holds it to a declared limit, and fails the build when the limit breaks.

Plain language

What a gate is, before any of the numbers.

Teams already refuse to ship code that fails a test. Almost nobody refuses to ship a model that fails a fairness check, because that check usually lives in a document someone wrote once and never opened again.

Continuous integration is a robot that wakes up every time somebody changes the code, runs a list of checks, and either says fine or refuses. A gate is a check with the authority to say no. So I took the fairness limits, wrote them into a file sitting next to the code, and wired them to that same robot. If the model starts treating one group meaningfully worse than another, the build turns red, exactly like a broken test. Nobody can merge past it without editing the limits, and editing the limits leaves a mark in the history that a reviewer has to approve.

The model underneath is doing something ordinary. It reads ten facts from a government survey, things like age, education, hours worked and occupation, and guesses whether that person earns above a threshold. The survey already recorded the real answer, so I can check not only whether the model is right, but who it is wrong about. That second question is the whole project.

Recall
Of the people who genuinely qualify, the share the model actually finds. If a hundred people really do earn above the line and it flags 54, recall is 54%. The other 46 are overlooked.
False positive
The opposite mistake. Somebody flagged who should not have been.
Threshold
The cut-off. The model gives a probability, and I choose the line above which it says yes. Moving that line trades one kind of mistake for the other.
Gap
Just the distance between the best treated group and the worst treated one, on whichever measure is being discussed.
Calibration
Whether the probabilities mean what they say. If it claims 70% for a thousand people, about 700 of them should qualify. Being accurate and being calibrated are not the same thing.

Who it misses

Out of every hundred people who qualify.

A true positive rate is a statistic. Said another way: of a hundred people who genuinely earn above the threshold, this is how many the model fails to find. Each dot is one of those hundred people. The lit ones are overlooked.

Some other race alone

40,106 surveyed

46

overlooked out of every hundred who qualify, which is 3,457 people in this survey year alone.

Asian alone

55,374 surveyed

15

overlooked out of every hundred who qualify. The same model, the same threshold, the same day.

42,517

qualifying people overlooked across every reported group in this one survey year. If a decision hung on this model, that is the size of the room.

The disparity

3.1× MORE LIKELY

Being in the Some other race alone group makes this model 3.1 times more likely to miss you, even when you genuinely qualify.

Accuracy is nearly flat across all of these groups, between 0.77 and 0.84. A model can be equally accurate everywhere and still place its errors on the same people every time. That is why one headline number is never an answer to this question.

True positive gap
0.312
target 0.150, limit 0.350
Base rate gap
0.270
the part the data itself explains
Gap by sex
0.071
same metric, second attribute
AUC
0.888
majority baseline 0.614

In short

Written by a language model. Fact-checked before you saw it.

This audit found that the model misses significantly more true cases among some racial groups than others, with the largest gap being 0.312. The group the model most often overlooks is "Some other race alone," which has the lowest recall of 0.5420. Despite these differences, the overall accuracy stays nearly the same across all racial groups. A potential method to reduce these gaps was tested but not used because it requires knowing each person's race when making predictions. The model’s weaknesses in fairly treating different groups remain unaddressed.
Next The evidence Every check, the intersectional audit, and how certain each number is.