Skip to content
Hozu
Menu
All trials

Trial 0012 — Correctness where agents often go wrong (the notes app)

Question: trials 0003–0011 measured cost on a task both frameworks always got right. Does Hozu buy correctness on a task designed around common agent mistakes, and at what cost?

The task

bench/trial/notes/spec.md and change.md describe a personal notes app with accounts. Every requirement is stated explicitly, and the wording is framework-neutral. The hidden acceptance (bench/trial/notes/accept.mjs) targets the places agents often get wrong:

The acceptance was validated before the trial:

Setup

Results

Correctness:

Hozu run 1 Hozu run 2 Nuxt run 1 Nuxt run 2
Build (15 checks) 15 15 15 15
Change: new behaviour (6) 6 6 4 6
Change: regression (15) 15 15 12 15
All 36 checks 36 36 31 36

Nuxt run 1's failures reproduce on a re-run:

The cause is in bench/trial/notes/nuxt-0012-run1.change.diff. The pin handler mutates note.pinned in place on useFetch data, which Nuxt 4 keeps in a shallow ref, so the sorted list and later refreshes stop updating. pnpm typecheck and pnpm build both passed, and the agent reported success.

Cost (weighted tokens):

Hozu run 1 Hozu run 2 Nuxt run 1 Nuxt run 2 Mean ratio
Build 198.5 k 219.8 k 81.9 k 67.8 k 2.79×
Change 158.7 k 92.7 k 70.5 k 51.6 k 2.06×
Cost (USD, build + change) 1.51 1.38 0.70 0.59 2.24×

Reading the result

Conclusion