.openhands/setup.sh: the setup script OpenHands runs
.openhands/setup.sh is a shell script OpenHands runs when it starts working on a repo, to install dependencies and prepare what the tests need.
How many repos have an OpenHands setup script?
Of the 401 repos on the leaderboard, 2 pass in full (0.5%), 0 pass in part (0%) and 399 fail (100%).
Why does OpenHands need a setup script?
Per its repo-customization docs, OpenHands runs this script every time it begins working with a repo, whether in a container or on the host. With it, the agent starts with a working environment instead of figuring out the install. Only OpenHands reads it, so this check only affects its score.
What counts as an OpenHands setup script?
- Full pass:
.openhands/setup.shexists and is not empty. - 20%: the file exists but is empty.
- Fail: no
.openhands/setup.sh.
How checks become a score: methodology.
How do I add .openhands/setup.sh to my repo?
Put in it the commands a new contributor runs once: install dependencies, build, set up test fixtures. Keep it non-interactive; nobody is there to answer a prompt.
Which AI agents read .openhands/setup.sh?
- OpenHands10% of its score
Pass rate by language
- TypeScript2 of 82 (2%)
- Python0 of 56 (0%)
- Rust0 of 45 (0%)
- Go0 of 40 (0%)
- Java0 of 28 (0%)
- C++0 of 21 (0%)
- JavaScript0 of 15 (0%)
- Kotlin0 of 12 (0%)
- PHP0 of 12 (0%)
- C0 of 10 (0%)
- Ruby0 of 10 (0%)
- Swift0 of 10 (0%)
- C#0 of 8 (0%)
- Dart0 of 7 (0%)
- Elixir0 of 7 (0%)
- Haskell0 of 7 (0%)
- Scala0 of 6 (0%)
- Zig0 of 6 (0%)
- Clojure0 of 5 (0%)
Top-scoring repos that pass
- TypeScript · 92.9k ★
- hsnice16/tula75.3TypeScript · 0 ★(by this site's author)
Popular repos that fail it
- TypeScript · 394.1k ★
- react/react64.1JavaScript · 252.3k ★
- TypeScript · 225.1k ★
- n8n-io/n8n83.6TypeScript · 209.7k ★
- TypeScript · 199.4k ★
- microsoft/vscode72.0TypeScript · 195.1k ★
- Python · 187.9k ★
- ollama/ollama76.7Go · 186.2k ★
Every check, grouped into what to do first: how to make your repo ready for AI coding agents.