HF RL Explorer

Write a CLI tool /root/query.py that reads a log file in a custom format and answers queries about it.

Write a CLI tool /root/query.py that reads a log file in a custom format and answers queries about it.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Log format: Each line is either: - A start record: START <id <timestamp - An end record: END <id <timestamp - Or…

The task

**Log format:** Each line is either: - A **start** record: `START <id> <timestamp>` - An **end** record: `END <id> <timestamp>` - Or empty/whitespace-only (skip it).

Part of ai-and/termgrade-environments.