HF RL Explorer

Implement a command-line tool semver-range that takes a semver range expression and a list of version…

Implement a command-line tool semver-range that takes a semver range expression and a list of version…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - First argument: a semver range expression (string). Supports = , <= , , < , = , ^ , ~ , and…

The task

**Input contract:** - First argument: a semver range expression (string). Supports `>=`, `<=`, `>`, `<`, `=`, `^`, `~`, and hyphen ranges (`-`). Supports `||` for union. Supports whitespace around operators. Supports `*` as wildcard for X-Ranges (e.g., `1.*`, `1.2.*`). Supports pre-release tags in versions and…

Part of ai-and/termgrade-environments.