HF RL Explorer

The pairwise function was removed from more-itertools in version 11.0.0, but this was a breaking change that…

The pairwise function was removed from more-itertools in version 11.0.0, but this was a breaking change that…: a task in repo2rlenv-swe-gen (Harbor dataset). The pairwise function should be accessible as more itertools.pairwise (i.e., mi.pairwise when imported as import more itertools as mi ). It…

The task

The `pairwise` function should be accessible as `more_itertools.pairwise` (i.e., `mi.pairwise` when imported as `import more_itertools as mi`). It should behave like Python's built-in `itertools.pairwise` — taking an iterable and returning successive overlapping pairs. For example:

Part of FineEnvs/repo2rlenv-swe-gen.