The current Checker libraries (Python as well as Go) use a hardcoded number (5) of past ticks to check the flags for. We should be using the number of valid ticks configured in GameControl in the database instead.
The Checker libraries would have to ask the Checker Master for that number through IPC.