Astral's ty Reaches 1.0 With 14 False Positives in the Conformance Suite, Down From 224
Software / news
Astral's ty Reaches 1.0 With 14 False Positives in the Conformance Suite, Down From 224
The Rust-based Python type checker is now stable, but its speed lead over Pyrefly is measured by Astral on one laptop, and Pyrefly says it still wins on PyTorch.
Astral released ty 1.0 on December 1, calling its Python type checker and language server ready "for production use, for all users". The announcement, written by Astral founder Charlie Marsh, ends a beta in which the tool already had 49.6 million PyPI downloads in October.
Marsh's post does not give his title. It says ty is "the most technically ambitious project I have ever worked on".
What changed since the beta
The number Astral leads with is correctness. Against the Python typing conformance suite, ty now reports 14 false positives and 13 false negatives, down from 224 and 405 at beta. Astral's figure for mypy is 190 false positives and 109 false negatives. The GitHub release notes put it another way: 95% of conformance test files pass, up from 29% at beta, against 57% for mypy.
Astral calls the suite "an imperfect proxy for real-world correctness", which is the right caveat. The suite tests whether a checker follows the typing specification, not whether it understands your Django models.
| Checker | False positives | False negatives |
|---|---|---|
| ty 1.0 | 14 | 13 |
| ty beta | 224 | 405 |
| mypy | 190 | 109 |
On the feature side, 1.0 adds a generics solver, bidirectional inference and built-in handling of Pydantic, Django, pytest and attrs. Return type inference for unannotated functions is opt-in. For teams adopting it on an old codebase, ty check --add-ignore and diagnostic baselines through --update-baseline are the practical additions, though the release notes mark baselines and PEP 723 script support as preview.
The speed claim and who ran it
Astral's benchmarks, run on an M3 Max with no caching for the command line, have ty fastest on 16 of 18 ecosystem projects. By geometric mean it is 1.46 times faster than Pyrefly and 3.56 times faster than Zuban. In the editor, after a change, it was fastest on 14 of 17 projects and 7.73 times faster than Pyrefly.
These are vendor-supplied. Astral's own charts show Pyrefly fastest on PyTorch, and Pyrefly's blog says its 1.5 release, dated November 19, is "faster than ty on some large projects, such as pytorch and sympy". Pyrefly's page also reports its 1.5 checks run 40% faster than 1.4.1 with 9% less memory, so the comparison moves each month.
The post gives no speed numbers against mypy or Pyright, the two checkers most teams actually run.
- mypy, Oct 2026198.7 M
- ty, Oct 202649.6 M
- mypy, Oct 202555.2 M
- ty, Oct 20251.7 M
Source: Astral, ty 1.0 announcement, accessed 2026-12-02
How many projects use it
Adoption is the part that surprised the post's own authors. Astral says ty is OpenAI's default and most widely deployed type checker, and that its internal migration there produced a median 24 times speedup and 73% lower peak memory. FastAPI and tox are named as adopters.
In a November audit of the 25,000 most-downloaded PyPI packages, 11.6% of repositories with a type checker used ty, third behind mypy and Pyright. Among repositories created after December 2025 the split was 62.9% mypy, 26.0% Pyright and 22.6% ty, which sums past 100% only because projects can run more than one.
Mypy still dominates by volume. Its 198.7 million downloads are four times ty's 49.6 million, though ty's own count grew about 29 times in a year from 1.7 million.
What stable promises
The release notes set the versioning rule: patch releases are limited to bug fixes, while minor releases may add new type errors. Anyone pinning a CI check should pin the minor version, because a new minor can turn a green build red.
Several things are not promised. The post lists type-aware linting, dead-code elimination, unused dependency analysis and type-aware test selection as areas Astral is exploring, not shipping. It names no editor beyond VS Code. Neither the post nor the release page shows the licence, so check the repository before adopting it in a company that audits them.
The install is uv tool install ty@latest. The 1.0.0 release on GitHub is dated December 1 at 16:48 UTC.
For readers following open-source toolchain changes, the Roc 0.1.0 release and the Rust 1.100 allocator change cover other tools reaching stability this week.
Sources
More in Software
- 01Willison Says SVG-Writing LLMs Beat Image Models; His Kākāpō Poster Drew PushbackSimon Willison argues editable code beats pixels for diagrams and posters. A 415-point Hacker News thread agreed on editability and attacked the sample's anatomy.
- 02Gemini Tool Retrieval Arrives a Year After Claude's, With No Published NumbersGoogle's preview defers tool schemas the way Anthropic's tool search does. Anthropic's docs give a 55,000-token example and an 85 percent saving; Google's post gives neither.
- 03GameMaker Copies Godot's AI Contribution Rules, Down to the 15-Line LimitThe commercial engine's source-available release comes with a policy that bars AI agents from opening pull requests and AI text from discussions.
- 04Draftmux, an MIT-Licensed Editor for Agent-Written PR Text, Has 170 Stars and 10 ReleasesRaine Virta's tool forks your Claude Code or Pi session to draft GitHub and Slack messages beside a live preview. Hacker News gave it 222 points and a fair amount of scepticism.