HF RL Explorer

Create a command-line tool /analyze logs.py that processes a directory of system-log files and produces a…

Create a command-line tool /analyze logs.py that processes a directory of system-log files and produces a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The script receives exactly one argument: --logdir PATH pointing to a directory. - The…

The task

**Input contract:** - The script receives exactly one argument: `--logdir PATH` pointing to a directory. - The directory contains zero or more files with the extension `.log` (case-sensitive). - Each `.log` file is a UTF-8 text file where each line is a JSON object with these fields: - `"ts"`: an ISO-8601 timestamp…

Part of ai-and/termgrade-environments.