Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 1.87 KB

File metadata and controls

81 lines (50 loc) · 1.87 KB

Travis CI Build Status

Setup

Assuming you're running Ubuntu 17.04

Dependencies

sudo apt install python3.6 virtualenv mysql-server

Setup Project

Setting up mysql database to use (modify settings.json w/ address)

Example:

$ mysql -u root -proot
mysql> CREATE USER 'achilles' IDENTIFIED BY 'achilles';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'achilles';
mysql> FLUSH PRIVILEGES;
mysql> create database achilles;
mysql> quit;

Getting python dependencies

git clone git@github.com:JCharante/achilles.git
cd achilles/win_stats
virtualenv -p python3.6 .venv
source .venv
pip install -r requirements.txt

Running

TrueSkill Network Graph

Description

A network node graph, where the size of the node is based on the trueskill score, the color is based off of the region, and the edges are based off of matches played between notes/teams.

Results

A very resource intensive graph using data for all teams from 2017-04-20-05:23:10.747165

TrueSkill Ratings for 2017

Description

This uses the TrueSkill library to see how teams rank against each other if FRC were an xbox live game (TrueSkill's main purpose).

Results

Available Here

Rank Fetcher

Description

This calculates the 2016 statistical probabilities* of winning an event at a certain rank.

* This is flawed, because events vary wildly in their number of participating teams. For example take Cleveland's Team (120) who ranked 62nd place in the Carver Division.

Results

Available Here

Running for yourself

python rank_fetcher.py

The results will be available at exports/2016-chances-of-winning-at-a-ranking.csv