We (the Princeton SWE-bench team) built an agent in ~100 lines of code that does pretty well on SWE-bench, you might enjoy it too: https://github.com/SWE-agent/mini-swe-agent
replies(7):
that's not the case with a codebase, where things are littered around in tune with specific model of organisation the developer had in mind.