Skip to content
Marvex

Guide

Measuring AI-Assisted Development

Every engineering leader is being asked the same question this year, usually by someone who has already decided the answer. It is answerable, but not with the numbers most people reach for first.

A guide to measuring whether AI coding assistants changed software delivery — separating adoption from impact, designing defensible comparisons, and watching the review queue where the gain most often leaks away.

AI EngineeringMarvex EngineeringEngineering Intelligence, Shiprocket15 min read
A developer working at a laptop with code open in an editor
2
AI signals Marvex reads: GitHub Copilot seat and usage data, and Claude Code authorship
4
Cycle time stages the gain has to survive: first response, review, rework and merge

State the question properly first

"Did AI make us faster?" is not a measurable question, and attempts to answer it as asked produce numbers that convince nobody who was not already convinced.

The problem is that it bundles at least four different claims. That engineers write code faster. That changes reach production sooner. That the organisation ships more of what it intended to ship. That the same output now costs less. These are not the same, they do not follow from one another, and the evidence for each is different in kind.

The first is the easiest to demonstrate and the least useful. Authoring speed is a small and highly variable component of the elapsed time from idea to production, and a gain there can be entirely absorbed by a queue that got longer somewhere else. The second is measurable from delivery data and is the one worth chasing. The third depends on what the organisation chose to build and is not an AI question at all. The fourth requires a cost model most organisations do not have.

So restate it. The defensible question is: after adoption, did the delivery system's observable behaviour change — cycle time and its stages, throughput of completed changes, change failure rate, rework — and did it change more for the teams that adopted than for the teams that did not, over the same period?

That question is narrower than the one being asked upstairs. It is also the only version that produces an answer which survives someone hostile reading it.

  • "Faster" bundles authoring speed, delivery speed, output and cost
  • Authoring speed is the easiest to show and the least consequential
  • The measurable question is about delivery-system behaviour after adoption
  • A narrower question is the price of an answer that survives scrutiny

What is actually measurable today

Be concrete about the available signals, because a lot of published discussion is about signals nobody has.

On the adoption side, Marvex reads GitHub Copilot seat and usage data — who has a licence and whether it is being used — and Claude Code authorship, which identifies changes where an AI coding agent contributed. That gives a defensible answer to "who is actually using this", which is worth having on its own: seat counts and active usage diverge more than most organisations expect, and paying for unused seats is a finding.

On the delivery side you already have everything: pull request cycle time split into first response, review, rework and merge; pull request size and count; deployment frequency and lead time; change failure rate and recovery time; and the rework loop that shows whether defects are being caught before or during review.

What is not measurable, and should not be claimed: how much of any given file was AI-generated versus human-edited after the fact, how much time an individual saved, or whether a change would have been written differently without assistance. Tools that report a percentage of code written by AI are reporting a proxy with a lot of definitional freedom in it, and treating that figure as an output measure recreates the lines-of-code problem with a new coat of paint.

Marvex places AI adoption tracking next to delivery outcomes for this reason. Adoption data alone is a procurement report. Delivery data alone cannot attribute a change. The two side by side, over the same period and the same teams, is the weakest claim you can make that is still worth making — and it is much stronger than either alone.

  • Available: Copilot seat and usage data, Claude Code authorship
  • Available: full cycle time, stage breakdown, size, DORA metrics, rework
  • Not available: per-person time saved, or a defensible "% written by AI"
  • Adoption next to outcomes is the weakest claim worth making

Adoption is not impact

The most common reporting error is to present adoption as a result. Seats provisioned, weekly active users, suggestions accepted — these describe uptake, not consequence, and presenting them as an outcome is how a programme loses credibility with the engineers it is measuring, who can see the difference immediately.

Adoption metrics do have three legitimate uses. They tell you whether an evaluation is meaningful yet: measuring impact at 20% adoption tells you about 20% of your teams and nothing else. They identify where the tool is not landing, which is usually a training, tooling-integration or codebase-fit problem worth solving rather than evidence of resistance. And they justify or correct licence spend, which is a real question with a real number attached.

Suggestion acceptance rate deserves specific caution. It is the metric most likely to be quoted and it measures the assistant's local usefulness, not delivery outcomes. A high acceptance rate is compatible with a team that is shipping no faster, and — if the accepted suggestions are generating rework later — with a team that is shipping slower. It is a product metric for the assistant vendor, not a delivery metric for you.

