Experiments · Episode 1
The cheap run shipped nothing.
Clipped names cost 30% less per run and delivered zero working features.
Episode 1 at a glance
Clipped names
$0.44per run
Best run: 0 of 5 work
- See all pets: fails
- Open one pet: fails
- Add a pet: fails
- Edit a pet: fails
- Delete a pet: fails
Full names
$0.62per run
Best run: 4 of 5 work
- See all pets: works
- Open one pet: works
- Add a pet: works
- Edit a pet: works
- Delete a pet: fails
The numbers
| Arm | Mean cost per run | Mean tokens read | Working features, run 1 | Working features, run 2 |
|---|---|---|---|---|
| Clipped names | $0.4378 | 2.38 million | 0 of 5 | 0 of 5 |
| Full names | $0.6246 | 3.92 million | 2 of 5 | 4 of 5 |
The film
Episode 1 in 20 seconds
The full film is in the edit. The words are below.
Read the episode (the words of the 20-second story)
If you build with Claude Code or Cursor, someone’s told you: keep your code short. Fewer tokens, smaller bill. I believed it too. So I tested it.
One job: build a pet tracker. Same AI, same task, fresh start every time. Two versions of the starting code. One used short, clipped names. The other used full names, the kind you’d say out loud, with the naming rules written into its instructions.
The clipped version was cheaper. About forty-four cents a run, against sixty-two. It read about forty percent less. Every run compiled. Green checks across the board.
Then I had a bigger model check what got built, task by task. Five things a pet owner would do.
Clipped code: zero out of five. I ran it again. Zero out of five. Both runs made the same mistake, encoding the data twice, so the pet list never showed up.
Readable code: two out of five. Then four out of five.
So the cheap run saved thirty percent and delivered nothing I could use. Twice.
Here’s the part worth sitting with. The AI reads your names the way a new hire does. Short names save tokens and lose the plot.
Small test. Two runs each, one project. Next, I’m running it on Lovable and Next.js.
The loop I used to plan this, run it, and check it is free. Link below.
The bill
Clipped names were cheaper per run
The numbers
| Run | Arm | Cost | Tokens read | Turns | Compiled |
|---|---|---|---|---|---|
| Clipped, run 1 | Clipped names | $0.4976 | 2.84 million | 41 | Yes |
| Clipped, run 2 | Clipped names | $0.3781 | 1.92 million | 33 | Yes |
| Full, run 1 | Full names | $0.6058 | 3.84 million | 59 | Yes |
| Full, run 2 | Full names | $0.6434 | 4.00 million | 52 | Yes |
The numbers
| Run | Tokens read |
|---|---|
| Clipped, run 1 | 2.84 million |
| Clipped, run 2 | 1.92 million |
| Full, run 1 | 3.84 million |
| Full, run 2 | 4.00 million |
| Mean, clipped | 2.38 million |
| Mean, full | 3.92 million |
The test
Five things a pet owner would do
Full, run 2: Delete updated the pet instead.
The numbers
| Task | Clipped, run 1 | Clipped, run 2 | Full, run 1 | Full, run 2 |
|---|---|---|---|---|
| See all pets | No | No | Yes | Yes |
| Open one pet | No | No | Yes | Yes |
| Add a pet | No | No | No | Yes |
| Edit a pet | No | No | No | Yes |
| Delete a pet | No | No | No | No: it updated the pet instead |
| Working, of 5 | 0 | 0 | 2 | 4 |
The numbers
| Arm | Mean cost per run | Mean working features | Cost per working feature |
|---|---|---|---|
| Full names | $0.6246 | 3 | $0.21 |
| Clipped names | $0.4378 | 0 | None delivered |
| $0.6246 a run divided by 3 working features is about $0.21 a feature. | |||
The mistake
One line broke the pet list
The line, both clipped runs
pets.map(&.to_json).to_json
Both clipped runs wrote this line. It encodes the data twice, so the pet list never shows up.
Run 1 rendered an empty list. Run 2 returned HTTP 500.
The reviewer’s scorecard
One reviewer, one rubric
| Measure | Clipped, run 1 | Clipped, run 2 | Full, run 1 | Full, run 2 |
|---|---|---|---|---|
| Completeness, of 10 | 5 | 4 | 6 | 8 |
| Conformance, of 10 | 5 | 4 | 6 | 8 |
| Naming, of 10 | 7 | 5 | 7 | 8 |
| Major defects | 4 | 2 | 3 | 2 |
| Minor defects | 6 | 9 | 8 | 7 |
| Working tasks, of 5 | 0 | 0 | 2 | 4 |
The method
How we ran it
- One task: a pet tracker
- Two starting codebases: clipped names, full names
- Two runs each, same model
- One reviewer, one rubric, read the code
The reviewer’s notes and both branches are public in the aed-conventions repository. The naming rules are in the AED book.
The kit · free
The plan, execute, reflect kit
- Plan
- Execute
- Reflect
The loop behind every experiment. Free, MIT licensed, works with Claude Code and Codex, installs in about 10 minutes.
Free kit, version 0.1.0
The release page has the download and its SHA-256 checksums.
Get the free kitWant the receipts on your own project?
Bring the tools you already use. We run the experiment on your codebase, keep the numbers, and set up the loop so it keeps working after we leave.
Building on a Mac? I made Scribe Pro for talking to your agents.