ruff/crates/ty_completion_eval/completion-evaluation-tasks.csv
Matthew Mckee b5ff96595d
[ty] Favour imported symbols over builtin symbols (#21285)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

Raised by @AlexWaygood.

We previously did not favour imported symbols, when we probably
should've

## Test Plan

Add test showing that we favour imported symbol even if it is
alphabetically after other symbols that are builtin.
2025-11-06 06:46:08 -05:00

1,008 B

1namefileindexrank
2auto-import-skips-current-modulemain.py01
3fstring-completionsmain.py01
4higher-level-symbols-preferredmain.py0
5higher-level-symbols-preferredmain.py11
6import-deprioritizes-dundermain.py01
7import-deprioritizes-sundermain.py01
8import-deprioritizes-type_check_onlymain.py01
9import-deprioritizes-type_check_onlymain.py11
10import-deprioritizes-type_check_onlymain.py21
11import-deprioritizes-type_check_onlymain.py32
12import-deprioritizes-type_check_onlymain.py43
13internal-typeshed-hiddenmain.py05
14none-completionmain.py011
15numpy-arraymain.py0
16numpy-arraymain.py11
17object-attr-instance-methodsmain.py01
18object-attr-instance-methodsmain.py11
19raise-uses-base-exceptionmain.py02
20scope-existing-over-new-importmain.py01
21scope-prioritize-closermain.py02
22scope-simple-long-identifiermain.py01
23tstring-completionsmain.py01
24ty-extensions-lower-stdlibmain.py08
25type-var-typing-over-astmain.py03
26type-var-typing-over-astmain.py1277