Eval, Testing, and Debugging

10% of the CCDV-F exam. Read each answer, then drill this domain.

Drill this domainAll study notes

How do you build an evaluation for a Claude feature?

Define specific, measurable success criteria across the dimensions that matter. Build a task-specific set that mirrors real inputs, including edge cases, and favour many automatically graded cases. Grade with code where possible and with a calibrated LLM judge for open-ended outputs. Run the suite on every prompt or model change, repeating runs when outcomes vary.

Source: Define success and build evaluations

How do you make an LLM-as-judge trustworthy?

Give it a detailed rubric, ask for a specific output such as a label or a 1–5 score, and let it reason before scoring. Then calibrate: grade a human-labelled sample, measure agreement, and refine the rubric until the judge matches people closely enough to rely on at scale.

Source: Tips for LLM-based grading

How do you diagnose a failure from a trace?

First locate the layer. If the tool returned wrong or empty data, the integration code is at fault. If the data was right but the answer wrong, the model output is: hallucination, under-acting, context loss, format drift or inconsistency. For a refusal, read stop_details. Fix the cause, for example grounding instructions, explicit tool direction or structured outputs, rather than patching the symptom with regex or retries.

Source: Reduce hallucinations

Drill this domain