Auto-updated by agents. Human-verified dates in parentheses. Last agent update: 2026-04-15
| Item | Value |
|---|---|
| HEAD | 2922e3a |
| Branch | main |
| Build | Clean |
| Tests | 380 pass, 0 fail |
| VPS | 5.161.84.125 — pdi.service active |
| Live API | https://api.policydatainfrastructure.com |
| Static Site | https://policydatainfrastructure.com (GitHub Pages, not connected to API) |
| PostGIS | 72 counties, 1,652 tracts, 34 variables, 21K+ rows |
| Endpoint | Status | Notes |
|---|---|---|
/health |
200 | Liveness only |
/readyz |
200 | DB connectivity verified |
/v1/policy/geographies?level=county |
200 | 72 WI counties |
/v1/policy/sources |
200 | 9 sources (hardcoded) |
| Package | Coverage |
|---|---|
| pkg/geo | 97.3% |
| pkg/htmlcraft | 91.2% |
| pkg/stats | 88.4% |
| pkg/store | 77.5% |
| pkg/datasource | 67.4% |
| pkg/policy | 66.3% |
| pkg/narrative | 61.2% |
| pkg/gateway | 41.2% |
| pkg/pipeline | 30.4% |
- 13 datasource adapters (ACS, TIGER, CDC PLACES, EPA EJScreen, HRSA, GTFS, WI DPI, HUD CHAS, HMDA, EPA TRI, HUD PIT, USDA Food, BLS LAUS)
- REST API with 11 endpoints (9 functional, 2 stubs: pipeline/run, pipeline/events)
- CORS middleware (configurable origins)
- Pipeline validation gates (ValidateStage, Config.Validate)
- Narrative template engine (3 templates, no LLM dependency)
- VPS deployment with systemd + Caddy + PostGIS
- County explorer with search
- Indicator dashboard with labeled values
- Evidence card gallery (live, not hardcoded)
- Compare tool
- Narrative generation button
- Map visualization
-
GET /v1/policy/variables— indicator metadata catalog (ADR-003) -
GET /v1/policy/policies— policy positions from DB (ADR-002) -
GET /v1/policy/evidence-cards— evidence cards from DB -
GET /v1/policy/analyses— discover available analysis runs - Indicator responses enriched with name/unit/direction
- handleGenerateDeliverable wired to full narrative engine
-
indicator_metaseeded on VPS (may be empty) - Analysis run executed on VPS data
-
indicators_latestauto-refresh (cron or pipeline hook) - Progressive candidate policy positions added
- National-scale data (currently WI-only)
| Grant | Amount | Deadline |
|---|---|---|
| Arnold Ventures | $591K | ~May 2026 (decision) |
| MCF LOI | $40-50K | Jun 3 2026 (49 days) |