HF RL Explorer

Implement a command-line tool /app/querylog that parses a custom log file and answers time-window queries.

Implement a command-line tool /app/querylog that parses a custom log file and answers time-window queries.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: - The tool reads a single log file from a path given as the first argument. - The second argument is a…

The task

Input: - The tool reads a single log file from a path given as the first argument. - The second argument is a query string in the format `HH:MM-HH:MM` (start-end, inclusive on both ends). - The tool must output lines from the log file whose timestamp falls within that range (inclusive), preserving the original order…

Part of ai-and/termgrade-environments.