Ledger · prototype dashboard

Dashboard

The model results for every test set-up are public. The per-user spending views, the live SQL box and the spending-assistant replay are locked, and decrypt in your browser only with the password.

← Ledger home
11,368usable expenses
12card-holders (5 volunteers + 7 public)
5banks · 12 categories
94%blind label audit (κ 0.93)
Categorisation · macro-F1

Five test set-ups, from easiest to hardest

Majority classMerchant lookupTF-IDF + logistic regression

Random splits reuse the same merchants in training and test. On brand-new merchants an exact lookup collapses to 4.1%, while character n-grams keep 51.2%. Run: expense_categoriser_train_test.ipynb, 27 Oct 2026.

Calibration · unseen merchants

Is the confidence honest?

Points above the diagonal mean the model is cautious. 0.7–0.8 confidence was right 95% of the time.

Review threshold

Auto-file or ask?

The chosen threshold (0.60) is the lowest at which auto-filed brand-new-merchant purchases are at least 90% correct.

Spending assistant

From categories to answers

67%text-to-SQL execution accuracy (20 of 30), Qwen2.5-1.5B on a Colab T4
75% / 50%category questions / control questions
0queries rejected by the guard (1 failed to run: MySQL YEAR())

Error propagation

The same 30 gold queries, run on true categories and on out-of-fold predicted ones.

Question typeKnown merchantsBrand-new merchants
Control: no category (10)100%100%
Category questions (20)55% (median error 5%)5% (median error 89%)

Where the LLM went wrong

All 30 questions

✓ / ✗ = the LLM's SQL returned the gold answer. Answers and amounts are in the locked tab.

Advice answers

Why advice goes through tools next

"How can I save 1,000 AED a month?"

Three cuts that add up to about 295 AED, then "these adjustments should help you reach your goal".

"Give me 5 best places to cut"

Three places, priced in dollars ($484, $1230, $176) when the data is in AED.

"Where can I save next month?"

Describes government fees as "parking fines or utility bills", which belong to other categories.

Every number the model was given was real; its arithmetic and reasoning were not. The locked tab shows the proposed fix running: fixed analysis tools compute every figure, and the text only ranks and phrases them.