Back

Measuring Software Delivery Productivity in the Age of AI

Executive Summary

Measuring the productivity of software delivery has confounded organisations, academics, and consultants for more than half a century. Every metric proposed, lines of code, function points, velocity and story points, has been found wanting; easy to game, impossible to compare across teams or contexts, or simply measuring the wrong thing. For most engineering leaders, the honest answer to “how productive is your team?” has been a shrug.

That problem has not gone away. But two things have changed simultaneously, and the combination demands a new response.

First, AI tools are now embedded in every phase of the software delivery lifecycle, from planning and specification through code generation, automated testing, and intelligent deployment. The productivity gains on offer are real and the net cost reductions material. But without a measurement framework, organisations cannot verify them, cannot allocate the benefits fairly between clients and suppliers, and cannot course-correct when adoption is superficial or counterproductive.

Second, the data signals available from modern engineering toolchains are richer than ever before. Every tool in the delivery lifecycle, work management platforms (ADO, Jira), version control systems, build pipelines, testing frameworks, monitoring infrastructure, generates structured data that, when combined intelligently, makes genuine productivity measurement and management achievable for the first time at scale.

This paper sets out why the measurement problem has been so persistent; what AI changes about both the challenge and the opportunity; and what a rigorous, practical productivity measurement framework looks like.

The proposed 4 Pillars of Engineering Productivity framework:

  • enables organisations to benchmark their engineering effectiveness against comparable organisations as they transition to agentic ways of working;
  • provides a normalised measure of engineering output to use in an ROI calculation, so the question of AI ROI can be answered down to team and individual level;
  • can be applied to retained teams and third-party suppliers alike, and is robust enough to support contractual commitments and commercial accountability; and
  • fits within a broader AI-transition measurement framework (called RACER™).

In short, the question is no longer whether productivity can be measured. The data exists. The question is whether your organisation has the framework to act on it before your suppliers or competitors do.

 

Created in partnership with 

Why Productivity Has Always Been Hard to Measure in Software Delivery

The knowledge work problem

Engineering productivity sits at the intersection of two things that resist easy quantification: knowledge work and creative problem-solving. A bricklayer’s output can be counted in metres of wall per day. A software engineer’s output cannot be measured in lines of code without immediately inviting the question of whether those lines of code were the right lines of code, well-written, solving the right problem, and likely to survive the next sprint without needing to be rewritten.

This is not a new observation. As a line widely attributed to Bill Gates puts it, measuring programming progress by lines of code is “like measuring aircraft building progress by weight”. The industry spent the following decades trying to find better proxies, function points, use-case points, feature points, and each approach ran into the same fundamental difficulty: the relationship between effort, output, and value is non-linear, context-dependent, and shaped by factors entirely outside the team’s control.

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.”
Widely attributed to Bill Gates

The gaming problem

Every metric that has been used to measure engineering productivity has eventually been gamed. Not usually maliciously, teams optimise for what gets measured, which is entirely rational behaviour. But the result is the same: the metric drifts from what it was supposed to represent.

Velocity in agile teams is a classic example. Introduced as a planning tool, a team’s own measure of their own throughput, it became a performance metric in many organisations, and teams responded predictably by inflating story point estimates. Sprint velocity went up. Actual productivity often did not. The metric had become the target, and in doing so it ceased to be a useful measure.

The same dynamic plays out with commit frequency (trivial commits inflate the count), test coverage (low-quality tests push the percentage up without improving quality), and deployment frequency (small, low-value deployments can look impressive without delivering value).

The Goodhart problem and its solution

When a measure becomes a target, it ceases to be a good measure. Any single productivity metric, applied as a performance target, will eventually be gamed. The solution is not to find a metric that cannot be gamed (no such metric exists) but to use paired metrics that make gaming visible.

The comparison problem

Even where individual metrics are reliable, comparing productivity across teams, programmes, or suppliers has proved extremely difficult. A team maintaining a legacy monolith operates in a fundamentally different context from a team building new microservices on a greenfield codebase. A ten-engineer squad delivering a regulated financial system will look very different from a twenty-engineer squad building a consumer-facing web application. Raw metrics, applied across these contexts without adjustment, tell you almost nothing.

