Implement a command-line tool /app/logq that queries a custom log file /app/logs/events.log based on…
Implement a command-line tool /app/logq that queries a custom log file /app/logs/events.log based on…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format: - Tab-separated values with exactly 4 columns per line (no header): timestamp\tevent type\tuser…
The task
**Input file format:** - Tab-separated values with exactly 4 columns per line (no header): `timestamp\tevent_type\tuser_id\tpayload` - Lines can be terminated with LF or CRLF. - Empty lines must be skipped. - Lines with fewer or more than 4 tab-separated fields must be silently skipped (malformed lines). - Timestamps…
Part of ai-and/termgrade-environments.