Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Weather reports in boot record not always indexed correctly #976
In some games, the weather report index runs from 24-359, in others it runs from 25-360. Presumably the correct range is 24-359, since the first timeslot has index 0. In the 2018 qualifying round, game 9 is an example of the incorrect range, while game 292 is an example that seems correct.
The data is assembled in DefaultBrokerService.getWeatherReports(). It just removes the reports for the discarded timeslots and then collects the rest. So the error is almost certainly occurring when the reports are initially recorded. Note that there was an exception in game 9, which happens when the MisoBuyer is attempting to access weather reports. So presumably there's a weather report missing.