🗺 Eval and Debug
Eval, Testing, and Debugging is the lightest domain on the exam at 2.6% — roughly one or two items of 53. Budget accordingly: one careful pass over this material buys the score, and more than that is time stolen from Applications and Integration, which is a third of the paper. Study this domain properly for your job, not for the exam.
The idea that unlocks it: a Claude feature is not tested like a function, it is tested like a distribution. You do not assert that output equals a golden string; you assert that every run satisfies invariants — valid schema, required facts present, forbidden content absent, budget respected — and you measure a pass rate across repeated runs rather than a single result. Cheap deterministic checks run first; a model-based grader only judges what code cannot.
Debugging follows the same discipline. Capture a full trace, reproduce the failure by running it many times to get a flake rate, then isolate the layer — prompt, tool, context, or model — by changing exactly one variable at a time. Every fix earns a permanent case in the eval set.
TRACE — the order to work a failure, and the order to build a test suite.
Say it as a sentence: trap it, reproduce it, assert on it, classify it, enshrine it.
Practise this domain with original, exam-style questions.
Start practising free