01 // THE CHALLENGE
Ghost Networks & Decayed Healthcare Provider Directories
Over 52% of provider directory records in the national NPPES registry contain erroneous clinic locations, disconnected telephone numbers, or inactive state licenses. Under the federal No Surprises Act, insurers face regulatory fines up to $10,000 per violation for inaccurate provider directories, while manual human audit takes 18 to 25 minutes per record.
Core Bottlenecks
02 // CAPABILITIES & WORKFLOW
Multi-Source Cross-Verification & Reviewer Triage
An automated validation control plane that reconciles provider records against CMS NPI Registry v2.1, Google Places, and state medical boards, computing calibrated field-level confidence scores with automated outreach drafting.

Multi-Source Cross-Verification & Reviewer Triage
Reviewer triage console displaying field-level confidence scores, evidence diffs, reason codes, and automated provider outreach drafts
Multi-Source Cross-Verification & Reviewer Triage
Reviewer triage console displaying field-level confidence scores, evidence diffs, reason codes, and automated provider outreach drafts
Multi-Source Consensus Engine
Cross-checks provider names, phone numbers, clinic addresses, and licenses across 5 official sources.
Zero-Copy DuckDB Queries
Mounts 8GB+ NPPES monthly CSV dumps via SQL views with sub-second predicate pushdown query execution.
Reviewer Triage & Outreach Console
Displays evidence diffs, calibrated confidence scores, and automated provider verification drafts.
03 // SYSTEM BLUEPRINT
Multi-Authority Data Pipeline & Control Plane
Decoupled architecture combining an asynchronous FastAPI control plane, zero-copy DuckDB SQL views, concurrent registry extractors, and a static reviewer triage console.
Execution Flow Sequence
DuckDB Ingestion Engine
Zero WriteZero-copy SQL views over 8GB+ NPPES monthly CSV dumps with sub-second queries
Multi-Source Verification Workers
Rate-LimitedConcurrent CMS API, state medical board scrapers, and Google Places cross-referencing
Consensus & Reviewer Console
Explainable JSONWeighted confidence scoring engine, evidence diffs, and reviewer triage UI
04 // THE HARD PROBLEMS
Deterministic Entity Resolution & Zero-Copy 8GB CSV Ingestion
Fuzzy Multi-Registry Reconciliation & Sub-Second Ingestion of 8GB+ NPPES Datasets
Provider records exhibit extreme noise: medical suites ('Ste 402' vs 'Suite 4-B'), physician names with trailing academic credentials ('Dr. Jane Smith MD PhD' vs 'Jane A. Smith'), and contradictory phone numbers across payer files and Google Places. Naive string comparison failed on 42% of valid clinics, while importing the 8GB+ monthly CMS NPIDATA CSV (7.5M+ rows, 330 columns) into PostgreSQL stalled local machines for over 14 minutes.
- ✕Importing raw NPPES CSVs into PostgreSQL/SQLite consumed 12GB+ disk space and took 14+ minutes per monthly refresh
- ✕Levenshtein distance alone yielded false positives between adjacent medical plaza suites sharing street addresses
- ✕Generative LLM agents hallucinated medical license numbers and took 4+ seconds per provider, violating HIPAA audit constraints
Engineered a two-tier solution: (1) Mounted raw NPPES CSVs in DuckDB using read_csv_auto(SAMPLE_SIZE=-1) views, executing SQL predicate pushdown filtering across 15 taxonomy switches in under 1.2s without database writes; (2) Built a deterministic consensus engine combining USPS street abbreviation normalization with token Jaccard similarity (0.88 threshold), Soundex phonetic first-name matching with credential stripping (_NAME_NOISE), and official CMS Luhn check-digit verification (80840 prefix).
05 // ARCHITECTURAL TRADEOFFS
Engineering Decisions & Tradeoffs
Deliberate technical choices balancing deterministic regulatory compliance, query latency, and offline local reproducibility.
Rationale: Loading the national NPPES CSV (7.5M+ rows, 330 columns) into relational tables takes 14+ minutes and consumes 12GB+ disk space. DuckDB mounts the raw CSV directly via read_csv_auto with zero write amplification.
Resulting Impact: Sub-second SQL filtering across 15 primary taxonomy columns with 0MB additional disk storage.
Rationale: Under the No Surprises Act, directory audits require 100% explainable, deterministic evidence provenance. LLMs hallucinate credential numbers and cannot produce cryptographically stable audit trails.
Resulting Impact: Every validation flag emits an auditable, stable code (e.g. PHONE_NPI_GOOGLE_CONFLICT, LICENSE_EXPIRED) with raw source diffs.
Rationale: Validating a batch of 50+ providers across remote government endpoints takes 30 to 60 seconds, which would exceed standard HTTP client timeouts and block browser threads.
Resulting Impact: Non-blocking background validation execution with real-time log streaming and atomic /api/stop process cancellation.
06 // BENCHMARKS & VERIFIED SIGNAL
Measured Operational Outcomes & Efficiency
Audited from empirical validation runs on real NPPES December 2025 records and state board query logs.
Batch Confidence
0%
Avg score across 200 real NPPES records
Fields Validated
0
Name, Phone, Address, Specialty, License
DuckDB Query Time
< 1.2s
Zero-copy CSV view vs DB import
validation throughput
Continuous Benchmarking
* Benchmarked on physical test workstation running Python 3.11 against real CMS NPPES December 2025 datasets.
07 // PROOF & ARTIFACTS
Verified Code, Datasets & Architecture
Open-source codebase, live validation output payloads, and reviewer dashboard harnesses.