Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesPrompt Evaluations: Based on Anthropic MaterialsCode-Graded Classification Evals
A test board: three prompt versions with pass and fail marks per exampleA customer request with name, passport and phone blacked out and the question left visibleA contract redline: “without limitation” struck out, a 12-month cap suggested
Course

Prompt Evaluations: Based on Anthropic Materials

Module 1 · Evaluation Fundamentals
01Evaluations 101: Why Measure Prompts02Manual Evals: Playground, Spreadsheet and Promptfoo
Module 2 · Code-Graded Evals
03Code-Graded Eval: From Zero to Baseline04Code-Graded Classification Evals
Module 3 · PromptFoo: Scalable Evals
05PromptFoo: Introduction and Basic Configuration06PromptFoo: Custom Code Graders
Module 4 · Model-Graded Evals
07Model-Graded Evals: LLM as Judge08Custom LLM Judge: Multi-Metric Scoring
Prompt Evaluations: Based on Anthropic Materials · Lesson 4

Code-Graded Classification Evals

Evaluating a multi-category classification prompt. Set-based grading for multiple correct categories. An improved prompt with few-shot examples (85% to 100% accuracy in the original course) and structured outputs with an enum instead of string parsing.

35 min readUpdated Dec 2, 20263 questions in quizReady prompt included
🔒

Full lesson access

Code-Graded Classification Evals opens after free sign-up: 7 days of full access to every course, no card needed.

Start 7-day free trial
Then Pro: $9/mo or $79/yr

View plans →

One trial lesson is open without sign-up: what a large language model is →

In this lesson
Task: Complaint ClassificationFull Eval PipelineBasic PromptImproved PromptCategories without string parsing: structured outputsPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free