HF RL Explorer

RangeIterator.Seek can return keys outside the requested range

RangeIterator.Seek can return keys outside the requested range: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm using bleve's KV store RangeIterator(start, end) and calling Seek on it to jump around within the range. I noticed that if I pass Seek a key that's…

The task

I'm using bleve's KV store `RangeIterator(start, end)` and calling `Seek` on it to jump around within the range. I noticed that if I pass `Seek` a key that's lexicographically before `start`, the iterator happily positions itself there and starts yielding keys that are outside the range I asked for.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.