slop-code-bench
AGENTS.md288 starsChanged 11 months agoMITView on GitHub
Note: Dashboard visualization features are partially documented via the viz diff command. See docs/commands/viz.md for details.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-specSkill
- edge-casesSkill
- fix-solutionSkill
- reclassify-testsSkill
- run-testsSkill
- test-ambiguity-detectorSkill
- validate-runSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Use from __future__ import annotations, pathlib.Path, and type annotations for all functions.
- Very specific: line 34
Test files use *_test.py or test_*.py under tests/.
- Distinctive: line 35
No explicit coverage target.
- Very specific: line 36
NEVER: run a problem's test with pytest.
- Distinctive: line 39
Commit history favors short, capitalized summaries without scopes (e.g., “Canary Fix”).
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Guidelines
Project Structure & Module Organization
src/slop_code/holds the core library. Key areas:entrypoints/(CLI),evaluation/,execution/,agent_runner/,metrics/, anddashboard/.tests/contains the pytest suite, generally mirroringsrc/subpackages.problems/contains benchmark problems. Each problem hasconfig.yaml,checkpoint_N.md(specs), and atests/directory withconftest.py,test_checkpoint_N.pyfiles, and test data undertests/data/.configs/houses agent, model, prompt, environment, and run configs (e.g.,configs/agents/,configs/models/).docs/provides guides for agents, evaluation, execution, and problem authoring;assets/stores images;outputs/stores run artifacts.
Note: Dashboard visualization features are partially documented via the viz diff command. See docs/commands/viz.md for details.
Build, Test, and Development Commands
uv sync # Install dependencies
uv run slop-code --help # List CLI commands
uv run slop-code run ... # Run an agent (see README for full example)
slop-code eval outputs/<run-dir> # Evaluate a run directory
uv run slop-code tools run-case -s outputs/<snapshot> -p <problem> -c <n> -e configs/environments/docker-python3.12-uv.yaml
bash scripts/eval_checkpoint <problem name> <n>
uv run pytest -q # Run all tests
uv run pytest tests/path/to/test_file.py
uv run ruff check --fix . # LintCoding Style & Naming Conventions
- Python 3.12+, 4-space indentation, max line length 80 (ruff).
- Use
from __future__ import annotations,pathlib.Path, and type annotations for all functions. - Configuration should use Pydantic models; logging uses
structlog.get_logger(__name__). - Imports are single-line (ruff isort settings); module names are
snake_case, classesCapWords.
Testing Guidelines
- Framework: pytest (see
pyproject.toml). - Test files use
*_test.pyortest_*.pyundertests/. - No explicit coverage target; add tests for new behavior and edge cases.
- NEVER run a problem's test with pytest. ALWAYS use either:
scripts/eval_checkpoint.sh,uv run slop-code --quiet eval-snapshot, oruv run slop-code --quiet tools run-case
Commit & Pull Request Guidelines
- Commit history favors short, capitalized summaries without scopes (e.g., “Canary Fix”). Keep messages concise and descriptive.
- For problem contributions, follow the PR template in
docs/contributing-problems/checklist.md(overview, checkpoints, test counts). - For other PRs, include a clear description, link relevant issues, note tests run, and add screenshots for dashboard/UI changes.
Configuration & Credentials
- API keys are provided via environment variables (see README). Do not commit secrets.
- Environment/runtime settings live in
configs/environments/andconfigs/providers.yaml.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

