HF RL Explorer

Design a command-line tool /app/querylog that reads a log file in a custom format and outputs filtered…

Design a command-line tool /app/querylog that reads a log file in a custom format and outputs filtered…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : The log file is a line-based text file (UTF-8, LF line endings). Each non-empty line is one of: -…

The task

**Input format**: The log file is a line-based text file (UTF-8, LF line endings). Each non-empty line is one of: - A **record**: `{iso8601} [{level}] {msg}` where: - `{iso8601}` is an ISO-8601 datetime in the EXACT format `YYYY-MM-DDTHH:MM:SS` (always 19 chars), followed by a space. Timezone is ALWAYS `Z` suffix…

Part of ai-and/termgrade-environments.