Assuming you're running Ubuntu 17.04
sudo apt install python3.6 virtualenv mysql-server
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 [email protected]:JCharante/achilles.git
cd achilles/win_stats
virtualenv -p python3.6 .venv
source .venv
pip install -r requirements.txt
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.
A very resource intensive graph using data for all teams from 2017-04-20-05:23:10.747165
This uses the TrueSkill library to see how teams rank against each other if FRC were an xbox live game (TrueSkill's main purpose).
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.
python rank_fetcher.py
The results will be available at exports/2016-chances-of-winning-at-a-ranking.csv