The rule that keeps reporting honest is to never put an adoption number and an outcome number in the same sentence unless you have evidence connecting them. "Adoption reached 70% and cycle time fell 15%" is two facts and an implied causal claim that the sentence has not earned.

  • Seats, active users and acceptance rate describe uptake, not consequence
  • Adoption tells you whether an impact evaluation is meaningful yet
  • Acceptance rate is a vendor product metric, not a delivery metric
  • Never place adoption and outcome in one sentence without evidence between them

Designing a comparison you can defend

The measurement problem is causal inference with no possibility of a clean experiment. You cannot randomise, you cannot blind, and everything else in the organisation is changing at the same time. Accept that and design for the strongest evidence available rather than for proof.

Prefer a cohort comparison over a before-and-after. A staged rollout creates one naturally: teams that have adopted versus teams that have not yet, over the same calendar period. This controls for everything seasonal and organisational — the hiring wave, the reorganisation, the quarter-end freeze — that a simple before-and-after cannot separate from the intervention.

State the self-selection confound explicitly rather than waiting to be asked. Early adopters are not a random sample; they are usually the teams already most inclined to change how they work, and they would likely have improved somewhat anyway. Naming this in the report is what makes the rest of it credible.

Predict the mechanism before you look. Decide in advance which specific metric should move and why: if the assistant speeds up authoring, time-to-first-commit and time-to-first-pull-request should fall, while pickup time — which is a queue, not an authoring activity — should not. A prediction turns the exercise into a test. A chart examined afterwards will always yield something that moved.

Use long windows and read distributions. Delivery data is noisy at weekly resolution; a quarter is the minimum window in which an effect can be distinguished from a holiday, a freeze or an incident week. And write down the list of other things that changed in the same period — a reorganisation, a new CI pipeline, three senior joiners — before analysing, because the list assembled afterwards is always shorter and always more convenient.

  • Cohort comparison from a staged rollout beats before-and-after
  • Name the self-selection confound yourself, up front
  • Predict which metric should move, and which should not, in advance
  • A quarter minimum; distributions, not means
  • Write the list of confounds before you look at the data

Where the gain leaks: the review queue

If authoring genuinely gets faster and nothing else changes, the most likely outcome is not faster delivery. It is a longer queue.

The reasoning is simple. Cycle time is dominated by waiting, and review capacity is fixed by the number of people available to review and the time they have for it. Increase the rate at which changes arrive without increasing the rate at which they can be reviewed, and the queue grows. The organisation experiences this as "we are shipping about the same, but everyone feels busier", which is exactly what a lengthening queue feels like from inside.

This is why the stage breakdown is the diagnostic that matters here, more than any aggregate. Time-to-first-commit falling while pickup time rises is the signature of a productivity gain being converted into waiting. Both numbers moving down together is the signature of a gain actually reaching production.

The corresponding management action is to plan review capacity as deliberately as authoring capacity. That means budgeting review time in sprint capacity rather than treating it as spare-time work, naming reviewers rather than assigning to a team, capping concurrent reviews per person, and — where authoring throughput has genuinely risen — accepting that some capacity has to move from writing to reviewing.

There is a second, quieter leak: pull request size. If assistance makes it cheap to produce more code, changes tend to get larger, and larger changes are picked up later, reviewed less thoroughly and reworked more. Watching the size distribution alongside the speed metrics catches this early, and the fix is the same discipline that was always correct — split the change.

  • Faster authoring without more review capacity produces a longer queue
  • Time-to-first-commit down with pickup up is the leak signature
  • Budget review time; name reviewers; cap concurrent reviews
  • Watch PR size — cheap code production tends to inflate changes

Quality signals to read alongside speed

Any speed claim about AI-assisted development is worthless without the stability half next to it, and the failure modes here are specific enough to name.

Change failure rate and recovery time are the primary counterweights. If changes are reaching production faster and failing more often, the delivery system has not improved — risk has moved. This is the pairing the DORA metric set was designed for, and it applies here exactly as it applies to any other throughput intervention.

