S
Study LibraryPractice Lab

Evaluation Criteria and Grader Design

atomic-noteD4 · 2.6%Section: D4 Evals, Testing & DebuggingUpdated 2026-11-15

Define success before tuning prompts. Evaluate task correctness, safety, latency and cost on representative cases, not a single polished demo.

Blueprint area: D4 - Eval, Testing, and Debugging MOC (official domain weight 2.6%).

Engineering principles

  • Use code-based graders for deterministic contracts: parseable JSON, exact labels, bounds, source IDs and schema invariants.
  • Use human review or rubric-driven model graders for fuzzy criteria such as faithfulness or clarity; calibrate model grading against labeled cases.
  • Build holdout and adversarial sets containing ambiguous, missing, lengthy, multilingual and injection attempts where relevant.
  • Report per-slice metrics and failure severity; global average accuracy can hide dangerous minorities.

Failure modes

  • An LLM judge with no rubric or calibration can be confidently wrong.
  • Using the same fixtures for iterative tuning and final evaluation contaminates the holdout.

Check your understanding

  • ☐ Measure inter-rater agreement or model-human disagreement on a sample.
  • ☐ Check both task accuracy and unacceptable failures.

Regression Testing and Release Gates · Structured Output and Defensive Parsing · Exam Blueprint and Coverage

Evidence and verification

  • Provenance: author-written engineering synthesis aligned to exam guide objectives; this is not a transcript or hidden Skilljar lesson.
  • Primary references:
  • Check currency: model options, pricing, API flags, release-specific behavior and runtime permissions can change after the source was read. See Source Register.