Extraction, ETL and interchange formats 00:00:01 The same receipt arrives twice A delivery truck brings receipt nineteen, revision three. The same truck comes back after a timeout with the identical envelope. If Inez copies every arrival into the sales table, the shop will appear to have sold everything twice. An extraction pipeline turns versioned source records into auditable structured data. Identity and provenance travel with every field through decoding, validation and loading. A compact wire encoding changes how a record is represented, while a database key determines what happens if it is delivered twice. Use a stable document and revision key and preserve the evidence span for each row. A duplicate delivery can then return the existing committed result. A genuine revision four remains a separate correction to evaluate. 00:00:50 Extract two supported rows A connector receives the same revision twice after reconnecting. Keep the document identity with both deliveries. Validate amounts and provenance. changing the interchange encoding must preserve both row contents and missing-value semantics. Use a unique document-and-revision key for the load. The retry finds the same record. A later revision can be processed as a distinct correction. 00:01:16 Load one revision exactly once Structured extraction converts source text into typed fields alongside evidence. For a purchase order, record which line supports the amount and currency. Evaluate both exact field accuracy and correct abstentions. This exposes a model that fills every field plausibly when the source omits the answer. Extract 19.95 and EUR from a receipt, together with the line number for each. Change only the currency line and verify the output changes accordingly. In an extraction pipeline, persist the source identity, transformation version and validated output separately. Make loading idempotent by keying writes to the document revision. Reprocessing a corrected document should update its record and preserve provenance without duplicating the original transaction. Replay document 19 revision 3 twice. A unique source-and-revision key produces one committed revision while retaining two delivery attempts in logs. Log the source region, extracted value, confidence signal and reviewer correction together. Track repeated failure by document layout. A correction can be a useful label after review, and a fixture should stay out of the data used to tune the same model. A reviewer moves 12.50 from tax to total. The pixels were legible, so the case should exercise column association rather than character recognition. Evaluate both the round trip through the encoding and the effect of reprocessing a revision. A pipeline can achieve excellent extraction accuracy and still double-count revenue if the loader treats every retry as new data. 00:02:58 Does the small format round-trip? A compact encoding saves 18 percent of tokens but loses the distinction between null and an empty string. What should gate adoption? The wire format is part of the data contract. Lower cost cannot compensate for changing the meaning of a stored field. Compact interchange formats can help when they preserve the data contract. Test null, empty text, escaping and row order before trading a reliable import for a smaller token count.