HF RL Explorer

Create a command-line tool /app/logq that queries a custom log format. The tool takes a query string as its…

Create a command-line tool /app/logq that queries a custom log format. The tool takes a query string as its…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): A sequence of log entries. Each entry is a single line with pipe-separated fields…

The task

**Input format (stdin):** A sequence of log entries. Each entry is a single line with pipe-separated fields: ``` TIMESTAMP|LEVEL|THREAD|MESSAGE ``` - TIMESTAMP: ISO 8601 with optional fractional seconds and mandatory timezone offset in ±HH:MM format (e.g., `2024-01-15T08:30:00.500-05:00` or…

Part of ai-and/termgrade-environments.