🎉 Cyber Week: Pro for $6/month for your first 3 months, or a full year of Pro for $59. Ends Sunday, December 6. See the deal →
← Building with AI APIs
Building with AI APIs · ProLesson 3 of 6 · 10 min

Evals: test your prompts like code

Build a small test set, score it automatically, and know whether a prompt change made things better or worse.

Changing a prompt is like changing code without tests: it fixes the case you were looking at and quietly breaks three others. An eval is a set of test cases you run every time you change a prompt, model or setting, so you can see the effect in numbers.

Build your first eval in an afternoon

  • Collect 20–50 real examples, including the tricky ones: empty input, two languages, sarcasm, missing data.
  • Write the expected result for each, or the rule a good answer must meet.
  • Score automatically where you can (exact match for categories, checks for required fields), and use a rubric for the rest.
  • Run it on every change and compare with the last score before you ship.

Unlock the rest of this lesson with Pro

In this lesson

  • Build your first eval in an afternoon
  • Using AI to grade AI, carefully
  • Hands-on practice with personal feedback from Arvid
  • A quick quiz to check what you learned

Unlock this lesson and every lesson in the Foundations, Advanced and Expert levels and all courses, plus certificates and a monthly allowance of AI practice, for $12/month.

Start free, upgrade anytime

Already have an account? Log in

Evals: test your prompts like code · ArvidAI