HF RL Explorer

Create a CLI tool /app/resolve that reads a semver range specification from stdin (JSON) and outputs the…

Create a CLI tool /app/resolve that reads a semver range specification from stdin (JSON) and outputs the…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input (stdin) : A JSON object with two keys: - "range" : a string representing a semver range (e.g., " =1.2.3…

The task

**Input (stdin)**: A JSON object with two keys: - `"range"`: a string representing a semver range (e.g., `">=1.2.3 <2.0.0"`, `"^1.2.3"`, `"~1.2.3"`, `">=1.0.0"`, `"1.2.x"`, `"*"`, `""` (empty string means any version)) - `"versions"`: an array of strings, each a valid semver version (e.g., `"1.2.3"`,…

Part of ai-and/termgrade-environments.