The result is that most organisations have settled into an implicit rather than explicit assessment of engineering productivity: experienced leaders “know” which teams are performing and which are not, but they cannot express that knowledge in a form that survives leadership changes, supplier renegotiations, or boardroom scrutiny.

~85% of engineering organisations cite difficulty measuring productivity as a significant barrier to effective supplier management, despite it being the foundation of any accountability framework.

Why AI Makes This Both More Urgent and More Tractable

The ‘AI Value Expectation Gap’

AI-assisted engineering tools represent the most significant productivity improvement opportunity the industry has seen in a generation. The evidence on speed is consistent and compelling: teams equipped with AI coding assistants, intelligent test generation tools, and automated code review complete tasks faster. The evidence on quality is not: DORA’s 2024 research found that greater AI adoption was associated with lower software delivery stability.

However, transformational improvements in real engineering productivity as teams adopt agentic ways of working are far from a given. We call this the ‘AI Value Expectation Gap’.

Plandek’s recently released Q4 2026 AI Adoption and Impact Benchmarks provide insight from over 2,500 software engineering teams worldwide.

The findings reveal a stark and widening gap between the productivity gains business leaders expect from AI coding tools and what engineering organisations are actually delivering, as spending on AI tokens has increased by 10 to 13 times since January 2025.

The benchmarks show that the most mature agentic engineering teams have sharply increased throughput (calculated on a normalised basis) over the past six months. But that gain has come at a cost: these same teams are spending less time on value-creating work, and quality has fallen.

Cycle Time improved by 16%, yet Lead Time to Value, the true idea-to-production measure that matters to businesses, barely moved, held back by bottlenecks across the software delivery lifecycle. This reinforces the need to improve foundational engineering processes to deliver real productivity gains.

Q4 2026 AI Adoption and Impact Benchmarks: Output +50%, Quality −27%, Value-creating work −9%, Lead Time to Value only −4%

Source: Plandek, comparing the most agentic teams with the median across >2,500 engineering teams globally. Change over the last six months.

Furthermore, the research shows that fundamental performance gaps between high- and low-performing engineering teams persist and remain large, regardless of AI maturity. Relative to the lowest-performing cohort, top-quartile teams:

Top-quartile teams vs lowest-performing cohort: twice as focused, 4x throughput, half the time, 55% more predictable, a third as many defects

Measuring Software Delivery Productivity in order to measure AI ROI

As AI token use and token spend continue to rise at a near exponential rate, ‘tokenomics’ is an increasingly important topic at Board level, as organisations budget and control AI token use and look to truly understand AI ROI in software engineering.

And it is here where an objective measure of software delivery productivity is vital. An AI ROI calculation needs an objective measure of engineering output (for the benefit measure), which the productivity metrics framework provides.

The supplier accountability gap in the age of AI engineering

Consider a large organisation that contracts with a third-party engineering supplier for a managed engineering service, a common arrangement for large-scale digital programmes. The contract specifies headcount, day rates, and delivery milestones. The supplier begins embedding AI tools across their engineering teams. The engineers become, by reasonable estimates, 30-40% more productive.

What happens to that gain? In the absence of a productivity measurement framework and a commercial mechanism to share the benefit (taking into account the token cost), the answer is straightforward: the supplier retains it. They can deliver the same contracted outputs with fewer engineers, or deliver more with the same, and in either case the client’s position does not improve. The client has funded the AI tooling investment, directly through higher rates that cover the supplier’s costs, or indirectly through the competitive margin the supplier will eventually extract, but has received none of the benefit.

This is not hypothetical. It is the default outcome in any supplier relationship where productivity is not measured, and AI adoption is accelerating the exposure.

If your engineering supplier adopts AI and you have no measurement framework, the productivity gain belongs to the supplier, not to you.

Three questions every engineering leader should be asking

  1. Do you know your team’s current productivity baseline across the delivery lifecycle, not in anecdote, but in data, and is it used to drive learning and improvement across the organisation?
  2. If your suppliers are using AI tools, can you collectively verify that the productivity gains are reflected in your commercial arrangements?
  3. When you set a productivity target, do you have the paired measures in place to ensure it is hit genuinely, rather than through gaming?

