Creating a PR when leaderboard needs to be updated#50
Closed
LavanyaK235 wants to merge 2 commits intomainfrom
Closed
Creating a PR when leaderboard needs to be updated#50LavanyaK235 wants to merge 2 commits intomainfrom
LavanyaK235 wants to merge 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
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 |
mengyimicro
approved these changes
Nov 26, 2025
sellakumaran
approved these changes
Dec 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creating a PR when leaderboard needs to be updated