Create a command-line tool /app/pipeline that reads a UTF-8 CSV file of events and outputs an aggregated…
Create a command-line tool /app/pipeline that reads a UTF-8 CSV file of events and outputs an aggregated…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input CSV format: - No header row - Columns: id (integer), timestamp (ISO 8601 with timezone, either Z or…
The task
**Input CSV format:** - No header row - Columns: `id` (integer), `timestamp` (ISO 8601 with timezone, either `Z` or `+HH:MM`), `user_id` (string, non-empty), `event_type` (one of: `click`, `view`, `purchase`), `amount` (decimal string, e.g. `"19.99"`, may be negative for refunds) - Rows separated by LF (`\n`) -…
Part of ai-and/termgrade-environments.