4 ms·
> ChatGPT never did this: its debugging skills are completely non-existent. If it encounters an error it will simply rewrite entire functions, or more often the
by IanCal 3y ago
> ChatGPT never did this: its debugging skills are completely non-existent. If it encounters an error it will simply rewrite entire functions, or more often the entire program, from scratch.
Well, it's going to need to rewrite functions to add debug due to not having edit capabilities, but I tried this and it absolutely added debug info which it then used to debug issues:
In an inner part it added:
debug_info.append({
'Hand': hand,
'Bid': bid,
'Type': hand_info[0],
'Sorted Hand': hand_info[1],
'Rank': rank,
'Score': score
})
I don't know quite what's happening but I feel like people constantly say it can't do something and the very first thing I try (just asking it to do the thing) usually works.
I gave it the hands in the problem statement and the expected result, and the explanation as to why (copy pasted). It ran the code, looked at the debug output, identified the problem and rewrote the function. I'm not saying it immediately solved the problem, but it easily added debug information, ran the code, looked at the output and interpreted it.
- spacecadet 3y agoSame. I have pre-defined "comments", "error handling", "unit tests" and more, and I get it all. Plus if I target an area and ask for revision, i get just that... Tech perps both miss understand "AI" and think they have mastered it by default.
- causal 3y ago"think they have mastered it by default" - yeah I see this a lot. I think its ease of use lures people into a false sense of mastery.
- deleted 3y ago[deleted]
- fragmede 3y agotaking HN comments that claim ChatGPT can't do a thing, pasting them into ChatGPT, and then linking the reply where it does the thing, usually doesn't get me any points, in case someone wants to build a bot that does that for points.