Merge pull request #247 from mzry1992/training-system

Add rating calculator
Avoid upload huge json content