HF RL Explorer

Implement a command-line tool at /root/intervaldb that manages a persistent interval store. The tool accepts…

Implement a command-line tool at /root/intervaldb that manages a persistent interval store. The tool accepts…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The database persists to /root/intervaldb data as a plain text file. On startup, load it. After every…

The task

The database persists to `/root/intervaldb_data` as a plain text file. On startup, load it. After every successful ADD or DELETE, write the full state back atomically (write to temp file, then rename). The program must never crash on any input; malformed commands print `ERROR: Invalid command` (to stdout) and…

Part of ai-and/termgrade-environments.