Wednesday, 5 February 2025
24 C
Singapore
22 C
Thailand
21.1 C
Indonesia
25 C
Philippines

New research highlights ChatGPT’s struggles in helping with coding tasks

New research from Purdue University reveals significant errors in ChatGPT's programming assistance, emphasising caution and calling for further study.

According to recent research, ChatGPT is still grappling with effectively assisting with programming issues despite becoming an overnight sensation. While many developers have turned to generative AI tools like GitHub’s Copilot to streamline their workflow and free up time for more productive tasks, a new study from Purdue University sheds light on significant shortcomings in ChatGPT’s performance.

Study reveals widespread errors

Researchers at Purdue University analysed 517 questions from Stack Overflow, comparing ChatGPT’s answers to those provided by human experts. The findings were startling: more than half (52%) of the responses generated by ChatGPT were incorrect. The breakdown of errors is as follows: 54% were conceptual misunderstandings, 36% were factual inaccuracies, 28% were logical mistakes in code, and 12% were terminology errors.

The study also highlighted that ChatGPT often produced unnecessarily lengthy and complex responses. This overabundance of detail can lead to confusion and distractions for developers seeking straightforward answers. Despite these issues, an ultra-small-scale poll involving 12 programmers revealed that one-third preferred ChatGPT’s articulate, textbook-like responses. This preference underscores how easily the AI’s seemingly authoritative tone can mislead coders.

Implications for the coding community

The implications of these findings are significant. Errors in coding can cascade, potentially causing problems across multiple departments or even entire organisations. The researchers emphasise the importance of caution when using ChatGPT for programming tasks.

They state, “Since ChatGPT produces many incorrect answers, our results emphasise the necessity of caution and awareness regarding the usage of ChatGPT answers in programming tasks.” This caution is vital to prevent minor coding errors from escalating into more significant, complex issues.

Call for further research and transparency

Beyond urging caution, the researchers advocate for further studies to identify and mitigate these errors. They also call for greater transparency and communication regarding the potential inaccuracies in ChatGPT’s responses. This openness is crucial for developers to make informed decisions about when and how to use AI tools in their workflows.

As the coding community continues to integrate AI into its practices, these findings serve as a reminder of the limitations and risks associated with relying too heavily on automated tools. While ChatGPT and similar technologies offer exciting possibilities, their current capabilities require scrutiny and responsible use to ensure they genuinely enhance productivity without introducing significant errors.

Hot this week

China launches antitrust probe into Google

China retaliates against Trumpโ€™s 10% tariffs by launching an antitrust probe into Google and imposing new levies on U.S. exports, escalating trade tensions.

The fall of quick commerce: What went wrong in Southeast Asia?

Uncover the reasons behind quick commerceโ€™s decline in Southeast Asia, from operational challenges to shifting consumer behaviour post-pandemic.

DeepSeekโ€™s app disappears from Apple and Google stores in Italy

After regulators raised concerns over its data privacy practices, DeepSeekโ€™s app is no longer available in Apple and Google stores in Italy.

Samsung Galaxy S25 Ultra dominates pre-orders in South Korea

The Samsung Galaxy S25 Ultra leads pre-orders in South Korea, making up 60-70% of sales. Find out which colours are trending and how to pre-order yours.

Ireland and Italy investigate DeepSeek over data privacy concerns

Ireland and Italy launch investigations into Chinese AI firm DeepSeek over data privacy concerns, raising questions about its data handling practices.

SECO partners with impact.com to boost Senheng appโ€™s growth through affiliate marketing

SECO partners with impact.com to scale the Senheng app through affiliate marketing, aiming for growth, better ROI, and personalised consumer engagement.

Commvault partners with CrowdStrike to improve cyber threat detection and recovery

Commvault partners with CrowdStrike to enhance threat detection and data recovery, providing businesses with faster responses and stronger cyber resilience.

Unlock free skins during the Overwatch 2 spotlight livestream on February 12

Watch the Overwatch 2 spotlight livestream on February 12 to claim free skins, including Lucioโ€™s Cyber DJ and Flirty Flare Baptiste.

Singtel dominates mobile speeds in Singapore

Singtel and MyRepublic top Ooklaโ€™s 2024 Speedtest Connectivity Report, offering Singaporeans faster and more reliable mobile and broadband internet.

Related Articles