Skip to content
BIASED

Coding agents

Block 1 of 6~2 min

Why code is a good environment

Earlier notes built the loop, tools, memory, plans, reflection and the choice of fixed workflow versus open agent. Software is where those pieces went furthest: an agent gets an issue, reads and edits a repo, runs commands, and stops when it believes the change is done. The reason keeps returning — tests are a judge the model’s words cannot fake.

The one-shot baseline — BM25-retrieve files, write a unified diff, never execute — almost never works: Claude 2 resolved 1.96% of 2 294 SWE-bench tasks (2023); GPT-4 Turbo under the same setup 1.31% (2024). Retrieval misses the right files; blind diffs fail to apply; nothing tells the model the fix is wrong. Each failure points to a loop: search until the place is found, edit through a checked interface, run the code.

Answers are saved on the server and tied to this browser until you sign in.