Measuring AI delivery: lifecycle quality, not prompt speed

Why lines of code and prompts per hour mislead, what the DORA and METR research says AI does to delivery, and which metrics to track instead.

Westerwick4 min read

A blue and yellow tape measure on a plain grey background
Photo: Brett Jordan on Unsplash (Unsplash License)
On this page

If you've bought AI coding tools, someone will soon show you a chart of lines generated or tasks closed per week. It will go up. The harder question is whether your business is getting working software to customers faster and more safely. Measuring AI delivery by output speed answers the easy question and hides the hard one.

Here is what the best available research says, and what we recommend measuring instead.

Why output speed is the wrong scoreboard

Writing code is one step in a longer chain: agreeing what to build, building it, reviewing it, testing it, releasing it and fixing what breaks. Speeding up one step only helps if it doesn't create more work later.

DORA, the long-running research programme behind the most widely used delivery metrics, warns against exactly this. One of its listed pitfalls is "attempting to measure complex systems with the idea that only one metric matters"1. Once a single number becomes the target, teams optimise the number.

The metrics that predict delivery performance

DORA measures delivery with five metrics in two groups1:

  • Throughput: change lead time (how long a change takes to reach production), deployment frequency, and failed deployment recovery time.
  • Instability: change fail rate (how often a release causes a problem) and deployment rework rate (unplanned releases to fix what just shipped).

Its central finding is that "speed and stability are not tradeoffs"1. Teams that ship often also tend to break less. That's why these metrics make a better scoreboard for AI than volume: they reward output that stays shipped.

What the research says AI does to delivery

DORA's 2024 survey found real gains. For every 25% increase in AI adoption, it estimated a 7.5% increase in documentation quality, 3.4% in code quality and 3.1% in code review speed2. But the same increase came with an estimated 1.5% drop in delivery throughput and a 7.2% drop in delivery stability2.

A year later the picture improved. The 2025 report found "a positive relationship between AI adoption on both software delivery throughput and product performance", but added: "AI adoption does continue to have a negative relationship with software delivery stability"3.

DORA's explanation is the most useful line in either report: "AI doesn't fix a team; it amplifies what's already there"3. More changes, faster, only become better delivery if testing, version control and feedback loops can absorb them.

The perception gap

The most striking evidence that output feels faster than it is comes from METR, an independent research non-profit. In a randomised trial in early 2025, 16 experienced developers worked on 246 real tasks in large open-source projects they knew well. With AI tools allowed, they took 19% longer. They had expected a 24% speed-up and, afterwards, still believed they'd been 20% faster4.

That result has moved on. METR's February 2026 follow-up estimated an 18% speed-up for returning developers and 4% for new ones, though both ranges were wide and include no effect5. METR says it's "likely that developers are more sped up from AI tools now" but also that changes in how developers work made the study harder to measure5.

The honest reading: AI tools are getting more useful, and people are poor judges of their own speed. Both are reasons to measure outcomes rather than ask people how it feels.

What volume can hide

Some costs don't show up until later. GitClear, which sells code-analysis tools, tracks "code churn": "the percentage of lines that are reverted or updated less than two weeks after being authored". Across about 153 million changed lines, it projected churn in 2024 would double from its 2021 pre-AI baseline6.

Treat that as a warning signal rather than a verdict, and note the source's commercial interest. But it shows why lines written is a poor measure: code that's rewritten a week later counted twice.

Measure the loop, not the keystrokes. If AI is helping, lead time falls and change fail rate holds.

How we apply this

We deliver using the AI-DLC loop: the AI proposes a plan, a person approves it, the AI executes, and the result is verified before it counts as done. We describe the loop in AI-DLC in practice. The approval and verification steps exist because of findings like these. They're where stability is protected.

In our experience, the useful questions after adopting AI tools are:

  • Is the time from agreed change to production falling?
  • Is the share of releases that need a fix staying flat or falling?
  • Is rework (changes to code written in the last few weeks) rising?
  • Are reviews keeping up, or are reviewers rubber-stamping larger changes?

What to do next

  1. Stop reporting lines of code, prompts or AI "suggestions accepted" as success measures. Keep them only as usage data.
  2. Baseline one product or system on lead time, deployment frequency, change fail rate and recovery time before rolling AI tools out further.
  3. Invest in the controls DORA names: automated tests, disciplined version control and fast feedback, before increasing change volume.
  4. Keep a human approval step on plans and on releases, and track how long it takes, so it doesn't quietly become the bottleneck.
  5. Review the numbers quarterly. The research is moving fast; your own trend line matters more than any survey.

If you want to talk through how to measure an AI rollout in your team, get in touch.

See it on your own data first.

We stand up a working proof of concept on our AWS account. Real sample data, no cost to you, before you commit to a build.