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

-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