HF RL Explorer

Build a CLI tool /app/irange that reads a sorted list of disjoint, non‑empty integer intervals (inclusive…

Build a CLI tool /app/irange that reads a sorted list of disjoint, non‑empty integer intervals (inclusive…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file – /app/intervals.json A JSON object with a single key "intervals" whose value is an array of…

The task

**Input file** – `/app/intervals.json` A JSON object with a single key `"intervals"` whose value is an array of interval objects. Each interval object has exactly two integer keys: `"lo"` and `"hi"`, with `lo <= hi`. The array is sorted by `lo` ascending, intervals are guaranteed disjoint (no overlaps), and no…

Part of ai-and/termgrade-environments.