ruff/crates/ty_completion_eval/truth
Andrew Gallant cd7354a5c6 [ty] Add completion evaluation task for general keyword completions 2025-11-11 17:20:55 -05:00
..
auto-import-skips-current-module [ty] Add evaluation test for auto-import including symbols in current module 2025-10-29 09:13:49 -04:00
fstring-completions [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
higher-level-symbols-preferred [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
import-deprioritizes-dunder [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
import-deprioritizes-sunder [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
import-deprioritizes-type_check_only [ty] Consider `type_check_only` when ranking completions (#20910) 2025-10-23 15:09:13 +01:00
import-keyword-completion [ty] Add `from <module> im<CURSOR>` completion evaluation task 2025-11-11 17:20:55 -05:00
internal-typeshed-hidden [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
none-completion [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
numpy-array [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
object-attr-instance-methods [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
pass-keyword-completion [ty] Add completion evaluation task for general keyword completions 2025-11-11 17:20:55 -05:00
raise-uses-base-exception [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
scope-existing-over-new-import [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
scope-prioritize-closer [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
scope-simple-long-identifier [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
tstring-completions [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
ty-extensions-lower-stdlib [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
type-var-typing-over-ast [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00
README.md [ty] Add an evaluation for completions 2025-10-08 08:44:21 -04:00

README.md

This directory contains truth data for ty's completion evaluation.

Adding new truth data

To add new truth data, you can either add a new <CURSOR> directive to an existing Python project in this directory or create a new Python project. To create a new directory, just cp -a existing new and modify it as needed. Then:

  1. Check completion.toml for relevant settings.
  2. Run uv.lock after updating pyproject.toml (if necessary) to ensure the dependency versions are locked.