Skip to content

v0.4.0 — Unified scoring + tool detection fix

Choose a tag to compare

@frankyxhl frankyxhl released this 23 Mar 02:20
· 25 commits to main since this release

dr-huatuo v0.4.0

Fixed

  • Silent false-positive scores: ht report was silently skipping tools not found on PATH (returning all 100s). Now warns when tools are missing and adds venv bin dir to PATH automatically.
  • Scoring inconsistency: ht check and ht report now use the same strictest scoring formula (complexity ×5/cap20, 5 tools including pylint, descriptive grade labels).

Changed

  • ht report scores will be lower than v0.3.x for files with high complexity (stricter formula now matches ht check)
  • Grade labels in reports now include descriptions: A (Excellent), B (Good), C (Fair), D (Pass), F (Fail)

Upgrade

pip install --upgrade dr-huatuo

Full Changelog

v0.3.1...v0.4.0