TrueNorth
About the project
TrueNorth (Tasdeeq): Catch the wrong number before it is saved.
A pre-submission quality gate for company financials. Every entry is checked, explained and signed off by a person before it reaches the database.
The problem
One wrong number rarely stays in one place. In April 2024, Citigroup credited a customer with [$81 trillion instead of $280].
A manual entry screen held a pre-filled amount field with 15 zeros that was never adjusted. Two employees missed it, and a third caught it 90 minutes later. The entry was reversed and no funds left the bank, but only because a last control caught it.
Most teams have two defences, and both have limits. Fixed rules are precise but blind to context. Manual review is thorough but slow and inconsistent. Neither asks whether the number makes sense for this business.
The solution
TrueNorth sits between data entry and acceptance. It checks the context, shows the evidence, and gives analysts a clear decision before data is accepted.
Ordinary code for certainty. Statistics for signals. Gemma 4 for contextual arbitration. Human review for accountability.
One gate, two ways in
TrueNorth is a single quality gate with two front doors, so a wrong number can be stopped wherever it first appears.
- The website. The review workspace for batches and files. Upload entries or documents, inspect each finding next to its evidence, resolve them one by one, and release the reviewed batch.
- The browser extension. A guard at the moment of form filling. As someone completes a payment, invoice or ledger form, the extension reads the fields and runs the same checks before the form is submitted. An amount with a run of extra zeros, a total that does not match its parts, or a value far outside the normal range is held back with a clear reason and the evidence. The entry goes through only after the person corrects it or confirms it on purpose.
Both share the same rules and the same Gemma 4 check, so a number is judged the same way whether it arrives as a file or is typed into a form. The extension catches the error at the screen where it happens, which is exactly where the Citi mistake began.
How it works
- Original file preserved. The source entry stays untouched and open to inspect.
- Deterministic checks. Code verifies what can be proven: subtotal plus tax equals the total, decimals and date formats are consistent.
- Gemma 4 contextual check. Gemma 4 reviews values that pass the math against their business context, for example a unit price against wholesale distribution bounds, and quotes the evidence for each flag.
- Quality gate release. Every finding is resolved by a person before the reviewed batch is released with an audit trail.
Gemma 4 usage
Gemma 4 runs through the Gemini API and is the contextual layer: it flags implausible values, cites the source line, and explains each finding in plain English or Urdu. It never decides pass or fail. Code and the human reviewer hold the gate, so the process stays predictable and auditable.
Built for
Bank operations, finance and accounts payable teams, and audit and compliance analysts who must trust a number before it is stored.
Open source: public repository, Gemma 4 under Apache 2.0, Next.js and TypeScript.
Built with
AI tools
Prize Categories Entered
- Submitted
Best Use of Gemma 4
- Submitted

Best Open-Source AI Project