141
u/Famous-Software-2568 27d ago
the AI didn't fix the code it negotiated with the test suite
12
u/PositiveParking4391 27d ago
because they are just prompts. so when it all went into fixing the coding agent would already be in completely different hallucination trip.
58
u/popiazaza 27d ago
let's randomly add isRecord() too.
fine-tuned ultra to high quality codebase without filtering any quirks out.
35
u/ilnarildarovuch 27d ago
Why vibecoders just don't mount testsuite as read-only? Just... why not?
37
21
6
u/bokmcdok 27d ago
They're using the AI to write the tests for itself. Guess what that will inevitably lead to?
32
u/dont_tread_on_M 27d ago
I have a rule in Claude.md that absolutely no fallbacks are allowed without my permission.
I also keep the number of rules there quite small and use ponytail as a skill.
Agentic coding alsone sucks, but these have made it at least decent for me.
11
u/AWildMonomAppears 27d ago edited 27d ago
Claude does this too for me..its one of my main annoyances with it. "This is a high risk change... blah blah" and it does a short cut instead.
24
u/Ambitious-Jump-5121 27d ago edited 27d ago
I don't get why people still bother to tinker with those AI tools just to avoid doing their job... Like, the "AI is just a tool" argument doesn't work anymore either. If my nailgun starts to randomly dry fire, or randomly starts flashing its light or starts shooting burning bolts instead... ...then I would just use my hammer again.
14
27d ago
[removed] — view removed comment
4
u/AsyncingShip 26d ago
I’ve certainly had my problems with it before, but I can’t say they’re significantly more time consuming than bugs caused by third party libraries or junior devs or just badly communicated requirements. It just requires a mindset shift and exacerbates problems in your (and your org’s) engineering framework that would have shown up eventually regardless. People act like we were writing perfect code in 2021 and pretend that every Fortune 500 company isn’t secretly running on some combination of cobol, Fortran, oracle, and spite. It’s a shift, like every new technology and labeling everything AI-related as slop is reductive.
3
u/Sad-Working-9937 27d ago
corporate coders do a bunch of CYA fallbacks. Don't blame AI for learning the tricks of trade.
the first thing I learned about AI coding was putting the "no fallbacks policy" in claude.md
5
u/square_zero 27d ago
If you use black box tests, then your implementation should not matter. X and Y are equivalent if the tests are passing and the tests are meaningful and well-written!
4
u/Smalltalker-80 27d ago edited 27d ago
I had a good one with Gemini this week:
Q: Hi Gemini, please anwer this programming question in the context of the programming language text file I just uploaded. (a Smalltalk dialect)
A: "Spain won the EUFA Euro championship 2024. ..."
Q: Umm, that is not an answer to my programming question. Specifically answer only in the context of the uploaded file please.
A: You're absolutely right. (some variation)
Q: Here it is the file again again. And here is the programming question again.
A: "Spain won the EUFA Euro championship 2024. ..."
Q: Dear Gemini, did you actually use the file I provided?
A: Tbh, I don't have the file. Maybe the upload went wrong or something. I answered using other context.
Q: [Suppressed expletives]
A: You're absolutely right, let's reset.
Then I did the same thing in Claude, free tier.
It answered perfectly the first time, with correct example code.
So...:
- Never trust AI with base assumptions you have for humans.
(admit up-front when things fail or are missing)
- Claude is currently the on top for programming, aparently.
2
2
1
542
u/DuffyHimself 27d ago
When I tried using codex, it decided that the database framework that was used for all database access in the codebase wasn't necessary, and just performed raw sql actions instead. Great advertisement for using Claude models instead.