How preetkukreja556-beep/airpower-pm works
AirPower-PM is a synthetic-data aircraft maintenance decision-support prototype. Its documented workflow is fleet monitoring, aircraft risk prediction and explanation, maintenance prioritization, availability planning, and questions to a grounded copilot. The excerpts show the model/data pipeline, API routes, planning and retrieval logic in backend/main.py; the README documents the dashboard workflow and broader capabilities. The frontend source and some implementation sections were not sampled, so frontend/API wiring and unsampled internals are not expanded.
Main entry points: main.py FastAPI and auth · index.html Fleet dashboard · pipeline.py Synthetic data and ML
Components 14
User interface
- Fleet dashboard
backend/static/index.html - FastAPI and auth
backend/main.py
Risk assessment
- Synthetic data and ML
backend/pipeline.py - Fleet risk overview
backend/main.py - Aircraft detail
backend/main.py - Risk factors
backend/main.py - Sensor history
backend/pipeline.py
Maintenance planning
- Maintenance records
backend/main.py - Inspection priority
backend/main.py - Fleet availability
backend/main.py
Copilot
- Knowledge retrieval
backend/main.py - Maintenance copilot
backend/main.py - Anthropic service
Other components
- Maintenance team
Connections 15
- Maintenance team → Fleet dashboard: uses
README.md - Fleet dashboard → FastAPI and auth: requests results
- FastAPI and auth → Synthetic data and ML: trains and predicts
backend/main.py - FastAPI and auth → Fleet risk overview: serves fleet
backend/main.py - FastAPI and auth → Aircraft detail: serves detail
backend/main.py - Aircraft detail → Risk factors: computes factors
backend/main.py - Aircraft detail → Sensor history: generates trends
backend/main.py - FastAPI and auth → Inspection priority: serves plan
backend/main.py - FastAPI and auth → Fleet availability: serves summary
backend/main.py - FastAPI and auth → Maintenance records: serves records
backend/main.py - FastAPI and auth → Maintenance copilot: routes questions
backend/main.py - Maintenance copilot → Inspection priority: reads plan
backend/main.py - Maintenance copilot → Fleet availability: reads status
backend/main.py - Maintenance copilot → Knowledge retrieval: retrieves sources
backend/main.py - Maintenance copilot → Anthropic service: requests answer
backend/main.py