Inspiration
A lot of useful scientific software is still out there, but it no longer runs. Published analyses were computed with tools like OpenBUGS, Theano, Caffe and QIIME 1, and today they are hard even to install. OpenBUGS 3.2.3 ships a prebuilt 32-bit (i386) engine library. Theano, Chainer, PyMC 2 and NiftyNet need old Python stacks, and Caffe needs an Ubuntu 20.04 build. When the tool stops running, nobody can rerun or check the analysis it produced.
We wanted to bring that old, useful software back to life: not a rewrite or a translation, but the original engine, running again on a modern computer, with an honest record of what it did. That's why we entered Resurrection.
What it does
ReproLab runs an old analysis with its original engine, on your own machine:
- The original engine, unchanged. Each engine runs inside a locked-down Docker container built for today's machines: no network, a read-only filesystem, one CPU, 1 GiB of memory and a time limit.
- Every run recorded. You see the engine's real log and every output file, each with its size and SHA-256 checksum, plus a manifest of the settings, engine version and image.
- Mistakes caught early. Invalid settings are explained in plain English before any container starts.
- Failures stay failures. OpenBUGS exits normally even for a broken model, so ReproLab decides the state from the engine's own log lines and shows the engine's error line as the reason.
- Nine engines. OpenBUGS 3.2.3 with your own model files, plus built-in cases for PyMC 2, Caffe, Theano, Chainer, QIIME 1, TopHat2, Cufflinks and NiftyNet.
- An optional AI assistant. It explains the logs and the documentation, shows an answer only when it cites real retrieved passages, and refuses to judge whether a result is valid.
Everything runs on 127.0.0.1. Nothing is hosted.
How we built it
We built ReproLab in Kiro, spec first:
- 7 specs (
.kiro/specs/): engine feasibility, the web MVP and run path, the grounded assistant, the local product, the multi-engine selector, and a UI redesign. - 6 steering files (
.kiro/steering/) set rules the project never broke: no fabricated results, every claim about a run needs a real log line, no arbitrary executable upload, no hosted execution. - Evidence-ticked tasks. Every task named an acceptance check and an output file. A task box was ticked only after its evidence file existed in
docs/evidence/.
The stack is a dependency-free Node.js server and plain web interface (apps/local), a Python runner inside the OpenBUGS image, and one multi-stage Dockerfile for the other eight engines. The optional assistant uses Gemini, and optional voice questions use Groq Whisper.
Challenges we ran into
- Old binaries on new systems. OpenBUGS's engine is a 32-bit library, so its image needs i386 support, and each other engine needed its own pinned environment.
- Windows file mounts. The OpenBUGS library can't seek on a Windows bind mount, so inputs and results are copied in and out of the container instead of mounted.
- Exit codes lie. The engine exits normally even when the model is invalid, so success requires seven specific log lines, in order.
- Reporting success too early. One run once showed "succeeded" before its files were final. A test now holds it at "running" until the summary, files and manifest are complete.
Accomplishments that we're proud of
- Same bytes, 18 days apart. Our Coin example has a known exact answer:
$$p \mid r = 7,\ n = 10 \;\sim\; \text{Beta}(8, 4)$$
Its chain 1 output file had the same SHA-256 checksum on 14 Nov and on 2 Dec 2026, from the same model and seed.
- Honest about failure. Our own pre-declared comparison of the Seeds example against published values failed, and ReproLab reports it as failed instead of loosening the test.
- Nine engines brought back, each running unchanged, all showing Ready on one machine.
What we learned
- Reproducing an analysis means keeping the original engine and recording everything around it, not rewriting the code.
- A citation is not proof of a correct answer. In one test, the AI assistant cited a real documentation passage and still named the wrong cause for a failed run. We recorded that in the repository instead of hiding it, and it's why the interface tells users to check the citations.
- Spec-driven development in Kiro, with steering rules and evidence files, kept every claim in the product traceable to a real file.
What's next for ReproLab
- An independent check of the OpenBUGS download by people outside the team
- Full keyboard and screen-reader accessibility passes
- Better assistant answers about failed runs
- More legacy engines, so more old analyses can be rerun and checked
Built With
- anime.js
- caffe
- chainer
- css
- cufflinks
- docker
- gemini
- groq
- gsap
- html
- javascript
- kiro
- next.js
- niftynet
- node.js
- openbugs
- playwright
- pymc
- python
- qiime
- theano
- three.js
- tophat2
- typescript
- whisper