Mystery solved! The answer to your OP is that the reason anyone can trust ChatGPT for code is that they use a much better model than the one you're using! GPT-3.5 is ancient and way behind GPT-4. In fact, there are now tens of organisations who have developed model classes way ahead of GPT-3.5.
chrisjj|1 year ago
Testing that theory now using Bing Copilot GPT-4.
Failed.
unmatched close parenthesis Line: 11, Column: 11, File-Position: 408
Input is:
Output is:calderknight|1 year ago