HF RL Explorer

Implement a command-line tool /app/logparser that reads a CSV file from STDIN and writes aggregated results…

Implement a command-line tool /app/logparser that reads a CSV file from STDIN and writes aggregated results…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (CSV via STDIN): - No header row. - Each row has exactly 5 fields separated by commas…

The task

**Input format (CSV via STDIN):** - No header row. - Each row has exactly 5 fields separated by commas: `timestamp,event_type,user_id,duration_ms,payload` - `timestamp`: ISO 8601 datetime string in UTC with `Z` suffix (example: `2024-01-15T08:30:00Z`) - `event_type`: one of `LOGIN`, `LOGOUT`, `PAGE_VIEW`, `PURCHASE`,…

Part of ai-and/termgrade-environments.