Skip to content

Conversation

@gonzaM
Copy link
Contributor

@gonzaM gonzaM commented Sep 29, 2025

Add percentage of PRs with zero comments to Review Coverage

This PR enhances Review Coverage by introducing a new metric: the percentage of PRs with zero comments.

Motivation

The current review coverage average number provides limited value, as it does not clearly show how much reviewing is actually happening. To make this more actionable, we add the percentage of PRs with zero comments, emphasizing that what matters is ensuring each PR receives some level of review, rather than the total number of comments, which does not directly reflect quality.

Summary

  • Adds zero-coverage percentage to Review Coverage (percent of PRs with 0 comments).
  • Unifies distribution payload by nesting computed values under interval_metrics.
  • Updates UI to display new metric and use unified structure.
  • Adjusts services, controller, and specs accordingly.

Changes

  • Data structure refactoring: Consolidates metric calculations under interval_metrics instead of separate top-level keys
  • New metric calculation: Adds percentage of PRs with zero comments to Review Coverage
  • UI updates: Displays new zero-coverage percentage badge and migrates existing badges to use unified structure.

Note

The "department metrics" are no longer used, which is why the "success rate" was not updated and the test was removed. In a future PR, the plan is to remove the "Department" logic altogether to simplify the code.

Screenshot 2025-09-29 at 3 44 18 PM

@gonzaM gonzaM requested a review from a team as a code owner September 29, 2025 18:17
@gonzaM gonzaM requested review from rodrieiz and santib and removed request for a team September 29, 2025 18:17
Copy link
Member

@santib santib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👮

left a couple of comments so this review isn't considered a 0comments review 🤣

Co-authored-by: Santiago Bartesaghi <[email protected]>
@gonzaM gonzaM merged commit 4cc7814 into develop Sep 30, 2025
2 checks passed
@gonzaM gonzaM deleted the add_zero_comments_percetage branch September 30, 2025 17:42
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.

3 participants