Rubric
Contents — domains, guide and mocks

Bias, fairness and transparency

CCAR-P 5.512 min read · checked 21 September 2026

Task statementAddress ethical AI considerations (bias, fairness, transparency)

Three questions, three kinds of evidence

Ethical AI reviewfor systems that affect people
  • Biasdoes the output shift by group? → test
  • Fairnesswhat outcome is fair here? → decide
  • Transparencywho knows what AI did? → disclose
  • Accountabilitywho owns the decision? → name
Bias is measured, fairness is decided and documented, transparency is delivered to the people affected. Each needs its own artefact.

Bias: a known property you must measure

Language models learn from human-written text, so they can reproduce patterns in it. Anthropic studied this directly: researchers generated prompts for 70 decision scenarios — the kinds of yes/no decisions a business or government might make about a person — and systematically varied demographic details within each one. Without interventions, they found patterns of both positive and negative discrimination in select settings. They also found that careful prompt engineering could significantly reduce both. And they were explicit that they do not endorse or permit using language models to make automated decisions for the high-risk use cases they studied.

Two lessons follow for architects. First, bias is not hypothetical, and it can run in either direction — favouring a group is also a distortion. Second, mitigations work but must be verified: a prompt that says “be fair” is a hypothesis until you have measured its effect on your own cases.

Counterfactual testing

  1. Real case setrepresentative, reviewed inputs
  2. Make variantschange only name, age, gender…
  3. Run each many timessame prompt, same model
  4. Compare outcomesgaps by group, with counts

Gap found → change prompt or design, then re-test

Hold everything constant except one attribute. Any systematic gap between the paired results is evidence of bias that the design must address.
A minimal counterfactual check (sketch)python
import itertools

NAMES = {"group_a": ["Emily Walsh"], "group_b": ["Lakisha Brown"]}
AGES = [29, 61]

def decide(case_text: str) -> str:
    r = client.messages.create(
        model=MODEL, max_tokens=20,
        messages=[{"role": "user", "content": PROMPT + case_text}],
    )
    return r.content[0].text.strip()   # e.g. "YES" or "NO"

results = []
for case in CASES:                     # real, reviewed application texts
    for (group, names), age in itertools.product(NAMES.items(), AGES):
        for name in names:
            variant = case.format(name=name, age=age)
            for _ in range(5):         # repeat: outputs can vary
                results.append((group, age, decide(variant)))

# Then compare approval rates per group and age, with counts.

Fairness: a decision you make and document

Bias is something you measure; fairness is something you define for the use case. There is no single technical definition that fits everything. For a loan pre-screen, fairness may mean that equally qualified applicants get equal recommendations regardless of group. For a patient-letter generator, it may mean that reading level and tone are equally clear for every patient. For a retailer’s promotions, it may mean no group is systematically shown worse prices. The architect’s job is to get the business owner to state the definition, turn it into measurable checks, and record the decision and its trade-offs (communicating trade-offs is covered in 6.2).

Use caseWhat “fair” might mean hereHow to check it
Loan pre-screenEqual recommendations for equally qualified applicantsCounterfactual pairs; approval rates by group
CV screeningSkills drive the shortlist, not names or gapsSwapped-name variants; reviewer audit
Patient lettersEqually clear and respectful for all patientsReadability and tone checks across groups
Benefits enquiriesSame accuracy for every language and regionEvaluation set sliced by language and region

Transparency: who is told what

Transparency operates at three levels. Disclosure tells people an AI is involved: Anthropic’s Usage Policy requires consumer-facing chatbots and agents to disclose that users are interacting with AI rather than a human, at a minimum at the start of each chat session, and for high-risk use cases requires disclosure that AI assisted with the output. Explanation tells people how an outcome was reached: GDPR requires meaningful information about the logic involved in automated decision-making covered by Article 22, and gives people ways to contest. Traceability lets reviewers and auditors reconstruct what happened: which inputs, which prompt version, which sources, which human signed off.

Traceability is where design choices pay off. Asking Claude to cite the source passage behind each claim — a technique from the hallucination guidance — doubles as an explanation mechanism, because every statement points back to evidence a person can read. Logging the prompt version and model alongside each decision means a complaint months later can be investigated rather than guessed at.

Ethics review of a benefits-letter assistant

  • Fails: Letters say AI assisted in draftingno disclosure
  • Passes: Each statement cites the case record
  • Missing: Accuracy tested per language offered
  • Passes: Caseworker approves every letter
  • Check: Citizens told how to contestburied in footer
  • Missing: Prompt and model version logged
