HF RL Explorer

Create a command-line tool /usr/local/bin/logquery that filters and transforms a log file.

Create a command-line tool /usr/local/bin/logquery that filters and transforms a log file.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a log file from a path given as the first argument. - The log file is a text file where each…

The task

**Input contract:** - The tool reads a log file from a path given as the first argument. - The log file is a text file where each line is a JSON object with these fields: - `ts` (string): ISO-8601 timestamp with timezone offset (e.g., `2024-01-15T09:30:00-05:00`, `2024-01-15T14:00:00Z`, `2024-01-15T14:00:00+00:00`) -…

Part of ai-and/termgrade-environments.