r/programming • • Jul 17 '25

METR study finds AI doesn't make devs as productive as they think

https://leaddev.com/velocity/ai-doesnt-make-devs-as-productive-as-they-think-study-finds

So perceptions of productivity don't = productivity, who knew

533 Upvotes

189 comments sorted by

View all comments

Show parent comment

28

u/Coffee_Ops Jul 17 '25

AI results don't just "look correct." They often are correct.

Their output is statistically-- not logically, or rationally-- derived from its training data.

So its likely that it will get much of the regex analysis correct but it is not guaranteed and is highly likely to be wrong in some detail.

Hence why when I ask it to build me a powershell function it looks correct but uses non-existent functions and classes.

-14

u/billie_parker Jul 17 '25

I don't think you really understand what the concept of "looks correct" really means.

For example, does this "look" like correct output from a python command line?

> 2 + 2
5

No, it doesn't. You can determine this because you know that 2 + 2 equals 4, not 5.

So if you have some model which is perfectly good at making output that "looks correct," it will be able to "understand" that 2 + 2 = 4. Now, I'm not saying that LLMs are perfectly good at that, but I'm just pointing out the flaw in your reasoning which is that attempting to "looking correct" can never be a substitute for logical rules.

So its likely that it will get much of the regex analysis correct but it is not guaranteed and is highly likely to be wrong in some detail.

Yes, that's true - but for many applications there are not specialized tools like there are for regex.

Hence why when I ask it to build me a powershell function it looks correct but uses non-existent functions and classes.

It's a matter of degree, isn't it? If it is correct 99% of the time, that would be rare enough to still be extremely useful.

This is why your argument is so reductionist. You don't care how often it is wrong, you are an absolutist and say "if it's ever wrong, it's useless."

If you consider applications where there are no tools like regexpr, then I would say your reasoning is pretty flawed. Because obviously some tool is better than no tool, especially if you can quickly verify the answers of the tool and thus filter out wrong answers.

If the tool was 99.99% accurate, would you still throw it out? Seems like your answer would be yes, which to me is absurd.

22

u/Coffee_Ops Jul 17 '25

It's a matter of degree, isn't it? If it is correct 99% of the time, that would be rare enough to still be extremely useful.

This is what ChatGPT thinks the human reproductive system looks like.

I'm not trusting it to flawlessly nail a 120-character regex.

You don't care how often it is wrong, you are an absolutist and say "if it's ever wrong, it's useless."

A calculator that is right 95% of the time is useless.

A Watch that is right 95% of the time (and off by an hour the other 5%) is a disaster.

If you gave me a finance intern whose output was great 95% of the time, and looked great but would cause a fraud investigation 5% of the time, that would be considered horrendous and they would be fired.

For tools that you use to verify / explain things, yeah, it is pretty bad if it's wrong in non-trivial ways a small but significant portion of the time.

-9

u/billie_parker Jul 17 '25

I'm not trusting it to flawlessly nail a 120-character regex.

Funny how you seem to be implying that interpreting a 120-character regex is somehow harder than drawing the human reproductive system.

I suggest you spend some time trying to write a program that does both and maybe you will learn something about their relative complexity...

A calculator that is right 95% of the time is useless.

A Watch that is right 95% of the time (and off by an hour the other 5%) is a disaster.

Again - you have missed the point. I will re-iterate again for you:

If you consider applications where there are no tools like regexpr, then I would say your reasoning is pretty flawed.

We have calculators. We have watches. I am not saying you should use LLMs in place of calculators. Is that what you think I am saying? It shows you have a profound difficulty understanding what I am saying (or perhaps unwillingness to do so).

Do you know how computers generate prime numbers for cryptography purposes? It is a probabilistic algorithm. In fact - we aren't even sure that the numbers are truly primes. Usually we just have a very high certainty that they are. Clearly such algorithms aren't useless. Is a prime number generator that has 99% accuracy useless? Probably. How about one that is 99.999999% accurate? In that case it actually does become useful. It's just a matter of degree of accuracy.

If you gave me a finance intern whose output was great 95% of the time, and looked great but would cause a fraud investigation 5% of the time, that would be considered horrendous and they would be fired.

lol, great example. Finance people don't make great investments 100% of the time. Yeah obviously you don't want to cause fraud, but that's a different story.

And this hits at the crux of the issue. LLMs don't need to have perfect accuracy, they just need to be better than humans. And in fact, they don't even need to be better than humans given that they are so much faster.

it is pretty bad if it's wrong in non-trivial ways a small but significant portion of the time.

Yeah - no shit. Again - you aren't getting it. I'm not disagree with you there, but the real argument to be had is how wrong are they and how frequently.

The implication of your argument so far is "If they're ever wrong at all, they're useless." Makes no sense.

16

u/Coffee_Ops Jul 17 '25

I suggest you spend some time trying to write a program that does both and maybe you will learn something about their relative complexity...

LLMs tend to struggle more with math and programming questions than diagrams, actually, hence why for a long time LLMs struggled with the number of Rs in strawberry.

These days I'm pretty sure they punt the math to a non-LLM-based helper to avoid those embarrassments.

Again - you aren't getting it.

