HF RL Explorer

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

Create a command-line tool /app/log analyzer that reads a system log file and produces a strict JSON report…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input log format: - One event per line, fields separated by the character - Fields: TIMESTAMP LEVEL PROCESS…

The task

**Input log format:** - One event per line, fields separated by the `|` character - Fields: `TIMESTAMP|LEVEL|PROCESS|MESSAGE` - TIMESTAMP: ISO 8601 format with exactly 3 decimal digits for milliseconds, timezone offset required (e.g., `2024-01-15T08:23:45.123+05:00`) - LEVEL: one of `DEBUG`, `INFO`, `WARN`, `ERROR`,…

Part of ai-and/termgrade-environments.