HF RL Explorer

Create a system-log analyzer that reads one or more log files and produces a strict JSON summary report to…

Create a system-log analyzer that reads one or more log files and produces a strict JSON summary report to…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The script receives an arbitrary number of file paths as command-line arguments (≥1). -…

The task

**Input contract:** - The script receives an arbitrary number of file paths as command-line arguments (≥1). - Each file is a plain text log file. Lines have this format: `<timestamp> <level> <message>` where: - `timestamp` is ISO-8601 with seconds, always UTC (ends in `Z`), no sub-seconds, e.g. `2024-01-15T08:23:11Z`…

Part of ai-and/termgrade-environments.