When an AI writes the code, a green build stops being evidence.
The interface rendered. The type-check was clean. 307 unit tests passed. None of those three facts tells you whether a feature actually executes — and in this codebase, four classes of defect satisfied all three. That is the real problem this case is about: not what to build, but how to confirm what was built is real.
Stop reading the code. Call the endpoint and read what comes back.
Probe the live endpoint
Semantic search never used a vector — the product object dropped its vector field at the data-mapping layer and every query silently fell back to keyword matching. Keyword matching returns results too, so nothing looked wrong.
Open the thing it created
Lists built from a template were always empty: the items the front end sent were silently stripped by back-end validation. The catch branch also showed a success message, so a dropped network still reported good news.
Query the database directly
Six declared tables had never been created. Nothing read or wrote them, so 'relation does not exist' had never been triggered. Reading code during a migration also turned up cron auth that did not fail closed when its key was unset.
They all pass build, type-check and tests. What is broken is whether the feature runs at all, and no automatic gate is watching for that.
— The property all four classes share'Renders correctly' and 'executes correctly' are different claims.
Only one of them has automatic gates behind it. A build proves the code compiles; a test proves the path the test walks; a screenshot proves pixels. None of them proves that a query used the index it was supposed to, that a write landed, or that a declared table exists. The verification pass in this project is simply the habit of asking the second question out loud, on every feature, with the deployed system rather than the source.
Feature bloat cycle
- AI predictions & social layers before real users
Scope cut & script check
- Pinned deterministic 65-item checks
One more defect was mine: a regression from my own fix to search. Passing a missing field through serialized a 1,536-dimension vector into the API response and pushed three search results to 89 KB. I found it by calling the real endpoint and reading the response, not by reviewing my own diff. It stays in the case because a check that only catches the AI is not really a check. It also shows the method's limit: nothing prevented the defect, something caught it afterwards.
Looking back, I judge that the feature list was AI-generated planning, derived from what a complete product ought to have rather than from anyone's need; that is my later reading, not something the repo records. Phases 2 through 6 all landed across two days, 9–10 January 2026. On 1 March a single commit added 5,884 lines: a v1 API, AI function calling, bilingual text, price prediction, and a social layer of friends, DMs, feeds, household groups and challenges that made up about a quarter of it. On 2 March I stopped, and did not touch it for five months. The scope never came back down: in August the v1 routes moved to unversioned paths rather than being removed, and the social routes are still in the app. Looking back, a comparison app on simulated data with no registered users should not have kept growing.
Receipt matching is the product: a receipt prints MLK FC 2L, the catalog says Full Cream Milk 2L, and if those do not meet, nothing else can happen. That module was written in one pass of 175 lines in the second commit and never modified, with 13 tests using 'milk', 'eggs', 'sourdough bread' — not one input resembling printed receipt text. Against 20 constructed receipt-format inputs it matched 15; after a fix that only adds points and never subtracts, 19. All 15 originally-correct inputs held. 311 tests green.
4classes of defect passing build, types and tests
- receipt-format inputs matched
- 15 → 19 of 20
- registered users
- 0
A deployed comparison prototype on demo data, covering Coles, Woolworths and Aldi across 65 products — and, more usefully, a verification habit with scripts anyone can re-run. Evidence status: zero registered users. Every verification ran on data I created, and what a real crumpled receipt does to recognition accuracy is unknown to me. The verification is also manual: it should be a build gate, and it is not one yet.
One mismatch was left unfixed on purpose. 'MLK FC 2L' moved from no-match to matching Oat Milk — a change in kind, and for the worse. A no-match lands in the unmatched list where the user can see it; a wrong match sends a wrong price silently into the comparison and the user never finds out. Fixing it means either an abbreviation dictionary, which becomes an endless maintenance list, or admitting two-letter tokens, which reinstates the mis-matches just suppressed. The correct handling is to send it back to no-match, which is a confidence-threshold problem rather than an abbreviation problem. It is pinned by a test so that if it changes, someone knows.
The deployed prototype, in the page. Browse the 65-product catalogue and compare across the three chains without signing in. Prices come from simulated data, and the database has no registered users.
Captured from the live deployment, not mocked up. Amounts shown come from demo data, not from anyone's real bill — the database has zero registered users.



Outcome limits
Zero registered users. Every verification ran on data I created.
The case proves a verification method, not that the product is useful. What a crumpled receipt does to recognition accuracy is unknown to me.
Next validation Five people, their own receipts, and a record of how recognition fails rather than how often.
The verification is manual and lives in my hands.
A check that depends on someone remembering to run it is not a gate. These defects existed precisely because no automatic check was asking whether features executed.
Next validation Wire the endpoint probes into the build pipeline so that 'does it actually run' fails CI rather than waiting for a person.
The catalogue is 65 products across three chains, priced from simulated data.
Prices shown in the case are demo data, not anyone's real bill, and the comparison logic has never met real pricing volatility.
Next validation A live pricing source for a small product set, and a check on how stale a price can get before the comparison misleads.
For interviewers
Methods, evidence, process and hard questions. Collapsed by default.
Methods and evidence
Methods
- spec-first delivery
- live endpoint probing
- direct database inspection
- regression test authoring
Evidence collected
- 109 API routes and 36 page routes in a deployed app, against 311 Vitest tests
- four classes of defect that passed build, type-check and test, plus a regression from my own fix that only the live endpoint showed
- a 96-commit history (to 13 August 2026): 5,884 lines in one commit on 1 March 2026, about a quarter of them social features, then five months with no commits
What I would do next
I would put it in front of five people using their own receipts, and turn the manual verification into a build gate.
Before and after
Expose silent matching failures instead of faking certainty
Inspect why raw receipt abbreviations forced an explicit 'unmatched' UI tier rather than letting keyword fallback masquerade as semantic search.

Questions interviewers ask
An AI wrote the code and everything passes. What is left for you to check?
Whether the feature executes at all. I go feature by feature calling the deployed endpoint, reading the response body and querying the database directly, and I read the code during a migration. Four classes of defect had passed build, type-check and the full suite: semantic search that never used a vector, template lists created empty, cron auth that did not fail closed without its secret, and six declared tables that were never created.
Were any of those your own?
One, a regression from my own fix to search. Passing the missing field through serialized a 1,536-dimension vector into the API response and pushed three search results to 89 KB. I found it by calling the real endpoint and reading what came back, not by reviewing my own diff. I keep it in the case because a check that only catches the AI is not really a check.
The scope grew from a feature plan you now judge to be AI-generated, and never came back down. What would you check before accepting a plan like that again?
What the plan was derived from. This one came from what a complete product should have, not from anyone's need, and the build followed it. On 1 March 2026 a single commit added 5,884 lines, about a quarter of them social features. Commits stopped the next day for five months, and the scope never came back down: the v1 routes were later moved to unversioned paths, not removed. Looking back, a comparison app on simulated data with no registered users should not have kept growing.
It is live but has zero users. Why does it belong in a portfolio?
Because the transferable part is the verification habit, and that is visible without users: reproducible scripts, defects documented with how they were found, and one known mismatch deliberately left unfixed because a wrong match is worse for the user than no match. The case says plainly that whether the product is useful to anyone is untested.

