HF RL Explorer

in range returns wrong result for reversed ranges (start end)

in range returns wrong result for reversed ranges (start end): a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When calling in range with a reversed range — where start is greater than end — the function always returns False , even when the value clearly falls within the implied range.

The task

When calling `in_range` with a reversed range — where `start` is greater than `end` — the function always returns `False`, even when the value clearly falls within the implied range.

Part of FineEnvs/repo2rlenv-r2e-gym.