Skip to content
About
Main content
Meaning

Data Quality & Validation

How do you check that data is right, when "right" is a claim about the world and not about the bytes?

Who this mechanism is for: a developer who writes code, builds or uses , and knows basic SQL, but has never designed a data-quality programme. You do not need database-internals knowledge. Every technical term is explained the first time it appears, and again in the glossary at the end. Small formulas appear with worked arithmetic, so you can check them yourself.

The story we will follow

Ravi is a data engineer at Freshlane, a grocery-delivery company. Customers order through a mobile app. Three partner supermarkets send Freshlane a daily price-and-stock file. A payment provider settles the money. Every night a pipeline of 14 steps turns raw orders into tables in a data warehouse. From those tables, three things are produced: a finance report (read by the CFO and an auditor), a dashboard (read by about 40 managers) and a recommendation feed (read by the app). Anita is the finance analyst who reads these numbers and has to defend them in meetings.

During one quarter Ravi meets six problems, one at the start of each of From proof to hypothesis, The free tier, Beyond one record, Gates, quarantine, stop-the-line, Deduplication and The reconciliation ladder below. Each problem looks like a bug in code. Each one is actually a structural property of checking data. At the end of each article we go back and solve the problem with that article's mechanisms. What quality can claim closes the story.

This is the main idea of this whole mechanism:

How this mechanism is organized

After that: a summary, hands-on labs, interview questions and a glossary.

One request: do not skip the small calculations. This mechanism quotes such as 10⁻⁴ and false-alarm counts such as "12 a day". The arithmetic is where the surprising conclusions come from.

What do I do, and what does each option cost?

Can I see it myself?

Can I reason about it under questioning?

Trade-offs

The tensions this mechanism takes a position on. Each recurs across mechanisms.

Recurring principles

Ideas this mechanism meets that keep coming back, mechanism after mechanism.

Show all 9 principles