numeric range slicing with negative step returns wrong result
numeric range slicing with negative step returns wrong result: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When slicing a numeric range that has a negative step using a negative slice step (e.g., ::-1 to reverse it), the result is incorrect — an empty range is returned instead of the…
The task
When slicing a `numeric_range` that has a negative step using a negative slice step (e.g., `[::-1]` to reverse it), the result is incorrect — an empty range is returned instead of the expected reversed range.
Part of FineEnvs/repo2rlenv-r2e-gym.