Sep-17-2020, 03:00 AM
Put in some debugging statements. Everywhere race_number is assigned, put in a logging statement that says "I'm setting race_number to {race_number}". Or some that check periodically what it's set to.
Then narrow down to the section that is setting it.
Then narrow down to the section that is setting it.