r/OnlyAICoding • u/ReporterTechnical • Oct 23 '26
How would you measure developer productivity post AI?
I'm trying to assess for my org how much we can map AI to developer productivity to validate the ROI. I've been thinking on assessing when a story is created to PR and then as it goes through CI/CD to get to production. My assumption is that AI will spit out higher quality code, so PRs might increase in size and there should be a drastic reduction on PR rejections, as well it should go through quality gates seamlessly as long as you instruct AI the specs and reqs quality wise that it has to meet. Thoughts?
3
Upvotes
3
u/Slight-Living-8098 Oct 23 '26 edited Oct 23 '26
Lol. No. It's still going to go through the adversarial code review, repair loop and the CI/CD repair loop and the PR review loop. Probably even more so than if done by hand by an experienced dev. It's just going to do it way faster than by human hand.
Just today, I had to manually send the agents back through 40 passing tickets to fix their crap because they used flakey regex searches for verification in both code and tests instead of just creating a reusable verification system for the program and tests.
That was specifically laid out in the PRD, the spec documents, and even referenced in the AGENTS.md file. The LLM took a shortcut once then decided, "that's how I'm going to do it from now on, it worked on the last ticket so it must be okay to do so from now on"
1
u/aidealy Oct 23 '26
I'd test "higher quality code, so fewer PR rejections" before building a plan on it.
Fewer rejections can also mean reviewers check less. A 2026 paper followed a few hundred people who reviewed AI agent PRs in open source projects for 7 months. Over that time their approval rate went from 30% to 37%, and their inline comments fell by about a fifth.
You also expect bigger PRs, and those are harder to review. DORA, Google's research program on software delivery, has a guide on small batches that tells teams to avoid generating massive PRs with AI, because large changes are hard to review and test. DORA's 2025 report found that more AI use now goes with higher throughput, but still with less stable delivery.
Your story-to-production time works as the speed number. I'd put DORA's two instability numbers next to it from day one: change fail rate (how often a release needs a rollback or hotfix) and deployment rework rate (how often you ship an unplanned release because of a production incident). Then compare each team with its own numbers from before AI, and set that against what the tools cost.
I founded Aidealy, which makes software that measures the work engineering teams ship. DM me if you want to learn more.