PythonSkills
PythonSkills copied to clipboard
Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms
``` * python3_10: running distutils-r1_run_phase python_test python3.10 setup.py test --verbose running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for...
Take a look at https://github.com/sublee/trueskill This Python port actually is more popular than moserware.
match_stats = [[Match([{Player(6667): GaussianRating(25.0, 8.333)}, {Player(4991): GaussianRating(25.0, 8.333)}], rank=[1, 2])], [Match([{Player(6615): GaussianRating(25.0, 8.333)}, {Player(7557): GaussianRating(25.0, 8.333)}], rank=[1, 2])]] Cast `match_stat` as Matches(): Matches(match_stats) This results in: [Match([{Player(6667): GaussianRating(25.0, 8.333)}, {Player(4991):...