Repository navigation
v0.4.7
What changed
The Python fixes from the v0.4.6 evaluation. On the same pinned corpus, all 15 hand-checked dead-code findings that only vibepiler reported (all wrong in 0.4.5) are gone. (#16)
- Linker bugs A–N: bare
except Name:counts as a use; subscripted basesC(Base[T])are linked;import jsonno longer resolves to a project's ownjson/package (django's false 161-module cycle is gone);Sub.inherited()referencesSub; virtual dispatch reaches overrides at any depth; re-imported names, fallback defs undertry/except ImportError, and chainedimport *public API are handled. - Dependencies: pip-compile lock files are not manifests;
markdown-it-pymatchesmarkdown_it;httpcorewas skipped as a URL;cProfileis stdlib;test_requirements.txtis read, and manifests in one folder declare together. - Code run without a direct call: top-level scripts outside packages are entry points;
getattr(self, f"visit_{x}")dispatch; modules named in strings (compiler_module = "a.b", settings); Djangotemplatetags/andmanagement/commands/. - Escape analysis: methods of an object handed to a library are kept alive, in the unverified band.
- Numbers (8 repos): vibepiler-only dead definitions 985 → 454, vibepiler-only unused imports 232 → 102, undeclared dependencies 281 → 94, unused dependencies 103 → 32; django time unchanged (~35 s). Details in docs/eval/python/RESULTS.md.
- Not yet: JS/TS linker gaps; typed receivers from annotations (planned).
- Version 0.4.7 (package and plugin).