Implement a command-line tool at /app/rangeq that processes a single command and prints the result to stdout.
Implement a command-line tool at /app/rangeq that processes a single command and prints the result to stdout.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The tool maintains an in-memory collection of integer intervals, each with a unique string name. You must…
The task
The tool maintains an in-memory collection of integer intervals, each with a unique string name. You must implement a binary that reads the command from its arguments, operates on the persistent state file at `/app/state.json`, and writes the result to stdout.
Part of ai-and/termgrade-environments.