For AI agents: the complete documentation index is available at /vivarium/llms.txt, the full documentation bundle is available at /vivarium/llms-full.txt, and this page is available as Markdown at /vivarium/index.md.
  • English
  • // OPEN SOURCE · APACHE-2.0

    Run real bugs.
    Read the verdict.
    Check the fix.

    Vivarium is a catalogue of real bugs from open-source projects. Run one in your browser or in Docker, read the verdict and see the output behind it.

    vivarium/repro/cpython/137205
    WASM
    VIVARIUM · LAYER 1 · PYODIDE · SQLITE3

    Reproducing python/cpython#137205

    PRAGMA foreign_keys silently dropped under autocommit=False.

    ✓ REPRODUCED — fk_off ≠ fk_on
    # repro.pyimport sqlite3def test_fk():conn = sqlite3.connect(':memory:')fk_on = conn.execute('PRAGMA foreign_keys').fetchone()[0]assert fk_on == 1
    ElementsConsoleNetworkSources1 error
    ›await pyodide.runPythonAsync(repro)
    ✕AssertionError: 0 != 1
    at test_fk (repro.py:5)
    vivarium/repro/postgres/lost-update
    DOCKER
    VIVARIUM · LAYER 2 · DOCKER · POSTGRESQL

    Reproducing PostgreSQL lost-update under READ COMMITTED

    Concurrent UPDATEs lose writes when a SELECT-then-UPDATE pattern omits row-level locks.

    RUNNING — tx-1 ⨯ tx-2
    # compose-up.shdocker compose up -dpsql -c "SET TRANSACTION ISOLATION LEVEL READ COMMITTED"parallel ./tx.sh ::= 1 2
    container.logtx-1.logtx-2.logrunning
    ›[docker] Pulling postgres:15-alpine
    ✓postgres ready in 74ms
    ›tx-1: UPDATE accounts SET balance = balance + 100
    ›tx-2: UPDATE accounts SET balance = balance - 50
    waiting for both transactions to commit…
    vivarium/repro/ruby/21709
    WASM
    VIVARIUM · LAYER 1 · RUBY.WASM · ENCODING

    Reproducing ruby/ruby#21709

    Regexp interpolation rejects the mixed encodings that String interpolation silently upgrades.

    ✓ REPRODUCED — bug reproduced
    # repro.rbprefix = '\p{In_Arabic}'suffix = prefix.encode('US-ASCII')re = /#{prefix}#{suffix}/str = "#{prefix}#{suffix}"
    ElementsConsoleNetworkSourcesverified
    ›await rubyVm.evalAsync(repro)
    ✓Regexp raised RegexpError; String built UTF-8
    verdict: REPRODUCED — issue#21709 reproducible in ruby.wasm

    // TODAY

    12
    reproductions
    10
    MCP tools
    3
    ways to run
    2
    site languages

    // HOW RECIPES RUN

    Each recipe uses the environment its bug needs.

    You don’t choose the environment. Each recipe already belongs to one of three layers.

    L1

    In your browser.

    Runs in the page through WebAssembly, with nothing to install. The first load can take a few tens of seconds while the runtime downloads.

    Pyodide · Ruby.wasm · formicarium
    L2

    In Docker.

    Runs on your machine from a published image, with one `docker run`. For bugs that need real processes, files or services.

    Docker
    L3

    As a live preview.

    A pull request’s whole application, opened in the browser so a reviewer can check the change by using it. Previews need a GitHub sign-in and are open only to invited people.

    Invitation required

    // SEE IT RUN

    12 real bugs, ready to check.

    Filter by language or search by text to find one you recognise.