Quality workbench
The quality rules of both companies on six dimensions, scored on the seeded data. Set thresholds and owners, inject a defect at a source and watch it travel, and decide what each gate between the layers does with the rows that fail.
Exercise: Give every rule an owner and a threshold
Kestrel's eight rules have no owner, so nobody acts when they breach, and someone lowered the reserve rule's threshold to 90% to turn a dashboard green. Give each rule an owner who is accountable for its table's information domain (its owner or its steward, not the people who run the systems), and put the thresholds of the rules the board pack reads back to at least 99%.
- Every one of Kestrel's rules has an owner who is the owner or the steward of its table's domain.
- The rules the board pack reads (reserve, cause and policy) have a threshold of at least 99%.
| Rule | Dimension | Table | Score | Threshold | Owner |
|---|---|---|---|---|---|
| A schade has a reported date (meldingsdatum) | Completeness | schades |
92.5% ✕ 3 fail | % |
Nobody |
| A schade's cause is one of Kestrel's codes | Validity | schades |
95.0% ✕ 2 fail | % |
Nobody |
| A reserve is between 0 and 10,000,000 cents | Accuracy | schades |
95.0% ✓ | % |
Nobody |
| A schade is reported within 90 days of the loss | Timeliness | schades |
87.5% ✕ 5 fail | % |
Nobody |
| A schade's policy exists | Consistency | schades |
95.0% ✕ 2 fail | % |
Nobody |
| A customer is recorded once (name and birth date) | Uniqueness | klanten |
93.3% ✕ 2 fail | % |
Nobody |
| An email address has a valid format | Validity | klanten |
93.3% ✕ 2 fail | % |
Nobody |
| A polis ends after it starts | Consistency | polissen |
98.0% ✕ 1 fail | % |
Nobody |
Gates between the layers
The schades table's nightly batch lands in bronze as it arrived; each rule placed at a gate warns, quarantines the rows that fail, or stops the load when it breaches its threshold.
| Rule | Gate and action |
|---|---|
| A schade has a reported date (meldingsdatum) | Silver gate: quarantine |
| A schade's cause is one of Kestrel's codes | Silver gate: quarantine |
| A reserve is between 0 and 10,000,000 cents | Gold gate: quarantine |
| A schade is reported within 90 days of the loss | Silver gate: warn |
| A schade's policy exists | Not at a gate |
- Silver gate: 40 arrive, 35 pass, 5 quarantined, 2 pass with a warning. Quarantined keys: 5, 17, 21, 26, 38.
- Gold gate: 35 arrive, 33 pass, 2 quarantined, 0 pass with a warning. Quarantined keys: 15, 28.
Used in
- Chapter 15 · Data quality 1: measuring it
- Chapter 16 · Data quality 2: acting on it
- Chapter 17 · Data quality 3: gates in the pipeline
- Chapter 21 · Data governance and ownership
- Chapter 26 · The medallion architecture 1: the layers
- Chapter 36 · Controls
- Chapter 41 · Stage 4: Trusted numbers
- Chapter 42 · Stage 5: Who owns what