chunk raises ZeroDivisionError when size is 0 or negative
chunk raises ZeroDivisionError when size is 0 or negative: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). Calling pydash.chunk with a size of 0 or any negative integer raises a ZeroDivisionError instead of returning an empty list.
The task
Calling `pydash.chunk` with a `size` of `0` or any negative integer raises a `ZeroDivisionError` instead of returning an empty list.
Part of FineEnvs/repo2rlenv-r2e-gym.