ruff
[ty] Improve completion ranking based on origin and exact match
#22460
Merged

[ty] Improve completion ranking based on origin and exact match #22460

BurntSushi merged 11 commits into main from ag/ranking-improvements
BurntSushi
BurntSushi BurntSushi requested a review from carljm carljm 136 days ago
BurntSushi BurntSushi requested a review from MichaReiser MichaReiser 136 days ago
BurntSushi BurntSushi requested a review from AlexWaygood AlexWaygood 136 days ago
BurntSushi BurntSushi requested a review from Gankra Gankra 136 days ago
BurntSushi BurntSushi requested a review from sharkdp sharkdp 136 days ago
BurntSushi BurntSushi requested a review from dcreager dcreager 136 days ago
BurntSushi BurntSushi removed review request from dcreager dcreager 136 days ago
BurntSushi BurntSushi removed review request from carljm carljm 136 days ago
BurntSushi BurntSushi removed review request from Gankra Gankra 136 days ago
BurntSushi BurntSushi removed review request from sharkdp sharkdp 136 days ago
BurntSushi BurntSushi added server
BurntSushi BurntSushi added ty
BurntSushi
astral-sh-bot
astral-sh-bot
BurntSushi BurntSushi force pushed from 4a423635 to 464d31e3 136 days ago
BurntSushi BurntSushi force pushed from 464d31e3 to 6ff84472 136 days ago
MichaReiser
MichaReiser approved these changes on 2026-01-09
BurntSushi [ty] Add evaluation tasks for a few cases
3a3f1438
BurntSushi [ty] Rename internal completion `Rank` type to `Relevance`
77e41aaf
BurntSushi [ty] Refactor completion construction to use a builder
13d8f3f5
BurntSushi [ty] Refactor ranking
4c969050
BurntSushi [ty] Rank unimported symbols from `typing` higher
eb6e649e
BurntSushi [ty] More sensible sorting for results returned by `all_symbols`
e172db6d
BurntSushi [ty] Actually ignore hidden directories in completion evaluation
77d96725
BurntSushi BurntSushi force pushed from 6ff84472 to d9d8596f 135 days ago
astral-sh-bot
BurntSushi
BurntSushi [ty] Add package priority completion evaluation tasks
d4412e71
BurntSushi [ty] Improve completion ranking based on origin of symbols
85e530d9
BurntSushi [ty] Remove `type-var-typing-over-ast` evaluation task
5457a8fc
BurntSushi [ty] Give exact completion matches very high ranking
15cc74ec
BurntSushi BurntSushi force pushed from d9d8596f to 15cc74ec 135 days ago
BurntSushi BurntSushi merged 91d24ebb into main 135 days ago
BurntSushi BurntSushi deleted the ag/ranking-improvements branch 135 days ago
RasmusNygren
RasmusNygren commented on 2026-01-09

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone