How prakhar28singh-creator/skyguard-ai works
SkyGuard combines a Python weather-station anomaly detector with two dashboards. The documented engine workflow runs readings through a five-layer detector, then produces classifications, health estimates, corrected values, explanations, and alerts. The React dashboard is a separate, locally simulated operations console—not a client of the Python engine. Its routes and the IMD weather panel are shown where supported by excerpts; other Python internals and UI data wiring are summarized only at the level documented in the README. <=
Main entry points: anomaly_engine.py Explainable fusion · App.tsx React route hub · imd-weather-panel.tsx IMD weather panel · StationDetail.tsx Stations and details
Components 24
Detection engine
- Anomaly engine
anomaly_engine.py - Physical checks
anomaly_engine.py - Temporal learning
anomaly_engine.py - Spatial checks
anomaly_engine.py - Physics checks
anomaly_engine.py - Explainable fusion
anomaly_engine.py
Analysis outputs
- Root-cause classification
anomaly_engine.py - Health prediction
anomaly_engine.py - Corrected-value estimation
anomaly_engine.py - SHAP-style explanations
shap_explainer.py - Alert delivery
alerts.py
Operations console
- React route hub
skyguard-app/src/App.tsx - Overview and analytics
skyguard-app/src/pages/Overview.tsx - Network and edge nodes
skyguard-app/src/pages/Network.tsx - Stations and details
skyguard-app/src/pages/StationDetail.tsx - Anomalies and details
skyguard-app/src/pages/Anomalies.tsx - Operations workflows
skyguard-app/src/pages/Maintenance.tsx - Simulated dashboard data
skyguard-app/src/lib/mock-data.ts
IMD weather
- IMD station catalogue
skyguard-app/src/lib/imd-stations.ts - IMD weather panel
skyguard-app/src/components/imd/imd-weather-panel.tsx - IMD weather API client
skyguard-app/src/lib/imd-api.ts
Other components
- AWS stream
- Operator
- IMD weather service
Connections 22
- AWS stream → Anomaly engine: supplies readings
README.md - Anomaly engine → Physical checks: runs layer one
README.md - Physical checks → Temporal learning: then evaluates
README.md - Temporal learning → Spatial checks: then evaluates
README.md - Spatial checks → Physics checks: then evaluates
README.md - Physics checks → Explainable fusion: then fuses
README.md - Explainable fusion → Root-cause classification: classifies cause
README.md - Explainable fusion → Health prediction: estimates health
README.md - Explainable fusion → Corrected-value estimation: estimates corrections
README.md - Explainable fusion → SHAP-style explanations: provides attribution
README.md - Explainable fusion → Alert delivery: raises alerts
README.md - Operator → React route hub: uses dashboard
- React route hub → Overview and analytics: routes to
skyguard-app/src/App.tsx - React route hub → Network and edge nodes: routes to
skyguard-app/src/App.tsx - React route hub → Stations and details: routes to
skyguard-app/src/App.tsx - React route hub → Anomalies and details: routes to
skyguard-app/src/App.tsx - React route hub → Operations workflows: routes to
skyguard-app/src/App.tsx - Stations and details → Simulated dashboard data: generates readings
skyguard-app/src/pages/StationDetail.tsx - Simulated dashboard data → IMD station catalogue: imports catalogue
skyguard-app/src/lib/mock-data.ts - IMD weather panel → IMD station catalogue: searches stations
- IMD weather panel → IMD weather API client: fetches weather
skyguard-app/src/components/imd/imd-weather-panel.tsx - IMD weather API client → IMD weather service: requests data