-
Notifications
You must be signed in to change notification settings - Fork 48
Adding the points allocated to users in a PR comment #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
72bc142
Adding the points allocated to users in a PR comment
kalavany 858056d
Merge branch 'main' of https://github.com/microsoft/Agent365-Samples …
kalavany 07bf7ea
addressing comments
kalavany 02a3df2
addressed comments
kalavany 169f995
removed dead code and optimized the existing code
kalavany File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,46 @@ | ||
| # Contributor Points Configuration | ||
| # | ||
| # Scoring is based on actual review actions, not keywords. | ||
| # All contributions are valued and tracked automatically. | ||
| # This configuration defines point values for various contribution activities. | ||
| # Points are calculated automatically by the workflow and displayed in PR comments. | ||
| # | ||
| # Scoring Rules: | ||
| # 1. Any PR review submission = review_submission points (base points) | ||
| # 2. Substantial review (100+ characters, excluding whitespace) = detailed_review bonus (additive) | ||
| # 3. PR approval (state=approved) = approve_pr bonus (additive) | ||
| # 4. PR comment (not a full review) = pr_comment points | ||
| # 1. Review submission = base points | ||
| # 2. Detailed review (100+ characters) = bonus points (additive) | ||
| # 3. PR approval = bonus points (additive) | ||
| # 4. PR comment = fixed points | ||
|
LavanyaK235 marked this conversation as resolved.
Outdated
|
||
| # 5. PR merged = points for author | ||
| # 6. Special labels (bug, priority, docs) = bonus points | ||
| # 7. First-time contributor = bonus points | ||
| # | ||
| # Examples: | ||
| # - Simple review with short comment = 5 points | ||
| # - Review with detailed comment (100+ characters) = 5 + 5 = 10 points | ||
| # - Approved PR = 5 + 3 = 8 points | ||
| # - Approved PR with detailed feedback = 5 + 5 + 3 = 13 points | ||
| # - Comment on PR (not a review) = 2 points | ||
| # - Review with detailed comment (100+ chars) = 10 points (5 + 5) | ||
| # - Approved PR with detailed feedback = 13 points (5 + 5 + 3) | ||
| # - PR comment = 2 points | ||
| # - PR merged with bug fix = 10 points (5 + 5) | ||
|
|
||
| points: | ||
| # Review & Comment Points | ||
| review_submission: 5 # Base points for submitting any PR review | ||
| detailed_review: 5 # Bonus for substantial review (100+ characters of feedback) | ||
| detailed_review: 5 # Bonus for substantial review (100+ characters) | ||
| approve_pr: 3 # Bonus for approving a PR | ||
| pr_comment: 2 # Points for commenting on a PR (not a full review) | ||
|
|
||
| # PR Author Points | ||
| pr_merged: 5 # Points when PR is successfully merged | ||
|
|
||
| # Label-Based Bonuses (for PR authors) | ||
| bug_fix: 5 # Bonus for fixing bugs | ||
| high_priority: 3 # Bonus for high-priority work | ||
| critical_bug: 10 # Bonus for critical bug fixes | ||
| documentation: 4 # Bonus for documentation contributions | ||
| performance_improvement: 6 # Bonus for performance enhancements | ||
| security_fix: 15 # Bonus for security fixes | ||
|
|
||
| # Special Bonuses | ||
| first_time_contributor: 5 # Bonus for first-time contributors | ||
|
|
||
| # Future Implementation (not currently calculated) | ||
| # speed_bonus_24h: 3 # TODO: Bonus for PRs merged within 24 hours | ||
| # test_coverage: 8 # TODO: Bonus for adding comprehensive tests | ||
| # mentorship: 10 # TODO: Points for mentoring sessions | ||
| # issue_triage: 2 # TODO: Points for triaging issues | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.