HF RL Explorer

Implement a command-line tool at /app/rangeq that queries an interval tree. The tool reads a file of…

Implement a command-line tool at /app/rangeq that queries an interval tree. The tool reads a file of…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format - intervals.txt: Each line is a JSON object with keys: - id (string, non-empty, may contain any…

The task

**Input format - intervals.txt:** Each line is a JSON object with keys: - `id` (string, non-empty, may contain any Unicode characters except null) - `start` (integer) - `end` (integer) - `data` (string, may be empty, may contain any characters including newlines and quotes if properly JSON-escaped)

Part of ai-and/termgrade-environments.