Commit Graph
10 Commits
Author SHA1 Message Date
GitLab CI 755cffc405 data: refresh stat-check ELO rankings 2026-07-22 02:03:19 +00:00
GitLab CI 3e68394798 data: refresh stat-check ELO rankings 2026-07-15 02:03:17 +00:00
GitLab CI 9c64158578 data: refresh stat-check ELO rankings 2026-07-08 02:03:17 +00:00
GitLab CI 27b336f035 data: refresh stat-check ELO rankings 2026-07-01 02:03:19 +00:00
GitLab CI 24cf4a5872 data: refresh stat-check ELO rankings 2026-06-29 05:19:52 +00:00
GitLab CI f5fb3f78de data: refresh stat-check ELO rankings [skip ci] 2026-06-29 05:18:08 +00:00
GitLab CI f642f8809c data: refresh stat-check ELO rankings [skip ci] 2026-06-29 05:14:35 +00:00
mandaloreandClaude Sonnet 4.6 ac223a6909 feat: add Stat-Check ELO column with daily auto-refresh
- Scraper (statcheck-elo-scraper/refresh_elo.py) downloads the stat-check
  ELO workbook from OneDrive and builds public/elo-data.json
- GitHub Actions workflow (.github/workflows/refresh-elo.yml) runs daily
  at 06:00 UTC and commits updated ELO data
- Frontend fetches elo-data.json and matches players by name, using BCP
  career event history to disambiguate same-name candidates
- ELO score shown in new sortable Stat-Check ELO column, visible on all
  screen sizes; unmatched players show —

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 00:00:02 -05:00
mandaloreandClaude Sonnet 4.6 d39d7fc627 revert: remove ELO rank feature (data source inaccessible)
stat-check.com's ELO data is behind Microsoft auth with no public
API or download endpoint available. Removing the sync script,
placeholder JSON, CI job, table column, and all related JS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 21:23:28 -05:00
mandaloreandClaude Sonnet 4.6 3e6a152206 add weekly ELO rank sync from stat-check.com
- scripts/sync-elo.py: downloads Excel sheet, auto-detects columns,
  writes public/elo-data.json keyed by lowercase player name
- .gitlab-ci.yml: sync-elo stage (schedules only) commits the JSON
  then a normal push pipeline handles build + deploy; build/deploy
  skip on scheduled runs to avoid double deployment
- index.html + main.js: ELO Rank column with sort support; loads
  elo-data.json asynchronously and re-renders when ready; fails
  silently if data is missing

Requires one-time setup:
  1. GitLab project token (write_repository) stored as GITLAB_PUSH_TOKEN
  2. Pipeline schedule: cron 0 2 * * 3 (Wednesday 02:00 UTC) on main

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 20:47:30 -05:00