Skip to content

Conversation

@kartben
Copy link
Collaborator

@kartben kartben commented Nov 19, 2025

The engagement score combines two metrics with equal weighting (50% each - we can discuss tweaking all the parameters of course)

  1. Reliability Score (0-100%): Measures the percentage of assigned PRs where the reviewer actually engaged (commented, reviewed, ...) versus total PRs assigned to them.

  2. Speed Score (0-100%): Evaluates how quickly reviewers respond after being assigned. Uses median response time across all their assignments, score ranging from:

    • 100 points: Response within 2 days
    • 0 points: Response takes 30+ days

Response times exclude weekends / only counts business days (GMT)

Final engagement score = (0.5 × reliability) + (0.5 × speed)

Engagement scores for PR reviewers based on reliability and speed
The engagement score combines two metrics with equal weighting (50% each):

1. Reliability Score (0-100%): Measures the percentage of assigned PRs
   where the reviewer actually engaged (commented, reviewed, or approved)
   versus total PRs assigned to them.

2. Speed Score (0-100%): Evaluates how quickly reviewers respond after
   being assigned. Uses median response time across all their assignments:
   - 100 points: Response within 2 days (target)
   - 0 points: Response takes 30+ days (worst threshold)
   - Linear interpolation: Scores between 0-100 for response times
     between 2-30 days

Response times exclude weekends (Saturday/Sunday) to avoid penalizing
reviewers for not working outside business days.

Final engagement score = (0.5 × reliability) + (0.5 × speed)

Users with no assignments or engagement history receive null scores.

Signed-off-by: Benjamin Cabé <[email protected]>
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