Implement a command-line tool /app/rangequery that processes a CSV file of integer intervals and answers…
Implement a command-line tool /app/rangequery that processes a CSV file of integer intervals and answers…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: - A CSV file at /data/intervals.csv with header: id,start,end - id : non-empty string (may contain any…
The task
**Input:** - A CSV file at `/data/intervals.csv` with header: `id,start,end` - `id`: non-empty string (may contain any characters except comma and newline) - `start`, `end`: integers, start ≤ end - File is UTF-8 encoded, LF line endings - Rows may contain duplicate IDs (keep all), empty lines (skip), or malformed…
Part of ai-and/termgrade-environments.