Single-screen ops engine that forecasts 90-day staffing coverage gaps and credential risk by state.
StateScope turns a staff roster + demand forecast into decision-ready outputs:
- Coverage gaps by state for the next 90 days.
- License, DEA, NPI, and certification expiry risk.
- An issue list with operational reasons and next steps.
- A recommended action engine with evidence and exports.
No build step is required. Open the app directly:
open index.htmlOptional: serve locally (any static server works):
python3 -m http.server 8000Then open http://localhost:8000.
You upload two CSVs: Roster and Demand.
Each row is a provider.
Required (any of these header variants are accepted):
provider namerolestates licensed(pipe/comma/semicolon separated)license expiry dateDEA expiry dateNPIspecialtycertificationsavailability(0.0–1.5 or 0–100%)
Example headers:
provider name,role,states licensed,license expiry date,DEA expiry date,NPI,specialty,certifications,availability
Each row is a forecast entry.
Required:
stateorstate codedateorweek_startdemandorvisits
Example headers:
state,date,demand
- Coverage gap: demand exceeds licensed supply.
- Gap weeks: number of weeks with any gap in the 90‑day horizon.
- Peak gap: largest gap in a given state.
- Time to impact: exact date plus days until a gap or expiry.
- Verification: live NPI Registry lookup on demand.
- Parses roster + demand CSVs (handles quoted values, commas, and flexible headers).
- Aggregates demand by state + date.
- Calculates licensed supply based on state eligibility and license validity.
- Generates coverage cards, risk radar, issue list, and evidence drawer.
- Exports coverage and risk reports (CSV) and a 1‑page PDF brief.
Use the built‑in buttons or local files:
data/sample_roster.csvdata/sample_demand.csvdata/complex_roster.csvdata/complex_demand.csv
- Coverage gaps CSV: state, next gap, max gap, peak demand/supply.
- Risk report CSV: provider, issue, severity, verification state.
- Risk brief PDF: top 5 gaps and top 5 expiries with a footer timestamp.
↑ / ↓navigate Issue ListEnteropen EvidenceSpaceopen Evidence?open shortcuts modalEscclose Evidence or modal
Stored in docs/screenshots in timestamp order.
MIT