Documenting Models — Cards & Datasheets
P15.fairness-privacy.04 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Fairness Metrics — and Why They Conflict
P15.fairness-privacy.04 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Fairness Metrics — and Why They Conflict
A team built a model to predict which patients were at high risk and needed extra care. It worked well and was widely adopted. Years later, researchers discovered it was steering care away from Black patients — not because it used race, but because it had been trained to predict healthcare cost as a stand-in for healthcare need, and less had historically been spent on Black patients for the same illness. The proxy was in the objective, exactly the failure the first module named. But here is the part this module is about: the people deploying the tool had no way to know. There was no document that said what the model predicted, what it was validated for, which groups it had been checked on, or where it should not be trusted. The model's most important limitation lived only in the heads of the few who built it — and they had moved on.
That is the failure documentation prevents. A model is not just its weights — the numbers it learned; it is a set of claims about what it does and where it works, and if those claims are not written down, every downstream user is guessing. Model cards and datasheets are the artefacts that write them down — short, structured documents that travel with a model and a dataset so the next person inherits the knowledge instead of the blind spot. This module reads one, names the sections that matter, and then has you write one for the biased screener from earlier in the track.
When a model leaves the team that built it, it carries its weights but not its context. The people who deploy it, integrate it, or rely on its output rarely know what data it saw, what it was optimised for, or the conditions under which it was validated. In that vacuum they assume the reasonable thing — that it works for their case — and the assumption is often wrong. The care-risk model failed precisely here: nothing told its users that "risk" meant "predicted cost", so nobody thought to question it.
Why it matters — You cannot hold a model, or its makers, accountable for a claim that was never written down. Documentation converts private knowledge — the trade-offs the team debated, the groups they checked, the uses they never intended — into a public record the next person can read, cite and challenge. Without it, every finding from this pillar evaporates the moment the original team disperses: the fairness gap they measured, the population they trained on, the purpose they scoped all vanish, and the model floats free of the caveats that made it responsible to release. A model card is how a team's honesty about its own model survives contact with the wider world.
This series recalls Privacy — What Aggregation Cannot Hide and Documenting Models — Cards & Datasheets, with two questions from earlier in the track.
Self-check
What do we call a field that names nobody on its own but can single out one person when combined with two or three others?
Self-check
Which document tells a reader how a training dataset was gathered, who is in it and who is missing?
Self-check
In a table, the smallest group of rows sharing the same postcode, age and sex holds three rows. What is the table's k?
Self-check
A voice model was built for audiobook narration. A client wants to use it to imitate bank customers' voices for phone checks. Which card section should already have warned them off?
Self-check
A school publishes counts of pupils with a rare condition per class, hides the one class with 2 pupils, and prints the year total. What should it also do?
Self-check
A tenancy screener's card lists one overall accuracy figure and nothing else, and two groups of applicants differ in how many are good tenants. Which figures would show whether it meets equalized odds?
Self-check
A datasheet for a set of skin images says nine in ten images come from patients with light skin. Which harm should a reader expect from a model trained on it?
Self-check
A team's card gives the intended use and an overall accuracy of 94 %, and leaves the limitations section empty because nothing failed in testing. What is wrong?
Self-check
An analyst says: we removed names, emails and phone numbers, so the patient table is anonymous and safe to share. What did the analyst overlook?
Self-check
A reviewer sees a card reporting a large approval gap between two groups and says the card is bad because it makes the model look unfair. Why is the reviewer wrong?
Practise this lesson's 10 self-checks
One per screen: 10 checked on this page, 0 you reveal and mark yourself. Nothing is recorded.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Now write one. The rung below is a mentor-graded craft exercise: draft the model card for the biased screener as it should have existed before it shipped. There are no hidden tests — a mentor reads your card and grades it on whether it covers the sections that do the work: intended use, out-of-scope use, the per-group metrics from module two, and honest limitations.
Loading exercise…
A scratch console for this page's ideas — ungraded, nothing you run here is recorded.
Scratch console
A scratch console with the scientific stack (pandas, numpy, scikit-learn). Runs on the server — no network, resource-limited and measured.
Output appears here.
Loading your notes...