Urgent.News

What's breaking now, across thousands of outlets.

Tech

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.

Read the original at dev.to →

More in Tech

Your trace UI can hide a secret that SQLite still stores

I made a tiny trace store hide a fake token in its display. Then I opened the database through a fresh connection. The token was still there. So was a made-up confidential sentence.

  • Developer demonstrated hiding sensitive information in trace store
  • SQLite database retained token and confidential prose
  • Example highlights importance of proper logging practices

My learning project became a JavaScript framework: Brio.js v5

On February 12, 2024, I committed a file with the message: A not so good scope architecture Five days later, the next commit said: New scoping system That's the most honest summary of how Brio.js was…

  • Author started learning project in February 2024
  • Introduced new scoping system after five days
  • Released Brio.js v5 to public after weeks of development

More from Wednesday 28 October →