Skip to content

chore(weights): add label multipliers for phase-rs/phase#1394

Merged
anderdc merged 1 commit into
entrius:testfrom
plind-junior:chore/weights-phase-label-multipliers
May 29, 2026
Merged

chore(weights): add label multipliers for phase-rs/phase#1394
anderdc merged 1 commit into
entrius:testfrom
plind-junior:chore/weights-phase-label-multipliers

Conversation

@plind-junior
Copy link
Copy Markdown
Contributor

phase-rs/phase was added to the repository whitelist in #1389 with only
emission_share and issue_discovery_share, so every merged PR scored at a
flat 1.0× regardless of label. This adds a label_multipliers block so phase
contributions are weighted by PR type, consistent with the other scored repos.

"phase-rs/phase": {
  "emission_share": 0.015,
  "issue_discovery_share": 0.0,
  "label_multipliers": {
    "bug": 1.1,
    "ai-contribution": 0,
    "enhancement": 1.25,
    "feature": 1.5,
    "refactor": 0.25
  }
}
  • Multiplier values follow the entrius/gittensor pattern
    (bug 1.1 / enhancement 1.25 / feature 1.5 / refactor 0.25).
  • ai-contribution: 0 zero-weights AI-labeled PRs.
  • emission_share and issue_discovery_share are unchanged.

Related Issues

N/A

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (scoring config)

Testing

  • JSON validated; repo count and all other entries unchanged.
  • Single-file change to gittensor/validator/weights/master_repositories.json;
    no code paths affected.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

@xiao-xiao-mao xiao-xiao-mao Bot added the enhancement New feature or request label May 29, 2026
@anderdc anderdc merged commit 357917c into entrius:test May 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants