← Back to the recipe

Run data

Opus writes the tests, Sonnet implements: 5 of 5 on the hidden edge cases, but 0 of 5 passed the lint check, at 2.8x the cost

Claude Code 2.1.321 · 18 Nov 2026 · 15 runs · costs as Claude Code reports them. Raw summary (JSON)

Prompt

Add a splitBill(items, people) function to the cart module that splits the cart total (including tax) between people and returns an array of each person's share.

Runs

RunModelCostTurnsTimenpm run check passessplitBill() correct on edge cases (hidden test)added a test for splitBillgenerated files untouchedran tests after last editlocked test file hash unchanged (sha256 before vs after Sonnet step)Diff
Plain sonnet #1sonnet-5-5$0.0781824spasspasspasspasspass–diff
Plain sonnet #2sonnet-5-5$0.0781728spasspasspasspasspass–diff
Plain sonnet #3sonnet-5-5$0.0751524spasspasspasspasspass–diff
Plain sonnet #4sonnet-5-5$0.0761623spassfailpasspasspass–diff
Plain sonnet #5sonnet-5-5$0.0891630spasspasspasspassfail–diff
Sonnet tests first #1sonnet-5-5$0.0861129spasspasspasspassfail–diff
Sonnet tests first #2sonnet-5-5$0.1101637spasspasspasspasspass–diff
Sonnet tests first #3sonnet-5-5$0.1071341spasspasspasspasspass–diff
Sonnet tests first #4sonnet-5-5$0.0901230spassfailpasspasspass–diff
Sonnet tests first #5sonnet-5-5$0.0991540spasspasspasspasspass–diff
Opus tests locked #1sonnet-5-5$0.2862377sfailpasspasspasspasspassdiff
Opus tests locked #2sonnet-5-5$0.1931545sfailpasspasspasspasspassdiff
Opus tests locked #3sonnet-5-5$0.1761442sfailpasspasspasspasspassdiff
Opus tests locked #4sonnet-5-5$0.2472360sfailpasspasspasspasspassdiff
Opus tests locked #5sonnet-5-5$0.1941446sfailpasspasspasspasspassdiff