HF RL Explorer

Design and implement a command-line tool logq that queries a custom log format. The tool reads a log file…

Design and implement a command-line tool logq that queries a custom log format. The tool reads a log file…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Log format specification: - One entry per line, fields separated by the character - Fields: timestamp level…

The task

**Log format specification:** - One entry per line, fields separated by the `|` character - Fields: `timestamp|level|user|message` - `timestamp`: ISO 8601 format with timezone offset (e.g., `2024-01-15T09:30:00+05:00`, `2024-01-15T09:30:00Z`, `2024-01-15T09:30:00-08:00`) - `level`: one of `DEBUG`, `INFO`, `WARN`,…

Part of ai-and/termgrade-environments.