interleave evenly raises IndexError when called with no iterables
interleave evenly raises IndexError when called with no iterables: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). Calling interleave evenly with an empty list of iterables raises an IndexError instead of returning an empty iterator. This is a straightforward edge case: passing zero…
The task
Calling `interleave_evenly` with an empty list of iterables raises an `IndexError` instead of returning an empty iterator. This is a straightforward edge case: passing zero iterables should simply yield nothing.
Part of FineEnvs/repo2rlenv-r2e-gym.