S
Sonny
Text
Grading Model Output with Code-Based Checks — Building with the Claude API
Score model output deterministically with assertions, regexes, schema validation, or exact match, and recognize which tasks admit this cheaper and more reliable grading path. Taught in the course “Bu…