HF RL Explorer

Implement a function ranges are prerelease only(ranges) that takes a sequence of version intervals and…

Implement a function ranges are prerelease only(ranges) that takes a sequence of version intervals and…: a task in repo2rlenv-r2e (Harbor dataset). Each interval is a 2-tuple (lower, upper) where: - lower has a .version attribute (a packaging.version.Version or None for unbounded) and an…

The task

Each interval is a 2-tuple `(lower, upper)` where: - `lower` has a `.version` attribute (a `packaging.version.Version` or `None` for unbounded) and an `.inclusive` boolean. - `upper` has a `.version` attribute (a `packaging.version.Version` or `None` for unbounded) and an `.inclusive` boolean.

Part of FineEnvs/repo2rlenv-r2e.