Study FAQ
How do I build and grade a regression suite for a Claude workflow?
Also asked as 2
- When should Claude evaluations use code, a human rubric, or an LLM grader?
- Which cases should I include when testing Claude workflow changes for regressions?
Answer
Build a versioned suite of realistic cases with expected properties or a review rubric. Give routine requests and edge cases meaningful coverage, including missing evidence, conflicting input, tool errors, policy-sensitive requests, and situations that should escalate. A case can require a supported conclusion and correct escalation behavior while allowing several valid phrasings.
Grade exact rules in code. Examples include schema conformance, valid category and evidence IDs, and an executor audit with a target-state check where applicable to verify that a prohibited action was blocked. Use a human rubric or a calibrated model grader for judgments that need nuance, such as whether a passage supports a claim. Compare model grades with human decisions on representative examples and review disagreements before using the grader as a release gate.
Rerun the suite when prompts, models, retrieval, tools, policies, or orchestration change. Apply the release policy to decide which regressions block a release and which call for review. Feed confirmed incidents back into new cases, record why a retired case was removed, and keep monitoring production for cases the suite does not cover.
Full explanation
Evaluating and Troubleshooting Reliable Claude Systems
Study guide · CCAR-F
Read the full explanation