ChatGPT really isn’t great at answering programming questions yet


Despite becoming an overnight hit when it launched ChatGPT is still struggling to excel in some areas – particularly assisting coding, new research has claimed.
Positioned as an ideal solution to programming issues, some developers have been making use of an array of generative AI tools such as GitHub’s Copilot to speed up workflow, freeing up more time to focus on productive work.
However a new study from researchers at Purdue University found more than half (52%) of the responses that ChatGPT produced are incorrect.
ChatGPT helping with coding
The researchers analyzed 517 questions from Stack Overflow and compared ChatGPT’s answers to human responses, finding that the AI’s errors were widespread. In all, more than half (54%) were conceptual misunderstandings, around one in three (36%) were factual inaccuracies, a similar number (28%) were logical mistakes in code, and 12% were terminology errors.
In the paper, ChatGPT was also criticized for producing unnecessarily long and complex responses containing more detail than what was needed, leading to potential confusion and distractions. However, the ultra-small-scale poll of 12 programmers saw one-third preferring ChatGPT’s articulate and textbook-like answers, highlighting the ease with which coders can be misled.
The implications of these findings are pretty significant, because errors in coding can ultimately lead to bigger problems downstream, affecting multiple departments or organizations.
The writers summarize: “Since ChatGPT produces a large number of incorrect answers, our results emphasize the necessity of caution and awareness regarding the usage of ChatGPT answers in programming tasks.”
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
Besides exercising caution, the researchers also call for further research into identifying and mitigating such errors, as well as greater transparency and communication around potential inaccuracies.
More from TechRadar Pro
Despite becoming an overnight hit when it launched ChatGPT is still struggling to excel in some areas – particularly assisting coding, new research has claimed. Positioned as an ideal solution to programming issues, some developers have been making use of an array of generative AI tools such as GitHub’s Copilot…
Recent Posts
- Framework’s first tiny Desktop beautifully straddles the line between cute and badass
- Samsung Galaxy Z Fold 7 unofficial renders tease a slimmer design and a bigger, hidden-in-plain-sight upgrade
- Netflix drops an uneasy new teaser for You season 5, and I can’t help but laugh as killer Casanova Joe calls himself ‘the luckiest guy in New York’
- Popular Android financial help app is actually dangerous malware
- Our Favorite Internal SSD Is on Sale Right Now
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010