HF RL Explorer

Implement a command-line tool that maintains a collection of named integer intervals and answers queries…

Implement a command-line tool that maintains a collection of named integer intervals and answers queries…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The tool reads commands from stdin (one per line) and writes results to stdout (one per line). It must process…

The task

The tool reads commands from stdin (one per line) and writes results to stdout (one per line). It must process all commands and exit cleanly at EOF.

Part of ai-and/termgrade-environments.