A Framework for Meaningful Measurement of Software Delivery Productivity

4 Pillars of Engineering Productivity

Mozaic’s approach to software delivery productivity measurement, developed in collaboration with Plandek, the AI value realisation platform for engineering, is built on four pillars of productivity: Focus, Speed, Predictability, and Quality.

Each pillar captures a distinct aspect of team performance. What distinguishes this framework from simpler metric sets is that it provides a complete measure of engineering effectiveness (critical to understand as you move to agentic ways of working) and it includes the use of paired counterweights, a second measure paired with each dimension that makes gaming visible and ensures that improvement in one dimension cannot be achieved at the expense of another.

Importantly, this outcome-based metrics framework:

  1. Remains valid as engineering teams transition to agentic ways of working
  2. Enables teams to benchmark their engineering effectiveness (in the broadest sense) against global comparables
  3. Provides a normalised measure of engineering output that is needed in order to calculate AI ROI and engineering ROI more broadly.

The 4 Pillars of Engineering Productivity Framework

The 4 Pillars of Engineering Productivity Framework: Focus, Speed, Predictability, Quality

The 4 Pillars combined provide a holistic view of real engineering effectiveness, combining:

  • A measure of the ability to focus effort on value-creating activity (rather than value-maintaining or frictional work such as bug fixing)
  • Measures of Speed, flow efficiency and a normalised measure of engineering output (e.g. the Pull Request Efficiency Quotient*)
  • Measures of Predictability and Quality, both of which are critical in software engineering.

The recommended metrics in each pillar are shown below, all of which are benchmarked quarterly.

PillarMetricExplanationFormula
FocusValue Delivery %How much of what we’re working on is delivering value to our business?(Number of Stories ÷ Total Tickets) × 100
SpeedLead Time to Value (days)How long does it take us to go from Idea to Production?Elapsed time between a Story being created to it being delivered in production
SpeedCycle Time (days)Time taken to complete work once active development beginsElapsed time between development starting to production
SpeedTime to Merge PRs (hours)How quickly do we go from a PR being raised to it being merged back into the codebase?Elapsed time between PR created to merged
SpeedThroughput QuotientNormalised measure of output per engineer, balancing throughput against team size(Story & Bug Ticket Throughput ÷ Cycle Time) ÷ Number of Human Developers
SpeedPR Efficiency QuotientAssesses PR processing efficiency per developer over time(PRs Throughput ÷ Time to Merge PRs) ÷ Number of Human Developers
SpeedMerge Frequency (per author per week)Tracks how often individual developers merge code changes(Number of merged PRs ÷ Number of weeks) ÷ Number of Authors
PredictabilitySprint Capacity AccuracyMeasures how accurately the team forecasts and delivers on its committed sprint workload(Total velocity ÷ Initial scope of a sprint) × 100
PredictabilitySprint Target CompletionShows what percentage of planned scope is delivered(Velocity from initial scope ÷ Initial scope of a sprint) × 100
PredictabilityScope Change %Indicates how much the sprint scope changed after commitment(Scope changed ÷ Original committed scope) × 100
PredictabilityVelocity Volatility %Measures fluctuation of throughput(Velocity Standard Deviation ÷ Mean Velocity) × 100
QualityBug Resolution Time (days)Tracks how long it takes to fix bugs end-to-endElapsed time between a bug being created to it being delivered in production
QualityStories Delivered : Bugs RaisedCompares story delivery against new bugs raisedNumber of Stories delivered ÷ Bugs raised
QualityBugs Resolved : Bugs RaisedMeasures how well a team is keeping on top of their bug backlogNumber of Bugs resolved ÷ Bugs raised

* More reading is available on the Pull Request Efficiency Quotient. It uses the Pull Request (PR) as the basis for a normalised measure of engineering output. PRs are expressed as a number of Work Units, which account for variations in PR size and complexity.

Toolchain-agnostic by design

