Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Public data

Three-way reconciliation: matching the books, the payments and the bank each day: Checks

The 13,354 payments built from the extract held every cent of its US$605.4 million, on one county's public records.

The checks that the records were read and rebuilt without losing a cent.

The source adds up

The close ties at every month end

At each of the 12 month ends of 2024, payments issued less voids less bank debits equalled the money in payments not yet cleared, payment by payment. The gap was 0 cents every time. On real bank data this is the check that fails first; here it passes by construction, so it shows the arithmetic, not the data.

Wrong pairings are counted against the truth

The feed builders keep which records truly belong together, and the planting code adds each planted record's truth. A pairing is wrong when its two records do not belong together. A planted spurious record belongs to nothing.

What the real data held

Tests

The tests pin the data checksum and the feed counts. They run each rule on small fixed test cases: a split payment, a shared amount, a void and a late check. They also check that every event kind plants 20 instances, that the independent event grammar applies and that the first version's results file is unchanged. One more checks that a lone fit never matches a debit in reach to the wrong payment.

Limits

The month-end tie is a bookkeeping identity here, because the bank lines are built from the county's own table.