Skip to content

Restore uniform random generator challenge sampling - #460

Merged
kenobijon merged 2 commits into
mainfrom
feat/random-challenge-allocation
Sep 17, 2026
Merged

kenobijon merged 2 commits into
mainfrom
feat/random-challenge-allocation

Conversation

@dylanuys

Copy link
Copy Markdown
Contributor

Summary

  • Default challenge targeting is a uniform random draw of --neuron.sample-size unique generators (image/video assigned at random).
  • Qualified / onboarding / probe slot allocation remains available via --neuron.challenge-allocation buckets.
  • Qualification still gates pay only; it no longer decides who gets asked each round.

Test plan

  • pytest tests/test_challenge_allocation.py
  • Confirm a validator log line Challenge allocation: random 50/<pool> generators
  • Confirm previously starved UIDs appear in challenge rounds over a few cycles
  • Optional: --neuron.challenge-allocation buckets still fills 36/8/6 as before

Made with Cursor

dylanuys and others added 2 commits September 17, 2026 13:30
Bucketed qualified/onboarding/probe slots were starving some miners; the default is a uniform draw again, with buckets still available as an opt-in.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@kenobijon
kenobijon self-requested a review September 17, 2026 19:03
@kenobijon
kenobijon merged commit 3bf7f4a into main Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants