HF RL Explorer

Write a Python script /app/log analyzer.py that reads system log files from /var/log/app/ and produces a…

Write a Python script /app/log analyzer.py that reads system log files from /var/log/app/ and produces a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The directory /var/log/app/ contains zero or more files with extension .log . - Each .log…

The task

**Input contract:** - The directory `/var/log/app/` contains zero or more files with extension `.log`. - Each `.log` file is a text file where each line is a log entry in the format: `TIMESTAMP [LEVEL] MESSAGE` - TIMESTAMP is ISO 8601 with exactly this format: `YYYY-MM-DDTHH:MM:SS+HH:MM` (always has a `+` or `-`…

Part of ai-and/termgrade-environments.