HF RL Explorer

Create a command-line tool /app/tally that performs fixed-point decimal arithmetic on an input ledger file…

Create a command-line tool /app/tally that performs fixed-point decimal arithmetic on an input ledger file…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a single file path from the command line. - Each line in the file is either…

The task

**Input contract:** - The tool reads a single file path from the command line. - Each line in the file is either empty, a comment (starts with `#`), or a transaction in the format: `ACCOUNT_NAME AMOUNT` where AMOUNT is a decimal number with exactly 2 decimal places, optionally prefixed with `+` or `-`. Leading zeros…

Part of ai-and/termgrade-environments.