HF RL Explorer

Create a command-line tool /app/irange that builds an interval tree from a sorted CSV of integer intervals…

Create a command-line tool /app/irange that builds an interval tree from a sorted CSV of integer intervals…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input contract: - The tool reads an intervals CSV file and…

The task

**Input contract:** - The tool reads an intervals CSV file and queries from either a file or stdin. - Intervals CSV path: first positional argument. - Queries source: second positional argument, or `-` for stdin. - The intervals CSV has 2 columns: `start,end` (integers, inclusive on both ends). No header row. Sorted…

Part of ai-and/termgrade-bandcentral-gemma4-31b-bash.