feat(rewards): allocate emissions by repo share#1217
Closed
aliworksx08 wants to merge 2 commits into
Closed
Conversation
b1b27aa to
cb28084
Compare
10 tasks
10 tasks
Collaborator
|
Not advancing for #1215 review. Closing. |
Author
|
@anderdc, excuse me, may I reopen my PR? I don't know why my PR closed. |
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.
Summary
Closes #1215.
Converts repository allocation from an unbounded per-PR
weightmultiplier to a bounded per-repositoryemission_shareapplied at round aggregation. PR and issue-discovery scores now determine proportional distribution only inside each repository's configured slice.Changes
emission_sharewhile keeping a compatibility alias for existing constructor callers.issue_discovery_sharewith default0.5, plus finite-float and[0, 1]validation.1.0; registry slack is recycled instead of redistributed.OSS_EMISSION_SHARE = 0.90scoring pool by repository slice, then split/spill within each repository between PR and issue-discovery sides.RECYCLE_UID; keep treasury as flatISSUES_TREASURY_EMISSION_SHARE = 0.10.master_repositories.jsonfromweighttoemission_share.Type of Change
Testing
Validation:
Checklist