Skip to content

test(bot): exercise Phase 2 PR analyzer#1

Open
RaghavChamadiya wants to merge 4 commits into
masterfrom
bot-test-phase-2
Open

test(bot): exercise Phase 2 PR analyzer#1
RaghavChamadiya wants to merge 4 commits into
masterfrom
bot-test-phase-2

Conversation

@RaghavChamadiya
Copy link
Copy Markdown
Member

Smoke test for the Repowise Bot Phase 2 PR analyzer. Adds a deliberately branchy function to harness/metrics.py to confirm complexity biomarkers fire and a comment is posted.

@repowise-bot
Copy link
Copy Markdown

repowise-bot Bot commented May 19, 2026

⚠️ Health: 6.4 → 6.3 (-0.1)

File Score Δ Why
harness/metrics.py 5.8 → 5.3 ▼ -0.5 nested complexity, complex method, complex method

💡 harness/metrics.py: Flatten the control flow. Pull early-return guards to the top, extract the deepest branch into a helper, and consider replacing nested conditionals with a strategy table or dispatch dict.

🔥 Hotspot touched

  • harness/metrics.py — 3 commits/90d, 2 dependents · primary owner: RaghavChamadiya (95%)

📊 Full report · ⭐ Star Repowise · 📥 Install bot · Last updated 2026-05-19 17:17 UTC

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.

1 participant