HF RL Explorer

Create a CLI tool /app/logq that processes a custom log format and answers structured queries. The tool…

Create a CLI tool /app/logq that processes a custom log format and answers structured queries. The tool…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Log format: Each line is a record with -separated fields: TIMESTAMP LEVEL THREAD MESSAGE - TIMESTAMP: ISO 8601…

The task

**Log format:** Each line is a record with `|`-separated fields: `TIMESTAMP|LEVEL|THREAD|MESSAGE` - TIMESTAMP: ISO 8601 with timezone offset (always present, can be `Z` or `+HH:MM`), fractional seconds optional (0-6 digits) - LEVEL: one of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` - THREAD: alphanumeric…

Part of ai-and/termgrade-environments.