HF RL Explorer

split after ignores maxsplit parameter

split after ignores maxsplit parameter: a task in repo2rlenv-swe-smith (Harbor dataset). mi.split after(iterable, pred, maxsplit) does not respect the maxsplit limit. When a positive maxsplit value is supplied, the function continues splitting beyond the allowed number of splits instead of…

The task

`mi.split_after(iterable, pred, maxsplit)` does not respect the `maxsplit` limit. When a positive `maxsplit` value is supplied, the function continues splitting beyond the allowed number of splits instead of stopping after `maxsplit` splits have been made.

Part of FineEnvs/repo2rlenv-swe-smith.