<!-- Generated from 4 - HTML Artifacts/software-engineering-value-measurement.html by scripts/swe_value_tools.py export-md. Do not hand-edit; edit the HTML and re-export. -->

*Value · Software engineering*

# Measuring AI Value in Software Engineering

Tokenomics Foundation · Release Candidate 1 · Last updated: 2026-11-19

AI's effect on software engineering is usually reported as more code written, more pull requests merged, or tasks finished faster. Each of those is a count from one stage of delivery, and published studies show the gains shrinking before they reach a release. This page describes how to build a value claim that Finance can check.

**Primary reader:** Engineering and Finance readers who build or check AI value claims for software work. Leadership readers can stop after the In brief section. The page draws on published sources and reports no new research.

> **Read first:** [Classifying and Measuring Realized Value from AI](https://www.tokeneconomics.com/projects/ai-value-classification/), the Value Working Group's method. This page uses its four steps, outcome categories, destinations, and Quality Floor without redefining them.

---

*In brief*

## Where to focus

01. **Use the measures you already have** The Tokenomics Foundation does not prescribe engineering metrics. Measure AI's effect with whatever the organization already uses to judge engineering quality and efficiency. If it measures nothing today, start there. (Section 02)
02. **Read them at the release level** Value shows up when finished, production-quality change reaches customers. Stage counts such as merged pull requests show where work is stuck, and they make poor targets. In one published case a target to double merged pull requests was met while reviewer load doubled and cycle time rose. (Sections 03 and 04)
03. **Start with work that has a finish line** A migration, an upgrade, or a technical debt program ends at a point everyone can see. Most organizations have this kind of work waiting, and it usually gives the cleanest first claim. (Sections 05 and 06)
04. **Use the first project to justify measuring the whole system** A finished migration shows that AI can speed up bounded work in your codebase. Showing that the delivery system got faster takes release-level measurement and data that links AI spend to releases. (Section 07)

---

*01 · The question*

## What we looked for

The [State of Tokenomics](https://www.tokeneconomics.com/state-of-tokenomics/) survey found that “three in four enterprises cannot confidently prove AI business outcomes to the CFO.” Software engineering is one of the first places organizations deploy AI, so the Value Working Group looked for published cases where its value had been measured well, and tested the [Value Classification](https://www.tokeneconomics.com/projects/ai-value-classification/) against them.

---

*02 · Step zero*

## Use the measures you already have

The Value Classification does not prescribe what to measure or how, and neither does this page. A claim names the work AI is applied to and the measures the organization already uses to judge the quality and efficiency of that work. The claim is the change in those measures against a [baseline](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-baseline) taken the same way.

Software engineering has no standard set of measures. Some organizations use [DORA](https://dora.dev/guides/dora-metrics/) or [SPACE](https://www.microsoft.com/en-us/research/publication/the-space-of-developer-productivity-theres-more-to-it-than-you-think/) measures, some use story points and velocity, and some count pull requests or lines of code. Customer support, where most organizations track the same few measures, is the easier case, and a companion page on it is coming soon.

| Action | What to do | Where it sits in the Value Classification |
|---|---|---|
| Measure today | If engineering quality and efficiency are not measured today, start before the AI work does. The [Net](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-net) step needs a baseline to compare against. | [Observe](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-observe): the baseline |
| Name the work | The task or workflow AI is applied to, such as a migration, code review, or a release | Business Mission, then Observe |
| Pick the measures | At least one efficiency measure and one quality measure, from those already in use. The quality measure sets the [Quality Floor](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-quality-floor). | Observe and the Quality Floor |
| Measure the change | The same measures on the same kind of work, against the baseline, less the review and rework the AI adds | Net |
| Translate the change | Into dollars directly, into freed capacity at fully loaded labor cost, or reported in its own measures when there is no direct dollar link | [Convert](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-convert) and [Book](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-book) |

One use case often produces figures on more than one of the routes in the last row of the table. Report each figure on its own route, and book each dollar once. If no baseline was taken before the AI work started, start collecting the measures now and compare each later period with the first.

---

*03 · Where to measure*

## Value is measured at the end of the delivery system

Software reaches customers through a chain of stages: planning, coding, review, testing, deployment, release, and use. AI can speed up any one of them, but the system delivers only as fast as its slowest stage, and work sped up elsewhere waits in front of it.

**Figure: The software delivery system, with review as the constraint.** Plan (work items started) → Code (commits, PRs authored) → Review (review wait, queue depth) → Test (CI time, failures) → Deploy (deploy frequency) → Release (lead time to customer) → Use (adoption of what shipped)

System throughput: finished, production-quality change in customers' hands

*This figure is an illustration and does not show measured data. If AI speeds up coding (green) while review (amber) is the slowest stage, the extra work waits in the review queue and system throughput does not change.*

Coding is also a minority of the elapsed time. Bain estimates that writing and testing code account for about 25% to 35% of the time from initial idea to product launch.[1]

The clearest evidence comes from Demirer, Musolff, and Yang, who linked AI coding tool adoption to GitHub activity and compared adopters with matched non-adopters. They found large gains in coding activity that “attenuate sharply across the production hierarchy: the 240% cumulative effect falls to 80% for the number of projects, and to 30% for actual releases.”[2]

**Figure: Effect of AI coding tool adoption at four levels.** Coding activity: +240%; Projects: +80%; Releases: +30%; Usage: no increase

*Bar length is proportional to the reported effect. Across four software marketplaces the authors found a sharp increase in new apps and no increase in total usage, and their data cannot yet tell low-quality apps apart from a bottleneck on the consumer side.[2]*

> **For the claim.** Observe throughput at the release level or later, which is the [Speed to market](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-categorization-speed-to-market) category in the Value Classification. Pair it with a stability measure the organization already tracks, such as change failure rate, time to restore service, or an incident-free window after release. In the value [claim chain](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain) a release is a measured outcome, and an outcome counts as value once the claim reaches a [destination](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-book-destinations) (section 06).

---

*04 · Diagnostics*

## Use stage metrics to find the bottleneck

Pull request counts, review wait, test durations, and deployment frequency are the measures many organizations already use. In a value claim their job is to show where work is waiting, which tells the team which stage is the constraint. Read on their own, they can overstate a gain or miss one.

A gain at one stage can be short-lived, and it can come with lower code quality. In a study of Cursor adoption in open-source projects, lines added rose 3 to 5 times in the first month and the gain faded after two, while static analysis warnings rose 30% and code complexity 41%, and that debt slowed later velocity.[3]

A stage count can also stay flat or fall while the work improves, because it records how much work moved and not what kind. DORA's 2024 survey associated AI adoption with better code and documentation quality and with lower delivery throughput and stability.[4] Its 2025 survey found throughput positively related to AI adoption and stability still negatively related.[5]

Developers' own estimates of time saved are not a reliable substitute for measurement. In a randomized trial with experienced open-source developers, participants estimated afterward that “allowing AI reduced completion time by 20%.” The measured result was that “allowing AI actually increases completion time by 19%.”[6]

### A case where the constraint moved to review

He, Vasilescu, and colleagues followed one company's mandate to double merged pull requests per engineer, across 802 developers and 196,212 pull requests from January 2024 to April 2026.[7] The company met the target, but reviewers could not keep up with the added pull requests.

- **Code: 2.09x merged PRs per engineer.** The gain concentrated in newer repositories and vanished in the legacy monolith.
- **Review: Load per reviewer roughly doubled.** AI-authored PRs took about 20% longer from first human review to merge.
- **System: Cycle time rose through 2025.** It receded in early 2026 as fewer pull requests went through substantive human review. The queue for those that did stayed slower than before.

The authors recommend reporting merged pull requests together with review wait time, queue depth, and revert or incident rates.[7] The case also shows AI applied to the constraint itself. Automated review overtook human review while merge and revert rates held steady, which the authors describe as coarse, short-term checks on quality. When review or testing is the constraint, AI applied there is the direct way to raise throughput, and the claim is still read at the release level.

### Count output once it is production quality

A release-level measure needs a rule for what counts as finished. The Value Classification calls this the Quality Floor, and the organization's own gates supply it. In the software example of the [AI Value Data Layer](https://www.tokeneconomics.com/insights/ai-value-data-layer/), a Tokenomics Foundation proposal (section 07), a pull request is a task, checked by automated tests when it merges. The release it ships in is the outcome, and it counts only if “it ran for, say, 14 days without a rollback or incident.”

The review, rework, and triage hours that AI adds come off at Net, in the baseline's unit. A quality improvement is a claim of its own under the [Product Quality](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-categorization-product-quality) category, and it needs its own observed measure, such as test coverage or incident rate, against the same baseline.

> **For the claim.** Report the change at the release level, in the organization's own measures. Name the constraint, and say which stage AI was applied to. If that stage was not the constraint, expect the release-level measure to stay where it was, and report the stage result as activity.

---

*05 · Where to start*

## Start with work that has a clear finish line

A release-level claim needs three things that most AI rollouts lack at the start.

| Requirement | Why it is hard in software | What the published studies did |
|---|---|---|
| A stable unit of finished work | Work items vary in size, and a pull request or story point is not a fixed amount of value | Counted releases rather than activity[2] |
| A comparison group | When every team gets the tool at once, nothing shows what would have happened without it | Staggered rollouts, with later adopters as the comparison group[7, 3] |
| Enough time | Early gains fade, and quality effects, good or bad, show up months later | Followed teams for months or years[3] |

When the measure is also a target, a rise in it is harder to interpret. The authors of the mandate study note that “a broadcast target invites inflation, and our design cannot fully separate genuine acceleration from it.”[7]

The comparison runs within a team. Results are not normalized for team size, headcount, or experience. Each team is compared with its own baseline and with teams that adopted AI later. Teams doing different work are compared only once each claim is in the same destination unit, such as dollars at Book, and then to decide where the next investment goes. The comparison does not rank teams.

Migrations, framework upgrades, and technical debt programs avoid most of these problems. “Migration complete” means the same thing to everyone. The unit of work is an inventory of files, dependencies, or services still on the old version, and it can be counted before and after. A pre-AI estimate often exists, since many migrations were sized long before anyone was assigned to them. Most organizations have such work waiting, and one project can show a doubtful leadership team what AI does for that kind of work.

### The published migration cases

| Case | Finish line and inventory | Baseline, and how it was set | AI-assisted result |
|---|---|---|---|
| Airbnb, Enzyme to React Testing Library[8] | About 3,500 test files migrated, test intent and coverage kept | 1.5 years of engineering time, estimated before the project *(estimated)* | Six weeks, including a week of manual work on the last 3% of files |
| Google internal migrations[9] | Each migration, end to end, including review and rollout | Historical data for finished migrations, engineer estimates for ongoing ones *(estimated)* | About 50% of total time saved, as reported by the engineers |
| Asana, Enzyme migration[10] | The remaining test files off Enzyme | Projected finish about five years out at the prior pace, and a rough $6M fully loaded for a wider scope *(estimated)* | About a week and a half of engineering time, and about $12K in model and infrastructure cost |
| Amazon, Java 8 and 11 to Java 17[11] | Tens of thousands of production applications | A day or more per dependency by hand *(estimated)* | Over 4,500 developer-years saved *(estimated)*, and hosts removed *(measured)*, which Amazon values at $260M a year *(estimated)* |

Google's time saving is the engineers' own estimate, which the randomized trial in section 04 gives a reason to treat with care. Its report names the same constraint as the mandate study: “The bottleneck in the process was the speed at which engineers could review the changes.”[9]

Google also reports finishing migrations that “were stalled for several years.”[9] Work that would not otherwise have been done has no staffed baseline to save against. It still costs something while it waits, because old and new versions run in parallel, which slows later work and adds on-call load. The deprecation chapter of *Software Engineering at Google* explains why such work goes unfunded: “the costs of doing nothing and letting the system lumber along unattended are not readily observable.”[12] The claim for a deferred migration rests on what finishing removes or makes possible: hosts and licenses that stop ([Spend removed](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-book-destinations)), on-call load that falls ([Capacity gain](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-categorization-capacity-gain) or [Risk reduction](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-categorization-risk-reduction)), and work the old version was blocking ([New capability](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-categorization-new-capability)).

---

*06 · Observe, Net, Convert, Book*

## How a migration claim moves through the four steps

The Value Classification takes a claim through four steps, and a claim may stop after Net. Amazon's Java upgrade shows how far each kind of migration evidence can go, because Amazon reports two figures. The developer-years come from a per-dependency estimate. The dollars are Amazon's estimate of the savings from hosts removed after the upgrade improved performance.[11] The two figures measure different things and should not be added together.

| Step | Developer-years line | Hosts line |
|---|---|---|
| Observe *(you measure it)* | Dependencies migrated, at a day or more each by hand *(estimated)* | Hosts removed after the upgrade's performance gain *(measured)* |
| Net *(you count it)* | Not published. Review and rework hours would come off here | Nothing to subtract. The count is already in hosts |
| Convert *(you defend it)* | 4,500+ developer-years. A dollar figure would add a step on an estimated base | $260M a year *(estimated)*. Hosts to dollars is one step, on Amazon's estimate |
| Book *(Finance books it)* | Reported only, until the freed time is shown spent on new work | Spend removed, ledger line |

Three rules from the Value Classification explain the table. A net built on an estimated input is an estimated net, so the developer-years stay an estimate at every step. Spend removed means “An invoice, license, server, or contract that actually stopped.” Removed hosts meet that definition, so the hosts line is the most bookable one we found. Its $260 million is still Amazon's estimate of what the hosts cost, so it is booked as an estimate. Freed engineering time counts only once it is [redeployed](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-outcomes-value-measurement-claim-chain-net-redeployment). A migration that was never scheduled replaced no budget, so its developer-years have nothing to book against. Its value has to come through something like the hosts line, or through the categories at the end of section 05.

A backlog estimate counts as the plan if it was recorded before the AI work started. The claim then compares that planned value with the value realized once the work lands, which is the realization rate. The estimate alone does not make freed time bookable.

### What to record for your own migration

On the AI-assisted side, count all the engineering time, including time spent building and running the migration tooling. That time is in the baseline's unit and nets inside the claim. The model and infrastructure bill is in dollars and belongs to [Total Cost of AI](https://www.tokeneconomics.com/sprint-2-terminology-and-kpis/#tokenomics-value-business-case-tca). The last column maps each record to the datasets of the AI Value Data Layer proposal (section 07).

| When | Record | Step it supports | Dataset in the AI Value Data Layer |
|---|---|---|---|
| Before | The inventory, the pre-AI estimate and how it was made, and the Quality Floor (tests pass, review approved, rollout complete) | Observe | Tasks and Outcomes (what counts as done). Outcomes (the estimate, as the baseline quantity). Value (the estimate in dollars, as planned value) |
| During | Engineering hours for tooling, review, and rework, in the same unit as the baseline. Model and infrastructure cost in dollars | Net, and Total Cost of AI | Tasks and Outcomes (in-flight review and rework on Tasks; post-delivery hours on Outcomes). Cost and usage (the bill) |
| After | Completion date, what stopped running (hosts, licenses, contracts), and where the freed engineers went | Convert and Book | Outcomes (the result that held up). Value (reported or booked) |

---

*07 · Next investment*

## From a proof project to a larger investment

### What a finished migration shows

- AI can speed up bounded engineering work in this codebase, with this review process.
- What that work cost, including model and infrastructure spend.
- Any infrastructure, license, or contract that stopped, which can be booked.

### What it does not show

- That the delivery system as a whole got faster.
- That freed engineering time went into new work.
- That the same speedup holds for product work, or in older and larger codebases, where the mandate study's authors say gains may be smaller.[7]

The second list is the case for measuring the delivery system itself, with AI rollout staggered by team so that later adopters serve as a comparison group.[7]

### The data this takes

Release-level measurement also needs AI spend tied to the releases it produced. The AI Value Data Layer proposal describes five kinds of records (cost and usage, telemetry, tasks, outcomes, and value) joined by three identifiers: “a workload ID, a task ID, and an outcome ID.” It builds on [FOCUS](https://focus.finops.org/) for billing data and [OpenTelemetry](https://opentelemetry.io/) for telemetry, and dollar costs stay on the bill to be joined afterward. For software, the workload is the coding agent or assistant, the task is the pull request, and the outcome is the release it shipped in. With those links a team can say what a shipped release cost and how much spend went to work that never merged.

The proposal is a draft, and no standard yet carries these identifiers from coding tools, gateways, and model providers through to the bill. Some commercial tools already record parts of the chain, such as the pull requests an agent created or the business outcome reported for an agent run.[13, 14, 15] In software the remaining links often exist by convention: a branch or pull request names the ticket it completes, and CI/CD records show which branches and tickets went into each release. An engineering organization should plan to make the join from those records. Keep the conventions consistent, record which pull requests AI worked on, and get an itemized bill and usage telemetry from each AI supplier.

A migration is a good first case for this data too. The proposal expects that “Many organizations will attribute at the workload level long before they can attribute at the level of individual outcomes.” A migration run as one workload can be costed as a whole. A tool licensed per seat can be costed at that level as well. Its bill is usually a fixed amount per person with no charge per request, so going finer takes the supplier's usage data.

---

*08 · Act*

## What to do next

### If you own the bill

- Ask which measures the claim uses, whether the baseline was taken the same way, and whether the result was read at the release level or at one stage.
- Ask which stage was the constraint, whether AI was applied there, and whether the AI-assisted figure includes review, rework, and tooling time.
- Book infrastructure that actually stopped to Spend removed. Keep developer-year estimates as reported until the freed time is shown spent on new work.
- Fund one bounded migration as a proof project before a broad rollout.
- Ask each AI supplier for an itemized bill and usage telemetry, so that spend can later be tied to releases.

### If you own the code

- Keep the engineering measures you already use. If there are none, start measuring before the AI rollout.
- Track release-level lead time, and report merged pull requests together with review wait, queue depth, and revert or incident rates.
- Do not set targets on stage counts such as merged pull requests.
- Pick a migration or technical debt program with a countable inventory, and record the baseline before the AI work starts. Long-deferred work qualifies.
- Stagger access by team where you can, so later adopters give you a comparison group.
- Name the ticket in each branch or pull request, and record which pull requests AI worked on, which release each one shipped in, and what the AI-assisted time went to.

---

*Go deeper*

## Further resources

- **Classifying and Measuring Realized Value from AI** (Start here). The Value Working Group's method: the four steps, outcome categories, destinations, and Quality Floor this page applies. [Read the method](https://www.tokeneconomics.com/projects/ai-value-classification/)

- **AI Value Data Layer** (Available). A proposal to join cost, telemetry, tasks, outcomes, and value on shared keys. Its example is a hypothetical coding agent. [Read the insight](https://www.tokeneconomics.com/insights/ai-value-data-layer/)

- **Measuring AI Value in Customer Support** (Coming soon). The easier case: the support measures most organizations already track, and published field studies taken through the same four steps.

---

*References*

## References

1. Bain & Company. [From Pilots to Payoff: Generative AI in Software Development](https://www.bain.com/insights/from-pilots-to-payoff-generative-ai-in-software-development-technology-report-2025/). Technology Report 2025. (industry research)
2. Demirer, M., Musolff, L., Yang, S. [Writing Code vs. Shipping Code: Productivity Effects Across Generations of AI Coding Tools](https://www.nber.org/papers/w35275). NBER Working Paper 35275, 2026. (working paper)
3. He, H., Miller, C., Agarwal, S., Kästner, C., Vasilescu, B. [Speed at the Cost of Quality: How Cursor AI Increases Short-Term Velocity and Long-Term Complexity in Open-Source Projects](https://arxiv.org/abs/2511.04427). arXiv 2511.04427, 2026. (preprint)
4. Google Cloud. [Announcing the 2024 DORA report](https://cloud.google.com/blog/products/devops-sre/announcing-the-2024-dora-report). 2024. (industry research)
5. Google Cloud. [Announcing the 2025 DORA Report](https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report). 2025. (industry research)
6. Becker, J., Rush, N., Barnes, E., Rein, D. [Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity](https://arxiv.org/abs/2507.09089). arXiv 2507.09089, 2025. (preprint)
7. He, H., Agarwal, S., Denisov-Blanch, Y., Azaletskiy, P., Koyejo, S., Vasilescu, B. [AI Writes Faster Than Humans Can Review: A Longitudinal Study of an Enterprise 2x Mandate](https://arxiv.org/abs/2607.01904). arXiv 2607.01904, 2026. (preprint)
8. Covey-Brandt, C. [Accelerating Large-Scale Test Migration with LLMs](https://airbnb.tech/infrastructure/accelerating-large-scale-test-migration-with-llms/). Airbnb Engineering, 2025. (corporate disclosure)
9. Nikolov, S., et al. [How is Google using AI for internal code migrations?](https://arxiv.org/abs/2501.06972) arXiv 2501.06972, 2025. (corporate experience report)
10. Asana Engineering. [We migrated off Enzyme in 2 weeks. It should have taken five years](https://asana.com/inside-asana/migrating-off-enzyme-2-weeks). 2026-08-07. (corporate disclosure)
11. Cholkar, A. A. [Amazon Q Developer just reached a $260 million dollar milestone](https://aws.amazon.com/blogs/devops/amazon-q-developer-just-reached-a-260-million-dollar-milestone/). AWS DevOps Blog, 2024-08-01. (corporate disclosure)
12. Wright, H. [Deprecation](https://abseil.io/resources/swe-book/html/ch15.html). In Winters, T., Manshreck, T., Wright, H., Software Engineering at Google, chapter 15. O'Reilly, 2020. (book)
13. Cast AI. [Productivity](https://docs.kimchi.dev/docs/reporting-productivity). Kimchi documentation, 2026. (vendor documentation)
14. Dash0. [Measure Productivity](https://www.dash0.com/docs/dash0/darkplane/insights/measure-productivity). Darkplane documentation, 2026. (vendor documentation)
15. Revenium. [AI Outcomes](https://docs.revenium.io/instrument-your-agents/agent-outcomes). Revenium documentation, 2026. (vendor documentation)

Published by the Tokenomics Foundation as an open, vendor-neutral resource. CC BY 4.0. Organization names appear only where they are the subject of a cited source. Figures are as published by each source; the Tokenomics Foundation has not audited them.

Thanks to the members of the Value Working Group who contributed during Sprint 2: Alan Hand, Brian Nathanson, Brendan Piccione, Crystal Hu, JP Marcos, Kerry O'Toole, Larry Bailey, Matt Small, Rafael Sztutman, Subha Shankar, and Vitaly Belyasov.