georgebracher.com

Video 008 · 11 Nov 2026

Is AI code reliable?

Claude built the courses on my site, and every one of its own checks passed. Then I gave it to Codex, a different AI, and told it to break it.

1,037checks passed before the audit
4bugs Codex found anyway
57new tests, each in two browsers
2browser engines, every test

How to check code an AI wrote

  1. Don't let it mark its own homework. A different AI checks it. Claude wrote the courses page; Codex audited it from a written ticket, with no memory of how it was built.
  2. "It passed" is a claim. The ticket listed Claude's results and said: "Treat these as claims to re-run, not as facts." Codex re-ran every check and reported counts, not "passed".
  3. Break it like a beginner would. Endless loops, typing before the prompt shows, more input than the program asks for, pressing Stop at odd moments, a phone-width screen.
  4. Every bug gets a test. Each fix came with a browser test in both engines, so the bug can't quietly come back.

What it found: four bugs, all in the Stop button

What you didWhat happened
Pressed Stop while your answer was being checkedNothing. Run and Stop were both switched off until the 15 second limit.
Pressed Stop on a SQL query that never endsStop stayed greyed out until SQL's own guard gave up.
Pressed Stop before Python had finished loadingYour endless loop ran anyway once Python was ready, ahead of your next Run.
Moved to the next step while a check was runningThe old check kept running in the background.

My own tests did press Stop, on an endless loop while it was running. Just never at those moments.

So is AI code reliable?

Once a second AI has had a go at it. Before the audit: 11 unit tests, 1,037 answer checks with 0 wrong, and 20 out of 20 browser checks in Chrome's and Safari's engines. All true, and the Stop button was still broken four ways. After the fix: the same checks pass, plus 48 break-it tests and 9 Stop tests, in both engines.

Codex also checked that the page doesn't leak anything private and that the answer checker is the original one, copied unchanged.

Try to break it

The courses run in your browser: Python from zero, Read the code your AI writes, and SQL from zero. Write an endless loop and press Stop.

Try the free courses The browser tests that broke it Watch it on Instagram Watch it on TikTok

More videos