claudio.cool
CCAR-PLessons

CCAR-P · Evaluation, Testing, and Optimization

LLM-as-judge, rubric design and bias correction

⏱ 3 min readDraft

A team compares two versions of its assistant with an LLM-as-judge that reads two answers and picks the better one. The results are odd: version B wins 71% of the cases, but the human reviewers who looked at a sample of 100 cases agree with the judge only 58% of the time. On review, the team notices that the answer placed first wins more often, that longer answers win even when they repeat themselves, and that the judge is the same model that generated version B. Each observation points to a different bias.

A well-designed judge

Before talking about biases, the basics:

  • A rubric with concrete criteria and a scale defined point by point, not “rate the quality from 1 to 10”.
  • One criterion per call when they can be separated (groundedness, completeness, tone), so they don’t blend.
  • Ask for the reasoning before the verdict and an output that is easy to process.
  • A set of human-labelled cases to measure how much the judge agrees with people. That number says whether the judge is useful, not how serious it sounds.

Four biases, four corrections

Bias How it looks Correction
Position bias The answer that appears first (or second) wins regardless of which it is Run each pair twice with the order swapped and count only the consistent verdicts; or grade each answer separately against the rubric
Verbosity bias Longer answers win even though they don’t say more Have the rubric reward information and penalize filler; compare at equal length or include length as a control variable
Self-preference bias The judge prefers outputs from its own model or family Use a judge from a different family than the generator, or several judges; check against the human sample
Judge drift The same answers get different grades over time (the judge model or its prompt changed) Pin the judge version, version the rubric and periodically rerun an anchor set with human labels

The diagnosis comes from the pattern the data shows. If the result changes when the order is swapped, it’s position; if it correlates with length, verbosity; if the favorite is always the same model, self-preference; if the disagreement with people appears gradually over time, drift.

Calibrate with people, and when not to use a judge

  • A sample reviewed by people measures agreement and is repeated whenever the judge, the rubric or the type of traffic changes. When agreement drops, fix the judge before trusting its numbers.
  • Whatever has an exact answer (a date, an amount, valid JSON) is graded with code: a judge there adds noise and cost.

The usual traps

  • Swapping the judge for a larger model without looking at which bias is present.
  • Averaging more runs with the same order: position bias isn’t averaged out, it’s repeated.
  • Writing “don’t be swayed by length” in the prompt: it helps little without controlling for length.
  • Accepting the judge because it “gives convincing explanations”.
  • Leaving the judge unpinned and then comparing numbers from different months.

In the exam

Read the evidence in the scenario: order, length, the same model, or change over time. Each has its own correction, and the one that combines measurement with a human sample is usually best. Discard the options that add more data or more runs without attacking the bias.

Quick question

A practice exam question on this domain. It counts towards your progress.

A telecom operator is testing a new system prompt for its support assistant. The plan, agreed before the test, called for at least 5,000 conversations per arm and a decision based on resolution rate, with cost per conversation and escalations as guardrail metrics.

After two days and 400 conversations per arm, variant B shows a resolution rate three points higher than the current prompt.

B's answers are also about 40% longer, which raises cost per conversation, and a breakdown shows that almost all of the lift comes from billing questions; in technical faults B is slightly worse.

The product sponsor wants to roll B out to everyone this week, ahead of a marketing campaign. The team runs the test with its own experimentation service and dashboards.

What is the best next step?

Practise this domain in a practice exam →