How shirinadan/watts_happening works
Watts Happening is a browser-only dashboard for screening candidate coordination pairings between Dominion Energy South Carolina and Georgia Power projects. A user searches or selects a pairing, then reviews its project details, date and reference-area comparisons, score, map, and ranked list. The local opportunity module builds candidate records from static project data and delegates date, distance, and ranking calculations to the metrics library. The map uses public-area references rather than utility asset coordinates. The Python cost-impact estimator is a separate prototype; sampled code does not show it wired into the dashboard.
Main entry points: App.jsx Dashboard UI · main.jsx React Entry · OpportunityMap.jsx Opportunity Map · opportunities.js Project Pairings
Components 8
Dashboard
- React Entry
frontend/src/main.jsx - Dashboard UI
frontend/src/App.jsx - Opportunity Map
frontend/src/components/OpportunityMap.jsx
Pairing Screening
- Project Pairings
frontend/src/data/opportunities.js - Date And Distance Metrics
frontend/src/lib/opportunityMetrics.js
Impact Prototype
- Cost Impact Estimator
src/impact_estimator.py
Other components
- Dashboard User
- OpenStreetMap Tiles
Connections 6
- Dashboard User → React Entry: opens dashboard
- React Entry → Dashboard UI: renders
- Dashboard UI → Project Pairings: reads pairings
- Project Pairings → Date And Distance Metrics: calculates and ranks
- Dashboard UI → Opportunity Map: renders map
- Opportunity Map → OpenStreetMap Tiles: loads tiles