Game Statuses - notnotjeff/ahl_scraper GitHub Wiki
There are many types of statuses a game can have depending on its current state or if any problems arose to invalidate or change the status of the game (forfeit, COVID, etc). Games that need overriden statuses can be found in resources/game.rb
in the IRREGULAR_GAMES
constant. Statuses that can be assertained from the game data are marked as automatic
, while the ones that are manually overridden are marked manual
. TBD
is reserved for when/if these situations come up we can see if they can be handled automatically or manually.
Status | Type | Description |
---|---|---|
not_started |
automatic |
Game has not started yet |
in_progress |
automatic |
Game is currently being played |
finished |
automatic |
Game has finished |
void |
manual |
Game does not count for both the teams and the players |
result_void |
manual |
Game does not count for the team but the individual player results count |
stats_void |
manual |
Game counts for the team but not for the individual player results |
finished_later |
manual |
Game was partially played but finished on a different date |
continuation |
manual |
Game is a continuation of a previous game (likely a finished_later game) |
forfeit |
TBD |
Game was forfeited and no player stats exist |
forfeit_with_stats |
manual |
Game was forfeited but player stats do exist |
postponed |
TBD |
Game was never started but moved to a different date |