Revenant: I held a séance for a dead Python library, and it came back passing its tests
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine TL;DR: Revenant holds a séance for abandoned open-source projects. It turns a dead repo's history into a memory you can question, so the project answers in the first person with every sentence cited. Then it runs an autopsy in a sandbox and brings the project back one test-checked edit at a time. Its…
Revenant is a tool that brings abandoned open-source projects back to life. It does this by gathering the project's entire history, including commits, issues, PRs, comments, reviews, and docs, into a searchable memory. Users can then ask the project questions, and Revenant answers in the first person, citing its own records. If the records have no information on a certain topic, the ghost will say, "The spirits are silent."
Revenant then runs the project's own tests in a sandbox environment, writing a death certificate naming what killed it. It then attempts to fix the project one small, verified edit at a time, with each edit judged by the project's own test suite. In the case of the first patient, psf/requests-html, the project had not been updated since February 2019 and failed all tests on Python 3.9–3.13.
However, Revenant resurrected it, bringing it to 30/30 passing tests on all Python versions from 3.9–3.13. The project is available at revenant-zaq3.onrender.com.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.