Bug: backoff raises ZeroDivisionError when factor=1.0 and count is not specified
Bug: backoff raises ZeroDivisionError when factor=1.0 and count is not specified: a task in repo2rlenv-swe-next (Harbor dataset). When calling backoff (or backoff iter ) with factor=1.0 and no explicit count , a ZeroDivisionError is raised instead of either returning a sensible result or raising a…
The task
When calling `backoff` (or `backoff_iter`) with `factor=1.0` and no explicit `count`, a `ZeroDivisionError` is raised instead of either returning a sensible result or raising a descriptive `ValueError`.
Part of FineEnvs/repo2rlenv-swe-next.