SYS // POLYVERUS

PolyVerus

service loop active•PROTOTYPE•2025•Dec 2025 (EY Techathon Prototype)

Automated healthcare provider directory validator with multi-source consensus scoring, DuckDB CSV querying, and reviewer triage console.

Stack

PythonFastAPIDuckDBQwen2-VL

01 // THE CHALLENGE

Ghost Networks & Decayed Healthcare Provider Directories

Who hurts:Patients Seeking In-Network Care & Healthcare Payer Operations

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

Manual human phone audits cost $18 to $25 per provider record, scaling unsustainably across 100k+ provider networks
Public registries update asynchronously, creating stale data silos that cause surprise billing and delayed patient treatments
Generic LLM verification agents hallucinate medical license credentials and lack HIPAA-compliant deterministic audit trails

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
Live Showcase

Multi-Source Cross-Verification & Reviewer Triage

Reviewer triage console displaying field-level confidence scores, evidence diffs, reason codes, and automated provider outreach drafts

01Consensus Score

Multi-Source Consensus Engine

Cross-checks provider names, phone numbers, clinic addresses, and licenses across 5 official sources.

02read_csv_auto

Zero-Copy DuckDB Queries

Mounts 8GB+ NPPES monthly CSV dumps via SQL views with sub-second predicate pushdown query execution.

03Triage UI

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

1.Query Provider Slice via DuckDB View / Upload Credential PDF
2.Dispatch Concurrent Queries (CMS NPI v2.1, Google Places API, State Portals)
3.Normalize Entities (USPS Abbreviation Mapping & Soundex Phonetic Filter)
4.Compute Weighted Clustered Consensus & Emit Explainable Reason Codes
5.Rank Risk-Prioritized Queue & Generate Deterministic Outreach Drafts

DuckDB Ingestion Engine

Zero Write

Zero-copy SQL views over 8GB+ NPPES monthly CSV dumps with sub-second queries

Multi-Source Verification Workers

Rate-Limited

Concurrent CMS API, state medical board scrapers, and Google Places cross-referencing

Consensus & Reviewer Console

Explainable JSON

Weighted 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.

What Was Tried & Failed
  • ✕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
What Worked & Shipped

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.

Chose: Embedded DuckDB Zero-Copy Views over PostgreSQL / SQLite IngestionoverImporting 8GB+ NPPES monthly dissemination files into relational tables

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.

Chose: Deterministic Weighted Consensus Rules with Stable Reason CodesoverAutonomous Generative AI Agent Verification (OpenAI / Anthropic)

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.

Chose: FastAPI Subprocess Runner with Thread-Safe Status Polling & Log TailoverSynchronous In-Process Execution within the API Handler

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.