HF RL Explorer

Create a command-line tool /app/log analyzer that reads a system log file and outputs a strict JSON report…

Create a command-line tool /app/log analyzer that reads a system log file and outputs a strict JSON report…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: Each line in the log file follows this exact format: <timestamp <level <message - <timestamp …

The task

**Input format:** Each line in the log file follows this exact format: ``` <timestamp> <level> <message> ``` - `<timestamp>`: ISO 8601 datetime with timezone offset, format `YYYY-MM-DDTHH:MM:SS±HH:MM` (e.g., `2024-01-15T14:30:00+01:00` or `2024-01-15T14:30:00-05:00`). The colon in the timezone offset is present. -…

Part of ai-and/termgrade-environments.