A fairness gate · American Community Survey · 600,551 people
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
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.
Who it misses
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.
40,106 surveyed
overlooked out of every hundred who qualify, which is 3,457 people in this survey year alone.
55,374 surveyed
overlooked out of every hundred who qualify. The same model, the same threshold, the same day.
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.
In short
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.