The problem. Public procurement records are open data: requests for information, published tender documents, and awards. Reading every new notice each week and deciding which ones matter is slow, repetitive work. As a personal side project, I wanted to see whether a model could do the first pass, and how I would know if it was doing it well.
What I built. A pipeline that runs every Monday morning without me:
- Plain code syncs the public procurement data and filters new notices. No model is called where plain code can do the job.
- Only when something new appears, a language model rates each notice for relevance and writes its reasoning in a fixed format.
- The judgements are appended to a log that serves as the system’s memory, and I get a message on my phone.
- Half an hour later a second job reads the same memory and writes a weekly brief.
Between August and November 2026 it ran unattended 16 times on Monday mornings; the AI-written brief succeeded 10 times and failed 6.
The part that matters: measuring it
A classifier that sounds reasonable is not the same as a classifier that is right. So before trusting it, I hand-labelled 50 past notices as a fixed test set.
The first version caught 1 of the 13 notices I had marked as high priority.
The model understood the domain: it was usually within one level of my answer. The problem was that I had never told it what “high”, “medium” and “low” meant. Left to guess, it used a generic rule (big budget = important), and budget is a poor proxy for relevance: a small study can matter more than a large purchase.
I wrote the definitions down, with an example for each level, plus two explicit rules: the budget does not decide the level, and when in doubt, rate it higher, because a missed opportunity costs more than a false alarm.
- High-priority notices caught1 of 1312 of 13
- Exact relevance level26%84%
- Serious misses (high rated as low or noise)60
The rule since then: any change to the prompt is tested against the same set before and after, and a change that scores worse does not ship.
The other time it was wrong
A few weeks later, I asked a separate AI session to attack the analysis rather than extend it. It found that one of my headline findings was an artefact of how the data had been collected: I had collected records by searching a fixed list of names, then drew a conclusion about everyone not on that list. The finding described my collection method, not the world. It was withdrawn and labelled as withdrawn, rather than quietly deleted.
What it says about how I work. Automation is cheap now. Knowing whether the automation is right is the actual job.