HF RL Explorer

Create a CLI tool /app/semver-satisfies that checks whether a given semver version satisfies a semver range…

Create a CLI tool /app/semver-satisfies that checks whether a given semver version satisfies a semver range…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads exactly two files: /app/VERSION (one line) and /app/RANGE (one line) -…

The task

**Input contract:** - The tool reads exactly two files: `/app/VERSION` (one line) and `/app/RANGE` (one line) - VERSION contains a semantic version string: `MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]` - RANGE contains a range expression using operators: `=`, `>`, `>=`, `<`, `<=`, `^` (caret), `~` (tilde), `*` (wildcard…

Part of ai-and/termgrade-environments.