HF RL Explorer

Implement a command-line tool at /usr/local/bin/rq (Range Query) that maintains an in-memory collection of…

Implement a command-line tool at /usr/local/bin/rq (Range Query) that maintains an in-memory collection of…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input/Output Contract: - Input is ASCII text, lines terminated by LF ( \n ). The last line may or may not…

The task

**Input/Output Contract:** - Input is ASCII text, lines terminated by LF (`\n`). The last line may or may not have a trailing newline; handle both. - Lines that are empty or consist only of whitespace are ignored (no output). - Lines starting with `#` are comments and are ignored (no output). - Commands are…

Part of ai-and/termgrade-environments.