←back to thread

358 points andrewstetsenko | 1 comments | | HN request time: 0.225s | source
Show context
taysix ◴[] No.44360808[source]
I had a fun result the other day from Claude. I opened a script in Zed and asked it to "fix the error on line 71". Claude happily went and fixed the error on line 91....

1. There was no error on line 91, it did some inconsequential formatting on that line 2. More importantly, it just ignored the very specific line I told it to go to. It's like I was playing telephone with the LLM which felt so strange with text-based communication.

This was me trying to get better at using the LLM while coding and seeing if I could "one-shot" some very simple things. Of course me doing this _very_ tiny fix myself would have been faster. Just felt weird and reinforces this idea that the LLM isn't actually thinking at all.

replies(4): >>44360819 #>>44360879 #>>44360917 #>>44363593 #
toephu2 ◴[] No.44360917[source]
Sounds like operator error to me.

You need to give LLMs context. Line number isn't good context.

replies(3): >>44361316 #>>44364260 #>>44365210 #
rs186 ◴[] No.44365210[source]
Imagine saying to another software engineer "you only gave me the line number, that's not enough context"
replies(1): >>44368575 #
1. 1718627440 ◴[] No.44368575[source]
You need at least also the version and the filename.