chore(weights): configure Gittensor-TinyRouter maintainer cut, eligib…#1613
Merged
e35ventura merged 1 commit intoJul 9, 2026
Merged
Conversation
…ility, scoring, and labels
Contributor
Author
|
hi, @anderdc, plz can you review PR. |
e35ventura
approved these changes
Jul 9, 2026
Contributor
Author
|
thank you |
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
Activates a full reward configuration for
James-CUDA/Gittensor-TinyRouter. Previously the entry carried onlyemission_share/issue_discovery_shareand inherited all global defaults. This sets an explicit per-repo policy that opens up eligibility, shortens the reward window/decay, introduces label multipliers (including akingreward), and carves out a 30% maintainer cut.Changes
The config mirrors the established
mini-router/minirouterpolicy.maintainer_cut0.00.3eligibility.min_valid_merged_prs30eligibility.min_credibility0.800.0scoring.pr_lookback_days307scoring.time_decay.sigmoid_midpoint_days103label_multipliersbug0.1,feature0.15,refactor0.02,king10.0Rationale
min_valid_merged_prs3→0,min_credibility0.80→0.0): new contributors can earn rewards immediately rather than clearing the global 3-PR / 0.80 credibility gate.pr_lookback_days30→7) and faster decay (sigmoid_midpoint_days10→3): rewards concentrate on recent, relevant work and stale PRs depreciate quickly.bug/feature/refactorare de-emphasized, while akinglabel grants a 10× reward for high-impact contributions.maintainer_cutcarve-out.Validation
maintainer_cut∈ [0,1],min_credibility∈ [0,1],min_valid_merged_prs≥ 0,pr_lookback_days∈ [1,90],sigmoid_midpoint_days∈ [1,90],label_multipliers≤ 10 entries / values ∈ [0,20]).emission_shareacross the registry remains1.0(this PR does not alteremission_share).load_master_repo_weights()parsing and all three validators (_validate_emission_shares,_validate_eligibility_configs,_validate_scoring_configs) pass for this entry.Verification
py -m pytest tests/validator/test_load_weights.py