scikit-learn/scikit-learn
GitHubscikit-learn: machine learning in Python
- data-analysis
- data-science
- machine-learning
- python
- statistics
- Stars:
- 68.1k
- Language:
- Python
- Default branch:
- main
- Last scored:
78.2
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
Showing fixes for Claude Code
- 1Type configurationAdd 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
- 2Test suiteAdd a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.+3.9 pts
- 3Manageable sizeIf 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 →
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
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
✓
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✓
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✓
✓
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✓
✓
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✓
✓
~
Manageable size· 80% pass
1767 files
~
Test suite· 70% pass
Test files detected (sklearn/_loss/tests/test_link.py)
✗
Type configuration· 0% pass
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.
- Textualize/rich80.1Python · 57.7k ★
- psf/black80.1Python · 42.1k ★
- Python · 156.4k ★
- github/spec-kit78.8Python · 148.3k ★
- pallets/flask78.7Python · 75.1k ★
- celery/celery76.8Python · 29.1k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- Python · data analysis, data science, machine learning
- Python · data analysis, data science, machine learning
- apache/superset88.7Python · data analysis, data science
- Python · data analysis, data science
- apache/airflow86.3Python · data science, machine learning
- ray-project/ray73.6Python · data science, machine learning
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](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.