Repository navigation
Replies: 1 comment
|
Thank you for the concrete cross-PR matching proposal and the links to the related work. Similarity and equivalence need to stay distinct in any output. I’ll follow up on the API and evidence requirements alongside #3165; there is no need to build the integration before that direction is settled. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The situation.
semantic_queryranks nodes inside one project. Two PRs that implement the same idea under different names, sayresolveContextin one andselectActorin the other, never meet, because nothing compares across projects or across a delta.Proposal. An option on the three-way comparison in #3165 that pairs each symbol A changed with its nearest changed symbols in B, using the embeddings that already exist:
{ "base_project": "repo-main", "target_projects": ["pr-a", "pr-b"], "match": "semantic", "threshold": 0.8 }Each pair reports the similarity, both locations, and the differing edges (callers, callees, imports). The output reads as "these two are probably the same idea; here is how they differ", which is exactly the question when choosing between competing attempts.
Alternatives considered. Name matching misses renames. Running
semantic_queryper symbol from the client works but is one call per symbol and compares against the whole project instead of the delta.Builds on #1462 and #2149.
All reactions