part 7 · sources checked 2026-11-22
data pipeline and data quality
This module shows how a collection system turns raw fetches into records that a reader can trust, and how it withdraws bad data.
purpose
A fetch that succeeds can still give a wrong record. A copy can count two times, a deferral can look like a failure, and a refused source can look quiet. A pipeline that shows each failure lets you trust a chart, find the cause of a bad row, and withdraw the row with its evidence.
objectives
- Design a record model that stores events, keeps an append-only history, and stores a value that nobody measured as null.
- Choose a dedupe key for an item, and find the item classes that the key merges or splits by mistake.
- Select an ack policy for each queue class, and give the reason for the choice.
- Define the states of an item in a pipeline, and keep a deferred item apart from a failed item.
- Write validity checks for extracted data: size, count, structure, type, and vocabulary.
- Withdraw bad rows with a quarantine stamp and a predicate that reads stored evidence.
- Identify three sources of poisoned data, and name the check that finds each source.
lessons
3 of 9 published
a dim title is not yet published
- L01 the record model: events, history, and absence
- L02 dedupe keys and idempotent ingest (not yet published)
- L03 queues, acknowledgments, and item states (not yet published)
- L04 validity checks on extracted data
- L05 repair and data poisoning
- L06 data contracts and schema versions (not yet published)
- L07 the extraction regression suite and selector drift (not yet published)
- L08 trace a bad record back to its capture (not yet published)
- L09 near-duplicate records across sources (not yet published)