promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Assertions on AI output, not vibes — step 9 of 9

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.

Last one. The starter has a regression_cases list and a stub classifier that has a known bug — it returns "no" for the input "cancel my account", which should be "yes". Add the missing case to regression_cases so it would catch this exact bug. Run the suite and confirm the output is 2/3 (two pass, one — the new regression case — fails).

Add one entry: input "cancel my account", expected "yes", name "account_cancel".

Expected output:

2/3

full-screen editor opens — close anytime to keep reading.