Hacker News new | ask | show | jobs
by rbehrends 20 days ago
> For many engineering jobs, P(AI mistake) is very low and decreasing

This is not my experience. Well, at least not for what I'd consider very low.

For example, I have a standard task of adding support for a well-specified regex scheme as a dependency-free module to the Wren language (which grew out of actually needing it at one point). When done autonomously, errors still occur, some of them very basic. For example, trying Fable 5.2 at medium the other day produced the following:

- memory unsafe behavior on 32-bit architectures (the good old problem of size overflowing on an allocation call).

- O(n^2) behavior for searchAll() and replaceAll() operations.

- Various minor subtle semantic issues, though none of them particularly critical.

This is a well understood problem, and in general, Fable's construction (Thompson NFA by way of a Pike VM) was in principle correct, but it still had these pretty basic problems. (Other frontier models produced their own, e.g. a use-after-free bug or a combinatorial explosion in the regex compiler for some types of regexes.)

(As an aside, so far I don't consider Fable 5.2 an improvement over Opus 5.5 in coding ability, more of a sidegrade; while it is smarter and can do some hard, but also pretty esoteric stuff that Opus fails at or takes much longer with, for regular coding problems it's neither better nor worse, more ... different. And sometimes Fable seems to outsmart itself, producing a seemingly clever solution from its vast knowledge that is actually worse than the standard approach in practice.)

One area where I absolutely do not trust even frontier models yet is parallel and distributed programming. I absolutely value them as a second set of virtual eyes for tricky situations in this area, but I do not trust them to get things right, and even if the solution is correct, it's often inefficient or convoluted.

2 comments

Your work sounds interesting, but I hope you agree that it’s not representative of the median engineering task.

Futhermore, what would be the organizational cost if these bugs were in the codebase?

> Your work sounds interesting, but I hope you agree that it’s not representative of the median engineering task.

This was actually from a personal project, and my point was not about the type of task, but the types of errors I am still seeing from modern LLMs.

> Futhermore, what would be the organizational cost if these bugs were in the codebase?

The particular errors that I highlighted above are what I call "landmines". They may not manifest at all depending on what you do, but if they do, they can hurt a lot, especially in production.

Most devs don't even know Wren exists, and their job can be easily automated by Workato, Boomi, SitecoreAI, Optimizely Opal, PowerPlatform, ....
That this is in the context of Wren is completely inconsequential here. It was just what motivated the original task (because of lacking functionality). What I was pointing out was that fundamental coding errors such as memory safety errors or O(n^2) code still happened with what is considered one of the most advanced models we have, even though this was overall pretty clean code.
In that case, still quite similar to the quality of offshoring projects with Human Intelligence, thus management hardly cares.
No disagreement (except that I wouldn't generalize it for all management), but I was only arguing a limited point about the likelihood of AI mistakes.