HF RL Explorer

Write a command-line tool semver-range that resolves a simplified semver range expression against a list of…

Write a command-line tool semver-range that resolves a simplified semver range expression against a list of…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads from stdin: - First line: a range expression string (see below) -…

The task

**Input contract:** - The tool reads from stdin: - First line: a range expression string (see below) - Remaining lines: one version string per line (the available versions) - Output: exactly one line to stdout containing the single best matching version string, or the empty string (just a newline) if no version…

Part of ai-and/termgrade-environments.