Skip to content

CCAR-P · Domain 4: Evaluation, Testing, and Optimization · 17% of the exam

Task 4.3: LLM-as-Judge Design and Bias

Fixing a model-graded or rubric evaluation that disagrees with human review by finding the bias behind it (position, verbosity, self-preference, judge drift).

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Anthropic documentation page that proves it.

Question 1 · choose 1

A claims-handling agent is graded by one LLM judge with this configuration:grader: type: llm_judge prompt: | Rate the reply from 1 to 10 for accuracy, policy compliance, completeness and tone. Return one overall score. pass_threshold: 7Spot checks by claims supervisors disagree with the judge on about a third of replies: replies that break policy but sound warm often pass, and correct but curt replies often fail. Which correction does Anthropic's guidance on model-based graders support?

  1. AWrite a clear rubric for each dimension, grade each with its own isolated LLM judge, and calibrate the judges against the supervisors' grades
  2. BKeep one judge for all four dimensions but lengthen its prompt with several example replies and their overall scores
  3. CReplace the judge with a code-based exact-match grader against a reference reply for each claim
  4. DStop the supervisors' spot checks and let a more detailed judge prompt run alone, since the judge already scales
Show the answer and why
  • AWrite a clear rubric for each dimension, grade each with its own isolated LLM judge, and calibrate the judges against the supervisors' grades

    Correct

    The guidance is structured rubrics per dimension, each graded by an isolated judge, calibrated closely with human experts.

  • BKeep one judge for all four dimensions but lengthen its prompt with several example replies and their overall scores

    Incorrect

    The guidance warns against one judge grading every dimension; separate judges per dimension avoid the mixing seen here.

  • CReplace the judge with a code-based exact-match grader against a reference reply for each claim

    Incorrect

    Code-based graders are brittle for open-ended replies, which can be correct in many wordings.

  • DStop the supervisors' spot checks and let a more detailed judge prompt run alone, since the judge already scales

    Incorrect

    LLM judges should be calibrated closely with human experts; human review becomes occasional only once grading is robust.

Model-based graders take careful iteration: calibrate LLM judges closely with human experts, create clear, structured rubrics to grade each dimension of a task, and grade each dimension with an isolated LLM-as-judge rather than one judge for all dimensions. Code-based graders are fast and objective but brittle for valid variations, and once the system is robust, occasional human review is enough.

Question 2 · choose 1

A plugin team scores its database-migration skill with claude plugin eval. One case's llm grader sets focus: trace, and its rubric reads "PASS if, at any point in the session, Claude warns the user that the migration can't be undone." On short sessions the grader agrees with human reviewers. On long sessions it fails every run, while reviewers who read the full transcripts find the warning in each one, about halfway through. What explains the disagreement?

  1. AAn llm judge shown a trace reads only its first 12 and its last 12 messages
  2. BAn llm judge shown a long trace reads a shorter summary of the session in its place
  3. CAn llm grader passes only when all three of the judge's votes come back PASS
  4. DCase files are hidden during a run, so the judge votes without seeing the rubric
Show the answer and why
  • AAn llm judge shown a trace reads only its first 12 and its last 12 messages

    Correct

    A warning halfway through a long session falls outside the messages the judge is shown.

  • BAn llm judge shown a long trace reads a shorter summary of the session in its place

    Incorrect

    The judge is shown messages from the trace itself, the first 12 and the last 12, not a summary.

  • CAn llm grader passes only when all three of the judge's votes come back PASS

    Incorrect

    An llm grader passes when the judge votes PASS in at least two of three votes.

  • DCase files are hidden during a run, so the judge votes without seeing the rubric

    Incorrect

    The case definitions are hidden from the agent under test; the judge votes on the grader's rubric.

In claude plugin eval, an llm grader's focus decides what its judge sees. With focus: trace, the judge is shown the session as JSON, but only its first 12 and its last 12 messages, so behaviour in the middle of a long session never reaches it. The grader passes when the judge votes PASS in at least two of three votes, and the case definitions are hidden from the agent under test, not from the judge.

Practice domain 4 →Practice all domains →