Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Evaluating and Scoring Agents

Free · sign in to start and track progress

1 · Foundations of evaluation

  • 1Why evals, and their vocabulary
  • 2Error analysis from traces
  • 3Code-based graders

2 · Scoring that you can trust

  • 4LLM-as-judge

    Exercise answers

    • Answer: Build a Claude Code judge and measure its position bias
    • Answer: Wire a judge into your eve evals
  • 5Calibrating judges
  • 6Rubrics per task
  • 7Statistics, trials and CI gates
CapstoneA full eval suite for your drafting agentReference implementation

Module 2 · Scoring that you can trust · Lesson 4

LLM-as-judge

Grade what code can't, such as redundancy, clarity and grounded reasoning, with a judge model and a rubric designed for one failure mode, while controlling for the judge's known biases.

75 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodeNode.js, pnpm and TypeScriptDurable agents with eveGet an OpenRouter keyLocal models with Ollama

By the end of this lesson you can

  • Decide when a criterion needs a judge, and write a binary, single-failure-mode judge prompt with definitions, examples and a way out
  • Compare pointwise, pairwise and reference-based judging, and choose one for a given question
  • Explain position, verbosity and self-preference bias, and apply a mitigation for each
  • Use eve's t.judge (criteria, typed questions, batches, thresholds) and configure its judge model
  • Build a subscription-friendly judge with Claude Code headless and record it with t.score

On this page

  • A judge is a classifier you build
  • When to reach for a judge
  • Designing the rubric
  • Three ways to judge
  • Judge biases, and what to do about them
  • Worked example: position bias in a pairwise comparison
  • Judges in eve: t.judge
  • Which model judges, and how to run it locally
  • A judge on your Claude subscription
  • Misconceptions and limits
  • How this sets up the next lesson
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01A judge is a classifier you build
  2. 02When to reach for a judge
  3. 03Designing the rubric
  4. 04Three ways to judge
  5. 05Judge biases, and what to do about them
  6. 06Judges in eve: t.judge
  7. 07Misconceptions and limits
  8. 08How this sets up the next lesson
  9. 09Summary

Sources & further reading

  • Judging LLM-as-a-Judge with MT-Bench and Chatbot ArenaPaper · Lianmin Zheng, Wei-Lin Chiang, Ying Sheng et al. · 2023The paper that legitimised LLM judges: strong judges agree with human preferences over 80% of the time, about as often as humans agree with each other. It also names position, verbosity and self-enhancement bias.
  • Large Language Models are not Fair EvaluatorsPaper · Peiyi Wang, Lei Li, Liang Chen et al. · 2023A vivid demonstration of position bias, with balanced position calibration (judge both orders) as a mitigation.
  • LLM Evaluators Recognize and Favor Their Own GenerationsPaper · Arjun Panickssery, Samuel R. Bowman, Shi Feng · 2024Evidence for self-preference bias, and that it grows with a model's ability to recognise its own text. A reason to judge with a different model family.
  • Demystifying evals for AI agentsLab research · Mikaela Grace, Jeremy Hadfield, Rodrigo Olivares, Jiri De Jonghe · Anthropic · 2026Model-based graders: rubrics, natural-language assertions, pairwise and reference-based grading; one isolated judge per dimension; give the judge a way out.
  • eve docs: JudgeDocs · Vercelt.judge forms, the on and state options, thresholds, and how the judge model resolves (default typesafe-ai/jev via AI Gateway).
  • Using LLM-as-a-Judge For Evaluation: A Complete GuideArticle · Hamel Husain · 2024The practitioner's case for binary pass/fail with critiques, written with a principal domain expert. The prompt structure in this lesson follows it.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 9 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks