Skip to content

fix(similar-issues): Deduplicate groups with multiple hashes in similar issues response#108513

Merged
mrduncan merged 2 commits intomasterfrom
mrduncan/similarity-fix
Feb 27, 2026
Merged

fix(similar-issues): Deduplicate groups with multiple hashes in similar issues response#108513
mrduncan merged 2 commits intomasterfrom
mrduncan/similarity-fix

Conversation

@mrduncan
Copy link
Member

When multiple hashes map to the same group, the dict in get_formatted_results would keep the position from the first (best) entry but overwrite the score with the last (worst) entry, causing the top result to display a lower similarity than results below it.

…ar issues response

When multiple hashes map to the same group, the dict in get_formatted_results
would keep the position from the first (best) entry but overwrite the score
with the last (worst) entry, causing the top result to display a lower
similarity than results below it.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 19, 2026
@mrduncan mrduncan marked this pull request as ready for review February 19, 2026 16:57
@mrduncan mrduncan requested review from a team as code owners February 19, 2026 16:57
@mrduncan mrduncan merged commit 4c02626 into master Feb 27, 2026
77 checks passed
@mrduncan mrduncan deleted the mrduncan/similarity-fix branch February 27, 2026 18:18
@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants