HF RL Explorer

There is a bug in split before , split after , and split when where passing an empty iterable with…

There is a bug in split before , split after , and split when where passing an empty iterable with…: a task in repo2rlenv-swe-gen (Harbor dataset). The root cause is a maxsplit == 0 fast path that unconditionally yields list(iterable) — even when the iterable is empty. This means:

Part of FineEnvs/repo2rlenv-swe-gen.