Skip to content

Remove stale miner_tier_stats reference#357

Merged
anderdc merged 5 commits intotestfrom
fix/remove-tier-stats-reference
Apr 10, 2026
Merged

Remove stale miner_tier_stats reference#357
anderdc merged 5 commits intotestfrom
fix/remove-tier-stats-reference

Conversation

@anderdc
Copy link
Copy Markdown
Collaborator

@anderdc anderdc commented Apr 9, 2026

Summary

  • Remove CLEANUP_STALE_MINER_TIER_STATS_BY_HOTKEY query and its usage — the miner_tier_stats table no longer exists after the tier system was removed
  • Fixes relation "miner_tier_stats" does not exist error during validator storage

Test plan

  • Validator stores evaluations without errors
  • No remaining references to miner_tier_stats in codebase

anderdc and others added 5 commits April 9, 2026 18:01
- Fix pyright: assert github_id not None in pat_handler before save_pat
- Fix pyright: assert entry not None in test_pat_handler before subscript
- Fix ruff: auto-sort imports in neurons/validator.py
- Lower MIN_CREDIBILITY from 0.90 to 0.80 (matches issue discovery threshold)
@anderdc anderdc merged commit 6ca2c5b into test Apr 10, 2026
4 checks passed
@anderdc anderdc deleted the fix/remove-tier-stats-reference branch April 10, 2026 16:09
anderdc added a commit that referenced this pull request Apr 10, 2026
…MIN_CREDIBILITY to 0.80

PR #357 was merged but lost when test branch was rebased. Re-applies:
remove CLEANUP_STALE_MINER_TIER_STATS_BY_HOTKEY (table no longer exists),
lower MIN_CREDIBILITY 0.90 → 0.80, fix test assertions with proper None checks.
@anderdc anderdc mentioned this pull request Apr 10, 2026
3 tasks
LandynDev pushed a commit that referenced this pull request Apr 10, 2026
anderdc added a commit that referenced this pull request Apr 10, 2026
…MIN_CREDIBILITY to 0.80

PR #357 was merged into test but lost twice due to rebase force-pushes.
Re-applies: remove CLEANUP_STALE_MINER_TIER_STATS_BY_HOTKEY (table gone),
lower MIN_CREDIBILITY 0.90 → 0.80, fix test assertions with proper None checks.
LandynDev pushed a commit that referenced this pull request Apr 10, 2026
anderdc added a commit that referenced this pull request Apr 10, 2026
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