If we use --overall-time-limit, our time limits become fractional because a limit for one component is computed as the overall limit minus the elapsed time, which is measured as a float. However, the function setting the limit expects an integer. Up to Python 3.9 floats were automatically converted to ints even though the documentation of the function specified the parameter as an integer. Starting from 3.10, passing a float is considered an error (see https://bugs.python.org/issue43101). For the fix, we simply have to convert our limits to ints. The main question is where to do this.
|