Right Shape, Wrong Number: Structured Outputs, Measured
120 invoices with deliberate traps, four ways to ask for JSON and three schema designs, 1,680 records graded field by field on Claude Haiku and Sonnet. The models read every value correctly; every error came from the schema.
- Python
- Claude
- Structured outputs
- JSON Schema


