Materials / Metrics

Measuring the effect of AI on development

A month after agents arrive, every activity chart goes up and everyone feels faster. Neither says whether users get working changes sooner. This article covers what to measure instead, how to set up a before-and-after comparison, and how to report it to leadership.

7 min read25 Nov 2026Ilia Poliakov

Why the first month's numbers mislead

After agents arrive, pull requests multiply, commits get bigger, and developers say they are faster. All three can be true while releases stay where they were, or get worse, because the extra output piles up in review, in rework and in fixes after release.

How fast it feels is a poor guide. In METR's 2025 randomized study, 16 experienced open-source developers worked on 246 real tasks in their own repositories, each task randomly allowed or not allowed to use AI. They expected AI to make them 24% faster. They were 19% slower with it, and afterwards still believed they had been 20% faster. The study used early-2025 tools on large, familiar codebases, so the number itself should not be generalized; METR's February 2026 update sees signs of a speed-up with newer tools but calls the estimate unreliable, because developers who expect big gains increasingly decline to work without AI. The durable lesson is the gap between perception and measurement.

So measure, on the same team, before and after: how fast changes reach users, whether quality held, and how the work feels to the people doing it.

Metrics that track the rollout, not the effect

These figures are easy to collect, and that is why they show up in rollout reports. Each tells you that AI is being used, not that delivery improved.

MetricWhat it actually showsWhy it misleads as an effect
Lines of code, or the share written by AIVolumeMore code is not more value; generated code inflates it at no cost.
Pull requests and commitsActivityFaros AI saw 98% more merged pull requests on high-adoption teams, with no significant company-level gain in delivery or quality.
Suggestion acceptance rateHow often a developer pressed TabAccepted code may be rewritten a minute later, or cause a bug a month later.
Active users, licenses in useAdoptionUseful to know whether the rollout reached people; silent on outcomes.

Keep them for steering the rollout if you like. Do not put them in the report that answers "did it work".

Three frameworks: DORA, SPACE and DevEx

Three established frameworks cover what the activity figures miss. They are complementary: one measures delivery, one guards against measuring a single dimension, and one asks where the friction is.

FrameworkWhat it measuresUse it for
DORAChange lead time, deployment frequency, failed deployment recovery time, change fail rate, deployment rework rate.The core before-and-after comparison of delivery. See DORA metrics.
SPACE (Forsgren, Storey et al., 2021)Satisfaction and well-being, performance, activity, communication and collaboration, efficiency and flow.Making sure the picture has at least three dimensions, from system data and surveys together.
DevEx (Noda, Storey, Forsgren, Greiler, 2023)Feedback loops, cognitive load, flow state.Seeing where the work moved: agents cut the wait while writing but can lengthen the wait for review.

DORA's own research is a reminder of why all three matter: in the 2025 report, AI adoption went with higher delivery throughput but still with lower stability. A report that showed only throughput would have missed half the story.

A DevEx survey at the start and end of a pilot is cheap: five to ten questions on how long people wait for builds, tests and reviews, how often they are interrupted, and how hard it is to understand the code they change. Use it to find where the work got stuck, not to measure speed.

AI metrics worth adding

On top of the frameworks, a few figures say how much the agents themselves contribute and at what price:

Our running example: the agent fixes a renewal-billing bug, but a reviewer has to rewrite the date logic because it used the server's time zone. That is one manual edit, one review round more, and a cause ("no rule for time zones in billing") to fix in the harness so the next date bug comes out right the first time.

SClaude's metrics page: share of commits written by Claude, a person's minutes per hour of Claude's work, actions between interventions, cost and a health index
AI figures beside the delivery ones: the share of commits an agent wrote, how many actions it takes between a person's interventions, and a person's minutes per hour of its work.

Setting up the measurement in a pilot

  1. Choose the teamsThe pilot team, and if possible a comparison team that keeps working as before. A comparison separates the effect of agents from a good quarter.
  2. Take the baselineTwo to three months of history from git and CI (the git baseline script gives most of it), process figures such as review wait and change size, and a DevEx survey.
  3. Agree how numbers are usedMetrics describe the team and the process, never individuals. Say so in writing, before the first figure is shown.
  4. Remove targets that punish tryingA defect target, for instance, makes people avoid anything new. Suspend it for the pilot team while the pilot runs.
  5. Review weeklyTrends, manual edits after agents, and which defects trace back to a gap in the spec. The point is to adjust the harness, not to grade the week.
  6. Compare after two to three monthsAgainst the team's own start and against the comparison team. Account for seasonality and for a different mix of tasks.

Reporting to leadership

Leadership has three questions. Answer them in this order, each against the baseline:

  1. Did changes reach users sooner? Lead time and deployment frequency, before and after.
  2. Did quality hold? Change fail rate and rework, before and after.
  3. What did it cost? Model spend, team time spent on the harness, and the ongoing maintenance it needs.

Then two short sections: the share of changes agents now make and their effect on quality, and what changed in the work itself — where waiting moved, what the team stopped doing, what it still does by hand and why. A one-page report with these five parts answers more than a dashboard of activity charts. If you are planning such a pilot, the roadmap describes how to set one up.

Questions

How do we measure developer productivity after introducing AI?

Compare delivery outcomes on the same team before and after: DORA's lead time, deployment frequency, change fail rate, recovery time and rework, plus process figures such as review wait. Add AI-specific figures and a short developer-experience survey.

Why not count pull requests or lines of code?

They measure activity. Agents raise both cheaply, and large studies of AI adoption have seen pull request counts climb with no matching gain in delivery or quality.

What is DevEx?

A framework by Noda, Storey, Forsgren and Greiler that looks at developer experience through three dimensions: feedback loops, cognitive load and flow state. It is measured mostly by survey, and shows where work gets stuck.

How long until the effect shows?

Plan on two to three months. The first weeks mix the learning curve with real change, and delivery figures need enough releases to be stable.