How steveonw/jubilant-funicular works
PolicyTrace is an evidence-grounded policy and public-sentiment review application. Analysts load a policy and source package, run AI analysis, inspect evidence and verification, review or edit findings, and explicitly approve a leadership brief; an audit log preserves the review trail. The graph reflects the README’s documented capabilities and sampled frontend/backend orchestration. Some subsystem wiring is documented but not shown in the excerpts, so uncertain call edges are omitted.
Main entry points: api.py API Routes · policy_intake.py Source Packaging · federal_register.py Policy Search · response_sources.py Public Comments
Components 23
Policy Intake
- Policy Search
backend/federal_register.py - Source Packaging
backend/policy_intake.py - Policy Freshness
backend/policy_status.py - Public Comments
backend/response_sources.py - Related Reporting
backend/news_sources.py
Analysis
- Policy Interpretation
backend/policy_interpreter.py - Viewpoint Analysis
backend/response_viewpoint_analyst.py - Rush Analysis
backend/rush_mode.py - Evidence Linking
backend/evidence.py
Review and Reporting
- Claim Verification
backend/claim_verifier.py - Human Review
backend/guided_review.py - Selective Reanalysis
backend/selective_reanalysis.py - Leadership Brief
backend/api.py - Evidence Audit Log
backend/api.py
Application
- PolicyTrace UI
frontend/app/app.js - HTTP Application
backend/run_app.py - API Routes
backend/api.py - Analysis Models
backend/models.py
Other components
- Policy Analyst
- Federal Register
- Regulations.gov
- Reporting Sources
- Microsoft Foundry
Connections 25
- Policy Analyst → PolicyTrace UI: uses
- PolicyTrace UI → HTTP Application: HTTP requests
- HTTP Application → API Routes: dispatches
- API Routes → Policy Search: searches policy
- Policy Search → Federal Register: fetches documents
- API Routes → Source Packaging: builds source package
- Source Packaging → Policy Freshness: checks freshness
- Source Packaging → Public Comments: retrieves comments
- Public Comments → Regulations.gov: fetches comments
- Source Packaging → Related Reporting: discovers reporting
- Related Reporting → Reporting Sources: retrieves sources
- API Routes → Policy Interpretation: analyzes policy
- Policy Interpretation → Microsoft Foundry: requests analysis
- API Routes → Viewpoint Analysis: analyzes responses
- Viewpoint Analysis → Microsoft Foundry: requests analysis
- API Routes → Rush Analysis: runs analysis
- Rush Analysis → Microsoft Foundry: requests analysis
- API Routes → Evidence Linking: links evidence
- API Routes → Claim Verification: verifies claims
- Claim Verification → Microsoft Foundry: checks support
- API Routes → Human Review: applies review actions
- API Routes → Selective Reanalysis: refreshes findings
- API Routes → Leadership Brief: builds approved brief
- API Routes → Evidence Audit Log: preserves review trail
- API Routes → Analysis Models: validates analysis data