How omarizagaren/football-physician works
The repository is a Django football-player injury management and assessment web app. Users register, maintain player profiles and injury histories, request model-based injury-risk estimates, and can submit ACL scans or download a PDF report. The graph preserves those distinct workflows and the prediction feature-extraction layer. Views and prediction internals are only partially sampled, and README is empty, so uncertain wiring is omitted.
Main entry points: views.py Request handlers · models.py Player and injury records · predictions.py Risk prediction workflow · generatePDF.py PDF report generator
Components 15
Web application
- URL routing
fyp/website/urls.py - Request handlers
fyp/website/views.py - Web pages
fyp/website/templates
Player records
- Input forms
fyp/website/forms.py - Player and injury records
fyp/website/models.py - PostgreSQL
Injury assessment
- Risk prediction workflow
fyp/website/predictions.py - Feature preparation
fyp/website/PredictiveModels/InjuryPrediction.py - Trained models
fyp/website/PredictiveModels - Risk guidance
fyp/website/views.py - ACL scan classification
fyp/website/views.py
Assessment outputs
- PDF report generator
fyp/website/generatePDF.py - Risk report
Other components
- User
- Roboflow service
Connections 17
- User → URL routing: requests pages
- URL routing → Request handlers: dispatches
- Request handlers → Web pages: renders
- Request handlers → Input forms: validates input
- Request handlers → Player and injury records: reads and writes
- Player and injury records → PostgreSQL: persists records
- Request handlers → Risk prediction workflow: requests prediction
- Risk prediction workflow → Feature preparation: prepares prediction
- Feature preparation → Trained models: loads and predicts
- Risk prediction workflow → Player and injury records: reads player history
- Request handlers → Risk guidance: selects guidance
- Request handlers → ACL scan classification: handles ACL scan
- ACL scan classification → Roboflow service: classifies image
- Request handlers → PDF report generator: requests report
- PDF report generator → Player and injury records: reads report data
- PDF report generator → Risk report: generates
- Request handlers → Risk report: returns download