Marcos Bernardes

Written with AI, reviewed by Marcos. How I use AI on this site

AI-generated media in this post: diagram.

An AI model lost to the rules I approve myself

Lab · Test · · budget · llm · evals

Verdict

Not worth it

Usefulness
2 out of 5
Ease of adoption
3 out of 5
Value for money
2 out of 5

Scores from 1 to 5, 5 = best. No average: each criterion stands on its own.

What I tested

I’m replacing the spreadsheet where I’ve tracked my personal budget for more than a decade with a system of my own (it’s in the projects). The most tedious part of the spreadsheet was always the same: deciding, line by line, which category each expense belongs to. So this test asked a single question: who should make that call?

Three candidates:

  • Rules matching on the description, which I write and approve.
  • A small local model, running on Ollama on my MacBook.
  • A large model, Claude, called through claude -p on my subscription (no pay-per-token API).

How I measured it

I built an “arena”: the same interface for all three deciders. Each one gets a line and returns a category with a confidence, and a calibrator adjusts that confidence so it actually means something. The bar was high on purpose: a decider only answers on its own above 95 % confidence. Below that, the line is left for me.

A few rules held for the whole test:

  • The data was pseudonymised before any model saw it: names replaced with placeholders.
  • The test ran on more than a year of real history, not on a made-up example.
  • The evals ran on promptfoo.
  • Nothing goes out without my OK.
The arena flow A new expense, already pseudonymised, goes first through the rules and then through the model. Whoever is above 95 % confidence answers on its own; the rest is left for me. Once a month, what I approved becomes a new rule. New expense, pseudonymised Rules (by description) Model: small local or Claude Left for me: 👍 or a fix Monthly loop: 👍 becomes a rule Answers on its own > 95 % > 95 % (almost never) next month
The arena flow. Diagram made with AI from my summary.

What happened

First I ran a synthetic test, and everything looked great: the local model got 97.5 % right.

Then came the real data:

  • The rules only answer a small share of the lines, around 14 %, but with 98 % accuracy.
  • On what’s left, which is most of it, the local model gets 28 % right. Claude gets around 52 % and never reliably reaches 95 % confidence, even after more than a thousand calls. It also abstains quite a lot.

The reason became clear once I looked at what was left: it’s new. The vast majority of those lines had never shown up before. No model can guess what it has never seen the way I categorise it. The category of an expense isn’t a fact about the world; it’s a decision of mine.

What worked was far less flashy: a monthly loop. Whatever I approve with a 👍 one month becomes a rule the next. That alone covers around 15 % of the remainder at 97 % accuracy, and it grows by itself.

What went wrong

Two things, both on me:

  1. I trusted the synthetic test. The 97.5 % said nothing about my data, because the synthetic set lacked what weighs most in the real one: lines that had never appeared before.
  2. I assumed a bigger model would fix it. Claude got almost twice as many right as the local model, but the problem wasn’t model size; it was new data.

Why these scores

For “an LLM deciding the category of my expenses on its own”: not worth it.

  • Usefulness 2: it gets little right precisely on the remainder, which is where I needed help.
  • Ease of adoption 3: the pieces are accessible (Ollama, claude -p, promptfoo), but building the arena and the calibrator takes work.
  • Value for money 2: even without paying per token, running and checking it doesn’t pay off at that accuracy.

What is worth it is the middle path: rules first, the rest left for me, and my 👍 from one month becoming a rule the next.

What I take away

  • A synthetic test proves the plumbing; it doesn’t measure accuracy.
  • Before switching models, ask whether what’s missing is the model or the data.
  • A high confidence bar is what separates “AI helps me” from “AI decides for me”.

Knowing when not to let the LLM decide is applied AI too.

Ler em português