Data quality scorecard · scenario
All four at once: version 1 caught it, version 2 caught it.
A fault the checks were built for. The four designed faults together. Version 1 failed fare_completeness, fare_null_anomaly, freshness, source_unique, unique_trips_trip_id and unit_invariant. Version 2 also failed content_duplicates and fare_null_anomaly_v2.
| Trust, version 10/100capped at 40 | Trust, version 20/100capped at 40 | Failed checks6 → 7out of 20 checks in version 1 and 22 in version 2 | Latest arrival age29.0 hat the fixed clock; fails after 12 h |
Main limitation Twenty-six faults on one month of public trip data: ten written directly into the fault code (plus one run with four of them at once) and sixteen written blind in two rounds. The counts describe these faults, not how often the checks would catch faults in production. | |||
Check groups
| Group | Weight | Version 1 | Version 2 |
|---|---|---|---|
| Freshness | 25 | fail | fail |
| Completeness | 25 | fail | fail |
| Uniqueness | 25 | fail | fail |
| Validity | 15 | fail | fail |
| Anomaly | 10 | fail | fail |
Version 1: 0 before the cap, trust 0. Version 2: 0 before the cap, trust 0.
Every check
| Check | Group | Used in | Status |
|---|---|---|---|
content_duplicates | Uniqueness | version 2 only | fail |
daily_reconciliation | Validity | both | pass |
day_volume | Completeness | version 2 only | pass |
fare_completeness | Completeness | both | fail |
historical_freshness | Validity | both | pass |
month_boundary | Validity | both | pass |
nonnegative_units | Validity | both | pass |
not_null_trips_dropoff_zone_id | Validity | both | pass |
not_null_trips_pickup_zone_id | Validity | both | pass |
not_null_trips_trip_date | Validity | both | pass |
not_null_trips_trip_id | Validity | both | pass |
not_null_zones_zone_id | Validity | both | pass |
not_null_zones_zone_name | Validity | both | pass |
relationships_trips_dropoff_zone_id__zone_id__ref_zones_ | Validity | both | pass |
relationships_trips_pickup_zone_id__zone_id__ref_zones_ | Validity | both | pass |
row_identity | Validity | both | pass |
source_unique | Uniqueness | both | fail |
unique_trips_trip_id | Validity | both | fail |
unique_zones_zone_id | Validity | both | pass |
unit_invariant | Validity | both | fail |
freshness | Freshness | both | fail |
fare_null_anomaly | Anomaly | version 1 only | fail |
fare_null_anomaly_v2 | Anomaly | version 2 only | fail |
Anomaly evidence
The detector read 16 days, through January 30. Version 1 flagged January 30; version 2 flagged January 30. On January 30 35.7% of fares were missing, against bounds of 5.1% (version 1) and 2.1% (version 2).
Show every evaluated day
| Day | Missing | Prior median | Bound, v1 | v1 | Bound, v2 | v2 |
|---|---|---|---|---|---|---|
| January 15 | 0.0% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 16 | 0.4% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 17 | 0.0% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 18 | 0.0% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 19 | 0.7% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 20 | 0.0% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 21 | 0.3% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 22 | 0.3% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 23 | 0.0% | 0.1% | 5.1% | pass | 2.1% | pass |
| January 24 | 0.3% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 25 | 0.0% | 0.1% | 5.1% | pass | 2.1% | pass |
| January 26 | 0.0% | 0.1% | 5.1% | pass | 2.1% | pass |
| January 27 | 0.2% | 0.0% | 5.0% | pass | 2.0% | pass |
| January 28 | 0.3% | 0.1% | 5.1% | pass | 2.1% | pass |
| January 29 | 0.0% | 0.1% | 5.1% | pass | 2.1% | pass |
| January 30 | 35.7% | 0.1% | 5.1% | fail | 2.1% | fail |
Downstream exposure
raw_trips → stg_trips → trips → daily_trips. All three descendants inherit the source trust score. This is dependency exposure, not measured usage or business loss. Source owner: Mobility ingestion. Mart owner: Analytics engineering. Example consumer: an operations dashboard. The owners and the consumer are synthetic.
Method and checks
Injected rows
- duplicate_load: 25 rows
- late_partition: 300 rows
- null_spike: 90 rows
- unit_change: 300 rows