promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Schema drift and dataset contracts — step 7 of 7

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.

Build the full contract gate: validate each of the 5 records, route clean rows to ok_rows and bad rows to quarantined, and tally every error string in a reasons dict (error → count). Print the counts line, then the reasons dict. The report should show exactly which drift shapes arrived and how often.

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