← All Blogs

How to Measure Developer Productivity with AI Evidence

Published Updated Read Time: 4 min

Measure developer productivity with a combination of delivery, quality, collaboration, and developer feedback. AI usage and code contribution provide context for those outcomes; they do not turn a single activity count into a productivity score.

Start with a decision, such as investigating review delays or assessing an AI-tool rollout. Define the application, team, and observation period before selecting metrics.

Use DORA for Software Delivery Performance

DORA's current guidance describes five software delivery performance metrics:

Scroll horizontally if needed →

MetricWhat it measures
Change lead timeTime from a committed change to deployment in production.
Deployment frequencyHow often deployments occur over a period.
Failed deployment recovery timeTime to recover from a deployment failure requiring immediate intervention.
Change fail rateThe proportion of deployments requiring immediate intervention.
Deployment rework rateUnplanned deployments made in response to production incidents, as a proportion of all deployments.

The original four keys have evolved. Failed deployment recovery time is narrower than recovery time across every kind of incident. Deployment rework rate also differs from code churn or edits during review. Check the definition behind a dashboard before comparing it with a benchmark.

DORA recommends interpreting these measures in the context of an application or service. An organization-wide average can hide differences between systems. The measures describe delivery performance; they do not isolate the effect of AI. See the DORA metrics glossary for the current definitions and related terms.

Use SPACE to Include the Work Delivery Metrics Miss

The original SPACE framework covers satisfaction and well-being, performance, activity, communication and collaboration, and efficiency and flow. It recommends a small set of measures spanning at least three dimensions, including a perceptual measure such as a survey.

PR counts and commits are activity measures. They can help describe workload, but adding several activity counts still leaves the other dimensions unobserved. Include questions about interruptions, access to expertise, review quality, or the ability to complete work.

Choose measures with the team and explain how they inform the decision. A rise in output can coexist with more interruptions or worse developer experience. Those tensions are useful information.

Keep AI Evidence Separate from Productivity Outcomes

For an AI rollout, distinguish observed tool usage from evidence that code reached source control. Accepted suggestions, attributed commits, and merged PRs are different events.

Do not label all remaining work human-only. Cursor's Other category, for example, means the matching process did not attribute the code to Cursor. It can contain work from another tool or assistance the process missed.

Weave's methodology distinguishes native telemetry, Git co-authorship, and activity-based estimates. Record which evidence supports each contribution label, along with missing users, tools, and repositories.

Comparing PRs with observed AI assistance against other PRs can reveal a pattern worth investigating. Experience, task complexity, work selection, and workflow differences may explain the result. Treat it as an association unless the evaluation design supports a causal conclusion.

Read Quality and Rework in Context

Track defects, reverts, review changes, and code turnover over a stated period. Rewritten code may represent a defect, planned refactoring, or normal iteration. Code that remains in the repository may still be faulty. Inspect representative changes instead of treating churn or survival as a quality verdict.

Keep recent work separate when it has not had enough time to show post-release outcomes. Include developer feedback to understand work that system data does not capture.

Build a Report That Supports the Decision

  1. State the question, scope, baseline, and metric definitions.
  2. Check tool coverage and identity mapping. Keep missing attribution visible.
  3. Compare delivery and quality alongside activity and developer feedback. Record changes in staffing, work mix, and process.
  4. Explain the observed result and competing explanations before proposing a change.

For a pilot on one service, use a reporting template like this. It is a suggested measurement plan, not a benchmark or a customer result.

Scroll horizontally if needed →

AreaRecord in the report
ScopeService, repositories, eligible developer group, baseline dates and comparison dates.
DeliveryChange lead-time distribution and deployment count, using the same start and end events in both periods.
StabilityFailed deployments, their recovery durations and unplanned incident-response deployments; include total deployment counts for rate denominators.
Developer experienceResponses to the same questions about interruptions and review burden, with the number of respondents.
AI evidenceConnected tools, active-use definition, identity coverage and the share of work without attribution.

If using Weave's estimated expert-effort output, keep it distinct from recorded work time, hours saved, or payroll savings. A cost-per-output ratio can inform an evaluation without establishing financial ROI. Make benefit assumptions explicit and review the underlying work with the team.

Make AI Engineering Simple

Effortless charts, clear scope, easy code review, and team analysis

Book a demo