Create a command-line program /app/range merger that processes timestamped log lines and outputs merged time…
Create a command-line program /app/range merger that processes timestamped log lines and outputs merged time…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: Each line is a log entry in the format: YYYY-MM-DDTHH:MM:SS.mmmZ EVENT ID START END optional…
The task
**Input format:** Each line is a log entry in the format: ``` YYYY-MM-DDTHH:MM:SS.mmmZ EVENT_ID [START|END] [optional extra fields] ``` - Timestamps are always ISO 8601 with milliseconds and 'Z' suffix. - EVENT_ID is a non-empty string of alphanumeric characters and underscores (max 64 chars). - The third field is…
Part of ai-and/termgrade-environments.