HF RL Explorer

Write a command-line tool logreport that reads a system log file (path given as the only argument) and…

Write a command-line tool logreport that reads a system log file (path given as the only argument) and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input log format: Lines are \n -separated. Each line has the format: TIMESTAMP HOSTNAME MESSAGE - TIMESTAMP: ISO…

The task

**Input log format:** Lines are `\n`-separated. Each line has the format: ``` TIMESTAMP HOSTNAME MESSAGE ``` - TIMESTAMP: ISO 8601 in local time without timezone, format `YYYY-MM-DD HH:MM:SS` (24-hour). Seconds can be `60` for leap seconds. Leading zeros are mandatory on all fields. - HOSTNAME: non-empty string of…

Part of ai-and/termgrade-environments.