whist_core.scoring.elo ====================== .. py:module:: whist_core.scoring.elo .. autoapi-nested-parse:: Elo Rating Calculator Classes ------- .. autoapisummary:: whist_core.scoring.elo.EloRater Module Contents --------------- .. py:class:: EloRater Static class that calculates the Elo-Rating for players after several hands played. .. py:method:: rate(teams, scores) :staticmethod: Calculates the new rating of player after several hand played. :param teams: :type teams: :param scores: :type scores: :return: :rtype: .. py:method:: _k_factor(player) :staticmethod: .. py:method:: _score_delta(team, opponent, scores) :staticmethod: .. py:method:: _expected_score(team, opponent) :staticmethod: .. py:method:: _team_quotient(team) :staticmethod: