← back to leaderboard

scikit-learn/scikit-learnGitHub

https://github.com/scikit-learn/scikit-learn
Stars:
67.6k
Language:
Python
Default branch:
main
Last scored:
18h ago
Overall

At a glance

Rank
#73 of 371
Top 20% · #20 of 57 Python repos
Checks passed
9 of 16
Full list below
Best set up for
Devin
Score 88.4
Needs most work for
Cursor
Biggest fix: Cursor rules (.cursor/rules) (+12.0 pts)

What to fix first

  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 looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

Devin
88.4
Claude Code
86.8
Kimi CLI
86.6
Pi
86.3
GPT-5 Codex
86.1
OpenHands
80.1
Gemini CLI
74.2
Aider
73.5
Cursor
72.4

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All Python repos →

All checks

Substantive (1316 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
22 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
No .cursor/rules/*.mdc or .cursorrules
Manifest present
pyproject.toml
2 env artifacts (Makefile, .devcontainer/devcontainer.json)
Makefile
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
COPYING
Configured in pyproject.toml
pyproject.toml
No .openhands/setup.sh
Hook framework configured
.pre-commit-config.yaml
README· 100% pass
README detailed (7675 chars)
README.rst
Manageable size· 80% pass
1747 files
Test suite· 70% pass
Test files detected (sklearn/_loss/tests/test_link.py)
sklearn/_loss/tests/test_link.py
No type config found

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

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [main]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?