LLM-as-a-judge uses a language model to score or classify another system’s outputs against a rubric. It scales evaluation across changing agent prompts, models, and data, while complementing code-based checks and human judgment. section 10.3
Two common judging formats are:
- Single-output grading scores one response against a rubric. A reference answer can be included to improve consistency, at the cost of preparing references. section 10.3.1
- Pairwise evaluation compares two responses to the same input. The judge selects A, B, or Tie; aggregated choices can produce win rates. section 10.3.1
Prompt patterns
For a research-paper summary, a judge can return PASS or FAIL and briefly explain whether the answer is accurate and concise. For renewable-energy answers, it can choose A, B, or Tie based on which better meets the request. section 10.3.1








