bytes to int raises struct.error due to wrong padding width in encoding.py
bytes to int raises struct.error due to wrong padding width in encoding.py: a task in repo2rlenv-swe-smith (Harbor dataset). bytes to int pads the input byte string to 7 bytes before unpacking it as an 8-byte ( Q ) unsigned long long, which always produces a buffer that is 1 byte too short.
Part of FineEnvs/repo2rlenv-swe-smith.