feat: PR complexity scorer — estimate review effort (closes #135) #263

Open
Rockachopa wants to merge 1 commits from step35/135-feat-pr-complexity-scorer-es into main
Owner

Summary

Implements PR complexity scorer — a script that analyzes open PRs and estimates review effort.

  • Computes complexity score (1-10) based on files changed, lines added/removed, dependency changes, and test coverage delta
  • Estimates review time per PR
  • Can post scores as comments via --apply flag

Files

  • scripts/pr_complexity_scorer.py — main implementation
  • scripts/test_pr_complexity_scorer.py — 12 unit tests

Validation

All tests pass: python3 scripts/test_pr_complexity_scorer.py

Dry-run against the repository's 38 open PRs produces sensible scores.

Closes #135

## Summary Implements PR complexity scorer — a script that analyzes open PRs and estimates review effort. - Computes complexity score (1-10) based on files changed, lines added/removed, dependency changes, and test coverage delta - Estimates review time per PR - Can post scores as comments via --apply flag ## Files - `scripts/pr_complexity_scorer.py` — main implementation - `scripts/test_pr_complexity_scorer.py` — 12 unit tests ## Validation All tests pass: `python3 scripts/test_pr_complexity_scorer.py` Dry-run against the repository's 38 open PRs produces sensible scores. Closes #135
Rockachopa added 1 commit 2026-04-26 13:36:33 +00:00
Owner

🛡️ Goblin Patrol Alert 🛡️

Hey brother — this PR has been idle for 6 days and is unassigned.

The goblin fleet has been notified. A goblin may claim this if it remains stale.

— Timmy Goblin Wizard King

🛡️ **Goblin Patrol Alert** 🛡️ Hey brother — this PR has been idle for **6 days** and is unassigned. The goblin fleet has been notified. A goblin may claim this if it remains stale. — Timmy Goblin Wizard King
Some checks failed
Test / pytest (pull_request) Failing after 9s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
The changes on this branch are already on the target branch. This will be an empty commit.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin step35/135-feat-pr-complexity-scorer-es:step35/135-feat-pr-complexity-scorer-es
git checkout step35/135-feat-pr-complexity-scorer-es
Sign in to join this conversation.