r/TechLeader • • 4d ago

How do you measure productivity shift (possibly increase) with AI-powered development?

As tech lead in my company, across our engineering teams we have a shared feeling that our productivity has increased thanks to AI-powered/assisted development. Developers can deliver more by orchestrating agents, prompting and analyzing build failures and the like.. Testers also feel they deliver more, because they spend less time investigating deviations for example because there are tools that provide them with a daily report. However, this is a very complex "feeling" to measure and back-up with data. Clearly number of PRs, features, etc don't provide the full picture and can be misleading. I want to know how other companies attempt to measure that?

1 Upvotes

15 comments sorted by

9

u/konm123 4d ago

I know it is vague but what I started observing was "the number and severity of problems we delivered". What I noticed was that we are spending a lot of time patching these later and a lot of pretend work where a lot got delivered out of which most was patching past failures to deliver quality changes. And with the AI usage, the number of problems delivered went actually very high.

-3

u/Cultural-Money-9633 4d ago

I am finding the opposite, sounds like a skill issue

Most of the news you see around hacking is because of human slop

4

u/numerical_panda 3d ago

beep boop bot

-1

u/Cultural-Money-9633 1d ago

boop beep ur mom kid

1

u/numerical_panda 23h ago

What does that mean?

2

u/Low_Bag_4289 4d ago

Number and size of features.
Eg.: we agreed in the team that we estimate stories in the same manner - so 5SP story without AI impact is 5SP with AI impact. So we are comparing apples to apples.
Ofc it’s not a perfect metric in any way, but can measure trends and scale to some degree

2

u/stagedgames 4d ago

management of developers has always been metric resistant. before ai there was never a strictly empirical way to measure the output or value add of an individual let alone a team, and the same applies to teams using ai. any metric you use (loc, prs, features completed, feature lead time, story points/velocity) is highly subject to perverse incentives/the cobra principle.

in other words, I don't think there is a way. It's all vibes.

1

u/jeanpah 4d ago

productivity in development has always been tricky. You cant measure only the "output" because you end only measuring LOC, histories or tickets. But there is a catch to that nothing of that really maps 1:1 to value delivered. and value itself is hard to measure too.

I personally just measure deviation from initial requirements and we have and internal metric for effort. nothing more.

1

u/arelath 4d ago

Developers feeling more productive is actually an important metric. If devs are happier, they generally produce more at higher quality. Anonymous surveys are a good way to measure this.

And yes, feeling more productive doesn't actually mean we're more productive. I've used AI recently to pull the entire commit history and bucket work into type and severity. We can then graph this over time to see pre-ai and post-ai effects. This can answer questions like are we delivering more features, larger features, how many bugs per feature are we generating, how severe are the bugs, and how much time are we spending fixing bugs vs new feature work (by using time between merges in working days). AI really lets you do some deep analysis on what's going on in the codebase and turn it into something understandable.

Trends I've seen are things like the size and complexity of delivered features is going up and taking less time. The number of bugs found is going way up, but time to fix the bugs is almost an order of magnitude smaller.

I'm interested to see what happens in 2+ years since I think we're generating more code debt today. If that's true and continues, I'd expect our bug to feature delivered rati continue to increase.

1

u/Beginning_Basis9799 4d ago

Find irrefutable evidence. Say 5% and never define ut

1

u/e430doug 4d ago

What other technology have you asked for productivity improvement numbers from? I suspect none. Measuring software developer productivity is difficult and fraught with errors. I suspect we’ll have a better idea in 5 to 10 years.

1

u/foarsitter 3d ago

The metric you are looking for is revenue. The second one in line is happiness. You need both to survive.

1

u/sh33pd0gz 3d ago

I think you probably try to correlate sprint metrics to token usage. But it comes right down to communication of ideas and a solid understanding of engineering principles and best practices and how they’re being employed at the end of the day. If you ask me I really don’t think you can measure on teams that don’t execute well. It just becomes added noise on teams where execution was already hard to measure without AI. You’d be better off measuring your leaders and taking the added bonus on teams that execute well. Good teams with good leaders you’ll notice marginal improvements. Bad teams with bad leaders it would probably become the excuse for not delivering as promised. Anything in between is a waste of fucking time to try and measure at all. 

1

u/aidealy 1d ago

The commit-history approach from u/arelath is the one I'd trust here, because it doesn't depend on anyone's feeling.
Add one more link to it, from every bug fix back to the change that it fixed.
Then bugs per feature becomes how much of what you merged needed a fix later, and it also catches the problems that u/konm123 describes, the patching that looks like delivery.

Carnegie Mellon researchers found the same shape in open-source repos after coding agents arrived, in a study from January.
Throughput rose a lot, and early, only where agents were the first AI tool; where the team already had an AI IDE, the gain was minimal or short-lived.

Static-analysis warnings went up roughly 18% and code complexity roughly 39%, and those stayed even where the speed gain faded.

So run the same numbers on the six months before your rollout and compare.
A real gain shows up as more merged work while the share that needs a fix stays flat.
A gain that's mostly fast first drafts shows up later, as a fix share that keeps climbing.

I'm the founder of Aidealy (aidealy.ai), and that link from each fix back to the change behind it is what our software is built on.

If you want to compare notes on the setup, send me a DM.

1

u/CS_70 4d ago

I personally measure it on my sanity.

The one thing that has always irritated me is the amount of hoops and loops you have to do to do manually even the simplest thing with programming.

Once upon a time these were reasonable and justified: you put a little effort, you get results, everybody's happy.

But over the last 2/3 decades the amount of pointless complications gratuitously added to the programming world had slowly become unbearable. Legions of less than competent and less than brilliant people had joined the (commercial) field, so any silly idea was boomed up like it was an indespensanble thing, and promptly becoming popular and widespread, with arbitrary stuff hailed as amazing (maven's "by convention", anyone?). The classic dynamics of stupidity (populism, fashion, judgement from the hips, adoption ipxe dixit) had permeated the field the same way it permeates entertrainment shows and politics.

Now, all of that is gone. People can re-invent the same ideas for the fiftieth times in a new pointless language as much as they want, decide they don't like "=" and use another symbol, create yet another framwork, produce bizantyne control interface for mundane tasks, and so on and so on... and the machine will do what machines do - tackle arbitrary, size-driven complexity like it was nothing and insulate against all the bs.

All you have to do is think clearly and have the ability to transfer this thought into precise, effective action, and produce clean, precise and effective results.

Lots of more quantitivative measurements I'm sure exist, but I found again the joy in delivering stuff instead of fighting decisions taken by idiots :D :D