promptdojo_

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

Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

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.