Skip to content
Hozu
Menu
All trials

Trial 0015 — The notes app on 0.5 with ordinary TypeScript and an indexed guide (ADR 0038, 0039)

Question: trial 0014 left the cost at 1.80× Nuxt to build and 1.81× to change, and ADR 0038 traced most of the gap to reading the guide. After R1 (an indexed guide and hozu docs), R2 (fewer calls) and R3 (ordinary TypeScript), does the cost fall, and does correctness hold?

Setup

Results

Correctness:

Hozu run 1 Hozu run 2
Build (15 checks) 15 15
Change: new behaviour (6) 6 6
Change: regression (15) 15 15

Cost (weighted tokens):

Run 1 Run 2 Mean vs Nuxt Trial 0014
Build 122.4 k 95.8 k 109.1 k 1.46× 134.7 k (1.80×)
Build calls 17 15 21 / 15
Change 177.3 k 111.2 k 144.2 k 2.36× 110.6 k (1.81×)
Change calls 21 13 13 / 11
Build + change 299.7 k 207.0 k 253.3 k 1.87× 245.3 k (1.81×)

Build anatomy (bench/trial/anatomy.mjs, means, trial 0014 → 0015):

Total Calls Output × 5 Docs, with carry Docs calls Edit calls
0014 134.7 k 17.0 36.5 k 29.9 k 5.5 4.5
0015 109.1 k 14.0 29.5 k 22.2 k 3.0 2.5

Where the tokens went

Reading the result

What this trial found to fix

  1. hozu post --next 'POST / a=1&@Button' must accept a button after &.
  2. --select should accept a comma-separated list.
  3. post to a page that redirected to sign-in should say so.
  4. topics/patterns.md should carry each pattern's snippet itself instead of pointing to the example files.