A tool simplifying creation and formatting of various cubing-related statistics. Travis CI automatically builds and pushes the statistics to GitHub Pages and they are accessible here.
Requirements: Ruby and MySQL.
git clone https://github.com/jonatanklosko/wca_statistics.git && cd wca_statistics
bundle
bin/init.rb
database.yml
file in the project root directory. It is created by the initialization script and is not stored in the git.bin/update_database.rb
Script | Description |
---|---|
compute.rb |
Computes a single statistics basing on the given statistic file path. |
compute_all.rb |
Computes all the statistics. |
list.rb |
Lists all the statistics. |
init.rb |
Does basic initialization. |
new_statistic.rb |
Generates a new statistic. Accepts a filename as an argument. When the --grouped flag is appended, generates so-called grouped statistics, which consists of a couple tables (e.g. a list of top 10 competitors for each event). |
update_database.rb |
Downloads and imports the WCA database copy. |