HF RL Explorer

Goal: Create a command-line tool /app/semver.py that filters and sorts semantic versions according to a…

Goal: Create a command-line tool /app/semver.py that filters and sorts semantic versions according to a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Exact I/O contract: - Input: stdin provides a newline-separated list of version strings (one per line, any…

The task

Exact I/O contract: - Input: stdin provides a newline-separated list of version strings (one per line, any number of lines including zero). - Arguments: exactly one positional argument, the range expression. - Output: stdout, one version per line, sorted according to the rules below, followed by exactly one trailing…

Part of ai-and/termgrade-environments.