by weakfish · 2mo ago · 0 comments
The other version of it is the robot over-indexing on some part of the prompt and leaving comments places. An example is I ask it to prefer integration tests using TestContainers, it starts adding comments to every new test saying “Real services, no mocks” or something.
And yes, I have a line in my *.MD saying not to do that.
Of course, I quickly reverted this change as purple elephants started cropping up in comments and other prose :)
I don't understand why negative prompts never made it into the LLM world. If "no foo" and "dont do bat" don't work then just give me a separate textbox where i can put all my negatives!
They just also really love to tell you about it.
And btw, if you have slop comments in your PR, you'll get a review from an agent (my company pay for it). I won't bother to read if you didn't bother either.
Ymmv, I also hate it when people dont read their own PR first though. But I know I've previously identified comments as LLM written which the dev... On further discussion definitely wrote themselves. So you gotta keep the false positives in mind.
"Here's the argument, in plain terms", "It's not just X, it's Y", "It's worth stating precisely", "The sharper distinction here"... They're things that gesture toward the relationship between the text and the prompt, making it clear where it matched the author's expectations and where it deviated.
Not that humans are immune from coding/writing for their boss instead of their user/reader!
Any vibe coded site that deals with files and works client-side feels an INCESSANT need to inform you of this fact.
Definitely seems like the same kind of context leakage. “I don’t want to spin up a server, can you make it work in the browser?”
Some of the other examples there are equally error prone. The glass example, is something pioneered by Apple too. And was added to CSS before vibe coding. It’s also an effect I mirrored years ago in a UI I built in SDL.
The coloured box example struck me as good UX too. The stuff that needed more urgent attention had a more reddish tone. That makes complete sense. And having those fields a different colour makes it easier for users to pick out specific elements quickly (like how icons are used too).
The problem with AI slop is that it’s trained on good code as well as bad. This is like the arguments against the Oxford comma and em dash all over again.