- Kind
- Engineering Note
- Products
- EvoFlow, theStandards
- Evidence
- 1 reported · 1 merged · 2 planned
Illustration A filled-in “0 g” looks like a measurement; the marker shows “—” or “~N” instead. The numbers are examples.
Zero is a confident number. That is the problem.
Say you send EvoFlow, my nutrition app, a photo of a bagel. The model reads the plate and gives back calories, carbs and fat, but about protein it says nothing at all.
Nothing is not zero, of course, but the app wants four numbers for every meal, so a function called completeMacros quietly fills the gap. Sometimes it derives a value from the others, and sometimes it simply writes 0. The screen then says “0 g protein”, in exactly the same type as a number someone really measured.
(The bagel is made up, though the habit is not. If you have ever trusted a “0 g” in a fitness app, you have been politely lied to, and so had I, by my own code.)
A zero you did not measure is a lie your app tells politely, and I would rather mine stopped. That was ticket THE-92, and it is the plainest case of a rule I am drafting in theStandards, a candidate called DATA-UNKNOWN-001: a missing number is not a zero.
The fix: say “I don’t know” out loud
Each meal now carries a list called filledFields, which records which numbers the program filled in. A filled 0 should show as “—”, a derived value as “~13 g”, and a measured 0 stays “0 g”. The pull request was merged on 25 November 2026.
You will not see any of this yet, though. The screen code is in the merge, but the web app only asks for the new field in a follow-up that ships after the backend deploy, so for now the app is still lying politely, only with better paperwork behind it.
Then the marker went missing, on the card meant to show it
The AI coding agent that wrote the fix said that every path that saves a meal keeps the marker. A second model reviewed it and disagreed, three times:
- A meal logged in chat from pantry ingredients, say a chicken salad.
- Repeating a meal that has ingredients.
- The quick portion adjustment on the latest-meal card.
Read the last one again. That is the very card the change had just taught to show the dash, and the marker got lost on exactly that screen.
A fix for “we lost track of what we don’t know” lost track of it. I could not have written that scene better, and I would have been embarrassed to try.
All three were fixed before the merge. A second round found one more, which I left alone for now: the quick adjustment rounds every number to a whole one, so an untouched, derived 12.5 g of carbs becomes 13, counts as “edited”, and loses its marker. The pull request lists it as a known limitation, with the fix planned for the web follow-up. (A model’s review is not human review, by the way. It is a second pair of eyes, not a signature.)
Old meals get no apology
Meals saved before the change have no marker, and I chose not to backfill them, so an old filled 0 stays indistinguishable from a measured one. Several screens, the dashboard totals among them, also still treat a filled 0 as a plain 0, because they do not read the marker yet.
Take this to work tomorrow
If you take one thing from my mistake, let it be this: store how you know a number right next to the number, because a bare 0 cannot tell you whether it was measured, guessed or filled in. And test every path that writes the data, not only the screen that shows it, since here it was three writes that quietly dropped the marker.
What I don’t know yet
- Whether you can see the dash today. You can’t, because the screen part ships after the backend deploy.
- Whether the rounding case is the last one. Two review rounds found four paths, and I won’t promise that a fifth is not hiding somewhere.
- Whether DATA-UNKNOWN-001 ever becomes a rule. It is a candidate, and I have not decided it.
Evidence
The sources are private, so each item is described in words, with the state it is in.
Merged
The marker in EvoFlow
Pull request #141 in the EvoFlow repository (ticket THE-92) was merged on 25 November 2026 as b1d7849. It adds a field, filledFields, that records which of calories, protein, carbs and fat the program filled in. The repository is private, so readers cannot check this.
In the main branch. Not necessarily deployed.
Planned
The screen showing it
The code that shows "—" and "~N" is in the merged pull request, but the web app does not request the field yet. That is a follow-up pull request, to be merged only after the backend deploy is confirmed live. Until then users see what they saw before.
Not done yet.
Reported
The three lost markers
Found in review by a second model and fixed in the second commit of the pull request. The pull request description and commit message report the fixes; the review itself is reported by me, not independently checked. A model's review is not human review. The fix was written by an AI coding agent working for me.
Stated by the project itself. Not checked independently.
Planned
The rule behind it
DATA-UNKNOWN-001 in theStandards is a candidate, not part of the canon. EvoFlow's pinned canon is 0.1.0, and the pull request says it does not claim conformance to a rule.
Not done yet.
