Bias mitigation as a delivery requirement, not an afterthought
How to treat AI bias like any other requirement: write it into acceptance criteria, test on representative cases, measure by group, and keep people deciding.
Westerwick5 min read

On this page
Most AI projects treat bias as an ethics conversation that happens after the system works, if at all. By then the data is chosen, the model is built, and changing course is expensive.
We think bias mitigation belongs where every other quality requirement lives: in the acceptance criteria, the test plan and the definition of done. Here is what that looks like in practice.
Why bias gets into systems nobody meant to be biased
The best-known example is still one of the clearest. Reuters reported in 2018 that Amazon had built an experimental tool to rate job applicants, and found it "was not rating candidates for software developer jobs and other technical posts in a gender-neutral way"2. Trained on ten years of past applications, most from men, it "penalized resumes that included the word 'women's'" and "downgraded graduates of two all-women's colleges"2. Amazon said the tool "was never used by Amazon recruiters to evaluate candidates"2.
Nobody set out to build a biased tool. That's the point. The US National Institute of Standards and Technology (NIST) describes three kinds of AI bias, "systemic, computational and statistical, and human-cognitive", and notes that "each of these can occur in the absence of prejudice, partiality, or discriminatory intent"1. Bias arrives through the data, the design and the people, unless someone is checking.
Why this is a requirement in South Africa, not a nice-to-have
South African law already speaks to this, most directly in two places.
POPIA section 71 says a person may not be subject to a decision with legal consequences, or that affects them substantially, "which is based solely on the basis of the automated processing of personal information intended to provide a profile of such person", such as their work performance or creditworthiness6. Where an exception applies, the business must let the person "make representations" and explain "the underlying logic of the automated processing"6.
The Employment Equity Act says "No person may unfairly discriminate, directly or indirectly, against an employee, in any employment policy or practice" on a long list of grounds7. An AI screening tool is an employment practice.
Neither law mentions bias metrics. But if an AI system affects people's jobs, credit or access to services, you need to be able to show how you checked it. For your specific obligations, take legal advice.
Write it into the acceptance criteria
A requirement nobody writes down doesn't get tested. For any AI feature that affects people, we add bias criteria to the user story, alongside functionality and performance. For example:
- Who could be affected, listed explicitly: applicants by gender, language or age group, customers by region, and so on.
- What "fair enough" means for this feature, agreed with the business owner before building.
- Which decisions a person must make, not the system.
NIST is clear that this last part involves judgement: "Human judgment should be employed when deciding on the specific metrics ... and the precise threshold values for those metrics"1. There is no neutral default to fall back on.
Test with representative cases, measured by group
Overall accuracy can hide a problem. A system that is 95% accurate on average can be much worse for one group. NIST recommends that accuracy be paired with "realistic test sets" and that results be broken down, "disaggregation of results for different data segments"1.
In practice:
- Build a test set that looks like your real users, including the groups listed in the acceptance criteria, and the languages and edge cases they bring.
- Report results per group, not just overall.
- Choose the fairness measure deliberately. AWS's documentation on bias metrics warns that different fairness definitions "cannot all be satisfied simultaneously"3. Pick the one that matches the harm you're guarding against, and write down why.
For generative AI features, such as a chatbot or a writing assistant, testing looks different. Amazon Bedrock's model evaluation can score outputs for "responsible AI metrics such as harmfulness and answer refusal"4, including outputs from systems hosted outside AWS4. Those measure harmful content, not unequal outcomes between groups, so for decisions about people you still need your own per-group tests.
"We didn't mean it to be biased" is not a test result.
Don't outsource the responsibility
Vendors publish useful documentation about their models' testing. AWS's service cards, for example, describe intended uses and limitations. But AWS is explicit about where responsibility sits: "Customers are responsible for end-to-end testing of their applications on datasets representative of their use cases"5. It also recommends that where a decision affects someone's rights or access to essential services, "human review should be incorporated into the application workflow where appropriate"5.
That human review has to be real. A person who approves every recommendation without looking isn't oversight, and may not meet POPIA's test of a decision not based solely on automated processing.
Two caveats on standards and tools:
- Frameworks help structure the work. NIST's AI Risk Management Framework and ISO/IEC 42001, which sets requirements for an "Artificial Intelligence Management System"8, give you a management structure. Neither replaces your legal obligations.
- Tooling changes. Amazon SageMaker Clarify, long AWS's main bias-measurement tool, "is no longer open to new customers"3. The method matters more than any one product.
Treat it as ongoing
NIST also warns that "systems in which harmful biases are mitigated are not necessarily fair"1. A test passed at launch isn't a permanent result. Users change, data drifts, and new groups start using the system. Re-run the per-group tests on a schedule, and whenever the model or data changes.
What to do next
- List the AI features that affect people's jobs, money or access, and start there.
- Add bias criteria to their user stories: who could be affected, what fair enough means, and which decisions stay human.
- Build a representative test set and report results per group.
- Make human review substantive, with the time and information to disagree.
- Get legal advice on POPIA and employment law before an AI system influences decisions about people.
Sources
- 1.AI RMF: Trustworthy AI characteristicsNIST AI Risk Management Framework
- 2.Amazon scraps secret AI recruiting tool that showed bias against womenReuters · 10 October 2018
- 3.Measure post-training data and model biasAmazon SageMaker Developer Guide
- 4.Amazon Bedrock Model Evaluation LLM-as-a-judge is now generally availableAWS What's New
- 5.Amazon Nova 2 Lite: AI Service CardAWS AI Service Cards
- 6.Section 71: Automated decision makingPOPIA (Protection of Personal Information Act 4 of 2013)
- 7.Discrimination on arbitrary grounds: what does this mean?Labour Guide South Africa
- 8.ISO/IEC 42001:2023 Artificial intelligence: Management systemISO


