Skip to content
Marvex

AI engineering

Measuring Whether AI Coding Assistants Actually Change Delivery

Every organisation now has a slide claiming an AI productivity gain. Very few of them would survive a competent engineer asking how the number was produced.

Measuring the delivery impact of AI coding assistants means treating adoption and outcomes as separate series, comparing cohorts rather than before-and-after periods, and reading throughput against stability so speed gains are not paid for in defects.

AI EngineeringMarvex EngineeringEngineering Intelligence, Shiprocket11 min read
A laptop displaying source code on a wooden desk
2
AI-assistance sources Marvex reads: GitHub Copilot seat and usage data, and Claude Code authorship
4
DORA outcomes the adoption data sits next to: deployment frequency, lead time, change failure rate and recovery time

The metrics vendors give you are not outcomes

Suggestion acceptance rate, lines of code generated, and seats active are all activity measures. They tell you the tool is being used. They do not tell you that anything was delivered faster, more safely, or at all. A high acceptance rate is compatible with a developer accepting boilerplate they would have typed in thirty seconds; it is also compatible with accepting a subtly wrong implementation that costs two hours in review.

Lines generated is the worst of the family, for the same reason lines written has always been a bad measure: it counts the thing that is cheap. If an assistant makes producing code cheaper, code volume rises whether or not value does, and volume then imposes costs downstream — more to review, more to test, more to maintain. A measurement programme that treats generated volume as the benefit and ignores the downstream cost is measuring the wrong side of the ledger.

This is not an argument that the tools do not help. It is an argument that the vendor telemetry answers "is it being used" and the organisation is asking "is it working", and those require different data. Keep the usage data — it is necessary for the adoption half of the analysis — but do not let it stand in for an outcome.

The outcome side has to be denominated in things the business already cared about before the tool existed: how quickly change reaches production, how much of it fails, how long recovery takes, how long a change waits in review. If a tool improves those, it is working. If it improves none of them while acceptance rate is excellent, that is a finding too, and a more interesting one.

  • Acceptance rate and seats active measure usage, not outcome
  • Lines generated counts the thing the tool made cheap
  • Higher code volume imposes review, test and maintenance cost downstream
  • Outcomes must be denominated in measures that predate the tool

Adoption and outcome are two separate series

Structure the analysis as two series that you deliberately keep apart: an adoption series describing who is using what, how often and on what kind of work; and an outcome series describing delivery — cycle time and its stages, pull request size, review depth, deployment frequency, change failure rate, recovery time.

Keeping them separate protects you from the most common error, which is defining the outcome in terms of the tool. "Copilot-assisted pull requests merge faster" is close to circular if assistance is more likely on the simple changes. You end up comparing easy work against hard work and attributing the difference to the assistant.

It also lets you notice the interesting cases. Adoption up, outcomes flat is the most common real result and it deserves investigation rather than embarrassment — often the constraint was never authoring speed. Adoption up, throughput up, change failure rate up means speed is being bought with defects, which is exactly the trade the four DORA metrics exist to expose. Adoption flat, outcomes up means something else changed and the AI programme is taking credit for it.

Marvex is built around this separation: it reads GitHub Copilot seat and usage data and Claude Code authorship as adoption signals, and presents them next to the delivery outcomes it already computes from your GitHub or GitLab and incident data. The adoption data does not redefine the metrics; it sits alongside them.

  • Two series: adoption (who, how much, on what) and outcome (delivery metrics)
  • Defining the outcome in terms of the tool creates circularity
  • Adoption up with flat outcomes is a real and informative result
  • Throughput up with failure rate up means speed was paid for in defects

Design the comparison honestly

The naive design is before and after: pick a rollout date, compare the quarter before with the quarter after. It is the easiest design and the least trustworthy, because everything else also changed — headcount, the codebase, the seasonal work mix, the process improvement someone started in the same month. Any of those can produce the movement you are about to attribute to the assistant.

