HF RL Explorer

Create a command-line tool /app/logq that parses a custom log file and answers structured queries.

Create a command-line tool /app/logq that parses a custom log file and answers structured queries.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input log format : Each line is a JSON object with these keys: - ts : timestamp in ISO-8601 format (may or may not…

The task

**Input log format**: Each line is a JSON object with these keys: - `ts`: timestamp in ISO-8601 format (may or may not include fractional seconds, may use `Z` or `+00:00` or `-HH:MM` timezone) - `lvl`: log level string (one of `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`) - `msg`: arbitrary string message - `tid`:…

Part of ai-and/termgrade-environments.