Skip to content

Auto Code Capture

jqueguiner edited this page May 3, 2026 · 1 revision

Auto Code Capture

Every run automatically captures source code for reproducibility.

Usage

import openrunner
run = openrunner.init(project="org/project")  # auto-captures code

No extra code needed. Disable with save_code=False.

What's Captured

.py, .yaml, .toml, .sh, .json, requirements.txt, Dockerfile, Makefile, etc.

What's Excluded

venv/, .git/, node_modules/, __pycache__/, dist/, files >1MB

Benefits

  1. Reproducibility — exact code that produced each run
  2. Paper Builder — agents use code for Method sections
  3. AI Chat — ask questions about the code that produced results
  4. Versioning — each run gets its own code snapshot

Clone this wiki locally