Skip to content

v0.4.7

Choose a tag to compare

@NISH1001 NISH1001 released this 09 Nov 03:04
· 29 commits to main since this release

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 bases C(Base[T]) are linked; import json no longer resolves to a project's own json/ package (django's false 161-module cycle is gone); Sub.inherited() references Sub; virtual dispatch reaches overrides at any depth; re-imported names, fallback defs under try/except ImportError, and chained import * public API are handled.
  • Dependencies: pip-compile lock files are not manifests; markdown-it-py matches markdown_it; httpcore was skipped as a URL; cProfile is stdlib; test_requirements.txt is 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); Django templatetags/ and management/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).