← Engineering notes
Responsible AI · Advisory note

Test fairness the way you test every other requirement

If an automated screening or underwriting score shifts when only the applicant’s name or postcode changes, you have a live regulatory exposure, regardless of what your responsible-AI policy says. Here are the matched-pair probes, abstention rules and audit logs we put in place before screening systems go live.

For: HR and talent leaders, compliance, CTOsRelated engagement: AI Reliability Audit, Transform

Why a written fairness policy is not evidence

Automated systems that screen CVs, triage loan applications or rank insurance claims can exhibit demographic bias, run-to-run instability and unwarranted confidence on thin evidence. A high-level ethics charter catches none of those failures. Under the EU AI Act, recruitment and credit-worthiness systems sit in the high-risk tier, and under GDPR individuals have the right to contest solely automated decisions. Regulators and auditors ask for empirical test results showing how the system actually behaves.

Why standard precautions fall short

Most engineering teams rely on one or two surface precautions that leave the underlying bias untouched.

PRACTICEWHAT IT MISSES
Publishing a responsible-AI policyDescribes organisational intent while providing zero evidence about model behaviour
Stripping explicit gender or ethnicity fieldsProxy signals such as names, postcodes, universities and career breaks carry the exact same demographic correlation
Scoring each application in a single passHigh-variance borderline cases are presented to reviewers as definitive rankings
Trusting raw text inside uploaded CVs or formsHidden white-on-white prompt injections inside a PDF can force a top score
Storing only the final scoreCompliance cannot explain or defend a challenged decision months later

Six engineering controls for fair screening

We treat fairness as a testable software property, verified in CI with controlled counterfactual inputs and recorded outputs.

  1. Scrub prompt injections and redact PII before scoring. Parse uploaded documents into clean structured fields and strip identifying markers before the model sees the file.
  2. Decompose scores into explicit rubric weights. Have the model evaluate job-relevant criteria individually with cited evidence, and compute the weighted total in deterministic code.
  3. Run multi-pass stability checks and abstain on disagreement. Score borderline applications across multiple passes; if the variance exceeds your threshold, flag the file for human review instead of guessing.
  4. Run matched-pair counterfactual probes in CI. Take real applications, swap culturally distinctive names, postcodes or schools while holding qualifications constant, and assert that the decision does not move.
  5. Track group selection rates across cohorts. Measure adverse-impact ratios across the applicant pool before launch and on a rolling schedule in production.
  6. Write a self-contained audit record for every decision. Log the rubric breakdown, cited evidence and model version so any contested outcome can be reviewed transparently.

Our recommendation

Run a matched-pair name-swap test against your screening pipeline before launch and on every model or prompt update. Wiring the counterfactual harness takes two days of engineering and answers the very first question a regulator will ask.