Rework share is the earlier and more sensitive signal. It is the loop between review feedback and subsequent revisions, and it catches problems before they reach production. A rising rework share after adoption means changes are arriving less correct and the cost has moved from authoring into review, which is a real cost even when it never becomes an incident.

Review depth — comments per pull request, the share of reviews with substantive discussion — is the one to watch for erosion. Generated code is typically clean, idiomatic and self-consistent, which defeats the shallow heuristics reviewers have built up over years: "it looks fine" is a much weaker signal than it used to be. If review depth falls after adoption while volume rises, reviewing has become rubber-stamping and the quality problem is being deferred rather than solved.

Test evidence deserves separate attention. Tests generated from an implementation assert what the code does rather than what it should do; they pass forever and protect nothing. If test counts rise sharply after adoption while defect escape does not improve, that is the mechanism to check, and it is not visible in any coverage number.

  • Change failure rate and recovery time are the primary counterweights
  • Rework share is the earliest signal that changes arrive less correct
  • Falling review depth with rising volume means rubber-stamping
  • Tests derived from the implementation pass forever and protect nothing

What to tell leadership

The report that survives is the one that is specific about what it does and does not establish, and most reports on this topic fail by overclaiming rather than by having bad data.

Lead with adoption as a fact: how many seats, how many are actually active, which teams, and whether spend matches usage. This is unambiguous, it is often the first genuinely useful finding, and it costs nothing in credibility.

Then present the delivery data as a comparison, with the cohort structure and the time window stated. Show the stage breakdown rather than an aggregate, because "cycle time fell" invites the obvious question and "time to first pull request fell while pickup time held steady" answers it in advance.

Then state the confounds, in your own words, before anyone else raises them: self-selection in who adopted, other changes in the same period, and the noise floor of the data. A report that names its own weaknesses is read as competent; one that omits them is read as advocacy the moment someone finds the first omission.

Then say what you would need in order to claim more — a longer window, a wider rollout, a cohort that has not yet adopted, an instrumented pilot on a specific workflow. This converts an ambiguous result into a plan, which is what the question was really asking for.

And be willing to report no detectable effect. It is a common and legitimate finding at low adoption or short windows, and reporting it honestly is what makes the eventual positive finding believable. An organisation whose measurement programme has never returned an inconvenient answer is not measuring.

  • Adoption as fact first — seats, active usage, spend alignment
  • Delivery data as a cohort comparison with the window stated
  • Show stages, not an aggregate — it answers the follow-up in advance
  • Name your own confounds before anyone else does
  • "No detectable effect yet" is a legitimate and credibility-building result

What not to measure, and why it matters

The governance half of this is usually skipped and it determines whether the data stays usable.

Do not measure AI usage per individual as a performance input. The moment engineers believe assistant usage is being scored, usage patterns change to satisfy the score — suggestions accepted and reverted, tools opened and idled — and the adoption data stops describing adoption. This is Goodhart's law operating on a metric that was fragile to begin with.

Do not mandate a percentage of AI-assisted code. It is unmeasurable in any defensible way, it is trivially satisfiable in bad ways, and it inverts the actual goal: the point is that engineers use the tool where it helps and not where it does not, and only they can make that judgement per task.

Do not treat non-adoption as resistance without investigating. The most common causes are specific and fixable: the codebase is unusual enough that suggestions are low quality, the language or framework is poorly supported, the work is mostly debugging and integration rather than authoring, or the setup does not work in that team's environment. Each of those is a solvable problem and none of them is an attitude.

And be deliberate about the learning path. Reviewing code has always been a primary way engineers learn a codebase, and if AI-assisted authoring concentrates review into a judgement activity performed only by senior engineers, that route closes quietly. Under load, a review queue routes everything to the most experienced available person unless something prevents it — so keeping junior engineers reviewing has to be an explicit decision, not a hope.

  • Individual AI usage as a performance input destroys the adoption data
  • A mandated percentage of AI-written code is unmeasurable and inverts the goal
  • Investigate non-adoption — it is usually fit or support, not resistance
  • Protect junior engineers' review access, or the learning path closes
AI-assisted developmentGitHub CopilotClaude CodeAI adoptiondelivery metricsAIDLC

Frequently asked questions

How do you measure the impact of AI coding assistants?

