A particular rating a tournament can be related to.
Default value of deviation (PHI) for the Glicko2 algorithm.
Default value of rate (MU) for the Glicko2 algorithm.
Default value of volatility (SIGMA) for the Glicko2 algorithm.
Description of the rating.
Return the rate of a player
Parameters: |
|
---|---|
Return type: | an instance of glicko2.Rating |
If before is not specified fetch the latest rate, otherwise the most recent one preceeding before.
The method considers the referenced rating as well as all those with an higher level.
Higher value of the range used to interpolate players rates.
Primary key.
Whether to lookup rates in higher levels ratings.
Determine whether the given competitor is actually a Phantom.
Parameters: | competitor – a Competitor instance |
---|
This is needed because someone use a concrete player as Phantom, to customize its name (not everybody have a good sense of humor...)
Rating level.
Lower value of the range used to interpolate players rates when (almost) all competitors are unrated.
Kind of formula used to compute match outcomes.
This is used to determine which formula will be used to compute the match outcomes to feed Glicko2 algorithm. It may be:
Players sorted by their latest rate.
Return type: | sequence |
---|---|
Returns: | a sorted list of tuples containing the player, its latest rate, deviation and volatility, and the number of rates in this rating. |
Recompute the whole rating.
Parameters: |
|
---|
If mindate is given, recompute the rating ignoring the tourneys before that date.
Reduce a single rating to a simple dictionary.
Parameters: | serializer – a Serializer instance |
---|---|
Return type: | dict |
Returns: | a plain dictionary containing a flatified view of this rating |
Value of TAU for the Glicko2 algorithm.
Return the time span of this rating.