Module 03 Summary
What this module established
Parsing gets you a dict; validation gets you a dict you can rely on. A parser accepts a plausible label outside your allowed set, a malformed id, and a missing field - and the error surfaces later as a lookup that found nothing.
Carry forward
- Retry with the specific error attached, cap the attempts, and have a give-up path. Feedback is what makes attempt two different from attempt one.
- Count parse failures rather than defaulting past them. A rising rate is usually
max_tokensor a model change. - New fields optional; widened enums break OLD readers on NEW data, so deploy readers first.
Before moving on
Move on when your retry feeds back specific errors and gives up cleanly, and you can state which schema changes are safe in which deploy order.
