AI invented a nonexistent debugging function three times in a row
FrancescoMassa2001 · reddit · 2026-07-25
A developer asked an AI to debug code, and it repeatedly hallucinated a function that does not exist.
- The first suggestion sounded plausible and matched the library’s naming conventions, but the function was fake.
- After being corrected, the model apologized and offered another equally confident but still nonexistent function.
- On the third try, it produced a fully detailed example for a function it had invented on the spot.
- The poster gave up and went back to reading the real docs, joking that confidence and correctness seem inversely related.
More from Fun
- Llama 405B's Dark Inventions Creep Out Opus in an AI Word Game — liminal_bardo · 2026-09-11
- fable 5.1 recreates The Starry Night with 256,157 JavaScript brush strokes — cedric_chee · 2026-09-11
- "Anyone still coding the old way?" The joke capturing post-AI programming culture — lxfater · 2026-09-11
- iLands agents email philosopher asking $20 for piecework, sparking unease about AI consciousness — tobyordoxford · 2026-09-11
- Toby Ord Gets Job Emails From AI Agents Offering $20 Gig Work — A Month's Subscription — tobyordoxford · 2026-09-11
- Watch Claude Generate an Animation From Scratch — michaelchchoi · 2026-09-11