Two things LLM coding agents are still bad at
131–140 of 382 posts
Re: Two things LLM coding agents are still bad at
#132Earlier quoted context omitted.
In these cases I explicitly tell the llm to make as few changes as possible and I also run a diff. And then I reiterate with a new prompt if too many things changed.
You can always run a diff. But how good are people at reading diffs? Not very. It's the kind of thing you would probably want a computer to do. But now we've got the computer generating the diffs (which it's bad at) and humans verifying them (which they're also bad at).
Re: Two things LLM coding agents are still bad at
#133On a more important level, I found that they still do really badly at even a minorly complex task without extreme babysitting. I wanted it to refactor a parser in a small project (2.5K lines total) because it'd gotten a bit too interconnected. It made a plan, which looked reasonable, so I told it to do this in stages, with checkpoints. It said it'd done so. I asked it "so is the old architecture also removed?" "No, i…
I was hoping that LLMs being able to access strict tools, like Gemini using Python libraries, would finally give reliable results. So today I asked Gemini to simplify a mathematical expression with sympy. It did and explained to me how some part of the expression could be simplified wonderfully as a product of two factors. But it was all a lie. Even though I explicitly asked it to use sympy in order to avoid such hal…
Re: Two things LLM coding agents are still bad at
#134Lol this person talks about easing into LLMs again two weeks after quitting cold turkey. The addiction is real. I laugh because I’m in the same situation, and see no way out other than to switch professions and/or take up programming as a hobby in which I purposefully subject myself to hard mode . I’m too productive with it in my profession to scale back and do things by hand — the cat is out of the bag and I’ve set…
Why do this to yourself? Do you get paid more if you work faster?
Re: Two things LLM coding agents are still bad at
#135Re: Two things LLM coding agents are still bad at
#136Recently, I asked Codex CLI to refactor some HTML files. It didn't literally copy and pasted snippets here and there as I would have done myself, it rewrote them from memory, removing comments in the process. There was a section with 40 successive links with complex URLs. A few days later, just before deployment to production, I wanted to double check all 40 links. First one worked. Second one worked. Third one worke…
Just before sending I noticed that it had moved the event date by one day. Luckily I caught it but it taught me that you never should blindly trust LLM output even with super simple tasks, no relevant context size, clear and simple one sentence prompt.
LLM's do the most amazing things but they also sometimes screw up the simplest of tasks in the most unexpected ways.
Re: Two things LLM coding agents are still bad at
#137You should either already know the answer or have a way to verify the answer. If neither, the matter must be inconsequential like just a child like curiosity. For example, I wonder how many moons Jupiter has... It could be 58, it could be 85 but either answer won't alter any of what I do today.
I suspect some people (who need to read the full report) dump thousand page long reports into LLM, read the first ten words of the response and pretend they know what the report says and that is scary.
Re: Two things LLM coding agents are still bad at
#138Lol this person talks about easing into LLMs again two weeks after quitting cold turkey. The addiction is real. I laugh because I’m in the same situation, and see no way out other than to switch professions and/or take up programming as a hobby in which I purposefully subject myself to hard mode . I’m too productive with it in my profession to scale back and do things by hand — the cat is out of the bag and I’ve set…
> I’ve set a race pace at work that I can’t reasonably retract from without raising eyebrows Why do this to yourself? Do you get paid more if you work faster?
Re: Two things LLM coding agents are still bad at
#139Earlier quoted context omitted.
i find the chirpy affirmative tone of claude to be rage inducing
This. The biggest reason I went with OpenAI this month...
All while having the tone of an over caffeinated intern who has only ever read medium articles.
Re: Two things LLM coding agents are still bad at
#140Agreed with the points in that article, but IMHO the no 1 issue is that agents only see a fraction of the code repository. They don't know whether there is a helper function they could use, so they re-implement it. When contributing to UIs, they can't check the whole UI to identify common design patterns, so they re-invent it. The most important task for the human using the agent is to provide the right context. "Loo…
I wonder if a large context model could be employed here via tool call. One of the great things Gemini chat can do is ingest a whole GitHub repo. Perhaps "before implementing a new utility or helper function, ask the not-invented-here tool if it's been done already in the codebase" Of course, now I have to check if someone has done this already.
Just like with humans it definitely works better if you follow good naming conventions and file patterns. And even then I tend to make sure to just include the important files in the context or clue the LLM in during the prompt.
It also depends on what language you use. A LOT. During the day I use LLMs with dotnet and it’s pretty rough compared to when I’m using rails on my side projects. Dotnet requires a lot more prompting and hand holding, both due to its complexity but also due to how much more verbose it is.