A single tournament.
Generator that return all involved players.
Consolidate final points.
List of competitors.
Kind of coupling used to build next turn. It may be serial or dazed.
The current turn.
Event date.
Event description.
Duration in minutes of each turn, used by the clock.
Related championship‘s ID.
Primary key.
Event location.
Setup the next turn.
If there are no matches, build up the first turn using a random coupler. Otherwise, using current ranking, create the next turn coupling any given competitor with a not-yet-met other one that follows him in the ranking.
The score assigned to a player in matches against the Phantom.
Prealarm before the end of the turn.
Whether the tourney is closed, and final prizes updated.
The highest turn considered in the ranking.
Competitors sorted by their rank.
Return type: | sequence |
---|---|
Returns: | sorted list of competitors |
Update the ranking if needed, that is when currentturn is higher than rankedturn.
Clone this tourney, creating new one at given date.
Of the original, only the competitors are copied. This is particularly useful for doubles (or team), so that the players get copied in the same order.
Reset assigned final points.
Reduce a single tourney to a simple dictionary.
Parameters: | serializer – a sol.models.bio.Serializer instance |
---|---|
Return type: | dict |
Returns: | a plain dictionary containing a flatified view of this tourney |
Recompute competitors ranking.
Update each competitor rank by examining the matches of this tourney, summing up each other’s current ranking position as the bucholz.