Compare delivery-system behaviour between teams that have adopted and teams that have not yet, over the same calendar period, rather than before-and-after on the same team. Look at pull request cycle time broken into first response, review, rework and merge; at pull request size and throughput; and at change failure rate and recovery time as counterweights. Predict in advance which stage should move — authoring assistance should shorten time to first commit and first pull request, and should not affect pickup time, which is a queue. Use at least a quarter of data, read distributions rather than means, and state the self-selection confound explicitly.

Is suggestion acceptance rate a good measure of AI impact?

No. Acceptance rate measures how useful the assistant is locally, in the editor, at the moment of typing. It says nothing about whether changes reach production sooner or more reliably, and it is fully compatible with a team shipping no faster — or shipping slower, if accepted suggestions generate rework later in review. It is a product metric for the assistant vendor rather than a delivery metric for the organisation. Use it, if at all, to diagnose why adoption is low in a particular team, and judge impact from cycle time stages, throughput and stability instead.

Why does faster coding not automatically mean faster delivery?

Because elapsed time from first commit to production is dominated by waiting rather than by typing. Review capacity is fixed by how many people can review and how much time they have, so increasing the rate at which changes arrive without increasing review capacity lengthens the queue instead of shortening delivery. Organisations experience this as shipping roughly the same amount while everyone feels busier. The diagnostic is the stage breakdown: time to first commit falling while pickup time rises is a productivity gain being converted into waiting, whereas both falling together is a gain actually reaching production.

What AI adoption data can actually be collected?

Two kinds are practically available. Seat and usage data from the assistant provider — for GitHub Copilot, who holds a licence and whether it is being used — which answers the procurement question and frequently reveals a gap between seats paid for and seats actively used. And authorship signals in source control, such as identifying changes where an AI coding agent like Claude Code contributed. What is not reliably collectable is how much of a given file was AI-generated versus subsequently human-edited, or how much time any individual saved. Figures claiming a precise "percentage of code written by AI" contain a lot of definitional freedom and should not be treated as outputs.

How long before AI adoption shows up in delivery metrics?

Plan for at least a quarter of data after adoption is reasonably widespread, and note that measuring impact at 20% adoption tells you about 20% of your teams and nothing more. Delivery data is noisy at weekly resolution — holidays, freezes, incidents and reorganisations all produce swings that look like signal — so shorter windows mostly produce noise interpreted as result. Report "no detectable effect yet" honestly when that is what the data shows; a measurement programme that has never returned an inconvenient answer is not measuring, and the honest null result is what makes a later positive finding believable.

What quality metrics should be watched alongside AI-assisted speed?

Change failure rate and recovery time as the primary counterweights, because speed that arrives with more production failures is risk transfer rather than improvement. Rework share of cycle time as the earlier and more sensitive signal — it catches changes arriving less correct before they reach production. And review depth, such as comments per pull request and the share of reviews with substantive discussion, because generated code is clean and self-consistent enough that "it looks fine" is a much weaker signal than it used to be. Review depth falling while volume rises means reviewing has become rubber-stamping.

Should individual AI tool usage be tracked?

Not as a performance input. As soon as engineers believe their assistant usage is being scored, usage changes to satisfy the score — suggestions accepted then reverted, tools opened and left idle — and the adoption data stops describing adoption at all. Aggregate adoption by team is legitimate and useful: it tells you whether an impact evaluation is meaningful yet, where the tool is not landing, and whether licence spend matches actual usage. Low adoption in a team is usually a fit or support problem — an unusual codebase, a poorly supported language, work that is mostly debugging rather than authoring — not resistance.

Can you claim that an AI rollout caused a delivery improvement?

Only with heavy qualification, because a clean experiment is impossible: you cannot randomise, you cannot blind, and everything else in the organisation changes simultaneously. The strongest available evidence is a cohort comparison created by a staged rollout, with the mechanism predicted in advance, a window of at least a quarter, and the confounds named explicitly — self-selection among early adopters, plus a list of other changes in the same period written down before the analysis. Claim the mechanism and show the cohort; do not claim credit for every favourable movement, because the first unfavourable one will then be attributed to you as well.

Keep reading

Marvex

See it on your own delivery data

Connect GitHub, GitLab or Jira and Marvex builds your DORA, cycle-time and sprint views from the history you already have.