PROVENANCE & QA SPECIFICATION · M-Hue Data · SNAPSHOT 2026-11-29
Deterministic ETL Pipeline, Field Confidence & Zero-PII Gatekeeper
Pipeline Execution Stages & Error Tolerances
Schedule: Weekly Monday 08:00 UTC| Stage | Pipeline Module | Deterministic Transformation | Gate Tolerance | Output Confidence |
|---|---|---|---|---|
| 01 · Acquisition | datasets/common/socrata.py | Paginated SODA 2.1 JSONL fetch with .checkpoint.json offset resume | 0 auth / CAPTCHA bypass | 100% Statutory Origin |
| 02 · Harmonization | datasets/us_hvac/adapters.py | 21-column schema mapping + companion commercial policy join (OR/WA/CA) | Strict enum validation | 99.4%–100% Key Join |
| 03 · Temporal Diff | datasets/us_hvac/storage.py | Append-only SQLite snapshot diff for first_seen_at & trigger_signals | Idempotent UID upsert | Deterministic Window |
| 04 · Zero-PII Gate | datasets/common/pii_guard.py | 5-rule pre-export assertion scanning every row prior to Parquet/CSV write | 0 violations permitted | 100.0% Hard Block |
21-Column Fill-Rate Distribution (N = 26,542)
Measured on Parquet MasterInitializing chart viewport…
Zero-PII Record Sanitization Diff
pii_guard.pybusiness_legal_nameRETAINED
NORTHWEST MECHANICAL & REFRIGERATION LLC
Corporate designator verified (LLC/INC/CORP)
qualifier_person_nameDROPPED
[DROPPED PRIOR TO EXPORT]
Rule 1 & 3: Natural-person surname/given-name blocked
contact_emailDROPPED
[DROPPED PRIOR TO EXPORT]
Rule 2: Any '@' token triggers hard export abort
mailing_streetCOARSENED
Seattle, WA 98101 (City / County / ZIP-5 only)
Rule 4: Street-level address coarsened to municipality
insurance_expiration_dateRETAINED
2027-01-19 | INSURANCE_EXPIRING_60D
Joined from state commercial liability filing
source_urlRETAINED
https://data.wa.gov/resource/m8qx-ubtq.json?...
Rule 5: Mandatory 100% non-null government URI
Upstream State Licensing Registries & Sync Confidence
0 Login Walls · 100% Public Records| State | Statutory Licensing Board | Dataset ID | Verified Rows | Confidence Status | Registry Link |
|---|---|---|---|---|---|
| TX | Texas Dept. of Licensing & Regulation (TDLR) | Socrata 7358-krk7 | 18,396 | 99.8% Live SODA | Endpoint |
| CT | Connecticut Dept. of Consumer Protection (DCP) | Socrata ngch-56tr | 3,214 | 99.6% Live SODA | Endpoint |
| WA | Washington Dept. of Labor & Industries (L&I) | m8qx-ubtq + ciwg-agsx | 2,513 | 99.4% Cross-Joined | Endpoint |
| CO | Colorado Dept. of Regulatory Agencies (DORA) | Socrata 7s5z-vewr | 1,909 | 99.5% Live SODA | Endpoint |
| OR | Oregon Construction Contractors Board (CCB) | Socrata g77e-6bhs | 510 | 99.9% Live SODA | Endpoint |
| CA | California Contractors State License Board (CSLB) | Master + WC CSV | 0 (WAF) | Bulk Adapter Ready | Endpoint |
| FL | Florida Dept. of Business & Professional Regulation | Construction Public CSV | 0 (Turnstile) | Bulk Adapter Ready | Endpoint |
| AZ | Arizona Registrar of Contractors (ROC) | Posting List XLS | 0 (Turnstile) | Bulk Adapter Ready | Endpoint |