HF RL Explorer

Write a command-line tool /app/fixcalc.py that reads a single CSV file and performs fixed-point arithmetic…

Write a command-line tool /app/fixcalc.py that reads a single CSV file and performs fixed-point arithmetic…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : A CSV file with a header row and these columns: - id (integer) - amount (decimal string, e.g…

The task

**Input format**: A CSV file with a header row and these columns: - `id` (integer) - `amount` (decimal string, e.g. `"123.456"`) - `rate` (decimal string, e.g. `"0.333"`) - `currency` (3-char uppercase code, e.g. `"USD"`) - `timestamp` (ISO-8601 with timezone, e.g. `"2024-01-15T10:30:00+02:00"`)

Part of ai-and/termgrade-environments.