In July 2025, METR ran the first proper study of AI coding tools on experienced open-source developers: 16 developers, 246 real tasks. With AI allowed, they were 19% slower. Before the study they'd predicted a 24% speedup. After living through the slowdown, they still believed they'd gotten 20% faster.
Nobody lied. Nobody was stupid. It's just the cleanest demo I know of why engineering metrics fail: they trusted a number that had quietly stopped matching reality.
I run a team of nine engineers as a player-coach Tech Lead at Mapal, so I live inside these dashboards. Here's what I've learned: engineering metrics go wrong in four predictable ways. Once you can name them, you'll see them everywhere — and you'll know what's still worth measuring.
The Dashboard Says Green. The Codebase Says Otherwise.
The METR delusion isn't confined to a study. DORA's 2025 report found that 90% of technologists now use AI and more than 80% say it's made them more productive. Meanwhile GitClear looked at 211 million changed lines and found refactoring collapsing and code clones up eightfold over the same period. All of this happened in the year AI-tagged pull requests went from 14% to 51% of merged work across the 259 companies Jellyfish tracks.
So half the industry feels faster while its code gets messier. Both things are true, and the reason is simple: the feeling is a broken measurement.
There are four mechanisms that break measurements this way. They all predate AI. AI just turned the volume up.
flowchart TD
A["Countable Proxy Selected<br/>(e.g., Lines of Code, PR Count, Velocity)"] --> B["Incentive Attached<br/>(OKRs, Status, Bonus Targets)"]
B --> C["Gaming & Optimization<br/>(Feeding the proxy instead of the mission)"]
C --> D["Signal Decouples From Value<br/>(Code bloat, review queues, fragile releases)"]
D --> E["Dashboard Green<br/>System Decaying"]
1. Your Metric Was Never the Work (Proxy Rot)
Every engineering metric is a proxy. Lines of code stand in for output. Story points stand in for progress. PR counts stand in for shipping.
A proxy is fine until someone forgets it's a proxy. The moment you start optimizing the stand-in, it stops resembling the thing it stood for.
The classic case is Bill Atkinson's QuickDraw optimization at Apple. He deleted roughly 2,000 lines of code — one of the best pieces of engineering work of his career. Under Apple's lines-of-code tracking at the time, it registered as negative productivity.
The metric wasn't wrong. It was never right. It counted volume because volume was countable, and it missed exactly the work that compounds: deletion, simplification, and architecture.
The rot follows the same five steps every time:
1. Someone picks a number because it's easy to collect.
2. At first it weakly tracks the goal.
3. Leadership starts steering by it.
4. Everybody optimizes toward it and the link decays.
5. The dashboard climbs while the actual goal drifts away.
Velocity-as-output is today's version of that story. Velocity measures a team's own historical estimates, not user value delivered. You can inflate it forever without shipping anything anyone wants. When striving for sustainable engineering productivity, output volume must never be confused with deep, durable engineering impact.
If you take one rule from this post, take this one: when a measure becomes a target, it stops being a good measure. That's Goodhart's Law.
2. Add a Bonus and People Feed the Number (Goodhart Pressure)
Proxy rot happens by neglect. Goodhart pressure happens by design. The second a metric carries money, ratings, or status, people start feeding the number instead of doing the mission.
This isn't hypothetical. There's a documented case of delivery metrics tied to bonus targets: teams split routine dependency bumps into micro-deploys to inflate deployment frequency, and on-call engineers logged service degradations as customer inquiries
instead of incidents to protect the change failure rate. Nobody noticed until a real outage rolled over the fake numbers.
If you manage, you know how that happens. Quarterly targets land on your desk and a metric you didn't choose is suddenly what your team's pay depends on. The gaming that follows isn't malice. It's the response you trained into the system.
Here's the part most leaders miss: gaming doesn't just produce bad decisions; it destroys the instrument. LinkedIn's Developer Productivity Healing framework warns that once individual change counts feed performance ratings, aggregate trends stop meaning anything — you can't tell real improvement from defensive gaming anymore. The dashboard isn't just wrong at that point. It's unrecoverable.
So no, delivery metrics aren't dead — but they're dead as bonus targets. Use them to diagnose the system and they work. Point them at someone's paycheck and you've broken your own measuring stick. For a blueprint on doing this right, see our guide on responsible DORA metric implementation.
The Goodhart's Law Engineering Matrix
To safeguard your team against metric gaming, every primary indicator must be paired with an opposing counter-metric (anti-metric):
| Primary Metric | Original Operational Intent | How Teams Game It Under Pressure | Counter / Anti-Metric Pairing |
|---|---|---|---|
| Deployment Frequency | Measure batch size reduction and shipping agility | Splitting dependency bumps or trivial typo fixes into dozens of micro-deploys | Change Failure Rate & Customer Bug Volume |
| Lines of Code (LOC) / PR Volume | Approximate shipping throughput | Generated boilerplate, un-refactored copy-paste, resisting deletion | Code Churn & Refactoring Ratio (GitClear) |
| Story Points / Velocity | Internal team capacity calibration for sprint planning | Point inflation; estimating trivial 2-point tasks as 8s or 13s | Cycle Time (P85) & Work-In-Progress (WIP) |
| Code Coverage % | Identify untested edge cases and critical execution paths | Assert-less unit tests or testing auto-generated getters/setters | Mutation Test Score & Production Incident Rate |
| Mean Time to Resolve (MTTR) | Minimize customer-facing downtime | Downgrading Sev-1 outages to unplanned maintenanceor closing tickets prematurely |
Reopened Incident Rate & SLA Breaches |
3. Developers Are Terrible at Measuring Themselves (Perception Bias)
Back to METR, because the real finding isn't about AI. It's about introspection.
Those 16 experienced developers were 19% slower with AI tools and walked away believing they'd been 20% faster. They predicted faster. They experienced slower. They remembered faster. Three numbers, and the memory was furthest from the truth.
The team feels faster
is not a metric. The team feels slower
isn't a counter-metric either. Neither feeling is calibrated.
The blind spot runs the other way too, and it costs just as much. SPACE — the developer productivity framework from ACM Queue — found that productivity and satisfaction move together, and that a drop in satisfaction can be a leading indicator that productivity is about to fall. Most dashboards have no slot for it. That's flying with your only early-warning sensor unplugged.
Good news: you can fix perception bias with better instruments. Bad news: the instruments are getting bent too. Which brings us to the failure mode defining modern engineering teams.
4. AI Made the Numbers Worse, Not the Metrics (Volume Distortion)
Before AI, output metrics were a soft proxy for quality. Now output and quality point in opposite directions.
Jellyfish studied 500+ companies with OpenAI and found that going from 0% to 100% AI adoption comes with +113% PR throughput and 24% faster median cycle time. Leadership sees that and asks why you'd ever say no to tools.
Look underneath:
* AI-assisted PRs are 18% larger, driven by net new code rather than rework.
* GitClear's 211M-line analysis shows moved (refactored) lines collapsing from about 25% of changed lines in 2021 to under 10% in 2024, while copy-pasted lines climbed from 8.3% to 12.3%.
* DORA's 2024 report estimated that each 25% increase in AI adoption came with a ~1.5% decrease in delivery throughput and a ~7.2% increase in instability.
By 2025 DORA's throughput number turned positive, but instability kept rising. That's the honest summary: AI amplifies the system you already have, good or broken. If your pipeline was fragile, AI means more defects, shipped faster, with better-looking PR metrics. And those inflated PRs land on your senior engineers in review — the bottleneck examined in Must-Have LLM Skills and Agents for Engineering Managers.
When leadership wants an AI ROI
number, say this: the throughput gain is real but vendor-reported and inflated by bigger PRs. Instability is the signal to watch. An honest claim pairs quality with speed — churn, duplication, recovery time — not activity counts alone.
So Should You Stop Measuring?
If every metric can be gamed, misread, or just plain delusional, is measuring engineering performance just surveillance with extra steps?
No. The four failure modes aren't an argument against measuring. They're a spec for how to measure.
Every disaster came from using a metric for something it was never designed for. Deployment frequency is a system-health signal, not a bonus input. PR counts are activity, not value. Feelings are hypotheses, not data.
One question separates diagnosis from surveillance: who is this measurement for, and what decision does it serve? Team-level flow and stability metrics tell you how the system is doing. Individual output counts watch people — and poison the team data in the process.
If you have a team of eight and no data engineer, the minimum viable set is small:
1. Pull deployment frequency and recovery time from failed deploys out of your CI logs.
2. Get your cycle-time distribution (P85) from your issue tracker.
3. Add one recurring, anonymous satisfaction pulse.
Four numbers, all system-level, none attached to a bonus. That's already more honest than most enterprise dashboards.
What to Actually Measure: The Five Metric Families
Five metric families carry real signal in engineering:
| Family | What it measures | Key Primary Metrics | Balanced Counter-Metric |
|---|---|---|---|
| DORA / Delivery | System speed and stability | Deploy frequency, change lead time | Failed deployment recovery time, change failure rate |
| Flow | How work moves through queues | WIP, cycle-time distributions (P85) | Throughput, Little's Law balance |
| Quality | Codebase durability and debt | Churn rate, code duplication | Refactoring share, escaped defect rate |
| People | The human production system | Cognitive load, perceived friction | SPACE survey scores, retention |
| AI-Era Productivity | Net value delivered vs. rework | True feature throughput | PR review backlog time, post-merge bug rate |
In one line each:
* DORA tells you what's happening to shipping throughput.
* Flow tells you where queues are backing up.
* Quality tells you what you're mortgaging to hit this quarter's release.
* People metrics tell you who is paying for the shortcuts.
* AI-era activity metrics tell you almost nothing unless balanced by stability.
Flow metrics obey physics where vanity metrics obey politics. Little's Law ties them together: Cycle Time = WIP / Throughput. That equation is why your instinct for fixing long cycle times — starting more work — mathematically makes them worse. The metric families that survive Goodhart pressure are the ones with laws underneath them.
Related Reading
Slow Productivity in Software Engineering: Building Better Code, Not Just More Code
The office is buzzing.
DORA Metrics Are Not a Performance Review: Using Delivery Metrics as Designed
Faros AI's telemetry across thousands of organizations measured the AI rollout's effect on delivery: PRs merged per
Must-Have LLM Skills and Agents for Engineering Managers (2026 Guide)
Ninety percent of developers now use AI in their daily workflows, and nearly every engineering team feels faster.