How artemakulov526/wnba_predictor works
This is a WNBA forecasting and betting-analysis product. Data collection and official injury reporting feed stored team and player game records; trained game and prop models produce matchup probabilities, player projections, and playoff odds. The web app exposes team information and matchup predictions, while separate game- and prop-pick logs preserve pregame views for later grading against results and market lines. The graph preserves README capabilities even where implementation details were not sampled; those branches are connected only where the README or source references support the relationship.
Main entry points: db.py Database access · predict.py Game predictions · props.py Player props · train.py Game model training
Components 24
Data collection
- Team game data
wnba/scraping/basketball_reference.py - Player game logs
wnba/scraping/player_logs.py - Injury reports
wnba/scraping/official_injuries.py - ESPN injuries
wnba/scraping/injuries.py - Closing lines
wnba/scraping/teamrankings.py
Data and storage
- Database access
wnba/db.py - Sports records
wnba/models.py
Forecasting
- Game features
wnba/ml/features.py - Elo ratings
wnba/ml/elo.py - Game model training
wnba/ml/train.py - Game predictions
wnba/ml/predict.py - Player rotation
wnba/ml/rotation.py - Player props
wnba/ml/props.py - Game totals
wnba/ml/totals.py - Playoff odds
wnba/ml/series.py
Tracking and markets
- Market analysis
wnba/ml/market.py - Game pick tracking
wnba/ml/tracking.py - Prop tracking
wnba/ml/props_log.py - Saved lines
wnba/scraping/saved_lines.py
Web app
- FastAPI app
wnba/web/app.py - Team pages
wnba/web/templates
Other components
- Operator
- Sports data sources
- PostgreSQL
Connections 44
- Operator → Team game data: runs ingestion
README.md - Operator → Player game logs: runs ingestion
README.md - Operator → Injury reports: runs ingestion
README.md - Operator → Closing lines: runs ingestion
README.md - Sports data sources → Team game data: provides data
README.md - Sports data sources → Player game logs: provides data
README.md - Sports data sources → Injury reports: provides reports
README.md - Sports data sources → Closing lines: provides lines
README.md - Team game data → Database access: stores records
wnba/scraping/basketball_reference.py - Player game logs → Database access: stores logs
wnba/scraping/player_logs.py - Injury reports → ESPN injuries: supplements with
wnba/scraping/official_injuries.py - Closing lines → Saved lines: saves lines
- Database access → PostgreSQL: connects to
wnba/db.py - Sports records → Database access: uses base
wnba/models.py - Game features → Elo ratings: uses ratings
wnba/ml/features.py - Game model training → Game features: builds features
wnba/ml/train.py - Game model training → Database access: loads data
wnba/ml/train.py - Game model training → Elo ratings: uses ratings
wnba/ml/train.py - Game predictions → Game features: builds features
wnba/ml/predict.py - Game predictions → Elo ratings: uses ratings
wnba/ml/predict.py - Game predictions → Game model training: loads trained model
wnba/ml/predict.py - Game predictions → Database access: loads data
wnba/ml/predict.py - Game predictions → Player rotation: uses availability
wnba/ml/predict.py - Game predictions → Injury reports: reads reports
wnba/ml/predict.py - Player props → Database access: loads logs
wnba/ml/props.py - Player props → Player rotation: uses minutes
wnba/ml/props.py - Player props → Game totals: uses totals
wnba/ml/props.py - Player props → Injury reports: reads reports
wnba/ml/props.py - Playoff odds → Game predictions: uses probabilities
wnba/ml/series.py - Playoff odds → Database access: loads data
wnba/ml/series.py - Market analysis → Game features: uses features
wnba/ml/market.py - Market analysis → Game model training: uses evaluation
wnba/ml/market.py - Market analysis → Closing lines: reads closing lines
wnba/ml/market.py - Game pick tracking → Game predictions: records predictions
wnba/ml/tracking.py - Game pick tracking → Database access: loads results
wnba/ml/tracking.py - Prop tracking → Player props: records projections
wnba/ml/props_log.py - Prop tracking → Game pick tracking: uses tracking
wnba/ml/props_log.py - Prop tracking → Database access: loads data
wnba/ml/props_log.py - Saved lines → Database access: uses database
wnba/scraping/saved_lines.py - Saved lines → Prop tracking: updates prop lines
wnba/scraping/saved_lines.py - Operator → FastAPI app: uses app
README.md - FastAPI app → Game predictions: requests prediction
wnba/web/app.py - FastAPI app → Database access: queries records
wnba/web/app.py - FastAPI app → Team pages: renders pages
wnba/web/app.py