AI/AI coding

Every codebase gets an AI colleague

AI now writes code across every codebase we maintain, not just a pilot. Why we went all in, and what this week's SWE-bench results say about its limits.

A neon skyline of stacked block towers in violet and cyan lining a glowing grid road into the distance

As of this month, AI is part of how we write code in every codebase we maintain. Not a pilot, and not one keen developer with a plugin: all of them. It’s the same instinct that led us to automate a £35M+ quotation pipeline earlier this year, turned inwards on our own work. If a tool can take repetitive effort off a skilled person’s plate, it shouldn’t be confined to a side project.

Why not start with a pilot?

The usual advice is to trial AI coding tools on one small, safe project. The trouble is what a pilot measures. New, tidy code flatters the tool: there’s no history, no odd conventions and no ten-year-old module that only one person understands. Established code is the opposite, and it’s where most development hours go. If the AI only helps on the shiny project, it isn’t helping where it counts. Putting it into every codebase means we find out where it struggles, not just where it shines.

What the tools can do

The case for AI on the keyboard is already strong. When GitHub made Copilot generally available in June 2022, it reported that “nearly 40%” of code in files where Copilot was enabled was being written by Copilot, in popular languages like Python. Let’s be precise about that number, though: it’s a share of the code in files where the tool is switched on, not 40% of anyone’s codebase, and certainly not 40% of the thinking. Autocomplete that accepts a lot of suggestions is still autocomplete.

The twist: the next line versus the whole job

But wait. A week ago, a team of academic researchers published SWE-bench, a benchmark built from 2,294 real GitHub issues and their fixes across 12 popular Python projects. Instead of finishing a line, the model has to resolve the issue: understand the codebase, change the right files and make the tests pass. The best model they tested, Claude 2, resolved 1.96% of them. So today’s AI is very good at the next line and very poor at the whole job. That gap shapes how we’re using it: AI is a fast pair of hands inside every codebase, and people are still the ones who understand the issue, decide the change and own the result.

What it means

Effectively, this means the useful question isn’t “can AI write code?” It clearly can. The useful questions are how much of our codebase it ends up responsible for, and whether that code is as good as the rest. Those are the numbers we’re watching, and I’ll report back on them. What it does not mean is that the developers are now optional. Two percent on SWE-bench is not a colleague you’d hand a ticket to and walk away.

My take

Teams waiting for AI coding tools to be “ready” before adopting them are making a mistake. Not because the tools are brilliant today (1.96% says they aren’t), but because the hard part of adoption is organisational: learning where the tools help, where they hurt and how to review what they produce. That takes months, and you can’t start once the models are good. By then you’re behind.

So will AI replace developers?

Not on this evidence. A model that writes much of the code in files where it’s switched on, yet resolves one real issue in fifty, is an assistant, not an engineer. The thing worth watching is that second number. When the models start resolving whole issues rather than finishing lines, the way we build software changes, and I’d rather have every codebase ready for it than one.

Create your amazing blog on bloggy.space

Report abuse