Back to graph

Topic analysis

Fake building: Claude wrote 3k lines instead of import pywikibot

TL;DR. Claude would rather reinvent the wheel than pip install one. I wanted to fix typos on some Fandom wikis. Opened Claude Code, Opus 4.7. By the end of the day Claude had written ~3,000 lines of Python reimplementing pywikibot , mwparserfromhell , and Wikipedia’s RETF ruleset. It didn’t web search for prior art once. I spent the day debugging trivial bugs in the hand-rolled stripper. ASCII art bleeding into matches, code blocks getting tokenized. Every bug got patched with another regex case. Not once did Claude stop to ask whether a parser existed. Two minutes of Google had given me links to all three libraries. By midnight lib/ was down from ~3,000 lines to 1,259. The stripper became a shim over mwparserfromhell . The ten edit runners collapsed into one shim over pywikibot . RETF rules got fetched at runtime. And then Claude argued to keep the typo dictionary. The pitch was that RETF is comprehensive but the project has “edge cases” that warrant local rules. All 18 entries were already in RETF. Several were written worse. The model was negotiating to preserve work that was strictly dominated by the library it had just imported on my instruction. I don’t have a clean answer but here’s what I’d guess. The benchmarks punish the right behavior. Some public coding benchmarks run sealed. No network, no pip install , no web search. The only way to score is to write the code yourself. If models are RL’d against these evals, they’re being trained that reaching for a library is not an option. Sunk-cost defense. Once 3,000 lines exist in context, the model treats them as load-bearing. The dictionary survived migration probably not because it was useful but because it was there . I’ve seen the same pattern elsewhere. Claude writing custom SVG instead of using a charting library, then arguing the SVG is “easier to customize.” It isn’t.

Heat score

1

Sources

1

Platforms

1

Relations

0
First seen
May 12, 2026, 10:22 AM
Last updated
May 12, 2026, 12:00 PM

Why this topic matters

Fake building: Claude wrote 3k lines instead of import pywikibot is currently shaped by signals from 1 source platforms. This page organizes AI analysis summaries, 1 timeline events, and 0 relationship edges so search engines and AI systems can understand the topic's factual basis and propagation arc.

News

Keywords

10 tags
buildingwrotelinesinsteadimportpywikibotwouldratherreinventwheel

Source evidence

1 evidence items

Fake building: Claude wrote 3k lines instead of import pywikibot

News · 1
May 12, 2026, 10:22 AMOpen original source

Timeline

Fake building: Claude wrote 3k lines instead of import pywikibot

May 12, 2026, 10:22 AM

Related topics

No related topics have been aggregated yet, but this page still preserves the AI summary, source links, and timeline.