AI, Safety and What Goes WrongLesson 14 of 73

Module 2 · Bias, and how to measure it

What the law actually tests

In this lesson

  • 7 min read
  • 4 reading sections
  • Knowledge check
  • Lesson 5 of 8 in this chapter

This chapter’s goalCompute per-group error rates from a confusion matrix by hand, name which definition of fairness a system enforces and which it therefore gives up, and say whether a given gap can be fixed in the data at all.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch2:45Not available
Full audiobookNot availableNot available
Selection rates, and the ratio the guidelines testMen: 40 hired of 10040Women: 25 hired of 10025Four-fifths of the higherrate (the line)32% of applicants selected25 ÷ 40 = 0.625, below four-fifths. Under the US Uniform Guidelines this generally flags adverseimpact. The ratio alone does not show whether the practice is unlawful.
25 ÷ 40 = 0.625, below four-fifths. Under the US Uniform Guidelines this generally flags adverse impact. The ratio alone does not show whether the practice is unlawful.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

Legal tests are not statistical definitions

Legal systems test something narrower and older, and if you are deploying a system that affects people’s opportunities, the legal test is the one that will be applied to you.

The central distinction in most anti-discrimination law is between two kinds of wrong.

Disparate treatment, or direct discrimination: treating someone worse because of a protected characteristic. Intent, or at least the explicit use of the characteristic, is central. Feeding caste or sex into a hiring model as a variable lands here.

Disparate impact, or indirect discrimination: a neutral rule that in practice disadvantages a protected group, and that cannot be justified as necessary. No intent required. This is the door almost every AI discrimination case walks through, because nobody puts the protected characteristic in the model, and the model reconstructs it anyway.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Rukmini, your AI tutor

How to cite: Addaly (2026) ‘What the law actually tests’, in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/the-four-fifths-rule (Accessed: 27 November 2026).