HF RL Explorer

IndexedSet slicing returns wrong results after element removal

IndexedSet slicing returns wrong results after element removal: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). Slicing an IndexedSet that has had elements removed produces incorrect results. The slice bounds are internally mapped into the raw item list's index space (which includes dead…

The task

Slicing an `IndexedSet` that has had elements removed produces incorrect results. The slice bounds are internally mapped into the raw item list's index space (which includes dead slots from removed elements), but `islice` consumes the iterator in the apparent (dead-slot-free) index space. This mismatch causes slices…

Part of FineEnvs/repo2rlenv-r2e-gym.