Ranks Europe's big-five-league clubs by how their players perform at the FIFA World Cup 2026. Static site, rebuilt every ~15 minutes via GitHub Actions.
src/mapping.pybuilds an athlete-id → club map from domestic rosters (?season=2025is required — endpoints are empty otherwise).src/wc_stats.pycollects WC match summaries and accumulates per-player stats, minutes and clean sheets.src/rating.pycomputes a position-aware rating per player (weights insrc/weights.py),src/aggregate.pyrolls clubs up four ways (Total / Average / Per-90 / Best XI).src/build.pywritesweb/standings.json; the page renders it client-side.
python3 -m pip install -r requirements-dev.txt
python3 -m pytest -q # run tests
python3 -m src.build # regenerate web/standings.json (needs network)
python3 -m http.server 8000 --directory web # preview at http://localhost:8000To refresh the offline test fixtures: python3 tests/capture_fixtures.py.
Edit src/weights.py — it is the single source of truth for the rating model.
Uses unofficial ESPN endpoints; shapes can change. The pipeline fails soft and
keeps the last good standings.json.