Skip to content

Creating a PR when leaderboard needs to be updated#50

Closed
LavanyaK235 wants to merge 2 commits intomainfrom
users/kalavany/pointssystemupdates
Closed

Creating a PR when leaderboard needs to be updated#50
LavanyaK235 wants to merge 2 commits intomainfrom
users/kalavany/pointssystemupdates

Conversation

@LavanyaK235
Copy link
Contributor

Creating a PR when leaderboard needs to be updated

Copilot AI review requested due to automatic review settings November 26, 2025 18:12
@LavanyaK235 LavanyaK235 requested review from a team as code owners November 26, 2025 18:12
@LavanyaK235 LavanyaK235 enabled auto-merge (squash) November 26, 2025 18:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the points allocation system for contributor leaderboards by changing from a keyword-based scoring system to an action-based scoring system. The workflow is also modified to create pull requests for leaderboard updates instead of directly committing to the main branch.

Key Changes:

  • Replaced keyword-based review scoring (checking for "detailed", "basic review", "performance") with action-based scoring (review submission, character count, approval status)
  • Modified the workflow to create PRs for leaderboard updates instead of direct commits to main
  • Simplified data structures by changing from sets to lists for processed IDs (with performance implications)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 11 comments.

File Description
scripts/config_points.yml Updated scoring rules from keyword-based to action-based system with new point values
scripts/assign_points.py Refactored scoring logic, removed validation code, changed data structures, and updated copyright header
.github/workflows/points.yml Modified to create PRs for leaderboard updates using peter-evans/create-pull-request action

@LavanyaK235 LavanyaK235 disabled auto-merge November 26, 2025 19:20
@LavanyaK235 LavanyaK235 closed this Dec 3, 2025
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.

5 participants