The measurement framework is intentionally independent of any specific tooling configuration. Organisations that use different work management platforms, version control systems, build pipelines, or testing frameworks all benefit from the same measurement model, the dimensions and their counterweights are consistent, even as the underlying data sources vary.

In practice, the data required for each dimension flows from the tools engineering teams already use. Project and work management platforms provide flow data; version control systems provide code activity and review patterns; build and deployment pipelines provide frequency and reliability data; testing tooling provides quality metrics; monitoring infrastructure provides reliability signals. The aggregation and normalisation of these data sources is handled by the measurement platform, which acts as the intelligence layer connecting everything together.

The Plandek integration: DORA and SPACE aligned

Mozaic works in partnership with Plandek, the AI value realisation platform for engineering, built specifically to aggregate productivity data across heterogeneous toolchains. The framework aligns to industry-standard models including DORA (deployment frequency, change failure rate, lead time, MTTR) and the SPACE framework (Satisfaction, Performance, Activity, Communication, Efficiency), providing a recognised foundation for benchmarking.

Plandek connects to the tools engineering teams already use and surfaces the four productivity dimensions in a single dashboard, updated continuously from live data. This means organisations gain the measurement capability without replacing their existing tooling and without requiring teams to manually report against metrics. This level of automated, cross-toolchain aggregation is not typically possible with analytics functionality from existing engineering toolsets.

4 Pillars Metric Pairings

The 4 Pillars are designed not to be ‘gameable’. Four measurable dimensions, each with a primary metric and a paired quality check. The pairing principle is fundamental: no gain is recognised unless its paired quality metric holds. Plandek’s platform is the single arbiter of both.

This structure eliminates the most common gaming vectors:

  • a team cannot inflate its Speed metrics by cutting corners on code quality, because the Stories Delivered : Bugs Raised ratio will deteriorate;
  • it cannot claim Focus discipline while defect volume rises; and
  • it cannot manufacture Predictability by undercommitting, because Sprint Capacity Accuracy will reveal the gap between actual throughput and declared targets.
PillarPrimary metricPaired quality check
FocusTotal Planned Work %
Total Unplanned Work %
Bugs Resolved : Bugs Raised Ratio
SpeedStory Cycle Time (Days)
PR Efficiency Quotient
Stories Delivered : Bugs Raised Ratio
Bugs Resolved : Bugs Raised Ratio
PredictabilitySprint Target Completion %
Key Milestones On-Time Delivery %
Sprint Capacity Accuracy %
QualityBug Resolution Time (Days)
Stories Delivered : Bugs Raised Ratio
Bugs Resolved : Bugs Raised Ratio

Baselines, targets, and SLAs

The measurement framework is applied in three stages. First, a baseline is established, typically at the start of an AI transition, programme, contract, or engagement, that captures current performance across all four dimensions. This baseline is not a judgement; it is a starting point. It exists to make improvement measurable.

Second, targets (including financial) are agreed. This is where the framework’s structure matters most: targets should be achievable through genuine improvement, not through gaming. By setting targets in pairs, responsiveness improvements alongside quality controls, deployment frequency alongside change failure rate, the framework makes it difficult to hit the headline number by sacrificing something else.

Third, where the organisation works with third-party suppliers, the targets are formalised as SLAs within the commercial agreement. The SLA mechanism creates the accountability structure: performance against the four dimensions is reported against the agreed targets on a regular cadence, and commercial consequences, adjustments to rates, contract extensions, or penalty clauses, follow from the outcomes.

From Measurement to Agentic Improvement

Measurement accelerates improvement

Engineering leaders find themselves at a career-defining moment. AI-driven change is happening at a truly unprecedented speed and scale, and achieving the expected step-change in engineering productivity is far from a given.

Complete visibility of leading and lagging indicators is therefore critical to success. Establishing measurement does not automatically produce improvement, but it creates the conditions for it and supports continuous improvement and maturing of delivery.

Teams that can see their own performance data, broken down by dimension and tracked over time, respond differently to that information than teams operating with no feedback signal. The combination of visibility, accountability, and clear targets produces a consistent pattern across the engagements where this model has been applied.

Baselining and benchmarking performance

