


GPT-4 developers develop AI system with unlimited self-healing capabilities
I want to ask programmers, what is the most annoying time of the day?
It must be for debugging the written program. But now, this situation is about to be improved!
A foreign developer named BioBootloader launched a project called "Wolverine" based on GPT-4, which can self-repair Python scripts.
As you can tell from the name, this project focuses on "self-healing." Identify errors in the code through GPT and provide modifications until the program runs smoothly.
However, "Wolverine" can currently only be used on Python.
This project has collected 1.2k stars and 108 Forks on GitHub.
Wolverine? Wolverine!
BioBootloader said that if you run your program with "Wolverine", as soon as it crashes, GPT-4 will automatically edit it and give the reason for the error.
Even if programmers write a lot of bugs, it’s okay. "Wolverine" will be run repeatedly until all bugs are eliminated.
GPT-4 must be familiar to everyone. This is a multi-modal artificial intelligence language model developed by OpenAI.
BioBootloader's demonstration video on Twitter shows the specific use of "Wolverine".
In the video, the developer first wrote a simple four-arithmetic operation code, and then deliberately wrote some parts wrong .
(Correct)
For example Say, change the return result at the end to return res, but res is not defined, so an error occurs.
My brother also deleted the subtraction part of the code, which is the substract_numbers above. In this way, an error will definitely be reported in calculate below. Because subtract is not defined.
(wrong)
After Just run "Wolverine" directly, and the part generated by GPT will appear on the right.
It can be seen that "Wolverine" quickly identified the error and attached an explanation.
「subtract_numbers is not defined in the script.
The res variable is not defined and should be replaced by result.」
Not only gave suggestions, "Wolverine" also directly attached the modified code. Red is the part that should be deleted, and green is the part that should be added.
In fact, "Wolverine" is a wrapper. It is responsible for running the program, capturing error messages, and then sending these errors to GPT-4 to ask what went wrong with the GPT code. .
LLMs (large language models) like GPT-4 are "programmed" in natural language, and these instructions are considered prompts.
A large part of the functions implemented by "Wolverine" are due to carefully written prompts. Reading these prompts can better understand the entire process.
The project has been published on GitHub. The guy also thoughtfully gave me the setting requirements.
Not just Python
On GitHub, BioBootloader released its future plans, "King Kong The functions of "Wolf" will become more and more comprehensive and powerful.
"The current version is just a prototype that I spent a few hours on. There will be many possibilities in the future An extension, and everyone is welcome to develop it together."
- Add flags to customize usage, such as requiring user confirmation before running changed code.
- Further iteration of GPT’s editing format. Currently, GPT has a bit of difficulty with indentation, but I'm sure this can be improved.
- An example of a set of problematic files that we can prompt in the test above to ensure its reliability and measure improvements.
- Multiple files/repositories - Send all files that appear in the stack trace to GPT
- Better for large files processing, i.e. should we only send relevant classes/functions to GPT?
-Extended to programming languages other than Python
As can be seen from the simple example above, this script is still promising in the future.
After all, we can’t let coders who work in other languages be jealous looking at the “Wolverine” of smart Debug Python.
The above is the detailed content of GPT-4 developers develop AI system with unlimited self-healing capabilities. For more information, please follow other related articles on the PHP Chinese website!

Let's discuss the rising use of "vibes" as an evaluation metric in the AI field. This analysis is part of my ongoing Forbes column on AI advancements, exploring complex aspects of AI development (see link here). Vibes in AI Assessment Tradi

Waymo's Arizona Factory: Mass-Producing Self-Driving Jaguars and Beyond Located near Phoenix, Arizona, Waymo operates a state-of-the-art facility producing its fleet of autonomous Jaguar I-PACE electric SUVs. This 239,000-square-foot factory, opened

S&P Global's Chief Digital Solutions Officer, Jigar Kocherlakota, discusses the company's AI journey, strategic acquisitions, and future-focused digital transformation. A Transformative Leadership Role and a Future-Ready Team Kocherlakota's role

From Apps to Ecosystems: Navigating the Digital Landscape The digital revolution extends far beyond social media and AI. We're witnessing the rise of "everything apps"—comprehensive digital ecosystems integrating all aspects of life. Sam A

Mastercard's Agent Pay: AI-Powered Payments Revolutionize Commerce While Visa's AI-powered transaction capabilities made headlines, Mastercard has unveiled Agent Pay, a more advanced AI-native payment system built on tokenization, trust, and agentic

Future Ventures Fund IV: A $200M Bet on Novel Technologies Future Ventures recently closed its oversubscribed Fund IV, totaling $200 million. This new fund, managed by Steve Jurvetson, Maryanna Saenko, and Nico Enriquez, represents a significant inv

With the explosion of AI applications, enterprises are shifting from traditional search engine optimization (SEO) to generative engine optimization (GEO). Google is leading the shift. Its "AI Overview" feature has served over a billion users, providing full answers before users click on the link. [^2] Other participants are also rapidly rising. ChatGPT, Microsoft Copilot and Perplexity are creating a new “answer engine” category that completely bypasses traditional search results. If your business doesn't show up in these AI-generated answers, potential customers may never find you—even if you rank high in traditional search results. From SEO to GEO – What exactly does this mean? For decades

Let's explore the potential paths to Artificial General Intelligence (AGI). This analysis is part of my ongoing Forbes column on AI advancements, delving into the complexities of achieving AGI and Artificial Superintelligence (ASI). (See related art


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version
Useful JavaScript development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
