Skip to content
/ belo Public

A fast bayesian elo rating system, written in Rust.

License

Notifications You must be signed in to change notification settings

steve2972/belo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

belo

Belo is a command-line tool for managing player ratings using the Elo rating system. It is designed to be simple and easy to use, with a focus on the core functionality of managing player ratings. It allows you to containerize projects, add players, record match outcomes, and view player statistics in a neatly formatted table.

Features

  • Project Management: Initialize, activate, list, and deactivate multiple projects.
  • Player Management: Add, remove, and list players within a project.
  • Match Recording: Record match outcomes between players.

Quick Start

Note Belo is only tested on linux. Windows support is not guaranteed.

pip install belo

You can now use the belo command to manage player ratings. Here are some example commands to get you started:

# Initialize a new project
belo init my_project

# Add players to the project
belo add player1
belo add player2
belo add player3

You can now record match outcomes between players and view player statistics. Here are some example commands:

# Record a match outcome
belo vs player1 gt player2
belo vs player2 eq player3
belo vs player3 lt player1

# View player statistics
belo head {optional n}
belo info player1

# Deactivate the project
belo deactivate

# Delete the project
belo delete my_project

Testing

Make sure to use only one thread when running

  • This is because of a race condition in the current implementation of belo
  • Hopefully this will be fixed in the future..!
cargo test -- --test-threads=1

About

A fast bayesian elo rating system, written in Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published