fix: filter cross-repo closing references in PR timeline query (#1041) - #1147
Closed
alpurkan17 wants to merge 19 commits into
Closed
fix: filter cross-repo closing references in PR timeline query (#1041)#1147alpurkan17 wants to merge 19 commits into
alpurkan17 wants to merge 19 commits into
Conversation
- time_decay_tracker.py: monitor PR age & decay multiplier - pr_quality_check.py: validate 7 scoring factors before PR submission - GITTENSOR_STATUS.md: full miner status, 47 rules, compliance table
- Analysis of last 20 merged PRs (labels, prefix, contributors) - fix: prefix has 60% merge rate - safest choice - Updated checklist based on real merged PR patterns
- pr_body_builder.py: generate body PR sesuai gaya anderdc (## Summary + bullet + ## Test plan) - Update strategi: adopsi pola anderdc (tanpa formal checklist, fokus ke technical summary) - Body template baru: ## Summary, ## Related Issues (Fixes #N), ## Test plan
…ommit conventions - issue_checker.py: cek author issue (maintainer=1.66x vs standard=1.33x) - --suggest: cari open issues dari maintainer - pre_submit.py: validasi branch, commit, ruff, pyright, pytest sebelum push - pr_body_builder.py: generate body gaya anderdc (## Summary + Fixes #N + ## Test plan) - Update strategi: branch naming, commit message convention, Review Quality optimasi
- pr_body_builder.py v2: struktur ala anderdc dengan Root Cause + Impact + Why - Update semua 10 PR body dengan gaya enhanced via REST API - Setiap PR sekarang punya: Summary, Root Cause, Impact, Fixes #N, Test plan
Contributor
Author
|
Closing — will recreate with clean branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_PR_TIMELINE_QUERY'sclosingIssuesReferencesfragment emits onlynodes { number }without repository qualification. When a PR closes a same-numbered issue in a different repository,find_solver_from_cross_referencesmatches by issue number alone and can credit the wrong solver.Fix mirrors the approach from PR #1020 on the timeline query:
repository { nameWithOwner }to theclosingIssuesReferencesfragment in_PR_TIMELINE_QUERYValidation
uv run ruff check— cleanuv run ruff format --check— cleanuv run pyright— 0 errorsCloses #1041