HF RL Explorer

Write a command-line tool analyze logs.py that reads system log files from a directory, extracts and…

Write a command-line tool analyze logs.py that reads system log files from a directory, extracts and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The script receives exactly one argument: a path to a directory containing .log files. - Each…

The task

**Input contract:** - The script receives exactly one argument: a path to a directory containing `.log` files. - Each `.log` file is a plain text file where each line follows syslog-like format: `timestamp hostname process[pid]: message` - The timestamp format is `MMM DD HH:MM:SS` (month abbreviation, zero-padded…

Part of ai-and/termgrade-environments.