Skip to content

fix: increment valid_solved only after exclusion guards#1314

Closed
Lance-Python-Dev wants to merge 1 commit into
entrius:testfrom
Lance-Python-Dev:fix/valid-solved-after-guards
Closed

fix: increment valid_solved only after exclusion guards#1314
Lance-Python-Dev wants to merge 1 commit into
entrius:testfrom
Lance-Python-Dev:fix/valid-solved-after-guards

Conversation

@Lance-Python-Dev
Copy link
Copy Markdown

Closes #1298

valid_solved_count was incremented before the same-account guard and
the canonical-PR-owner guard, allowing self-farmed and non-canonical
issues to inflate the eligibility counter.

Moved the increment to after both continue guards so only issues that
survive all exclusion checks contribute to the valid-solved threshold.

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 19, 2026
@Lance-Python-Dev Lance-Python-Dev force-pushed the fix/valid-solved-after-guards branch from 9e69383 to 31f089f Compare May 19, 2026 21:36
@anderdc
Copy link
Copy Markdown
Collaborator

anderdc commented May 19, 2026

Duplicate of #1299 which is better scoped/implemented. Closing.

@anderdc anderdc closed this May 19, 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.

[Bug] increment valid_solved only after exclusion guards in issue discovery

2 participants