Hacker News new | ask | show | jobs
by pron 19 days ago
A simple reason could be the age of the codebase. New code contains more serious bugs, and younger projects are made up of more new code than more mature projects. In older code, especially well-used older code, many serious issues have already been found and fixed.
1 comments

It’s not a reason for the wide chasm though.

If you told me that some significant number of Ant findings were duds, then I could reconcile that with what I saw first hand.

But TFA is making a more extreme statement

The reason is that's just how AI is. It has a very jagged edge of experience. In some ways it's bizarrely wrong and in some ways it seems like a mystical crystal ball.
One thing I should've expected in those reports but didn't is that some maintainers end up nitpicking the reports instead of just doing the best to address the issues. When discussing the LLM code reviews, one author was arguing the security reports are really bad - it turned out that I completely disagree on the judgement they made. Instead of accepting that something can be improved, they argued how unlikely something is, how the project doesn't make this kind of guarantee, how that's an API user error... instead of saying:

- Yeah, we could check the parameter here. Currently we don't return any result so let's add a success/failure response rather than silently failing.

- This is a highly unlikely situation, but let's harden it anyway in case things change and it bites us in the future.

I don't know how many end up in that situation, but it was a whole category of people claiming the LLM reviews are bad, that I haven't really considered before.

Yeah, I don't think we can ignore the small issues anymore.

No matter how unlikely the issues seem to us, an LLM will happily chain dozens of them and do complex timing attacks to eventually gain access.

Likely difference between individual experience and group experience.

Useful to figure out if there are other cases like yours, so then commonalities can be inferred.

Totally

I’m just sharing my data point

The post is making a statistical statement, not a universal one, and the examples it gives are of established codebases. If most reviewed code is older and well-used, I think we're seeing what we would expect to see (assuming the LLMs almost always find something to report).
LLMs will always have something to report. However, if just 0.5% of these are worth fixing like this post mentions, we have to question whether the signal outweighs the noise.
Right, but the statistics for an individual project can be very different from the averages over all codebases, especially if the project is not similar to most code that's being scanned.