Revenant: I held a séance for a dead Python library, and it came back passing its tests
说明与用途
Revenant 复活了已废弃的 Python 库 requests‑html,恢复了 Python 3.9–3.13 上 30/30 的测试,替换了失效的 CI 并恢复了文档。
问题
Abandoned open‑source projects often have no maintainers, causing their code to break on modern Python versions and lose CI, documentation, and community support.
结果
Revenant resurrected psf/requests-html from 0/30 passing tests to 30/30 across Python 3.9–3.13 by applying a sequence of verified edits, replacing dead CI, and restoring documentation.
工作流
- Gather full project history (commits, issues, PRs, docs) into searchable memory.
- Ask the ghost: query the project’s records; responses are first‑person and cite source records.
- Run an autopsy: execute the project’s tests in a sandbox, generate a death certificate, and identify causes of failure.
- Iteratively apply small fixes: each candidate edit is tested; if it breaks a passing test it is reverted.
- Repeat until all tests pass or no further improvements are possible.
- Publish the resurrection timeline and updated CI configuration.
- Provide a live séance room for interactive exploration.
证据
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.
Its first patient, psf/requests-html, went from 0 passing tests to 30/30 on Python 3.9–3.13.
The resurrection timeline: each operation with its verdict and test counts, then the Python matrix and aftercare.
- 记录日期: 2026-11-02T04:43:59.805Z