The provided script /app/analyze logs.py is supposed to parse a server log file and output a summary of HTTP…
The provided script /app/analyze logs.py is supposed to parse a server log file and output a summary of HTTP…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Your goal: Fix the script so that it correctly handles ALL valid log lines according to the exact contract…
The task
Your goal: Fix the script so that it correctly handles ALL valid log lines according to the exact contract below. The fixed script must be saved as `/app/analyze_logs.py`.
Part of ai-and/termgrade-environments.