Change of this magnitude requires baselining and benchmarking. Engineering Intelligence tools like Plandek ingest historical as well as current engineering data and so provide the ‘pre-AI performance baseline’ against which all change is measured.

In addition, the Mozaic-Plandek 4 Pillars metric set is benchmarked quarterly against more than 2,500 engineering teams globally to give a clear picture of relative progress. The benchmark data shows large deltas in performance between organisations in various cohorts (for example, comparing onshore and offshore team performance).

Measuring engineering productivity within a broader AI-transition metrics framework

The 4 Pillars of Engineering Productivity described here is intended to provide an objective measure of engineering performance as organisations migrate to AI-native engineering.

As such, it is intended to be used within a broader AI-transition metrics framework (such as the RACER™ framework).

The RACER framework: Rollout, Approach, Constraints, Engineering Impact, Results

Understanding engineering impact and AI ROI at team and individual level

The 4 Pillars Framework includes an engineering output metric (the Pull Request Efficiency Quotient) that provides a normalised measure of engineering output for use in an AI ROI calculation.

Use of the framework therefore enables the real-time calculation of engineering impact and AI ROI across and within an engineering organisation, down to team and individual level.

This is key as organisations look to throttle and budget AI token use at individual engineer level.

Combining qualitative and quantitative insight

As well as quantitative engineering metrics, organisations should consider using a tool with survey capability (like Plandek) to constantly collect and respond to engineer feedback.

Bringing the engineering team on the AI-transition change journey is a major challenge. AI Constraint surveys and feedback loops can run continually, with tools such as the AI Trust Index (a lightweight qualitative survey of engineering team confidence in AI-generated output) run monthly or quarterly alongside the quantitative measures.

Capturing the AI Dividend: The Supplier Dimension

The framework for internal engineering teams

Everything described in this paper applies equally whether the engineering team is internal or external. The measurement framework, the dimensions, the paired counterweights, and the governance cadence are not team or supplier-management tools, they are engineering performance tools.

Internal teams benefit from the same structured visibility: baselines established from live toolchain data, improvement targets agreed with leadership, and a reporting cadence that uses data rather than anecdote. The difference with an internal team is the commercial mechanism: rather than rate adjustments or contract terms, the levers are resource allocation, investment decisions, and the conversations that happen in quarterly business reviews. The measurement discipline remains the same.

For organisations with a mixed model, internal teams working alongside external suppliers, the framework creates a common measurement language. Both internal and supplier teams work to the same dimensions, the same paired metric structure, and the same data-driven reporting cadence. This removes a common source of friction in mixed delivery models: the absence of a shared, objective basis for comparing productivity and identifying where constraints actually sit.

Rethinking the supplier relationship

For organisations that rely significantly on third-party engineering suppliers, whether for staff augmentation, managed engineering services, or outcome-based delivery, the productivity measurement framework has a commercial dimension that is as important as the operational one.

Traditional supplier contracts for engineering services are structured around inputs: headcount, day rates, time and materials. They may include milestone-based payments or output-based bonuses, but they rarely specify productivity targets that would hold a supplier accountable for how efficiently they deliver. In a world without AI, this was a significant oversight. In a world with AI, it is an existential commercial risk.

Contractualising productivity

The Mozaic/Plandek model provides a framework for embedding productivity commitments into supplier agreements in a way that is fair, measurable, and enforceable, and that rewards continual improvement in delivering value. The four dimensions provide the vocabulary for those commitments; the baseline measurement provides the starting point; and the agreed targets, with their paired counterweights, provide the basis for commercial accountability.

In practice, this means supplier contracts include:

  • Productivity baselines established at the start of the engagement, agreed by both parties
  • Regular productivity targets across the four dimensions, aligned to the Programme Increment planning, with explicit counterweights that prevent gaming
  • A reporting cadence using live data from the engineering toolchain, not manual self-reporting but driven from the tooling and managed by a Productivity Lead
  • Commercial mechanisms tied to performance: rate adjustments, contract renewals, or efficiency-sharing arrangements that return a proportion of productivity gains to the client

