Build an IntervalStore — a command-line tool that reads a stream of interval events from stdin (one JSON…
Build an IntervalStore — a command-line tool that reads a stream of interval events from stdin (one JSON…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Lines are NOT guaranteed to arrive in any order. Malformed JSON, missing keys, wrong types, or lines that fail…
The task
Lines are **NOT** guaranteed to arrive in any order. Malformed JSON, missing keys, wrong types, or lines that fail to parse must be silently skipped (no crash, no output to stdout/stderr for that line). A line with extra keys beyond the required five is valid and must be processed.
Part of ai-and/termgrade-environments.