mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 04:48:07 +00:00
This is still early days, but I hope the framework introduced here makes it very easy to add new truth data. Truth data should be seen as a form of regression test for non-ideal ranking of completion suggestions. I think it would help to read `crates/ty_completion_eval/README.md` first to get an idea of what you're reviewing.
641 B
641 B
| 1 | name | file | index | rank |
|---|---|---|---|---|
| 2 | higher-level-symbols-preferred | main.py | 0 | |
| 3 | higher-level-symbols-preferred | main.py | 1 | 1 |
| 4 | import-deprioritizes-dunder | main.py | 0 | 195 |
| 5 | import-deprioritizes-sunder | main.py | 0 | 195 |
| 6 | internal-typeshed-hidden | main.py | 0 | 43 |
| 7 | numpy-array | main.py | 0 | |
| 8 | numpy-array | main.py | 1 | 32 |
| 9 | object-attr-instance-methods | main.py | 0 | 7 |
| 10 | object-attr-instance-methods | main.py | 1 | 1 |
| 11 | raise-uses-base-exception | main.py | 0 | 42 |
| 12 | scope-existing-over-new-import | main.py | 0 | 495 |
| 13 | scope-prioritize-closer | main.py | 0 | 152 |
| 14 | scope-simple-long-identifier | main.py | 0 | 140 |
| 15 | ty-extensions-lower-stdlib | main.py | 0 | 142 |
| 16 | type-var-typing-over-ast | main.py | 0 | 65 |
| 17 | type-var-typing-over-ast | main.py | 1 | 353 |