SprocketLab/slop-code-bench
SlopCodeBench: Measuring Code Erosion Under Iterative Specification Refinement
What it solves
Most coding benchmarks test agents on a single, fixed task. SlopCodeBench instead evaluates agents under iterative specification refinement: the agent first implements a spec, then must extend and adapt its own code as that spec changes. This exposes failure modes that one-shot benchmarks miss, such as path dependence (where early decisions trap later ones), non-convergence (never settling on a working solution), and trade-offs between handling new requirements explicitly and keeping the codebase stable.
How it works
You run a coding agent (for example, Claude Code) through a CLI command that specifies the agent, model, environment, prompt, and which problem to solve. The agent works inside a Docker container, so each run is isolated and reproducible. After the run, you use the evaluation command to test the agent's output against the problem's test cases, and optionally run an LLM judge to grade code quality against a rubric. Results are saved to an outputs directory for later inspection. Problems are defined in a separate repository and can also be loaded as a Harbor dataset.
Who it's for
Researchers and developers who want to measure coding agent behavior over long-horizon, iterative tasks. It's also for contributors who want to expand the benchmark by adding new problems or integrating new coding agents. The project is explicitly an early-stage, community-driven evaluation primitive rather than a finalized benchmark.
Highlights
- Measures path dependence, non-convergence, and structural stability trade-offs
- Open and community-driven; problems live in a separate repo and are easy to contribute
- Docker-based isolation for reproducible runs across agent versions
- CLI tools for running, evaluating, and LLM-judging code quality
- Supports multiple agents and models (e.g., Anthropic, OpenAI, Google)
Related
- Project
- Project
- Project
- Project