3/17
Part 1 of 7 · The eval setLearn and do

Grade with code where you can, a rubric where you can't, and people to check both

Anthropic's eval docs rank the graders. Code-based grading is fastest and most reliable, extremely scalable, but it lacks nuance for judgments that aren't rule-based. A model grader handles those, given a detailed, clear rubric. People are the slowest and the ground truth the other two get checked against.

An order-status answer has facts a program can check against the order record:

record = {"status": "shipped", "arrives": "Nov 21"}
for answer in ("Your order has shipped and arrives Nov 21.",
               "Good news, it's on its way to you!",
               "Shipped. It should arrive Nov 12."):
    print(grade_order(answer, record), "|", answer)
Predict

Which of the three answers pass?

Pick one to see what it prints.
Pick an answer above to see the rest