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.
Reserves entered in cents
A claims-system release reads the reserve field in cents for open claims. 6 rows changed; the rule "A reserve is between 0 and the large-loss limit of 100,000" catches them. Press Play to follow the bad values downstream.
| Rule | Dimension | Table | Score | Threshold | Owner |
|---|---|---|---|---|---|
| A claim is reported on or after its loss date | Validity | claims |
93.3% ✕ 4 fail | % |
Sanne Mulder |
| A claim has a reported date | Completeness | claims |
100.0% ✓ | % |
Sanne Mulder |
| A claim's cause is on the loss-cause list | Validity | claims |
100.0% ✓ | % |
Sanne Mulder |
| A reserve is between 0 and the large-loss limit of 100,000 | Accuracy | claims |
90.0% ✕ 6 fail | % |
Sanne Mulder |
| A claim is reported within 60 days of the loss | Timeliness | claims |
100.0% ✓ | % |
Sanne Mulder |
| Each claim number is used once | Uniqueness | claims |
100.0% ✓ | % |
Sanne Mulder |
| A claim's policy exists | Consistency | claims |
100.0% ✓ | % |
Sanne Mulder |
| A payment is recorded once | Uniqueness | claim_payments |
100.0% ✓ | % |
Agnieszka Lis |
| A customer has an email address | Completeness | customers |
80.0% ✓ | % |
Femke Jansen |
| An email address has a valid format | Validity | customers |
100.0% ✓ | % |
Femke Jansen |
| A policy ends after it starts | Consistency | policies |
100.0% ✓ | % |
Katrin Weber |
Gates between the layers
The claims 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 claim is reported on or after its loss date | Silver gate: warn |
| A claim has a reported date | Silver gate: quarantine |
| A claim's cause is on the loss-cause list | Silver gate: quarantine |
| A reserve is between 0 and the large-loss limit of 100,000 | Gold gate: quarantine |
| A claim is reported within 60 days of the loss | Not at a gate |
| Each claim number is used once | Not at a gate |
| A claim's policy exists | Not at a gate |
- Silver gate: 60 arrive, 60 pass, 0 quarantined, 4 pass with a warning.
- Gold gate: 60 arrive, 54 pass, 6 quarantined, 0 pass with a warning. Quarantined keys: 9, 27, 30, 45, 54, 60.
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