Create a command-line tool /app/rq that maintains a collection of named intervals and supports three…
Create a command-line tool /app/rq that maintains a collection of named intervals and supports three…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). ADD : Adds a named interval start, end) with integer coordinates…
The task
**ADD**: Adds a named interval [start, end) with integer coordinates. If an interval with the same name already exists, reject the addition and output an error message. Start and end are integers, start < end. Names are non-empty alphanumeric strings (a-z, A-Z, 0-9).