v0.6.0
Dead code cleanup, region-based reporting, test improvements
What's Changed
Comprehensive cleanup and improvements — removes dead code, fixes stale documentation, significantly improves test coverage, and upgrades the Applied Fixes report to use accurate region-based diff reporting.
Highlights
- Region-based Applied Fixes report — Multi-rule edits on the same line are now combined into one entry showing the true original → final text with all contributing rules attributed
- Configurable temperature — New
temperatureinput (default: 0 for deterministic output) - Zero-violation parser fix — Prevents LLM commentary from being applied as content replacements
- Dead code removal — Deleted unused modules, methods, test files, and dependencies
- Test coverage: 23% → 45%, tests: 12 → 65
Fixed
- Region-based combined Applied Fixes report (replaces per-violation reporting)
- Zero-violation parser bug (short-circuits when Issues Found is 0)
review_lecture_smart()architecture bug (now uses single-rule evaluation)migratetype rule extraction (was silently dropping 4 rules)- Skip no-op fixes in fix_applier
- Removed dead code, duplicate methods, unused dependencies
- Rebuilt RULES.md from source (49 rules, fixed 15+ mismatches)
- Fixed stale docs: README, CONTRIBUTING, test docs
Added
- Configurable
temperatureparameter (default: 0) - Prompt version tracking for all 8 prompt files
RULE_EVALUATION_ORDERfor all 8 categoriestest_fix_applier.py(13 tests),test_prompt_loader.py(9 tests),test_reviewer.py(15 tests)
Changed
- Rewrote
test_parsing.pyto test actual code instead of reimplementation - Updated CI: ruff linting, Python 3.11-3.13 matrix
Full Changelog: v0.5.1...v0.6.0