Create a command-line tool /app/rangeq that processes interval queries over a dataset. The tool must be a…
Create a command-line tool /app/rangeq that processes interval queries over a dataset. The tool must be a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a CSV file whose path is given as the first argument ( sys.argv 1 ). - The…
The task
**Input contract:** - The tool reads a CSV file whose path is given as the first argument (`sys.argv[1]`). - The CSV has headers: `id,start,end,value` - `id` is a non-empty string (may contain any characters except comma, including spaces, quotes, and Unicode). - `start` and `end` are integers. They represent an…
Part of ai-and/termgrade-environments.