Skip to content

v0.4.10

Choose a tag to compare

@NISH1001 NISH1001 released this 09 Nov 21:40
· 18 commits to main since this release

Dead code: 12 of 13 known false positives fixed (gaps O–V, #21)

vibepiler now treats these as used:

  • public methods of a class the package exports (requests.Session.post)
  • what framework hooks call (Textual's on_mount)
  • unittest.TestCase classes in any file
  • Django database backends (backends/<name>/base.py) and the overrides they reach
  • functions named in settings strings ("pkg.processors.debug")
  • asv benchmarks in benchmarks/
  • functions given to registering decorators (@app.template_filter(...), @handlers.append)
  • scripts whose top-level code is inside try/except/else

On the evaluation corpus: django findings 4,068 → 3,580, flask 79 → 23, gpython 51 → 14, rich 83 → 64, httpx 11 → 1, with both labelled true positives still reported.

Semantic tier (#19)

  • "Same job, different code" no longer pairs a function with the function it calls.
  • Closures inside methods are skipped.
  • The 100-pair cap is reported instead of cutting silently.

Cleanup round 9 (#20)

vibepiler on itself: -O2 bloat 10.6% → 8.6%, tangle 10.2% → 8.1%, functions over cognitive 30: 17 → 9. Findings are unchanged on all 14 evaluation repos.