Skip Navigation

ChatGPT Answers Programming Questions Incorrectly 52% of the Time: Study

gizmodo.com ChatGPT Answers Programming Questions Incorrectly 52% of the Time: Study

To make matters worse, programmers in the study would often overlook the misinformation.

ChatGPT Answers Programming Questions Incorrectly 52% of the Time: Study

The research from Purdue University, first spotted by news outlet Futurism, was presented earlier this month at the Computer-Human Interaction Conference in Hawaii and looked at 517 programming questions on Stack Overflow that were then fed to ChatGPT.

“Our analysis shows that 52% of ChatGPT answers contain incorrect information and 77% are verbose,” the new study explained. “Nonetheless, our user study participants still preferred ChatGPT answers 35% of the time due to their comprehensiveness and well-articulated language style.”

Disturbingly, programmers in the study didn’t always catch the mistakes being produced by the AI chatbot.

“However, they also overlooked the misinformation in the ChatGPT answers 39% of the time,” according to the study. “This implies the need to counter misinformation in ChatGPT answers to programming questions and raise awareness of the risks associated with seemingly correct answers.”

198

You're viewing a single thread.

198 comments
  • Just like answers on the Internet, you have to read the output and not just paste it blindly. I find the answers are usually useful, even if they aren't completely accurate. Figuring out the last bit is why we are paid as programmers.

    • Not to mention that if the code fails you can often tell ChatGPT "here's what happened" and it can debug its own code correctly much of the time.

You've viewed 198 comments.