The efficiency-sharing model is worth highlighting specifically. Rather than simply penalising suppliers who miss targets, a well-designed framework creates a positive incentive: suppliers who achieve productivity improvements above the agreed targets share a portion of that improvement with the client. This aligns the supplier’s interest with the client’s, rather than creating an adversarial relationship around metrics.

The window is now

There is a timing dimension to all of this that organisations should not underestimate. The baseline measurement taken at the start of an engagement captures the pre-AI productivity level. That baseline is the reference point against which AI adoption improvements are measured. Once AI tools are embedded and productivity has already shifted, the baseline is lost, and with it, the ability to quantify how much of the improvement was already in flight before the measurement framework was established.

Organisations that act now, establishing measurement before AI adoption is fully embedded, will have a verifiable baseline and a clear improvement trajectory. Those that wait will be trying to establish what “normal” looks like in a system that has already changed. The measurement infrastructure needs to be in place before the baseline is lost, not after.

A note on fairness

The goal of a supplier productivity framework is not to extract the maximum from suppliers, it is to ensure that both parties benefit from genuine improvements. A framework that is punitive rather than collaborative will damage supplier relationships without producing better engineering outcomes. The counterweight mechanism is important here: it ensures that targets are achievable through genuine improvement, and that suppliers are not penalised for metric movements that reflect real complexity rather than real underperformance.

Conclusion

The measurement of engineering productivity has been an unsolved problem for fifty years. It has defied solution not because engineers are unmeasurable, but because the approaches used have been too simple, single metrics that fail to capture the full picture, easy to game, and impossible to compare across different teams and contexts.

The combination of richer data from modern engineering toolchains, better analytics platforms, and a framework that uses paired measures to prevent gaming has changed what is possible. Meaningful, actionable, tamper-resistant productivity measurement is now within reach for any organisation willing to invest in establishing it properly.

The urgency is new. AI-assisted engineering tools are not a future technology, they are being adopted now, by engineering teams and their suppliers, in ways that are already shifting productivity in ways that most organisations cannot see or verify. The organisations that establish a measurement framework now will capture the AI dividend. Those that do not will fund it for someone else.

The question is not whether to measure engineering productivity. The question is whether you do it before or after the opportunity has passed.

About Mozaic & Plandek

Mozaic is a specialist consultancy that helps large organisations get more from digital engineering. We combine delivery expertise with commercial and legal knowledge to help clients measure, manage, and improve the productivity of their engineering teams, whether retained, blended, or supplier-led.

The framework has been developed in collaboration with Plandek.

Plandek is the AI value realisation platform for engineering, used by more than 2,500 engineering teams. It identifies the constraints on AI value across the software development lifecycle and in how teams use AI tools, and measures AI ROI with Work Units, Plandek’s proprietary measure of engineering output. Plandek is based in London with offices in the US.

What Next?

Free AI Adoption & Impact Report

See what your AI tools are really delivering, in seven days.

To start from evidence rather than opinion, Mozaic and Plandek are offering a free AI Adoption & Impact Report. It is a one-off, board-ready snapshot of the AI tools your engineering teams already pay for, built from your own Git and AI tool data and benchmarked against more than 2,500 engineering teams.

The report shows you…

  • Adoption: how widely and intensively AI is being used across your teams, how much engineering work involves AI, and the cost mix of the models you use
  • Efficiency: how much AI spend turns into shipped work, and where codebases and teams are not yet ready for agents
  • Return: whether the same engineers are producing more and moving faster, expressed as equivalent engineer FTEs and cost

How it works…

  1. Request your report and receive an invitation to log in
  2. Connect your Git and AI tools (such as GitHub Copilot, Cursor, Claude Enterprise, Devin and Codex). There is no new dashboard to learn, and Plandek handles the setup
  3. Receive your report by email within seven days

It is free, with no subscription and no commitment. It is also the natural first step towards the 4 Pillars and RACER™ frameworks set out in this paper: a verifiable baseline of where your AI investment stands today, before that baseline is lost.

Like what you've seen?

Contact Us

Get in touch with our team to learn more about our services, explore partnership opportunities or discuss how we can help with your challenges.