Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

Performance History

Latest Results

Show hover docs for keyword argument names
lerebear/push-qzqluswmuxrw
6 hours ago
address review comments
ibraheem/multi-inference-aliases
7 hours ago
[ty] Prefer symbols from standard library over those of the same name from third party libraries for import completions. (#25108) <!-- 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? - Does this PR follow our AI policy (https://github.com/astral-sh/.github/blob/main/AI_POLICY.md)? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> This implements a narrow change to our ranking algorithm for import suggestions. After this change, we will suggest symbols from standard library modules over those from third-party modules when the symbol names are the same and we can't otherwise distinguish the completions by some higher relevance signal. The change applies to all import suggestion scenarios (i.e., auto-import suggestion, import statement suggestions, and unresolved reference suggestions). This does **not** prefer symbols from standard library modules to third party ones in general. A query that returns fuzzy matches from both the standard library and third party libraries where the names of the completions differ may still have symbols from third party libraries ranked above standard library ones. We can of course change this in the future, but without new relevance inputs (e.g. transitive dependency information from uv) I don't think we have any good basis for going further at the moment. Closes https://github.com/astral-sh/ty/issues/3325. ## Test Plan Please see included tests. <!-- How was it tested? -->
main
7 hours ago
Remove tests
charlie/literal-exponential-match
8 hours ago
Prefer std lib over third parties for regular imports
lerebear/push-kzzlywlnxkmk
8 hours ago
Add micro-benchmarks
charlie/literal-exponential-match
8 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
[ty] Display docs for matching parameter when hovering over the name of an argument passed by keyword.#25283
7 hours ago
c17fc85
lerebear/push-qzqluswmuxrw
CodSpeed Performance Gauge
0%
[ty] Support multi-inference through type aliases#25245
7 hours ago
0fc8921
ibraheem/multi-inference-aliases
CodSpeed Performance Gauge
0%
8 hours ago
d9812b3
charlie/literal-exponential-match
© 2026 CodSpeed Technology
Home Terms Privacy Docs