Implement a command-line tool /app/irange that processes interval range queries over integer ranges.
Implement a command-line tool /app/irange that processes interval range queries over integer ranges.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a file of ranges from --ranges PATH . Each line is START,END (inclusive START…
The task
**Input contract:** - The tool reads a file of ranges from `--ranges PATH`. Each line is `START,END` (inclusive START, exclusive END). START and END are signed 64-bit integers. END >= START. Lines may have trailing whitespace. Empty lines must be ignored. Lines starting with `#` are comments and must be ignored. -…
Part of ai-and/termgrade-environments.