HF RL Explorer

Create a CLI tool /app/logq that queries structured log files. The tool must accept a log file path and a…

Create a CLI tool /app/logq that queries structured log files. The tool must accept a log file path and a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input log format: Each line is a JSON object with exactly these fields: - ts : ISO 8601 timestamp string…

The task

**Input log format:** Each line is a JSON object with exactly these fields: - `ts`: ISO 8601 timestamp string (always UTC, may end with 'Z' or '+00:00' or have fractional seconds) - `msg`: string message - `lvl`: string log level (one of: TRACE, DEBUG, INFO, WARN, ERROR, FATAL) - `req_id`: string or null

Part of ai-and/termgrade-environments.