cd /news/ai-tools/i-scanned-four-popular-python-librar… · home › topics › ai-tools › article
[ARTICLE · art-142802] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=· neutral

I scanned four popular Python libraries for missing docstrings

A developer built Legacy Doc-AI, a command-line tool that scans Python codebases for missing docstrings and drafts fixes, and ran it against four well-known libraries to gauge how much of their code is undocumented. The tool counts every function and method, including private helpers and tests, so the developer cautions the raw figures reflect coverage gaps rather than project quality, and says draft accuracy has not yet been measured. A free repo audit is offered, with a planned price of £39 per repo per month.

by read1 min views1 publishedSep 30, 2026

Old Python projects rot in a quiet way. Functions get new parameters and the docstring above them stays frozen. I've been building a command-line tool, Legacy Doc-AI, that finds those gaps and drafts fixes. To see if the problem is real, I pointed its scanner at four well-known libraries.

Functions with no docstring at all:

These are raw counts. The scanner counts every function and method it finds, including private helpers and tests, and many of those are fine without docs. So read them as "how much is uncovered", not "how badly these projects are run".

It's early. I'm not claiming it writes perfect docs, and I haven't measured how accurate the drafts are. I want honest feedback from people who maintain older Python code.

There's a free audit: send me a public repo and I'll send back the coverage report. Sign-up is at https://legacy-doc-ai.pages.dev. The planned price is £39 per repo per month. Does that sound sensible? And what would make you trust generated docstrings in your repo?

── more in #ai-tools 4 stories · sorted by recency
── more on @legacy doc-ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-scanned-four-popul…] indexed:0 read:1min 2026-09-30 · —