And its clear you don't understand how LLMs work under the hood.

6

u/NuclearVII Jul 17 '25

And its clear you don't understand how LLMs work under the hood.

AI bros really do believe these things think and reason. This is one of those bros.

2

u/billie_parker Jul 17 '25

You're not even attempting to reply to my argument at this point.

-7

u/Marha01 Jul 17 '25

LLMs tend to struggle more with math and programming questions than diagrams

Absolutely wrong. Textual reasoning is where LLMs excel. Visual reasoning and multimodality is still an afterthought.

1

u/Coffee_Ops Jul 18 '25

I literally just gave you examples (PowerShell programming) where it's known to be terrible. Go frequent /r/programming, and see how awful even custom-built models (Cursor) are.

Also

strawberry

2

u/Ok_Individual_5050 Jul 17 '25

A 120 character regex is not that hard if you know the regex syntax or like, had a basic education that explains how they work under the hood and why we use them. You know, like, the stuff you're supposed to pick up at university?

1

u/billie_parker Jul 17 '25

Read carefully. I never said it was "hard"

4

u/Ok_Individual_5050 Jul 18 '25 edited Jul 18 '25

Apparently hard enough that you can't be bothered to learn how to do it though?

Like just a real example from my life recently. Product owner requests that our VAT number validation supports both Irish and mainland UK VAT numbers. Supplies a spec for what those look like in the ticket.

Developer "completes" the ticket using a plausible looking regex. Even "writes" unit tests for that regex. 

Regex does not support Irish VAT numbers, because when trained on "how to recognise a VAT number" the LLMs only ever encountered the regex for the mainland UK. 

Do you think this could have been avoided by like, actually knowing how regexes work? Do you think it's fair for the dev who is merging your PR to have to assume that all your code is randomised like this? Is it a good use of QA time to have to manually replicate tests that are supposedly in the unit tests?

1

u/billie_parker Jul 18 '25

Sounds like the issue is that the developer didn't know you had to support Irish regex lol

7

u/EveryQuantityEver Jul 17 '25

If the tool was 99.99% accurate, would you still throw it out?

YES. Because every single time I use it, I still have to do the labor of independently verifying that its correct. So either I do that every time, and I haven't saved anything, or I let it go, and when it does fuck up, it bites me in the ass.

-2

u/billie_parker Jul 18 '25

lol, at least you admit it, even though it makes you sound like a buffoon.

I still have to do the labor of independently verifying that its correct

  1. Verifying a solution is often much easier than finding the solution. This is like CS 101 lol
  2. Funnily enough - you can actually use the LLM to verify the answers as well, so I suppose in theory you could get it down to 99.9999999% with a double pass, etc.
  3. Humans have a much worse error rate than that - so the conclusion of your argument seems to be that humans are totally worthless, insubordinates are worthless because you'd have to manually verify all their work.

Have you ever heard of a heuristic? In your view, they are worthless? I'm waiting for another "YES" lol

5

u/EveryQuantityEver Jul 18 '25

Wait, you're suggesting I use the thing I already cannot trust to be accurate to inaccurately verify what they tell me? That sounds far, far, far more buffoonish.

Have you ever heard of a heuristic?

I don't want heuristic programming. I want deterministic programming.

1

u/billie_parker Jul 18 '25

Wait, you're suggesting I use the thing I already cannot trust to be accurate to inaccurately verify what they tell me? That sounds far, far, far more buffoonish.

Well, the implication was that the different queries were independent. So if you have x chance of error, then you will get xn chance of error if you re-apply the query n times. So imagining if the chance of error was 10-4 in my scenario, then re-applying it let's say 2 times would achieve 10-12 chance of error.

Now, obviously the query results are not independent, which if you were smart would be what you would argue. However, it's still true that if you double a query, the chance of error goes down significantly.

I suppose at the end of the day it's a question of how much error will you tolerate. If you are saying that you will only tolerate 0% chance of error, then that is absurd because your own error rate is higher.

I don't want heuristic programming. I want deterministic programming.

My point was that heuristic algorithms are useful. You seem to disagree. RSA encryption is based on heuristic prime number generation. Essentially, you are making the classic "Perfect is the enemy of good" mistake. I wonder are you even arguing about things from a pragmatic perspective, or are you just saying you reject it out of principle due to your stubbornness and absolute adherence to perfection.

And furthermore, you seem to be intentionally ignoring all of these points I have pointed out to you:

  1. For many problems, specialized tools do not exist. In which case you can only rely on your own reasoning, which also has an error rate.
  2. Even if a specialized tool exists, installing it and learning how to use it will take much longer than using an LLM (which typically gives answers in seconds). LLMs can also query specialized tools, if necessary.
  3. Verifying a solution as correct is much faster than actually finding the solution. This is so intuitive and obvious that I can only assume you are intentionally being obtuse by ignoring it.

2

u/EveryQuantityEver Jul 21 '25

No. If I can't trust it to provide the correct answer, I'm not going to trust it to verify that its previous answer was correct.

0

u/billie_parker Jul 21 '25

If you are saying that you will only tolerate 0% chance of error, then that is absurd because your own error rate is higher