Skip to content

Project to get elo ratings of players in the Starcraft division of the Corporate Esports Association

Notifications You must be signed in to change notification settings

carsonhu/cea-elo

Repository files navigation

CEA-ELO

Tracking statistics for the Starcraft 2 Corporate Esports Association league.

How to use the repository

  1. Clone the repo somewhere onto your computer.
  2. Install the dependencies.
pip install -r requirements.txt 

Replays are stored in UploadHere folder. The data folder contains the data on which teams players are on.

To download replays from the replay repo.

python download_replays.py

The replay organizer only downloads replays it hasn't seen before. This data is stored in data/[SEASON]id_dict.json. If you need to redownload replays, use

python download_replays.py --r true

Or delete the corresponding id_dict.json files.

To rename replays.

python setup_replays.py

There'll be some errors due to a few broken SC2 Replay files, but you can ignore that or remove them.

Errors may pop up due to a missing team name corresponding to a player. In the event of a missing team name, the code will output a suggested team for that player. Update cea_names.csv by adding the player name to their corresponding team.

Any potential team allocation errors are recorded in errors.txt.

To generate a stats spreadsheet for the season.

python calculate_elo.py

Stored in cea_season_stats.csv

About

Project to get elo ratings of players in the Starcraft division of the Corporate Esports Association

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages