HF RL Explorer

A Python script at /app/process logs.py is supposed to read a server log file and produce a summary JSON…

A Python script at /app/process logs.py is supposed to read a server log file and produce a summary JSON…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The script reads from a file path given as the first command-line argument. - The input file…

The task

**Input contract:** - The script reads from a file path given as the first command-line argument. - The input file is a text file where each line is a JSON object with keys: `timestamp` (ISO 8601 string), `user_id` (string), `action` (string), `bytes` (integer, may be negative for refunds). - Lines may be empty (skip…

Part of ai-and/termgrade-environments.