← all checks

Type configuration: static types help AI coding agents read code

This check asks whether the code is statically typed: a type-checker config for JavaScript, TypeScript or Python, or a language typed by design.

How many repos have static type checking?

Of the 401 repos on the leaderboard, 271 pass in full (68%), 0 pass in part (0%) and 130 fail (32%).

Why do static types help AI coding agents?

Types tell an agent what a function takes and returns without running it. It can follow a call across files and catch a wrong argument before the tests do. Cursor's profile gives type config its top weight.

What counts as type configuration?

  • Full pass: tsconfig.json, jsconfig.json, mypy.ini, pyrightconfig.json, or a [tool.mypy] or [tool.pyright] section in pyproject.toml.
  • Full pass: a build file for a typed language, namely Rust, Go, Java, Kotlin, Scala, Swift, C#, OCaml, Haskell or Zig.
  • Fail: neither. A typed language whose build file we do not look for, such as C or C++, also fails.

How checks become a score: methodology.

How do I add type checking to my repo?

TypeScript or JavaScript: commit a tsconfig.json or jsconfig.json. Python: add mypy or Pyright and commit its config. Other typed languages pass once their build file is at the repo root.

Which AI coding agents weigh static types most?

Pass rate by language

Top-scoring repos that pass

Popular repos that fail it

Every check, grouped into what to do first: how to make your repo ready for AI coding agents.