concord ai

Measuring developer productivity with AI

A concise explanation of why lines of code and PR counts no longer signal productivity when AI agents write code, and which metrics actually matter.

Alex Choi, AI Engineer5 min read

the short answer

Lines and PR counts became meaningless once both are cheap to produce, so better signals are review turnaround, rework rate, and overlap between agents on the same code.

Abstract technical illustration for the article Measuring developer productivity with AI

When AI agents write code, pull requests and lines changed no longer signal productivity. Both metrics are trivial for agents to inflate, so teams need signals that reveal where coordination breaks down and rework happens.

Why old productivity signals fail with AI agents

Agents can generate thousands of lines in minutes, but most of those lines do not move the project forward. Teams that still measure lines of code or pull request counts end up rewarding churn instead of progress. The signals that once correlated with output now reward busywork.

Even when agents write real features, the context and assumptions they used live in private sessions. Those details surface only at pull request review, when mistakes are expensive to fix. By then, the same agent may have moved on, forcing another agent to rediscover the lost context.

Old metrics also ignore overlap. Two agents editing the same module at the same time can create merge conflicts, duplicate fixes, or worse: silent inconsistencies that tests do not catch. Unless you track overlap explicitly, you won’t see it until it causes a failure in production.

Three signals that replace lines and PR counts

Teams that adopt AI agents need three new signals to measure real productivity: review turnaround time, rework rate, and overlap frequency. Each one requires records most teams keep poorly or not at all today. These metrics reveal what actually matters.

Review turnaround time

Review turnaround is the time between when a change is review-ready and when it is approved. Short turnaround shows requirements were clear, scope was well-defined, and the review process is efficient. Long turnaround flags unclear expectations, missing context, or agents stepping on each other’s work.

Measuring turnaround needs timestamps for when a task moves to review-ready and when it is merged. Most teams do not record these events today. Without them, you cannot compute the metric, so adopt a system that timestamps work explicitly.

Rework rate

Rework rate is the percentage of changes that require revision after the first review. High rates point to misunderstood requirements, missed edge cases, or agents working on overlapping code paths without realising it. Low rates show agents are aligned with the team’s expectations.

Computing rework rate needs a link between the original change and any subsequent fixes. Most version control systems do not maintain this link automatically. Teams must record it explicitly or use a tool designed for this purpose.

Overlap frequency

Overlap frequency counts how often two or more agents edit the same files or functions within a short window. Each overlap is a risk: merge conflicts, duplicate fixes, or silent inconsistencies. Teams that track overlap can prevent it by reassigning work or merging changes in smaller batches.

To compute overlap, you need to know which agents claimed which tasks and which files they touched. Most agents do not publish this information today. Integrate a system that surfaces task ownership and file edits together.

How to start collecting these signals today

The first step is to instrument your workflow so agents record their state at key moments. The five tools each contribute to this in different ways. One tool can register when an agent starts a task, another can timestamp when the task is review-ready, and a third can capture decisions and assumptions made during the session.

Once you have these timestamps, compute review turnaround by subtracting the review-ready time from the merged time. For rework rate, count how many changes have follow-up commits that touch the same lines. For overlap frequency, group edits by file and agent within a rolling window and flag conflicts.

Teams that adopt these metrics quickly discover that their agents spend more time rediscovering context and fixing avoidable mistakes than writing new code. The signals shift focus from output to outcomes, revealing the work that once looked productive but is actually waste.

What to do when the metrics show problems

If review turnaround is long, shorten the task scope or add a pre-review checklist agents must complete before marking work as ready. If rework rate is high, tighten acceptance criteria or add a pairing step where a human reviews the agent’s assumptions before coding begins.

When overlap frequency spikes, split large modules, enforce file ownership, or stagger task assignments so agents do not claim adjacent work at the same time. Each overlap warning arrives when an agent claims work, which the five tools each contribute to in different ways.

Adjust your workflow so agents can succeed. Better signals let you see coordination gaps before they become rework or outages, and they give you a way to measure the impact of changes to your process.

Beyond the three signals

These three signals expose the most common failure modes when agents collaborate. You can extend the same approach to measure task completion time and decision stability. Each additional metric reveals another layer of the workflow that matters.

For example, task completion time measures how long it takes an agent to finish a task from start to review-ready. Decision stability tracks how often an agent reverses or revises a decision within a single task. Teams that adopt them often find agents spend more time waiting for answers than actually coding.

These metrics require richer records than the three core signals. Teams that adopt them uncover deeper issues in their workflow and can act before problems escalate.

The difference between output and outcomes becomes clear when you measure what actually matters: review turnaround, rework rate, and overlap frequency.

Measuring developer productivity with AI is not about counting what agents produce. It is about tracking what they prevent. The right signals expose coordination gaps before they become rework or outages, and they give you a way to measure the impact of changes to your process.

measuring developer productivity with aiai developer productivity metricscode review turnaround timerewrite rate for ai codeagent overlap in code changes

Common questions

What are the best metrics for measuring AI-assisted developer productivity
Focus on review turnaround time, rework rate, and overlap frequency rather than lines of code or pull request counts. These metrics reveal where coordination breaks down and rework happens.
Why are lines of code and PR counts poor productivity signals with AI coding
Both metrics are cheap for AI agents to manipulate, so high numbers often hide rework, duplicated work, or superficial changes. They don’t reflect actual progress or quality.
How do you measure review turnaround time with AI coding agents
Track the time from when a change is ready for review to when it’s approved. Short turnaround indicates clear requirements and good coordination; long turnaround suggests unclear scope or communication gaps.
What is rework rate and why does it matter for AI coding
Rework rate is the percentage of changes that require revision after initial review. High rates indicate poor task scoping, unclear requirements, or agents working on overlapping code paths.
How can you detect overlap between agents working on the same code
Monitor conflicts or duplicate edits on the same files or functions. Overlap warnings arrive when an agent claims work, which tools in the [five-tool set](/#solution) each contribute to in different ways.

written by

Alex Choi, AI Engineer

Builds tooling for teams whose code is mostly written by coding agents.

Give your agents one shared work-state.