AI coding tools: measure delivery, not enthusiasm
Few AI claims have travelled faster than the one about software engineering. Coding assistants will make developers twice as productive. Legacy systems can be rewritten in months. Engineering headcount plans can come down.
Some of that is true, some of it is not, and the difference matters a great deal if the numbers have found their way into a budget or a value creation plan.
What the evidence actually says
Two studies are worth knowing, because they point in opposite directions.
In a 2023 controlled experiment, developers were asked to build a small web server in JavaScript. Those given GitHub Copilot finished about 55% faster.
In 2025, the research group METR ran a randomised trial with experienced open-source developers working on large codebases they knew well, on real tasks from their own backlogs. With AI tools they were about 19% slower. More striking still, before starting they expected to be around a quarter faster, and afterwards they still believed they had been about 20% faster. METR has since said the tools have moved on and is redesigning the study, so treat the figure as a snapshot rather than a verdict. The perception gap is the more durable lesson.
These results are not contradictory. They describe different work. AI tools are very good at well-defined tasks in familiar patterns, boilerplate, tests and unfamiliar code that needs explaining. They help much less, and can get in the way, when an expert is working on subtle changes in a large, idiosyncratic system they already understand deeply.
The lesson for leaders is twofold. Gains depend heavily on the task and the codebase, so you must measure in your own setting. And self-reported productivity is not evidence. Developers, like the rest of us, are poor judges of their own speed.
If the productivity gain in your plan comes from a survey, it is a hope, not a number.
How to measure it properly
Lines of code and suggestion acceptance rates are tempting because the tools report them. They measure activity, not value. I would look instead at:
- Delivery: the widely used DORA measures, namely change lead time, deployment frequency, change fail rate, failed deployment recovery time and, since 2024, deployment rework rate.
- Flow: cycle time per change, time waiting for review and rework.
- Quality: defects after release, security findings and incidents.
- Developer experience: a short regular survey on focus and friction, as a supporting signal rather than the headline.
Above all, take a baseline before rollout, then compare pilot teams against it and against similar teams without the tools, at three and six months. Without a baseline, no one will ever know.
The work is changing shape
The tools are moving quickly from “suggest the next line” to “do this task and show me the result”. Coding agents now read a repository, plan a change across many files, run the tests and iterate. That changes where the skill lies. Two capabilities become more valuable: specifying work clearly, and reviewing well.
The teams getting the most from these tools tend to follow a simple discipline: ask the tool to propose a plan before it writes anything; give it the right context, including standards, examples and what not to touch; generate in small steps that can be reviewed properly; verify with tests and scans; and only then commit. Writing the tests first works particularly well, because the tests become both the specification and the check.
Context is the biggest single driver of quality. Teams that keep a standing instructions file in each repository, covering coding standards, how to run tests and things never to change, tend to get more consistent results.
New risks, and familiar ones at higher volume
AI-written code brings some risks that are genuinely new:
- Invented dependencies. Models sometimes suggest software packages that do not exist. Research presented at USENIX Security 2025 found this in at least 5% of samples from commercial models and over 20% from open-source ones. An attacker who registers one of those names can fill it with malicious code.
- Insecure patterns at scale. A bad pattern repeated across hundreds of suggestions.
- Data leakage. Source code, credentials or customer data pasted into unapproved tools.
- Tests that cheat. Code that passes because the tests were quietly changed, checks skipped or errors swallowed.
- Review fatigue. More code, faster, so reviewers skim.
- Over-powered agents. An agent with production credentials, or the ability to push straight to the main codebase.
The controls are mostly the ones a well-run engineering team already has, applied without exception: approved enterprise tools only, with no training on your code; the same review and approval rules for AI-written code as for any other; security, secret and licence scanning in the pipeline; new packages only from a reviewed internal source; and coding agents run in sandboxes with least-privilege access. The principle is simple. The developer is accountable for every line they commit, whoever typed it.
There is also a quieter, longer-term risk: junior developers who can prompt but cannot debug. Asking them to explain AI-written code in reviews, and to write some code unaided, is a cheap safeguard.
Legacy modernisation: cheaper, not automatic
The most valuable application for many established businesses is not new code. It is old code. AI is genuinely good at explaining legacy systems, mapping dependencies and extracting the business rules buried in them into plain language for experts to confirm. For finance systems, where decades of rules live only in code, that alone can be worth the effort.
But the translation is the easy part. A credible plan still pins down today’s behaviour with tests built from real inputs and outputs, converts one module at a time, runs old and new side by side to prove they agree (including rounding and date edge cases), and cuts over gradually with a way back. Testing, business-rule confirmation and data migration still dominate the effort. Any plan that assumes otherwise will overrun.
For investors and boards
If AI-driven engineering productivity features in a value creation plan, I would ask three questions. Is there a delivery baseline from before the tools arrived? Is quality being tracked alongside speed? And is the benefit expressed as more delivered for the same cost, or as fewer people, and does the evidence support whichever it is?
The gains are real for the right work. They are rarely uniform, and they are never automatic.
If you are planning an AI coding rollout, or testing the assumptions behind one, let’s talk.
Facing this in your organisation?
Tell me what you are working on. The first conversation is free and confidential, and I reply within one working day.
More insights
AI agents should earn their autonomy
Agentic AI is a dial, not a switch. The organisations getting value from it set autonomy by what an action can change, and promote an agent only on evidence, much as they would a new hire.
Approve AI use cases, not models
Governance built for credit and pricing models struggles with generative AI. The firms that move fastest have not loosened control. They have changed what they approve, and made the low-risk path quick.