Run artifact

workspace/targets/LayersTesting/SOUNDINGS.md

Soundings

Per-assertion acceptance board, one row per Blueprint Programmatic Acceptance check. drydock plan projects every assertion as — UNVERIFIED; drydock score ac sets the Status column from deterministic proof results. A rerun of drydock plan resets Status to — UNVERIFIED; rescore to refresh.

StatusBlueprintAC IdTextBindingBaselinePreviously PassedLast BlockEvidenceVerified At
✓ PASSARCHITECTURE.mdarch-project-filesThe project root carries the dependency manifest, lock, pytest conftest, and a test launcher that runs pytest.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSARCHITECTURE.mdarch-packages-importThe ledger_core package and its foundation modules import.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSARCHITECTURE.mdarch-config-precedenceDATABASE_URL wins over DATABASE_PATH, an empty URL falls through, and with both unset the default path is used.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSARCHITECTURE.mdarch-error-exit-codesThe three domain error classes derive from LedgerError and carry the exit codes 3, 4, and 1.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSARCHITECTURE.mdarch-driver-boundaryNo application module outside the generated persistence package imports a database driver.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSARCHITECTURE.mdarch-no-floatDomain code contains no float call and no float literal, so money never uses floating point.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-createaccounts.create stores a row and returns the declared Output, which a separate get reads back.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-getaccounts.get returns the stored row for an existing code and None for an absent one.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-updateaccounts.update changes only the name and the change is visible on a separate read.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-deleteaccounts.delete removes the row so a later get finds nothing.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-listaccounts.list returns rows ordered by account code ascending; two codes created in reverse order appear in sorted order.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdaccounts-clearaccounts.clear removes accounts whose code is at or above the bound, reports a positive count, and leaves none readable.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-createcategories.create stores a row and returns the declared Output, which a separate get reads back.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-getcategories.get returns the stored row for an existing code and None for an absent one.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-updatecategories.update changes the description and the change is visible on a separate read.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-deletecategories.delete removes the row so a later get finds nothing.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-listcategories.list returns rows ordered by category code ascending; two codes created in reverse order appear in sorted order.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdcategories-clearcategories.clear removes categories whose code is at or above the bound, reports a positive count, and leaves none readable.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-createtransactions.create stores a signed integer-cents row under the supplied id and returns it, and a separate get reads every column back.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-gettransactions.get returns the stored row for an existing id and None for an absent id.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-updatetransactions.update changes only the amount and the change is visible on a separate read.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-deletetransactions.delete removes the row so a later get finds nothing.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-listtransactions.list filters by account and inclusive date range and returns rows by txn_id ascending; rows outside the range or on another account are excluded.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSDATABASE.mdtransactions-cleartransactions.clear removes transactions at or above the bound, reports a positive count, and leaves none readable.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-registry-loadRegistry loading is idempotent and every key is a tuple of words.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-unknown-commandAn unknown command, or no command at all, exits 2 with an empty stdout and exactly one stderr line.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-dispatch-successA registered command receives its arguments and its rows print as unquoted CSV with newline endings.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-usage-errorsA wrong argument count, a bare group word, and a group word with an unknown sub-word each exit 2 with empty stdout.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-domain-error-codesHandlers raising Rejected, NotFound, or Operational exit 3, 4, or 1 and print nothing to stdout.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-unopenable-databaseA database location that cannot be opened exits 1 with empty stdout.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-CliEntry.mdcli-launcherThe ledger launcher at the application root is executable and exits 2 for an unknown command with empty stdout.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdvalidation-codeCodes of 1 to 12 characters from A-Z and 0-9 are returned unchanged; empty, lowercase, too long, and other characters are rejected with exit code 3.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdvalidation-nameNames of 1 to 40 characters without comma or newline are accepted; empty, 41 characters, comma, and newline are rejected.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdvalidation-memoMemos of 0 to 60 characters without comma or newline are accepted, including the empty memo; 61 characters, comma, and newline are rejected.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdvalidation-dateReal calendar dates in YYYY-MM-DD form are accepted, including a leap day; impossible dates and other layouts are rejected.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdmoney-parse-validValid amount text parses to the integer cents it denotes, as an int and not a float.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdmoney-parse-invalidZero, three or more decimals, and text outside -?DIGITS[.D[D]] are rejected with exit code 3.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdmoney-formatInteger cents format with exactly two decimals, a leading minus when negative, and no thousands separator.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Validation.mdmoney-round-tripParsing the formatted text of any nonzero cents value returns the same cents.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-currentcurrent_balance sums an account's stored amounts and is zero for an account with no transactions.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-insertAn insert that lands the balance at zero passes, one cent below zero is rejected with exit 3, and nothing is written either way.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-insert-new-accountAn account with no transactions accepts a positive insert and rejects a negative one.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-editEditing the larger credit below what the debits need is rejected; editing it to exactly cover them passes.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-deleteDeleting the credit that funds a debit is rejected; deleting the debit passes.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-combinedSeveral changes to one account are judged by their net effect regardless of order; a credit and a debit that net to a non-negative balance pass in either order.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-BalanceRule.mdbalance-multi-accountWhen one of several affected accounts would go negative the whole set is rejected and nothing is written.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-InitCount.mdcount-shapecount prints the header table,rows and the three tables in order, each count equal to the number of stored rows.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-InitCount.mdcount-tracks-writesAfter one account, one category, and one transaction are stored, each reported count rises by exactly one.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-InitCount.mdinit-empties-tablesinit exits 0 with empty stdout, removes rows in foreign-key order without error, and leaves all three tables empty.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-InitCount.mdinit-then-countAfter init, count reports zero rows for every table, and init run a second time on the empty ledger still exits 0.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-InitCount.mdinit-fresh-databaseinit against a database path that does not yet exist creates the file, exits 0, and count then reports zero rows.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-InitCount.mdinit-count-usageinit and count with an extra argument are usage errors that exit 2 with empty stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-reads-numbered-rowsread_rows returns every data row in file order with 1-based file line numbers and the parsed fields, for a file whose header matches.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-header-only-is-emptya file with a matching header and no data rows yields an empty list rather than an error.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-missing-file-operationalan unreadable path raises the Operational error, which the CLI maps to exit 1.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-bad-header-rejecteda header with the wrong names, the wrong order, or no content raises Rejected, which the CLI maps to exit 3.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-wrong-field-count-rejecteda data row with too few or too many fields raises Rejected even when the header is valid.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCsvReader.mdcsvio-load-missing-file-exit-1through the CLI, a load naming an unreadable file exits 1, writes nothing to stdout, and stores nothing.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-add-successadding a new account exits 0, prints the header and one row with zero transactions and a zero balance, and the account reads back from the store.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-add-duplicate-rejectedadding a code that already exists exits 3, prints nothing, and leaves the stored name unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-add-invalid-codelowercase letters, a code longer than 12 characters, a bad character, and an empty code each exit 3 with no output and store no account.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-add-invalid-namean empty name, a name over 40 characters, and a name containing a comma each exit 3 with no output and store no account.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-add-boundary-lengthsa 12-character code and a 40-character name are the largest accepted values and are stored whole.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-AccountAdd.mdaccount-add-usage-errorsthe wrong number of arguments is a usage error with exit 2 and no output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountAdd.mdaccount-row-helperaccount_row reports the live transaction count and the integer-cent balance computed from stored transactions, and None for an absent account.yesVALID product-missingyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnPost.mdtxn-post-successA valid post prints the new row with the next id, the supplied values, and a two-decimal amount, and a separate read shows the stored cents.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnPost.mdtxn-post-default-memoOmitting the memo stores an empty memo and the row still prints with six fields.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnPost.mdtxn-post-next-idTwo consecutive posts receive consecutive ids, the second one more than the first.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnPost.mdtxn-post-rejectionsUnknown category, unknown account, three-decimal amount, zero amount, and an impossible calendar date each exit 3 and leave the transaction count unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnPost.mdtxn-post-negative-balanceA withdrawal larger than the account balance exits 3 and stores nothing, while a withdrawal within the balance succeeds.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-TxnPost.mdtxn-post-usageToo few or too many arguments are usage errors with exit 2 and no standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadAccounts.mdload-accounts-successa valid accounts file loads every row, prints the declared two CSV rows with the loaded count, and the rows are readable afterward.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadAccounts.mdload-accounts-rejected-row-stores-nothingwhen the last row is invalid, exit 3 is returned, stdout is empty, and none of the earlier valid rows is stored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadAccounts.mdload-accounts-invalid-fieldseach invalid code or name (too long, empty, bad characters, comma in name) rejects the whole file with exit 3 and stores neither it nor the valid row before it.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadAccounts.mdload-accounts-duplicates-rejecteda code repeated inside the file, and a code already stored, each reject the whole file with exit 3 and leave the other rows unstored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-LoadAccounts.mdload-accounts-header-and-usagea wrong header exits 3 with nothing stored, and a missing file argument is a usage error with exit 2.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountDelete.mdaccount-delete-successDeleting an account without transactions prints the confirmation and a later read finds nothing.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountDelete.mdaccount-delete-in-useAn account with a transaction is refused with exit 3 and both the account and the transaction remain.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountDelete.mdaccount-delete-absentDeleting an absent account exits 4 with no standard output.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-AccountDelete.mdaccount-delete-usageA missing argument is a usage error with exit 2 and no standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnGet.mdtxn-get-existingA stored transaction prints with every column and the cents shown as a two-decimal amount.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnGet.mdtxn-get-negative-amountA negative stored amount prints with a leading minus and two decimals.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnGet.mdtxn-get-absentAn absent transaction id exits 4 with no standard output.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnGet.mdtxn-get-bad-idA non-integer id is rejected with exit 3 and a wrong argument count is a usage error with exit 2.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountRename.mdaccount-rename-successRenaming prints the updated row and a separate read shows the new name persisted.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountRename.mdaccount-rename-absentRenaming an absent account exits 4 with no standard output and creates nothing.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountRename.mdaccount-rename-invalid-nameA name containing a comma, an empty name, and an over-length name each exit 3 and leave the stored name unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-AccountRename.mdaccount-rename-usageA wrong argument count is a usage error with exit 2 and no standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountGet.mdaccount-get-existingAn account with two stored transactions is printed with its live count and its balance, both derived from the fixture amounts.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountGet.mdaccount-get-empty-accountAn account with no transactions prints a zero count and a zero balance.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-AccountGet.mdaccount-get-absentAn absent account code exits 4 and writes nothing to standard output.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-AccountGet.mdaccount-get-usageA missing or surplus argument is a usage error with exit 2 and no standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnDelete.mdtxn-delete-successDeleting an existing transaction exits 0, prints deleted then the id, and a separate read finds no row.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnDelete.mdtxn-delete-absentDeleting an id that does not exist exits 4 with nothing on stdout.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnDelete.mdtxn-delete-negative-balanceDeleting a +10000 deposit while a -4000 payment remains would leave -4000, so exit 3 and the row stays; deleting the payment instead leaves a positive balance and succeeds.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnDelete.mdtxn-delete-bad-idA non-integer id is rejected with exit 3 and nothing on stdout.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-TxnDelete.mdtxn-delete-usageA wrong argument count for txn delete exits 2 with nothing on stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnAmend.mdtxn-amend-successAmending an existing transaction exits 0, prints the updated row with the supplied amount text, and a separate read shows the new integer cents.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnAmend.mdtxn-amend-only-amountAmend changes only the amount; date, account, category, and memo read back exactly as they were created.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnAmend.mdtxn-amend-absentAmending an id that does not exist exits 4, prints nothing to stdout, and creates no row.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnAmend.mdtxn-amend-negative-balanceAn amend that would leave the account balance below zero exits 3 and keeps the original amount, while an amend landing exactly on zero succeeds. The account holds +10000 and -4000 cents, so lowering the first to 3000 gives -1000 and lowering it to 4000 gives 0.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-TxnAmend.mdtxn-amend-invalid-amountAmounts with three decimals, a zero amount, and a non-numeric amount are rejected with exit 3 and the stored amount is unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-TxnAmend.mdtxn-amend-usageA wrong argument count for txn amend exits 2 with nothing on stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCategories.mdload-categories-successa valid categories file loads every row, prints the declared two CSV rows with the loaded count, and the rows are readable afterward.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCategories.mdload-categories-rejected-row-stores-nothingwhen a later row is invalid, exit 3 is returned, stdout is empty, and none of the earlier valid rows is stored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCategories.mdload-categories-invalid-fieldseach invalid code or description (bad characters, empty, over length, comma) rejects the whole file with exit 3 and stores no row.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadCategories.mdload-categories-duplicates-rejecteda code repeated inside the file, and a code already stored, each reject the whole file with exit 3 and leave the stored row unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-LoadCategories.mdload-categories-header-and-usagea wrong header exits 3 with nothing stored, and a missing file argument is a usage error with exit 2.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-Transfer.mdtransfer-successA valid transfer exits 0 and prints two rows with consecutive ids starting at the previous maximum plus one, category TRANSFER, the signed amounts, and the specified memos; a separate read shows both stored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Transfer.mdtransfer-conserves-cashA valid transfer moves cash without changing the total held by the two accounts, computed from stored rows before and after.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Transfer.mdtransfer-insufficient-fundsA transfer exceeding the source balance by one cent exits 3 and stores neither row; a transfer of exactly the balance then succeeds and leaves the source at zero.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-Transfer.mdtransfer-rejectionsSame source and destination, zero or negative amounts, three decimals, an impossible date, and an unknown account are each rejected with exit 3, with empty stdout and no new rows.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-Transfer.mdtransfer-usageA wrong argument count for transfer exits 2 with nothing on stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-successa valid file loads every row keeping its txn_id, prints the declared two CSV rows, and each stored row reads back with the cents derived from the input text.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-unknown-reference-stores-nothinga final row naming an unknown account rejects the whole file with exit 3, and none of the ten valid rows before it is stored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-invalid-fieldseach invalid date, amount, memo, or txn_id rejects the file with exit 3 and stores neither the bad row nor the valid row before it.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-duplicate-ids-rejecteda txn_id repeated inside the file, or already stored, rejects the whole file with exit 3 and leaves the stored row unchanged.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-negative-balance-rejecteda file whose combined effect leaves an account below zero is rejected with exit 3 and stores no row, even though each row is individually well formed.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-LoadTransactions.mdload-transactions-balance-considers-whole-filea withdrawal listed before the deposit that funds it is accepted because the balance rule uses the combined effect of all rows, and both rows are stored.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-LoadTransactions.mdload-transactions-header-and-usagea wrong header exits 3 with nothing stored, an unreadable file exits 1, and a missing file argument exits 2.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportBalances.mdreport-balances-valuesEach account row carries the count and formatted balance derived from stored transactions, and the TOTAL row carries the overall count and sum; expectations are computed from the stored rows.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportBalances.mdreport-balances-order-and-emptyAccounts are ordered by code regardless of creation order, and an account with no transactions still appears with count 0 and a zero balance.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportBalances.mdreport-balances-total-consistencyThe TOTAL row equals the sum of the per-account rows, including negative-free cent arithmetic across accounts.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportBalances.mdreport-balances-formatOutput uses newline endings only, ends with a newline, and no line carries trailing spaces.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-ReportBalances.mdreport-balances-usageExtra arguments and an unknown report name exit 2 with nothing on stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportMonthly.mdreport-monthly-rowsMonthly rows, ordering, and the TOTAL row are computed from posted transactions; expected counts and sums are derived from the supplied amounts with Decimal.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-ReportMonthly.mdreport-monthly-usageExtra arguments to report monthly are a usage error with exit 2 and nothing on standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportMonthly.mdreport-monthly-reflects-changesThe report is recomputed from the database: posting one more transaction in a new month adds exactly one month row with the posted amount as inflow.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportCategories.mdreport-categories-valuesEach category row and the TOTAL row match inflow, outflow, net, and count derived from stored transactions, including a category with mixed signs and an empty category.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportCategories.mdreport-categories-emptyA category with no transactions is listed with count 0 and zero inflow, outflow, and net.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportCategories.mdreport-categories-orderCategories are ordered by code regardless of creation order, and the TOTAL row is last.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportCategories.mdreport-categories-net-identityFor every row including TOTAL, net equals inflow minus outflow, and outflow is never written with a leading minus.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
✓ PASSFEATURE-ReportCategories.mdreport-categories-formatOutput uses newline endings only, ends with a newline, and no line carries trailing spaces.yesVALID baseline-redyesblock-102026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-ReportCategories.mdreport-categories-usageExtra arguments exit 2 with nothing on stdout.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-CommandContract.mdcontract-usage-errorsUnknown commands, unknown tables or reports, and wrong argument counts all exit 2 with empty standard output.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-CommandContract.mdcontract-csv-formatSuccessful commands emit the declared headers, newline-only endings, no trailing spaces, and amounts with exactly two decimals.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-CommandContract.mdcontract-failures-silent-stdoutFailing commands write nothing to standard output and exactly one diagnostic line to standard error, with the documented exit code for each failure class.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-CommandContract.mdcontract-rejected-writes-change-nothingRejected writing commands exit 3 and leave the counts of all three tables unchanged.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-NoNegativeBalance.mdnonneg-loadA transactions load whose earlier rows are individually valid but whose combined effect makes the balance negative is rejected whole with exit 3 and stores none of its rows.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-NoNegativeBalance.mdnonneg-postPosting an outflow larger than the balance exits 3 and leaves the balance and transaction count unchanged.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-NoNegativeBalance.mdnonneg-amendAmending a deposit down so the account would go negative exits 3 and the original amount remains.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-NoNegativeBalance.mdnonneg-deleteDeleting a deposit that funds a later outflow exits 3, keeps the row, and leaves the balance unchanged.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-NoNegativeBalance.mdnonneg-transferA transfer larger than the source balance exits 3 and stores neither row; both balances and the table count are unchanged.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00
~ PREPASSEDFEATURE-Verification.mdverification-full-suiteThe supplied grader and the project's own test suite both exit zero when run from the application root against their own temporary databases.yesVALID existing-behavioryesblock-10green at this block's baseline too, before its code existed — confirm the criterion exercises the story's work2026-10-27T15:08:22+00:00