LockedIn FDE Training field practice · Free and open
Validate meaning after validating shape
Keep a well-formed model response from becoming an unsupported business fact.
Go to the decisions Looking for runnable work? Start with the local lab ↓The working model
Understand the boundary.
Structured output constrains the format a model returns. Your application still needs to handle refusals and incomplete responses, and check business meaning against the source. A number in the right field can still be the wrong number.
- Decode
Handle completion and refusal
- Validate
Check schema and business rules
- Confirm
Bind the value to its source
A worked example
An assistant extracts a total from a fictional quote. The response contains a valid currency and numeric amount, but the quote includes a discount. Compare the extracted total with the actual source and the calculation rule before presenting it as confirmed.
Make a decision
The source quote says subtotal 200, discount 20, total 180. The model returns {currency: 'USD', total: 200}, matching your schema.
Can the application mark that total confirmed?
Keep your current work.
View your current practice record
# LockedIn FDE practice: Validate meaning after validating shape
---
Public exercise: https://training.lockedinlabs.ai/practice/structured-results
---
Original, fictional practice with authored feedback. This record is a learner copy, not observed tool execution, reviewed competence, an FDE level or a qualification result.
---
Practice state: 0 of 2 decisions compared. Reading copy only; opening this file does not restore choices on the website.
---
Prior reading and assistance beyond the decision notes (self-report): [not recorded]. This snapshot describes the current attempt, not an earlier-attempt history or established unaided performance.
---
## The concept
Structured output constrains the format a model returns. Your application still needs to handle refusals and incomplete responses, and check business meaning against the source. A number in the right field can still be the wrong number.
---
## A worked example
An assistant extracts a total from a fictional quote. The response contains a valid currency and numeric amount, but the quote includes a discount. Compare the extracted total with the actual source and the calculation rule before presenting it as confirmed.
---
## The method
1. Decode: Handle completion and refusal
2. Validate: Check schema and business rules
3. Confirm: Bind the value to its source
---
## Decision 1 — Not compared
The source quote says subtotal 200, discount 20, total 180. The model returns {currency: 'USD', total: 200}, matching your schema.
Can the application mark that total confirmed?
Available responses:
- Yes, because the response satisfies the schema.
- No. Check the source and discount rule; flag the mismatch.
- Ask for three more responses and use the most common number.
Draft choice (not compared): No response selected.
Draft reasoning and help (not compared):
Not recorded.
Authored explanations for this decision are not included. This response has not been compared in the current attempt.
---
The changed decision has not been opened. Its scenario and explanations are not included in this copy.
---
## Work still to do
Continue the decisions and write your next test when ready. Unfinished work has not been filled from the published explanations.
---
## Optional local lab — not recorded as executed
Preserve meaning at handover
45 planned minutes plus setup.
Environment: Python 3.11+ · Standard library
One existing companion runs three local consumers over fictional USD quotes with handwritten checks and Decimal arithmetic. No packages, model, account, HTTP server or network.
Observe: Compare six producer conditions and change only the new representation. Find an added-field rejection and a shape-accepted unit mismatch while preserving the independent expectation.
Receive: A receiver predicts and runs the changed manifest themselves. Producer, consumer and source owners retain the missing status/action cases as unrun until separately observed.
Free walkthrough: https://training.lockedinlabs.ai/training/guides/integration-engineering#a-first-structured-result-receiving-lab
Worksheet: https://training.lockedinlabs.ai/templates/fde-structured-receiving-first.md
Complete offline kit: https://training.lockedinlabs.ai/templates/fde-foundation-structured-results-kit.zip
Extract the kit into its own folder and read START-HERE.md. It includes the worksheet and required teaching programs, not a runtime installer or live source updates.
Optional prepared team agenda (not applied): https://training.lockedinlabs.ai/training/guides?starter=first-structured-receiving#guide-session-title
Team agenda: 75 planned minutes, excluding setup and breaks.
These are next-step instructions, not evidence that I ran the lab or that a receiver participated. Keep actual outputs and assistance in the separate worksheet.
---
## Source for further study
Claude: structured outputs and invalid responses
https://platform.claude.com/docs/en/build-with-claude/structured-outputs
Source checked: 2026-10-10
---
Written notes have not been evaluated by AI or a human reviewer. This download does not submit coursework, save to an account or unlock private training.
Optional local lab / Free without an account
Take the decision into a working lab.
Preserve meaning at handover
- Prepare
- Python 3.11+ · Standard library
One existing companion runs three local consumers over fictional USD quotes with handwritten checks and Decimal arithmetic. No packages, model, account, HTTP server or network.
- Observe
- Compare six producer conditions and change only the new representation. Find an added-field rejection and a shape-accepted unit mismatch while preserving the independent expectation.
- Receive
- A receiver predicts and runs the changed manifest themselves. Producer, consumer and source owners retain the missing status/action cases as unrun until separately observed.
For teams
Build evidence through real work.
Advanced lessons, labs, mentoring and qualification workflows sit behind provisioned internal or licensed seats. Public practice does not unlock them.
Explore the private training pathway