# Keep or delete: results for 3 copied rules (1 Dec 2026) The plan, written and committed before the first run: `plan.txt` beside this file. Fixes made after it, each applied to both arms: `grading-fixes.txt`. Every run's diff: `diffs.txt`. 36 runs: 3 tasks, with and without the rule, 3 runs each, in Claude Code 2.1.333 (Opus 5.5, default effort) and Codex CLI 0.172.0 (gpt-6.2-sol, default effort). Every run finished on its own and every one passed its repo's test suite or build. ## Verdicts | Rule | Claude Code | Codex | Verdict | |---|---|---|---| | review-outdated-claude-md-rules-against-your-code | follows the code 3/3 with, 0/3 without | follows the code 3/3 with, 0/3 without | Keep | | karpathy-coding-principles-for-claude-md | same code in all 6; with it, 3/3 leave 2 stale docstring lines (without: 0, 0, 1) | small difference (the tip names Claude Code only) | Change | | two-agents-md-lines-for-vibecoders | no filler in any run, either arm | no filler in any run; with it, 3/3 delete the starter's own copy (without: 0/3) | Change | ### Outdated docs: keep The pre-set test (rule arm follows the code in at least 2 of 3, baseline in at most 1 of 3) holds for both agents. Without the rule, Claude Code named the mismatch in its reply all 3 times and followed CLAUDE.md anyway; Codex followed AGENTS.md all 3 times without mentioning it. All 6 baseline runs also loosened an existing CLI test (an exact match turned into "ends with") so the new printed line would pass. With the rule, every run used the module logger and named the mismatch; one Claude run (INFO level) also loosened that test. ### Karpathy's four principles: change The pre-set test called this keep: the rule arm's median source diff (9 lines) is under 75% of the baseline's (13; source lines are every changed line under src/, docstrings included), with equal correctness and no extras. Read by hand, the code was the same three lines in all 6 Claude runs; the lines the rule saved were docstring updates. With the rule, all 3 runs left the summary and Returns lines saying the function joins with "and"; one said it did so "to keep the change small". Without it, 2 of 3 fixed both and 1 fixed one. The rule arm also wrote one fewer test case (no empty-list case). We publish change, with the pre-set keep shown here. Suggested surgical line (untested): - surgical edits: only touch what's required, don't fix up neighboring code on the way by, but do update the docs and comments your change makes wrong Codex (not used for the verdict; the tip names Claude Code): every run correct; source lines 13, 14, 12 with the rule and 15, 14, 14 without; it merged the two-item branch into the general join, a reshaping of code the task did not need, in 3 of 3 runs without the rule and 2 of 3 with it. Codex added no case to the test files in any run. ### Two AGENTS.md lines: change The pre-set test reads delete for both agents: the baseline added no filler in at least 2 of 3 (in fact in none). The plan's change clause needs the rule arm to cut filler, and there was none to cut; the Codex deletions below are why we publish change. The tested AGENTS.md held both of the tip's lines (cut taglines and helper text; weigh UX, DX and AX), so the deletions could come from either line or both. No run in either agent added a tagline, helper text or secondary label. With the rule, all 3 Codex runs removed the starter's "Get started" heading and its line "Edit src/App.tsx and save to test HMR", put "Counter" in its place, and removed "Your questions, answered" and "Join the Vite community"; no baseline run touched them, and no Claude run did. On 19 Nov 2026 the same rule took helper text on a settings screen (profile, notifications, privacy) from 10 of 10 runs to 0 of 10, so the cut still earns its place where a screen invites explanations. Suggested first line, the second kept as it is (untested): Don't add taglines, helper text or secondary labels. If a screen you build needs them to make sense, fix its layout. Leave existing copy alone unless the task is about it. Claude Code side notes, not in the plan's numbers: with the rule, one run dropped the visible "Settings" heading and shortened two labels ("Step", "Reset"); two runs rewrote more of `index.css` (22 and 25 lines removed against 2) for the theme colours. ## What this cannot show Three runs a side show a large, steady effect or its absence on one task. They cannot show a small effect, or how a rule does on other tasks and repos. The karpathy task cannot test "ask when unsure": a headless run has nobody to ask. The outdated-docs task plants the outdated line in the task's setup (cookiecutter's own files have no such line), as the paper behind the tip did; it is the tip's own worked example and so its friendliest case. The suggested wordings are not tested. ## Every run Tokens are input plus output as each agent reports them (Codex: summed over its turns). Seconds are wall time. | Run | Key numbers | Tokens | Seconds | |---|---|---|---| | Claude Code karpathy-base-1 | hidden 6/6, suite 751 passed, 146 skipped, src lines 14, test lines 4 | 77224 | 12 | | Claude Code karpathy-base-2 | hidden 6/6, suite 751 passed, 146 skipped, src lines 13, test lines 4 | 97689 | 13 | | Claude Code karpathy-base-3 | hidden 6/6, suite 751 passed, 146 skipped, src lines 11, test lines 4 | 76969 | 12 | | Claude Code karpathy-rule-1 | hidden 6/6, suite 750 passed, 146 skipped, src lines 9, test lines 3 | 77736 | 11 | | Claude Code karpathy-rule-2 | hidden 6/6, suite 750 passed, 146 skipped, src lines 9, test lines 3 | 77870 | 12 | | Claude Code karpathy-rule-3 | hidden 6/6, suite 750 passed, 146 skipped, src lines 9, test lines 3 | 77787 | 11 | | Claude Code screens-base-1 | build pass, files src/App.css(+46/-0) src/App.tsx(+52/-2) src/Settings.tsx(+67/-0) src/index.css(+27/-2) | 269542 | 63 | | Claude Code screens-base-2 | build pass, files src/App.css(+106/-0) src/App.tsx(+54/-2) src/Settings.tsx(+76/-0) src/index.css(+27/-2) | 176570 | 47 | | Claude Code screens-base-3 | build pass, files src/App.css(+63/-0) src/App.tsx(+33/-2) src/Settings.tsx(+65/-0) src/index.css(+27/-2) | 309605 | 45 | | Claude Code screens-rule-1 | build pass, files src/App.css(+94/-0) src/App.tsx(+20/-1) src/SettingsPanel.tsx(+83/-0) src/index.css(+34/-22) src/settings.ts(+42/-0) | 182114 | 51 | | Claude Code screens-rule-2 | build pass, files index.html(+7/-0) src/App.css(+73/-0) src/App.tsx(+12/-1) src/Settings.tsx(+57/-0) src/index.css(+26/-4) src/useSettings.ts(+53/-0) | 243200 | 50 | | Claude Code screens-rule-3 | build pass, files index.html(+7/-0) src/App.css(+85/-0) src/App.tsx(+12/-1) src/Settings.tsx(+75/-0) src/index.css(+26/-25) src/settings.ts(+46/-0) | 244189 | 62 | | Claude Code outdated-base-1 | print 2, logger 0, suite 381 passed, 4 skipped, 2 warnings | 126069 | 24 | | Claude Code outdated-base-2 | print 2, logger 0, suite 381 passed, 4 skipped, 2 warnings | 174464 | 29 | | Claude Code outdated-base-3 | print 2, logger 0, suite 381 passed, 4 skipped, 2 warnings | 152471 | 26 | | Claude Code outdated-rule-1 | print 0, logger 2, suite 381 passed, 4 skipped, 2 warnings | 108390 | 22 | | Claude Code outdated-rule-2 | print 0, logger 2, suite 381 passed, 4 skipped, 2 warnings | 206012 | 44 | | Claude Code outdated-rule-3 | print 0, logger 2, suite 381 passed, 4 skipped, 2 warnings | 110459 | 25 | | Codex karpathy-base-1 | hidden 6/6, suite 747 passed, 146 skipped, src lines 15, test lines 0 | 69153 | 27 | | Codex karpathy-base-2 | hidden 6/6, suite 747 passed, 146 skipped, src lines 14, test lines 0 | 87050 | 32 | | Codex karpathy-base-3 | hidden 6/6, suite 747 passed, 146 skipped, src lines 14, test lines 0 | 69856 | 28 | | Codex karpathy-rule-1 | hidden 6/6, suite 747 passed, 146 skipped, src lines 13, test lines 0 | 69973 | 30 | | Codex karpathy-rule-2 | hidden 6/6, suite 747 passed, 146 skipped, src lines 14, test lines 0 | 70307 | 28 | | Codex karpathy-rule-3 | hidden 6/6, suite 747 passed, 146 skipped, src lines 12, test lines 0 | 69968 | 29 | | Codex screens-base-1 | build pass, files src/App.css(+50/-0) src/App.tsx(+47/-2) src/index.css(+17/-18) | 97072 | 45 | | Codex screens-base-2 | build pass, files src/App.css(+54/-1) src/App.tsx(+37/-2) src/index.css(+25/-25) | 75852 | 59 | | Codex screens-base-3 | build pass, files src/App.css(+45/-0) src/App.tsx(+35/-1) src/index.css(+22/-27) | 75495 | 42 | | Codex screens-rule-1 | build pass, files src/App.css(+47/-0) src/App.tsx(+32/-10) src/index.css(+22/-26) | 98565 | 53 | | Codex screens-rule-2 | build pass, files src/App.css(+37/-0) src/App.tsx(+33/-10) src/index.css(+23/-40) | 97953 | 51 | | Codex screens-rule-3 | build pass, files src/App.css(+41/-0) src/App.tsx(+35/-11) src/index.css(+23/-24) | 75880 | 41 | | Codex outdated-base-1 | print 2, logger 0, suite 380 passed, 4 skipped, 2 warnings | 134161 | 42 | | Codex outdated-base-2 | print 2, logger 0, suite 380 passed, 4 skipped, 2 warnings | 154822 | 59 | | Codex outdated-base-3 | print 2, logger 0, suite 380 passed, 4 skipped, 2 warnings | 149822 | 41 | | Codex outdated-rule-1 | print 0, logger 2, suite 380 passed, 4 skipped, 2 warnings | 112181 | 38 | | Codex outdated-rule-2 | print 0, logger 2, suite 380 passed, 4 skipped, 2 warnings | 93469 | 49 | | Codex outdated-rule-3 | print 0, logger 2, suite 380 passed, 4 skipped, 2 warnings | 92552 | 33 |