HF RL Explorer

split when never splits: always returns a single group containing all elements

split when never splits: always returns a single group containing all elements: a task in repo2rlenv-swe-smith (Harbor dataset). mi.split when(iterable, pred) is supposed to split iterable into sub-lists at positions where pred(a, b) is True for consecutive elements a , b . Instead, it always…

The task

`mi.split_when(iterable, pred)` is supposed to split `iterable` into sub-lists at positions where `pred(a, b)` is `True` for consecutive elements `a`, `b`. Instead, it always returns a single group containing every element, regardless of the predicate.

Part of FineEnvs/repo2rlenv-swe-smith.