LLM-as-Judge
Using a language model to score another model's output against a rubric.
LLM-as-judge is the practice of having a model evaluate output — its own, another model's, or a system's — against stated criteria. It exists because many qualities worth measuring have no assertion: whether copy answers the brief, whether a summary is faithful, whether an explanation is coherent.
It works best under a few constraints.
The rubric should be explicit and itemised, so a verdict is per-claim rather than a global impression, and so a change in the rubric can be tracked as a change.
Code should claim what code can prove. A judge should only be asked about the parts that resist mechanical checking. There is a sharp trap here: an assertion that lives outside the claim it supports cannot fail inside it, so on a broken run the claim is recorded as unproven and silently handed to the judge — buying a model's opinion on something the test had already disproved. The load-bearing assertion must sit inside the claim.
The judge deserves a capable model. Cheaper judges produce notes citing specifics the artifact contradicts, and a note that misquotes its subject is worse than no note.
Judgements are only valid against the inputs that produced them. Change the artifact, the model, the rubric wording, or the criteria set, and the verdict is stale. See Fingerprint and Provenance.
See also5
Hand-picked in the note itself — the neighbours worth reading next.
Evaluation Harness
A repeatable test suite for model behaviour, since prompts and tool descriptions cannot be type-checked.
Agents & Language Models11 connections
Adversarial Review
Reviewing work with an explicit mandate to refute it, from a perspective that did not produce it.
Agents & Language Models9 connections
Assertion
The statement in a test that must hold, and the only part that can actually fail.
Testing & Verification9 connections
Nondeterminism
The property that identical inputs may produce different outputs, and what it costs to test around.
Agents & Language Models17 connections
Multi-Agent Orchestration
Coordinating several model instances on one body of work, each with its own context.
Agents & Language Models10 connections
Related2
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from8
Notes elsewhere in the wiki that reach for this one.
- Adversarial ReviewAgents & Language Models
Reviewing work with an explicit mandate to refute it, from a perspective that did not produce it.
- AssertionTesting & Verification
The statement in a test that must hold, and the only part that can actually fail.
- Evaluation HarnessAgents & Language Models
A repeatable test suite for model behaviour, since prompts and tool descriptions cannot be type-checked.
- FingerprintAgents & Language Models
A hash over everything that determined a result, used to detect when the result has gone stale.
- Hash FunctionSystems & Tooling
A function mapping arbitrary input to a fixed-size digest, used for identity, integrity, and addressing.
- Multi-Agent OrchestrationAgents & Language Models
Coordinating several model instances on one body of work, each with its own context.
- NondeterminismAgents & Language Models
The property that identical inputs may produce different outputs, and what it costs to test around.
- Record and Replay TestingAgents & Language Models
Capturing a real interaction once and replaying it deterministically in later test runs.