scikit-learn/scikit-learn

GitHub
https://github.com/scikit-learn/scikit-learn

scikit-learn: machine learning in Python

Stars:
68.1k
Language:
Python
Default branch:
main
Last scored:
Overall

At a glance

Rank
#89 of 401
Top 22% · #23 of 56 Python repos
Checks passed
9 of 17
Full list below
Best set up for
Claude Code
Score 86.8
Needs most work for
Cursor
Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Type configuration
    Add a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.
    +7.9 pts
  2. 2
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +1.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#62 of 401
86.8
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Reproducible dev env
Kimi Code CLI
#86 of 401
82.0
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Codex
#95 of 401
81.8
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Pi
#88 of 401
81.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Devin
#62 of 401
81.1
  • ✓Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
OpenHands
#56 of 401
76.9
  • ✓CI configuration
  • ✓Dependency manifest
  • ✓Reproducible dev env
Aider
#95 of 401
73.5
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
Gemini CLI
#110 of 401
71.0
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
Cursor
#136 of 401
69.1
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration

Does scikit-learn/scikit-learn have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 1,316 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
29 of 56 Python repos · 222 of 401 repos on the leaderboard · See examples →

All 17 checks · 9 passed

No .agents/skills/<name>/SKILL.md
Substantive (1,316 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
23 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
2 env artifacts (Makefile, .devcontainer/devcontainer.json)
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
Configured in pyproject.toml
No .openhands/setup.sh
Hook framework configured
README· 100% pass
README detailed (7,675 characters)
Manageable size· 80% pass
1767 files
Test suite· 70% pass
Test files detected (sklearn/_loss/tests/test_link.py)
No type config found

How scikit-learn/scikit-learn compares

vs leaderboard average
11.3 pts above
Average 66.9
vs Python average
7.1 pts above
Average 71.1
Stars among Python repos
#18 of 56

Missing here, and how many repos have it

  • Type configuration · passed by 68% of leaderboard repos, 57% of Python repos
  • Skills (.agents/skills) · passed by 18% of leaderboard repos, 21% of Python repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 7% of Python repos

Passes checks most repos miss

  • Reproducible dev env · only 22% of repos pass it
  • Pre-commit / git hooks · only 29% of repos pass it

One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.

Similar repos

Same language and host as this repo, closest in overall score.

All Python repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/scikit-learn/scikit-learn
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/scikit-learn/scikit-learn.svg)](https://agentfriendlycode.com/repo/github/scikit-learn/scikit-learn)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.