A staged rollout is much better. If the tool reaches teams in waves, the teams that have not yet received it are a comparison group living through the same quarter, the same incidents and the same reorganisation. This costs nothing beyond sequencing the rollout deliberately, and it is the single biggest improvement available to most measurement programmes.

Where a staged rollout is not possible, compare like with like. Segment by repository, by work type and by team maturity before comparing anything, because a greenfield service and a decade-old monolith respond to assistance completely differently, and an aggregate across both tells you mostly about your work mix.

Give it time. Adoption is not instantaneous and the early period is dominated by learning: people are discovering what the tool is good at, which briefly makes them slower. A measurement window of a few weeks will capture the learning dip and miss the benefit. Several months is more honest, which is inconvenient for a quarterly reporting cycle but is the actual shape of the phenomenon.

And pre-register what you expect. Write down, before looking, which metrics should move and in which direction. This is the cheapest available defence against finding the one chart that went the right way and building the narrative around it — a failure mode that is extremely common when a programme has already been funded.

  • Before-and-after designs confound the tool with everything else that changed
  • Staged rollouts give you a contemporaneous comparison group for free
  • Segment by repository, work type and team before comparing
  • Expect an early learning dip; measure over months, not weeks
  • Write down expected direction of movement before you look

Where a real effect is most likely to show

If assistance mainly speeds up authoring, the effect appears in the part of cycle time between starting work and opening a pull request. That is the stage worth watching first. But most teams find that authoring is not the dominant term: an item that takes eight days from first commit to production commonly spends more of that waiting for review than being written. Halving the authoring time on a change that waits three days for a first response moves the total very little.

This is the most important practical point in the whole subject. The assistant acts on one stage; the metric everyone reports is the sum of all stages. If the stage it acts on is not the constraint, a genuine and substantial improvement in authoring speed can be almost invisible in lead time — and the correct conclusion is not that the tool does not work, it is that the constraint is elsewhere.

Watch pull request size, because it often moves and rarely gets attention. If assistance makes producing code cheaper, changes can get larger, and larger changes take longer to review and are reviewed less thoroughly. A throughput gain in authoring that produces a review bottleneck is a redistribution of the delay, not a removal of it.

Watch review depth and rework. Rework time — the loop between review comments and revisions — is where the cost of subtly wrong generated code shows up. A rising rework share while authoring time falls is a specific, legible pattern: the work moved from writing to correcting.

And watch stability. Change failure rate and recovery time are the guard rails on any throughput claim. An improvement in deployment frequency accompanied by a rising change failure rate is not an improvement; it is a transfer of cost from before production to after it, and it is precisely what reading the four DORA metrics as a set is designed to catch.

  • Look first at the stage before the pull request opens — that is where authoring lives
  • If review latency dominates, authoring gains barely move lead time
  • Rising pull request size redistributes delay into review rather than removing it
  • A rising rework share means work moved from writing to correcting
  • Always read the throughput claim against change failure rate and recovery time

Reporting it without overclaiming

State the design, not just the result. A number without its comparison group, window and segmentation cannot be evaluated by anyone, and an engineering audience will discount it entirely — correctly. "Teams in the second rollout wave saw median review-to-merge time fall by X over four months while the unrolled cohort was flat" is a claim. "AI improved productivity by X percent" is not.

Report the nulls. A programme that only reports the metrics that moved is not a measurement programme, and once an audience notices the selective reporting, every future number from the same source is discounted. The finding that adoption rose while lead time held steady is genuinely useful: it says the constraint is elsewhere, which points at what to fix next.

Do not import someone else's number. Published industry figures about AI-assisted development describe a particular population, task mix and time period, and they are not evidence about your organisation. If you cite external research, attribute it clearly and label it as context rather than as a result — the same discipline that applies to DORA benchmarks applies here.

