You are given a directory of log files from various servers. Each log file is named server <ID .log . Inside…
You are given a directory of log files from various servers. Each log file is named server <ID .log . Inside…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). You must produce a single JSON object on stdout with this exact structure: json { "buckets": {…
The task
You must produce a single JSON object on stdout with this exact structure: ```json { "buckets": { "<YYYY-MM-DD HH:00:00>": { "START_count": <int>, "STOP_count": <int>, "RESTART_count": <int>, "PAUSE_count": <int>, "RESUME_count": <int>, "total_payload": <int> }, ... }, "earliest_event": "<ISO-8601 UTC with Z suffix,…
Part of ai-and/termgrade-environments.