The Bits class in boltons/mathutils.py has an off-by-one error in its init method when validating that a…
The Bits class in boltons/mathutils.py has an off-by-one error in its init method when validating that a…: a task in repo2rlenv-swe-gen (Harbor dataset). Currently, the guard condition uses val 2 len to check if the value is too large. However, the maximum value representable in len bits is 2 len…
Part of FineEnvs/repo2rlenv-swe-gen.