Personal projects / Output formats
Specify an output contract for book donation sorting list
Make a private list of eligible titles and items for manual review readable by a person and easy for later steps to validate.
Specify the unit of work
The output is a private list of eligible titles and items for manual review. Define what counts as a record and which source identifier or locator identifies it. Keep extracted values, human decisions, and proposed changes in separate fields. Where an item can enter more than one draft, include the relevant scope or version so it has a stable identity within the handoff.
Suggested record fields: source locator, original value, proposed value, review status, question for the donation coordinator.Make absence explicit
Create fields for edition, format, visible condition, and the applicable recipient rule. Use an explicit status for missing, conflicting, or unreadable evidence. Give the reviewer the source locator and a brief explanation when a field needs attention. A schema can enforce the presence and type of a field in a compatible host, while verifying the value against its source remains a separate task.
Test a record that looks valid
Include an output that parses successfully even though a good-condition book falls outside the recipient’s accepted formats. Ask the donation coordinator to check the exact edition and rule, then keep the handling decision for the organizer. Adjust the data contract if the reviewer has to infer which input was used or which part remains unresolved. Keep a human-readable example beside the machine-readable format to show exactly how a deferred item should appear.
Worked case
A hardcover meets the recipient’s condition rules, while the guidelines also exclude a certain edition format. Verify both facts on the exact edition and leave the handling decision to the organizer.