Module
Module 4 of 6Lesson 1 of 2~18 min

Choose a grading method per criterion

Code, human review or a model judge: how to choose the way each criterion of an AI feature gets graded. The choice shapes the cost, speed and reliability of your evals, and it is a concrete conversation to have with engineers before they build the grading pipeline.

Lesson objective

By the end of this lesson, you will be able to choose, for each criterion, between code-based grading, human grading and an LLM judge, and to justify the choice by the nature of the criterion, cost, speed and reliability.

Topics covered

  • grading methods
  • automated grading
  • human evaluation
  • LLM as a judge
  • grading rubric

Where it fits

Grade the answers

How do you grade each criterion reliably, and when can you trust an LLM judge?

Lessons in this module

  1. Choose a grading method per criterion (this lesson)
  2. Design and calibrate an LLM judge

What you will learn in the course

This lesson is part of the course Evaluate an AI feature: test sets, metrics and LLM judges

  • Turn an AI feature's goal into specific, measurable, achievable and relevant success criteria, taking error severity into account.
  • Build a representative test set from real traffic, edge cases and adversarial cases, and justify its composition.
  • Label the test set with a guide, measure inter-annotator agreement, version it and protect it from overfitting.
  • Choose, for each criterion, a grading method (code, human, LLM judge) and justify the trade-off between cost, speed and reliability.
  • Design an LLM judge (rubric, format, different model), identify its biases and calibrate it against human grades.
  • Choose and interpret the right metrics for a classification and for a RAG system, and infer which stage to fix.
  • Define the regression rule, how offline and online evaluations fit together, and release thresholds set before seeing results.