You are given a broken script at /app/process logs.py . The script should parse a server log file and…
You are given a broken script at /app/process logs.py . The script should parse a server log file and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal : The fixed script must read a log file where each line is a timestamped event, aggregate events by hour…
The task
**Goal**: The fixed script must read a log file where each line is a timestamped event, aggregate events by hour, and output a JSON summary. The script takes one argument: the path to the log file.
Part of ai-and/termgrade-environments.