An implementation of the TrueSkill rating system for Python