HF RL Explorer

Write a Python script /resolve that reads a file versions.txt (newline-separated semantic version strings)…

Write a Python script /resolve that reads a file versions.txt (newline-separated semantic version strings)…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Range syntax: - A range is one of: =X.Y.Z , =X.Y.Z , X.Y.Z , <=X.Y.Z , <X.Y.Z , ^X.Y.Z , ~X.Y.Z , or a…

The task

**Range syntax:** - A range is one of: `=X.Y.Z`, `>=X.Y.Z`, `>X.Y.Z`, `<=X.Y.Z`, `<X.Y.Z`, `^X.Y.Z`, `~X.Y.Z`, or a hyphen range `X.Y.Z - A.B.C`. - `^X.Y.Z` means compatible with X.Y.Z: `>=X.Y.Z` and `<X+1.0.0` (if X>0), or `>=0.Y.Z` and `<0.Y+1.0` (if X=0,Y>0), or `=0.0.Z` (if X=0,Y=0). - `~X.Y.Z` means…

Part of ai-and/termgrade-environments.