Keep individual usage out of performance conversations. Measuring individuals on assistant usage guarantees the usage number stops being informative, because it becomes trivially easy to generate activity. It also produces exactly the resentment that stalls adoption. Report at team and organisation level, and treat the adoption data as a question about enablement rather than about compliance.

  • Publish the design — comparison group, window, segmentation — with the result
  • Report the metrics that did not move; selective reporting destroys credibility
  • External industry figures are context, attributed, never your result
  • Never attach individual assistant usage to performance review
AI adoptionGitHub CopilotClaude Codedeveloper productivitymeasurement

Frequently asked questions

Why are suggestion acceptance rate and lines generated poor measures of AI impact?

Because they measure usage rather than outcome. A high acceptance rate is equally consistent with accepting boilerplate that would have taken thirty seconds to type and with accepting a subtly wrong implementation that costs two hours in review. Lines generated is worse still: it counts the thing the tool made cheap, and higher code volume imposes downstream cost in review, testing and maintenance. Keep both as adoption signals, but judge impact on measures that predate the tool — cycle time, throughput, change failure rate and recovery time.

What is the best study design for measuring an AI coding assistant?

A staged rollout. If the tool reaches teams in waves, the teams that have not yet received it form a comparison group living through the same quarter, the same incidents and the same organisational changes, which a simple before-and-after comparison cannot give you. Sequencing the rollout deliberately costs nothing and is the single biggest improvement available to most measurement programmes. Where that is impossible, segment by repository, work type and team maturity before comparing anything, and write down expected results before looking.

How long should you measure before drawing a conclusion about AI tooling?

Several months, not weeks. The early period after rollout is dominated by learning: people are discovering what the tool is reliable at and what it is not, which temporarily makes them slower. A short window captures that dip and misses whatever benefit follows. Adoption also spreads unevenly, so an aggregate measured early is mostly describing the enthusiasts. This is inconvenient for a quarterly reporting cycle, but a conclusion drawn from four weeks of data is not a conclusion.

Why might AI assistance improve authoring speed without improving lead time?

Because authoring is often not the constraint. Lead time is the sum of several stages, and in many teams a change spends more time waiting for a first review than being written. An assistant acts on the writing stage, so halving the authoring time of a change that then waits three days for review moves the total very little. That is not evidence the tool does not work — it is evidence the bottleneck is elsewhere, which is why cycle time should be read stage by stage rather than as a single number.

What warning signs suggest AI-assisted speed is being paid for elsewhere?

Three specific patterns. Rising pull request size means changes are getting larger, which lengthens review and reduces review thoroughness — the delay moved rather than disappeared. A rising share of rework time, the loop between review comments and revisions, means work shifted from writing to correcting. And a rising change failure rate alongside improved throughput means cost has been transferred from before production to after it. Reading throughput and stability together is exactly what the four DORA metrics are designed to expose.

Should individual AI assistant usage be part of performance reviews?

No. Once individuals are measured on assistant usage, the usage figure stops carrying information, because generating activity is trivially easy and the incentive to do so is direct. It also creates the resentment that most reliably stalls adoption, since developers correctly read it as compliance monitoring rather than enablement. Report adoption at team and organisation level, treat gaps as questions about training, tooling access and work suitability, and keep the individual data out of performance conversations entirely.

Can you use published industry statistics about AI productivity to justify your own rollout?

Only as context, clearly attributed, and never as a result from your organisation. Published figures describe a specific population, task mix, toolchain and time period, none of which are yours, and presenting them as your outcome is the fastest way to lose a technical audience. The same discipline applies as with DORA benchmarks: cite the research programme by name, say what population it describes, and keep it visually and rhetorically separate from anything measured in your own data.

What does Marvex measure for AI-assisted development?

Marvex reads GitHub Copilot seat and usage data and Claude Code authorship as adoption signals, and presents them alongside the delivery outcomes it already computes from your GitHub or GitLab and incident data: pull request cycle time broken into pickup, review, rework and merge stages, pull request size and review depth, and the four DORA metrics. The adoption data sits next to the outcome data rather than redefining it, so throughput claims can be read against change failure rate and recovery time. All data is scoped to your organisation.

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.