Sign In

Communications of the ACM

ACM Careers

Developer Creates 'Regenerative' AI Program That Debugs Python Code

View as: Print Mobile App Share:
AI-generated image of Wolverine programming on a computer

An AI-generated and human composited image of "Wolverine programming on a computer."

A developer who goes by "BioBootloader" used GPT-4 to create a program called Wolverine that debugs Python programs.

"Run your scripts with it and when they crash, GPT-4 edits them and explains what went wrong," BioBootloader writes in a tweet that accompanies a demonstration video. "Even if you have many bugs it'll repeatedly rerun until everything is fixed."

"It runs it, it sees the crash, but then it goes and talks to GPT-4 to try to figure out how to fix it," he says in the video. GPT-4 returns an explanation for the program's errors, shows the changes that it tries to make, then re-runs the program. Upon seeing new errors, GPT-4 fixes the code again, and then it runs correctly.

From Ars Technica
View Full Article


No entries found

Sign In for Full Access
» Forgot Password? » Create an ACM Web Account