skip to content

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

  1. Design a record model that stores events, keeps an append-only history, and stores a value that nobody measured as null.
  2. Choose a dedupe key for an item, and find the item classes that the key merges or splits by mistake.
  3. Select an ack policy for each queue class, and give the reason for the choice.
  4. Define the states of an item in a pipeline, and keep a deferred item apart from a failed item.
  5. Write validity checks for extracted data: size, count, structure, type, and vocabulary.
  6. Withdraw bad rows with a quarantine stamp and a predicate that reads stored evidence.
  7. 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

  1. L01 the record model: events, history, and absence
  2. L02 dedupe keys and idempotent ingest (not yet published)
  3. L03 queues, acknowledgments, and item states (not yet published)
  4. L04 validity checks on extracted data
  5. L05 repair and data poisoning
  6. L06 data contracts and schema versions (not yet published)
  7. L07 the extraction regression suite and selector drift (not yet published)
  8. L08 trace a bad record back to its capture (not yet published)
  9. L09 near-duplicate records across sources (not yet published)