HF RL Explorer

Create a command-line tool /app/fixcalc that reads a CSV file of decimal arithmetic expressions and computes…

Create a command-line tool /app/fixcalc that reads a CSV file of decimal arithmetic expressions and computes…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : A CSV file path passed as the only argument. The CSV has NO header row. Each row contains…

The task

**Input format**: A CSV file path passed as the only argument. The CSV has NO header row. Each row contains exactly 3 columns: - Column 0: An expression string (e.g., "12.345 + 6.7", "100 / 3") - Column 1: A precision integer (number of decimal places to keep in the result, non-negative) - Column 2: A rounding mode…

Part of ai-and/termgrade-environments.