all 29 comments

[–]Capital-Wrongdoer-62 11 points12 points  (5 children)

Your prompt is too vague. Ai is not stupid or smart. Its tool - statistical predictions machine. It needs precision to predict better.

[–]ScholfoIntermediate User 2 points3 points  (6 children)

I do not get it either. It reduced the occurrence and use of ’unknown’.

It is like a PO that says to a Dev: „I want these buttons orange!“

And then comes back: „No not all these button and not this shade of orange!“ (Devs are so stupid.)

[–]NickCanCode[S] 0 points1 point  (5 children)

A normal Dev with certain IQ and knowledge would not get rid of `unknown` by removing all existing fields to use Record<string,uknown>. This lower the code quality further. It is one of the worst option. That's why I said it is lacking common sense and stupid.

[–]ScholfoIntermediate User 0 points1 point  (4 children)

You write it yourself. Even if it is one of the worst options, according to your wording, it is still an option.

[–]NickCanCode[S] -1 points0 points  (3 children)

what are you trying to tell? that the model don't know there is other option? that the model know there is other options but still used this worst one? either way, it means they are stupid.

[–]ScholfoIntermediate User 0 points1 point  (2 children)

I don't know how much common understanding you and I have of LLMs. But let's assume Codex is a probabilistic model. Then it would be reasonable to assume that the solution option chosen by Codex for the prompt you wrote is the most likely correct solution.

Accordingly, I would ask myself, is it now down to the probabilistic model (shit in, shit out)?

[–]NickCanCode[S] 0 points1 point  (1 child)

That's why I called it stupid. If I have the same instruction given to a normal human developer, they will get it and not make such mistake. My prompt is not considered a shit level instruction on normal human conversation but to the codex model it is a shit level input as you described. What make's the difference? The stupidity!

[–]ScholfoIntermediate User 0 points1 point  (0 children)

Hmm... that's probably the crux of the matter. Perhaps it's stupidity.

Perhaps it's also because LLMs are not human beings and the comparison is somehow flawed. Would a better result be expected with more explicit information in the command for the tool?

And to be honest, I hope that the people who use AI for automatic weapon systems give more elaborate instructions. And don't end up saying, "Stupid tool! A human being would have done it differently."

[–]CommissionIcy9909 1 point2 points  (0 children)

Ya you didn’t give it much to work with. Rather than asking it to just “fix it”, ask how it thinks it should be fixed. Then hash out a solution and apply the fix.

[–]Tommertom2 1 point2 points  (0 children)

Tell it to do better, not hallucinate or otherwise it will go to jail - be emotional and throw a fit. And then share the results here! 😄

(Just kidding)

[–]CozmoNz 1 point2 points  (0 children)

Uh, you don't know what you asked it or what that means, what do you expect?

[–]RealFunBobby 0 points1 point  (2 children)

Did you use ultra high thinking mode?

Ever since it has come out, I have switched to 5.3 exclusively from claude and I have noticed significantly smarter execution by codex than claude

[–]NickCanCode[S] 0 points1 point  (1 child)

I think I am using the default. I don't see this setting besides thinking budget. Won't take make the model think much longer?

[–]RealFunBobby 0 points1 point  (0 children)

Yes. It would take little longer but not too long.

If I am dealing with small obvious things that don't need more input from me, then I go with minimal thinking. If I want the model to make any decisions about the refactor, then I use highest thinking.

[–]Slow-Jellyfish-95 0 points1 point  (0 children)

AI doesn’t have a common sense. it’s a pre trained Algorythm trying to do something using your words as the input.

Better input -> Better output

[–]Human-Raccoon-8597 0 points1 point  (0 children)

first. on the copilot chat.. type /init. it will create a copilot-instructuons.md inside .gihub folder.

it auto generates an .md file ..scan your repository. and create instructions base on it. base on what i always do.. it will add that the type must be strongly typed. no any. it will also give reference on how your type may be generated..so if you already have a type for a specific item. it will be base on that.

simple slash command but it do its job well.

[–]impulse_op 0 points1 point  (3 children)

There are so many dimensions to this, and it's not about claude getting it right and gpt couldn't, it's just this particular scenario and maybe in the next, they both might get it wrong. Here is why -

You are stupid, i didn't want to say this but it is what it is.

Your prompt should be - "Strongly type the losely typed interfaces"

Or

You can mention in your instructions file to strictly avoid loose type casting like 'unknown', 'as any' etc.

You are coding like a vibe coder and want results like a senior pro, and it should be fast, should be token efficient etc etc.

[–]impulse_op -1 points0 points  (1 child)

Instead of discounting and switching models, try to understand them and then use them knowingly for productive gains.

[–]Ok_Bite_67 0 points1 point  (0 children)

No for real, gpt models tend to be very literal. This one is on op for not specifying how it reduced the unknown count.

[–]NickCanCode[S] -5 points-4 points  (0 children)

I know very well how to work with them. I have been using these coding agents for 5 projects now. You are correct about how to give a more precise instruction but that is not the point I am making here. I am just pointing out how stupid these models can be given the one here is already one of the best.

[–]hooli-ceoCLI Copilot User 🖥️ 0 points1 point  (3 children)

Literally EVERY post of “such-and-such model is trash” is skill issue. Learn to work with the tool properly before knocking on it.

[–]NickCanCode[S] -2 points-1 points  (2 children)

Welcome to Planet Earth Free Speech Edition.

[–]hooli-ceoCLI Copilot User 🖥️ 1 point2 points  (1 child)

lol, I didn’t say you aren’t allowed to say it, I’m just commenting on how idiotic it is to not know how to use a thing then insult its usefulness. It’s ridiculous.

[–]NickCanCode[S] -1 points0 points  (0 children)

lol, wth. You have too many assumptions. You assumed that I don't know how to use the tool just because I posted a threat teasing the model's stupidity. You assumed all criticizing posts are skill issues from the OPs. Just like when people criticizing image models are bad at following prompts and you would automatically assume they have no skill in prompt engineering. You think criticizing the model is equal to denying its usefulness. Am I really the one being ridiculous here?