How dpc5/predictdl works
PredictDL is a Flask-based Deadlock player and match analytics site. A visitor requests a profile or match page; the server obtains cached or upstream data, computes and assembles analytics, and renders a page. Other major branches provide hero browsing, PR leaderboards, and live-match predictions. The graph preserves the indexed core modules, but excerpts do not show every route-to-module call, so some subsystem links are omitted rather than inferred.
Main entry points: server.py Flask routes · cache_storage.py Cache storage · api.py Game API client · live_dashboard.py Live dashboard
Components 21
Web experience
- Flask routes
python/server.py - Page templates
templates - Browser assets
static
Game data
- Game API client
python/api.py - Hero catalog
python/hero_catalog.py - Metadata budget
python/metadata_budget.py
Player analytics
- PR rating
python/player_rating.py - Player snapshot
python/player_snapshot.py - Player insights
python/player_insights.py - Player percentiles
python/player_percentiles.py - Share card renderer
python/capture_card.py - Official leaderboard
python/official_leaderboard.py
Live features
- Live dashboard
python/live_dashboard.py - Live prediction
python/live_prediction.py - Live player queue
python/live_index_queue.py
Local state
- Cache storage
python/cache_storage.py - Player cache
data - Match cache
data
Other components
- Visitor
- Deadlock API
- Steam API
Connections 21
- Visitor → Flask routes: requests pages
README.md - Flask routes → Page templates: renders pages
README.md - Flask routes → Browser assets: serves assets
README.md - Game API client → Deadlock API: fetches game data
README.md - Game API client → Steam API: fetches Steam data
README.md - Game API client → Cache storage: uses cache
python/api.py - Cache storage → Player cache: reads and writes
python/cache_storage.py - Cache storage → Match cache: reads and writes
python/cache_storage.py - Live dashboard → Live prediction: computes estimates
python/live_dashboard.py - Live dashboard → Cache storage: reads profiles
python/live_dashboard.py - Live dashboard → Hero catalog: looks up heroes
python/live_dashboard.py - Share card renderer → Player snapshot: builds snapshot
python/capture_card.py - PR rating → Cache storage: loads cohorts
python/player_rating.py - Official leaderboard → Cache storage: stores fallback
python/official_leaderboard.py - Live player queue → Cache storage: persists queue
python/live_index_queue.py - Flask routes → Game API client: gets player data
python/server.py - Flask routes → PR rating: computes PR
python/server.py - Flask routes → Player insights: builds insights
python/server.py - Flask routes → Player percentiles: builds percentiles
python/server.py - Flask routes → Live dashboard: serves live board
python/server.py - Flask routes → Official leaderboard: serves rankings
python/server.py