Goal: Implement a command-line tool that performs point and range queries against a set of named integer…
Goal: Implement a command-line tool that performs point and range queries against a set of named integer…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Write a Python script /app/query.py that reads a CSV file of named intervals and a JSON file of queries, then…
The task
Write a Python script `/app/query.py` that reads a CSV file of named intervals and a JSON file of queries, then outputs a JSON file of results.
Part of ai-and/termgrade-environments.