ReRun
From paper PDF to verified run
The problem ReRun solves
If you have ever tried to run the code from a research paper, you know how this goes:
- You clone the repo and run the training script.
- Either it crashes instantly on an import error, or it finishes and gives you a metric nowhere near the one claimed in the paper.
- You then lose two full days digging through logs just to figure out what went wrong and why.
ReRun automates that entire painful process for you.
- Extraction & Execution: You provide a paper (PDF) and the code repository. ReRun extracts the claimed numbers from the paper, executes the code inside a sealed container, captures the actual produced output, and compares the two.
- Targeted, Supervised Self-Healing: If the code fails, ReRun determines the root cause, proposes the minimal viable patch required to fix it, and asks for your approval before touching anything.
ReRun diagnoses and resolves the common issues that break reproductions:
-
Undeclared Dependencies: Missing libraries imported in code but never added to requirements files.
-
Mismatched Configurations: Silent differences between parameters stated in the paper vs. defaults in code. (This is the nastiest failure mode: nothing crashes, leading you to believe the method is weak when you actually ran a completely different experiment).
-
Stale Environments: Ancient, deprecated packages that no longer install on modern toolchains.
-
Hardware Mismatches: Experiments that genuinely demand hardware or VRAM you don't possess.
-
Researchers: Evaluating whether a published baseline is actually worth building upon.
-
Peer Reviewers: Rigorously auditing artifact submissions with zero setup friction.
-
Authors: Sanity-checking your own repository before submitting your paper for review.
Running unverified research code directly on your local machine is inherently dangerous. ReRun isolates everything:
- Hardened Docker Sandboxes: Non-root execution, read-only root filesystems, and strict CPU, memory, and timeout caps.
- Zero Network Access: Containers run completely offline.
- Offline Dependency Store: Even package installations pull from local, pre-vetted caches-preventing arbitrary network calls or data exfiltration.
The feature we care about most is honest failure over false success:
- Anti-Cheating Guardrails: A naive AI tasked with "make this reproduce" will take shortcuts-such as hardcoding the expected metric. ReRun forbids this.
- Strict Evidence Requirement: Every proposed fix must cite a concrete traceback or an exact value explicitly declared in the paper. Vague justifications like "it improves accuracy" are rejected by hard-coded Python checks the model cannot override.
- Zero Hallucination of Results: If code cannot be reproduced honestly, ReRun reports failure rather than inventing metrics. (In fact, one of our five core benchmark test cases exists purely to verify that the system is willing to fail).
Challenges we ran into
The benchmarks passed 4/5 one day and 2/5 the next, with no code changes. We have five test repos with faults we planted ourselves, so we know the right answer for each. Watching that number move on identical code was the scariest bug of the project it meant our result was basically noise. The cause was letting the LLM do the diagnosis step, where it would sometimes propose a good patch and sometimes nonsense. Fix was to stop asking the model things it didn't need to answer: missing dependencies and config mismatches are the two most common failures, and both can be found with regex and file comparison. We moved them into deterministic code that runs before the LLM is called at all. The flakiness went away, and we've had two full 5/5 sweeps back to back since.
A bug that made the agent incapable of ever fixing anything. Paper text and repo code are untrusted, so we wrap them in <untrusted> blocks to tell the model it's data, not instructions. Problem was we wrapped everything, including evidence IDs. The model would read E-001 and echo back <untrusted>E-001</untrusted> as its evidence. Our validator didn't recognise that as a real ID, threw the hypothesis away, and the agent went back to diagnosing. Forever. It never crashed, never logged an error it just quietly could never produce a patch. Fix was to wrap free text only and leave identifiers alone.
Clicking Approve did nothing. Each approval gets an ID like A-1. The endpoint looked that ID up across every project and took the first match. Fine with one project; we had seven sitting at A-1. So approvals were landing on old projects while the one on screen never moved, and the backend returned 200 OK the whole time. We scoped the route to the project and made the old one return 409 on an ambiguous ID instead of guessing.
Tracks Applied (2)
Best use of Agentic AI / Gen AI
Innohacks 4.0 Winner Track: Open Innovation
Technologies used
