Financial report cleanup: signed values, trimmed labels, strict columns (Closes #147) #148

Merged
robertismo merged 1 commit from 147-report into master 2026-10-02 19:13:18 +00:00
Owner
  • Every value that counts against a total now renders in parentheses: the income statement's interest expense lines (deposit, bond, and their total), operating expense, credit losses, and the cash-flow outflows were audited so signs are consistent everywhere.
  • Label parentheticals removed: "Loans, net", "Bond investments", "Bond debt", "Net position", "Credit losses", "Bargain purchase gain", "Cash flows", "Net change in cash" — no more "(net of allowance)", "(amortized cost)", "(carrying value)", "(this turn)", "(net of recoveries)", "(decrease)".
  • Strict alignment: fixed-width label column with no label exceeding it, and one indentation for section headers.
  • GAAP statement tests updated to the new labels.

Sample (turn 1):
Balance sheet
Assets
Cash on hand 9,778
Loans, net 68,017
Bond investments 0
Bond market commitments 0
Total assets 77,795
Liabilities
Deposits 57,282
Bond debt 0
Total liabilities 57,282
Equity
Net position 20,513
Total liabilities and equity 77,795
Income statement
Interest income
Loan interest income 1,542
Bond interest income 0
Total interest income 1,542
Interest expense
Deposit interest expense (229)
Bond interest expense 0
Total interest expense (229)
NET INTEREST INCOME 1,313
Credit losses 0
Operating expense (800)
NET INCOME 513

Full suite + vet clean.

- Every value that counts against a total now renders in parentheses: the income statement's interest expense lines (deposit, bond, and their total), operating expense, credit losses, and the cash-flow outflows were audited so signs are consistent everywhere. - Label parentheticals removed: "Loans, net", "Bond investments", "Bond debt", "Net position", "Credit losses", "Bargain purchase gain", "Cash flows", "Net change in cash" — no more "(net of allowance)", "(amortized cost)", "(carrying value)", "(this turn)", "(net of recoveries)", "(decrease)". - Strict alignment: fixed-width label column with no label exceeding it, and one indentation for section headers. - GAAP statement tests updated to the new labels. Sample (turn 1): Balance sheet Assets Cash on hand 9,778 Loans, net 68,017 Bond investments 0 Bond market commitments 0 Total assets 77,795 Liabilities Deposits 57,282 Bond debt 0 Total liabilities 57,282 Equity Net position 20,513 Total liabilities and equity 77,795 Income statement Interest income Loan interest income 1,542 Bond interest income 0 Total interest income 1,542 Interest expense Deposit interest expense (229) Bond interest expense 0 Total interest expense (229) NET INTEREST INCOME 1,313 Credit losses 0 Operating expense (800) NET INCOME 513 Full suite + vet clean.
financial report cleanup: signed values, trimmed labels, strict columns (Closes #147)
All checks were successful
build / build (push) Successful in 29s
5509c4d686
- Every value that counts against a total now renders in parentheses:
  the income statement's interest expense lines (deposit, bond, and
  their total), operating expense, credit losses, and the cash-flow
  outflows were audited so the signs are consistent everywhere.
- The label parentheticals are gone: "Loans, net", "Bond
  investments", "Bond debt", "Net position", "Credit losses",
  "Bargain purchase gain", "Cash flows", "Net change in cash" — no
  more "(net of allowance)", "(amortized cost)", "(carrying value)",
  "(this turn)", "(net of recoveries)", "(decrease)".
- Strict alignment: the label column is fixed-width with no label
  exceeding it, and the section headers share one indentation, so
  nothing breaks the columns.
- The GAAP statement tests' expected labels updated to match.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Winnie/bankwars!148
No description provided.