anistark / anistark/pr-reviewer-labeler

Complexity scoring — go beyond line count

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Feature Request

Add complexity-aware scoring that goes beyond raw line counts to better estimate review effort.

### Proposed signals

- **New files vs modifications** — new files require more review context than edits to existing ones
- **Number of distinct directories touched** — cross-cutting changes are harder to review
- **File type mix** — PRs spanning frontend + backend + infra are more complex than single-layer changes
- **Churn density** — many small changes across many files vs focused changes in few files

### Proposed behavior

- Compute a complexity score alongside the line count
- Use the complexity score (or a blend of both) to determine reviewer count
- Expose the score as an output (`complexity-score`)
- Show the breakdown in the PR comment

### Why

A 200-line PR touching one file is very different from a 200-line PR touching 15 files across 8 directories. Complexity scoring captures this nuance.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.