The model behaves well in testing, but three items fail on transparency and testing. Those are design gaps, not model gaps.

Traps the wrong answers are built from

Tempting but wrongDo this instead
Removing protected attributes and declaring the system unbiased.Test outcomes with counterfactual variants; proxies such as names and postcodes carry the same signal.
Adding “be fair and unbiased” to the prompt and moving on.Treat prompt mitigations as hypotheses and measure their effect on your own case set.
Letting the model make automated high-risk decisions because tests looked fair.Keep a qualified human accountable; Anthropic does not endorse automated decisions in these use cases.
Hiding the AI’s role to make the experience feel more personal.Disclose AI involvement at the start of sessions and in high-risk outputs, as the Usage Policy requires.
Measuring only average accuracy.Slice results by group, language and region so a gap is not hidden by a good average.

You should now be able to

  • Explain how bias arises in language models and why it can favour as well as disfavour groups.
  • Design counterfactual tests that detect bias in decisions about people.
  • Work with business owners to define fairness for a use case and turn it into measurable checks.
  • Apply disclosure, explanation and traceability requirements, including Usage Policy disclosure rules and GDPR transparency obligations.
  • Integrate fairness checks into the evaluation suite so changes are re-tested.

Practice questions

Original questions written for this lesson, in the exam’s style. Answer first, then open the reasoning — every option is explained, including why the wrong ones are tempting.

  1. Question 1

    A recruitment firm uses Claude to rank CVs for a shortlist. To avoid bias, the team removes the gender and date-of-birth fields before sending CVs to the model.

    What is the main weakness of this approach?

    1. AIt is unnecessary, because Claude is trained not to be biased.
    2. BNames, schools and career gaps still let the model infer those attributes.
    3. CRemoving fields breaks GDPR data minimisation requirements.
    4. DIt makes the model’s rankings less consistent between runs.
    Show answer and reasoning
    1. AIncorrect. Anthropic’s own research found discrimination patterns without interventions, so testing is still needed.
    2. BCorrect. Proxies carry the same signal; only outcome testing with counterfactual variants shows whether bias remains.
    3. CIncorrect. Minimisation encourages sending less data; removing fields supports it rather than breaking it.
    4. DIncorrect. Run-to-run variation is unrelated to removing these fields.
  2. Question 2

    A retailer launches a Claude-powered shopping assistant on its website. Marketing wants it to introduce itself as “Sam from our style team” without mentioning AI, to feel more personal.

    What should the architect advise?

    1. AAllow it, since shopping advice is not a high-risk use case.
    2. BAllow it if the privacy policy mentions AI somewhere on the site.
    3. CKeep the persona but disclose it is AI at the start of each session.
    4. DLet customers ask whether they are talking to a human if they wish.
    Show answer and reasoning
    1. AIncorrect. The disclosure requirement for consumer-facing chatbots is separate from the high-risk list.
    2. BIncorrect. A distant policy mention is not disclosure at the start of the chat session.
    3. CCorrect. The Usage Policy requires consumer-facing chatbots to disclose AI interaction, at minimum at session start.
    4. DIncorrect. Disclosure is proactive; relying on the user to ask does not meet it.
  3. Question 3

    An insurer is preparing to launch a Claude-assisted claims triage tool. Leadership asks which activities would give credible evidence that the tool is fair.

    Which two activities provide the strongest evidence? (Select 2.)

    1. ARun counterfactual variants of real claims that change only personal details.
    2. BReport outcome metrics sliced by group, with counts, on a representative set.
    3. CAdd a system-prompt line instructing the model to treat all claimants equally.
    4. DConfirm the model vendor has published a responsible-AI statement.
    5. EShow that overall triage accuracy is above 95% on the test set.
    Show answer and reasoning
    1. ACorrect. Holding everything else constant isolates whether the attribute changes the outcome.
    2. BCorrect. Group-sliced results reveal gaps that an overall average would hide.
    3. CIncorrect. A reasonable mitigation, but an instruction is not evidence that it worked.
    4. DIncorrect. Vendor commitments are useful context but say nothing about your specific system’s outcomes.
    5. EIncorrect. High average accuracy can coexist with a large gap for one group.

Sources

Drafted with AI assistance and checked against the sources above; expert review is in progress. Spotted an error? Tell us and it gets fixed, dated and listed on how this is written.