HF RL Explorer

(greater-than) comparison returns wrong result when one version has a local segment

(greater-than) comparison returns wrong result when one version has a local segment: a task in repo2rlenv-swe-smith (Harbor dataset). The operator between two Version objects produces incorrect results when the right-hand side has a local version label (e.g. +local ). According to PEP 440, local…

The task

The `>` operator between two `Version` objects produces incorrect results when the right-hand side has a local version label (e.g. `+local`). According to PEP 440, local versions should be ignored for the purpose of `>` comparisons (only the public version is considered), but the current implementation appears to…

Part of FineEnvs/repo2rlenv-swe-smith.