Skip to content

fix: clear all stale issue discovery fields when mirror scan makes miner ineligible (#1244)#1248

Closed
alpurkan17 wants to merge 1 commit into
entrius:testfrom
alpurkan17:fix/1244-issue-discovery-fields
Closed

fix: clear all stale issue discovery fields when mirror scan makes miner ineligible (#1244)#1248
alpurkan17 wants to merge 1 commit into
entrius:testfrom
alpurkan17:fix/1244-issue-discovery-fields

Conversation

@alpurkan17
Copy link
Copy Markdown
Contributor

Summary

Zero all issue discovery fields (issue_discovery_score, issue_token_score, issue_credibility, is_issue_eligible) when _score_miner_issues determines a miner is ineligible after an authoritative mirror scan.

Without this, a MinerEvaluation restored from cache retains stale positive scores even when current mirror data shows ineligibility.

Why more complete than the competing PR

Field Competing PR (#1245) This PR
issue_discovery_score ✅ Zeroed ✅ Zeroed
issue_token_score ❌ Not zeroed ✅ Zeroed
issue_credibility ❌ Not zeroed ✅ Zeroed
is_issue_eligible ❌ Not zeroed ✅ Set to False

Closes #1244

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 13, 2026
@alpurkan17
Copy link
Copy Markdown
Contributor Author

Branch deleted — competing PR #1245 already submitted. Closing.

@alpurkan17 alpurkan17 closed this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: stale issue_discovery_score survives fresh ineligible mirror scan when miner is restored from cache

1 participant