Skip to content

feat: metric quality improvements — LEAF verdict, tension suppression, path normalization#13

Merged
bntvllnt merged 2 commits intomainfrom
feat/metric-quality
Mar 11, 2026
Merged

feat: metric quality improvements — LEAF verdict, tension suppression, path normalization#13
bntvllnt merged 2 commits intomainfrom
feat/metric-quality

Conversation

@bntvllnt
Copy link
Owner

Summary

Fixes #9 (items 1-3; items 4-5 deferred to separate issues)

  • LEAF verdict: Single-file modules labeled LEAF instead of JUNK_DRAWER (cohesion meaningless with 1 file)
  • Tension suppression: Type hub files (high fan-in, 0 fan-out, all type exports) and entry points (0 fan-in, high fan-out) excluded from split recommendations
  • Path normalization: file_context now strips common prefixes (src/, lib/, app/) and suggests correct path in error messages

Test plan

  • Regression tests for all ACs
  • All existing tests pass (updated verdict assertions)
  • Quality gates: lint, typecheck, build, test

@bntvllnt bntvllnt self-assigned this Mar 11, 2026
@bntvllnt bntvllnt force-pushed the feat/metric-quality branch from 76e369d to b4d6ea0 Compare March 11, 2026 13:49
@bntvllnt bntvllnt merged commit 608094f into main Mar 11, 2026
1 check passed
@bntvllnt bntvllnt deleted the feat/metric-quality branch March 11, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: metric quality improvements and DX enhancements

1 participant