TheAlgorithms/Python
All Algorithms implemented in Python
- Python · uv
- 226,542 stars
Agents can work from your instructions with few surprises.
- critical
- 0
- high
- 0
- medium
- 1
- low
- 0
Scanned 29 Nov 2026, 17:31 UTC at commit 30507bb (opens in new tab)
Scan details+−
- Commit
- 30507bbe41397065728167fb09aa820f9fce8dc7
- Engine
- 0.8.6, 3.7 s
- Files read
- 1,491 of 1,737 in the repository (16.3 MB, archive)
Agents can work from your instructions with few surprises.
- critical
- 0
- high
- 0
- medium
- 1
- low
- 0
Summary
TheAlgorithms/Python scores A 96 at commit 30507bb: 1 finding. Highest severity medium: 2 generated or oversized files are tracked (3.7 MB) (strings/words.txt).
Fix these first
- 1.
2 generated or oversized files are tracked (3.7 MB)
AR503 · medium
What an agent will experience
The commands we detected, and whether your instruction files mention them.
Commands detected
uv syncsource: pyproject.toml
uv run pytestsource: pyproject.toml
uv run ruff check .source: pyproject.toml
| Purpose | Command | In instructions | Source |
|---|---|---|---|
| install | uv sync | no | pyproject.toml |
| test | uv run pytest | yes | pyproject.toml |
| lint | uv run ruff check . | yes | pyproject.toml |
A command marked no is not automatically wrong: it can still be the right command. It does mean the agent has to discover it instead of reading it.
Documented commands: verdict
None of the commands documented in the instruction files is missing at this commit.
Instruction files read
all agents · 723 tokens
| File | Read by | Tokens | Role |
|---|---|---|---|
| AGENTS.md | all agents | 723 | root |
How the score was calculated
raw 4 · applied 4
| Category | Raw penalty | Applied | Category cap |
|---|---|---|---|
| Context | 4 | 4 | within |
100 − 4 = 96
The full formula, category caps and every check are on the methodology page.
The Agent Kit
Generated 29 Nov 2026, 17:31 UTC · commit 30507bb
Every command and path is checked against commit 30507bb. Nothing was run. Shown as a diff against your files.
- Files
- 8
- AGENTS.md
- 1,172 tokens
- Commands checked
- 11
- Paths checked
- 25 all exist
- AGENTS.md~1172 tokenschangeslocked
- CLAUDE.md~37 tokensnew filelocked
- .cursor/rules/agent-ready.mdc~58 tokensnew filelocked
- .github/copilot-instructions.md~49 tokensnew filelocked
- GEMINI.md~46 tokensnew filelocked
- .github/workflows/copilot-setup-steps.yml~74 tokensnew filelocked
- scripts/agent-setup.sh~58 tokensnew filelocked
- .env.example~33 tokensnew filelocked
# AGENTS.md
Guidance for AI coding agents (and their humans) contributing to
**TheAlgorithms/Python**. This complements — and never overrides —
[`CONTRIBUTING.md`](CONTRIBUTING.md). Read that first.
This repository is educational: implementations should be clear and correct
rather than maximally optimized. Every change goes through CI and the
`algorithms-keeper` bot, both of which reject non-conforming PRs automatically.
## Before opening a pull request
- **Check at least one box in the PR description.** The `algorithms-keeper`
bot **closes any PR whose "Describe your change" section has no checked
…Get the complete kit for TheAlgorithms/Python: all 8 files, the diff against what the repository already has, and the ZIP.
Repo Fix is $19 once for this repository. Pro ($15 a month) covers every repository. See pricing.
- Left alone because they already exist in the repository and the kit cannot show a safe diff: .devcontainer/devcontainer.json.
- kept the hand-written sections and fixed only the lines the scan proved wrong
- The sections kept from your AGENTS.md were not rewritten. They were scanned only for text that overrides instructions, sends data elsewhere or runs a network or scripting tool.
- Kept from the existing AGENTS.md without verification: `ruff`, `python -m doctest -v your_file.py`, `pytest`, `uv run pytest ...`, `requirements.txt`. The kit did not write these.
Put this report in your README
The badge is generated from this report and links back to it. Pick a look, then copy the snippet.
- Markdown
[](https://makeagentready.tech/gh/TheAlgorithms/Python) - HTML
<a href="https://makeagentready.tech/gh/TheAlgorithms/Python"><img src="https://makeagentready.tech/badge/gh/TheAlgorithms/Python.svg" alt="Agent Ready score"></a> - Image URL
https://makeagentready.tech/badge/gh/TheAlgorithms/Python.svg