PeterJCLaw / srcomp-cli

Command line tools for interacting with the state of the Student Robotics Competition
https://github.com/PeterJCLaw/srcomp/wiki
0 stars 2 forks source link

Make import_schedule support match sizes other than 4 #12

Closed PeterJCLaw closed 3 years ago

PeterJCLaw commented 3 years ago

There's a constant in the code which should probably read from the arena file instead. It also makes an assumption that num_teams <= 2 is bad (see the construction of BadMatch instances), which probably wants to be something like num_teams <= (teams_per_match / 2)