Subscribe now

Technology

ChatGPT can find and fix bugs in computer code

The AI chatbot ChatGPT is as good as standard machine learning approaches at fixing bugs in code, and does even better if you engage in dialogue with it

By Chris Stokel-Walker

25 January 2023

ChatGPT on a computer

ChatGPT is a chatbot developed by OpenAI

Rokas Tenys/Alamy Stock Photo

ChatGPT, the AI chatbot developed by tech company OpenAI, can find and fix bugs in computer code as well as standard machine learning approaches – and does even better when engaged in conversation.

Dominik Sobania at Johannes Gutenberg University in Mainz, Germany, and his colleagues sought to see how well ChatGPT compared with other AI-powered coding support tools. A number of tools exist that use artificial intelligence to check programming code to ensure there are no mistakes.

“ChatGPT came out and we thought it seems …

To continue reading, subscribe today with our introductory offers

View introductory offers

No commitment, cancel anytime*

Offer ends 14th June 2023.

*Cancel anytime within 14 days of payment to receive a refund on unserved issues.

Inclusive of applicable taxes (VAT)

or

Existing subscribers

Sign in to your account