Skip to content

lnzainn/wca_statistics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WCA Statistics Build Status

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.

Getting started

Requirements: Ruby and MySQL.

  • Clone the repository and cd into it: git clone https://github.com/jonatanklosko/wca_statistics.git && cd wca_statistics
  • Install third party dependencies: bundle
  • Run the initialization script: bin/init.rb
  • If necessary edit the database.yml file in the project root directory. It is created by the initialization script and is not stored in the git.
  • Download the WCA database: bin/update_database.rb

Scripts

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.

About

Build kit for generating cubing-related rankings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.4%
  • HTML 1.4%
  • Shell 1.2%