Skip to main content

ranked

Current PyPi Version Supported Python Versions BSD 3-clause license Documentation Status Codecov Report Github actions tests Github actions tests

Features

  • A common interface for ranking algorithms

  • Elo (Chess & Generic)

  • Glicko2

  • NoSkill (similar to Trueskill, i.e bayesian inference on a bipartite graph)

  • Synthetics benchmarks

  • Basic match maker

  • Matchup replay to calibrate and experiment on real data

  • Model calibration using black-box optimizer Orion

Examples

ranker = ChessElo()
p1 = ranker.new_player((1613 - sub) / div)
p2 = ranker.new_player((1609 - sub) / div)

m1 = Match((p1, 0), (p2, 1)),  # p1 lost (lower score)

win_prob = ranker.win(m)

ranker.update(m)

# P1 lost so its skill got updated down
new_skill = p1.skill()  # 1603.19

WIP

  • NoSkill2

  • Dota2 extracted matches

pip install ranked
https://github.com/Delaunay/Ranked/blob/master/docs/_static/example.png?raw=true

Metadata

Release files for ranked 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ranked 1.0.2
File Size Uploaded
ranked-1.0.2.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ranked 1.0.2
File Interpreter ABI Platform
ranked-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / ranked-1.0.2.tar.gz

Download URL ranked-1.0.2.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4d5bdf1fb01ca169567926f328c4281064e2040263a4b6aa4c6eedde473f5a0b
BLAKE2b-256 checksum
How to use checksums
738e05962d8150dbe3808615257f4d2fc0afa04ab0022149e9387e2505aa9623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.17

Release files / ranked-1.0.2-py3-none-any.whl

Download URL ranked-1.0.2-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fda4859328eea508844567cee3eb244547145f61a8579c03e2917bb8c17a00a9
BLAKE2b-256 checksum
How to use checksums
34dd2a18ceee1e13067c80a328f4bf714c2534a03fe9c589a4ade3506d87c206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page