CertPrep
Domain 4 · 10% of the exam

Eval, Testing, and Debugging

Building evaluations that measure a stated quality goal: golden sets, regression tests, behavioral checks and LLM-as-judge calibrated against human labels; and diagnosing failures from traces (hallucination, refusal, under-acting, context loss, format drift) to the integration layer or the model output.

  1. 4.1Designing Evaluations That Measure the GoalBuild evaluations that measure the stated quality goal: a representative golden set with trusted expected outputs, code-based graders wherever correctness can be checked, LLM judges with specific rubrics calibrated against human labels, behavioral checks for required and forbidden behavior, and metrics that match the cost of each kind of error.
  2. 4.2Diagnosing Failure Modes from TracesRead a trace or reproduction, name the failure mode (hallucination, refusal, under-acting, context loss, format drift, inconsistent output), work out whether it starts in the integration layer or in the model's output, and fix the cause rather than the symptom.