MaxPR for
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

MaxPR for

MaxPR is a program to generate Elo ratings for given brackets.

It can output the results as either an HTML page or as a table.

The Elo is calculated using using the TrueSkill library.



cd src
virtualenv --clear env
source env/bin/activate
pip install -r requirements.txt

Usage takes one argument, which is a file with all tournaments to scrape from, with each tournament on a separate line. Be sure to use the entire bracket URL e.g. Look at the sample_input_file.txt for an example of how it should look. The tournaments must be in chronological order, otherwise the generated ratings will be incorrect. Lines starting with a '#' will be ignored.

The --html flag can be given to generate the html page.

--title can be used to set the name of your tournament series on the generated html page.

The --tag-map can be given to a JSON file (see remap.json for an example) containing mappings from one tag to another. You can use this for players with multiple tags, particularly players without accounts.


Please let me know if you run into any issues by filing a bug.