HF RL Explorer

Create a command-line tool /opt/logq/logq that executes structured queries against a custom log format. The…

Create a command-line tool /opt/logq/logq that executes structured queries against a custom log format. The…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Log format specification: - Each record spans exactly 4 lines: 1. TIMESTAMP: <value where value is ISO-8601…

The task

**Log format specification:** - Each record spans exactly 4 lines: 1. `TIMESTAMP: <value>` where value is ISO-8601 with timezone 2. `LEVEL: <value>` where value is one of: DEBUG, INFO, WARN, ERROR, FATAL 3. `MSG: <value>` where value is arbitrary text (may be empty, may contain colons) 4. `--` (literal separator…

Part of ai-and/termgrade-environments.