Skip to content

About

Paper-to-Results Graph turns research papers into executable evidence

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

Paper→Results Graph

Turn research papers into executable evidence.

🔴 Live evidence explorer: paper2result.butterbase.dev — the real research graph (papers, claims, conflicts, runs, and verdicts) served from Butterbase.

Built for HackwithBay 3.0 (July 7, 2026, AWS Builder Loft SF) — theme: Thoughtful Agents for Productivity.


1. What is this?

When researchers read papers, they end up with claims — sentences like "Adam converges faster than SGD" or "adaptive optimizers generalize worse." Different papers routinely contradict each other, and the only way to know who is right is to actually run the experiment. Almost nobody does, because reimplementing a paper's method takes hours or days.

Paper→Results Graph automates that entire loop:

Paper → Claim → Method → Code → Sandbox Run → Result → Graph Update

In plain words, the system:

  1. Reads papers (paste an arXiv link or drop a PDF) and extracts their claims, methods, and experiment parameters into a knowledge graph.
  2. Shows you where papers disagree — dashed amber CONTRADICTS edges between claims from different papers.
  3. Lets you click any method and press ▶ RUN — it writes the experiment code itself (or uses a hand-verified implementation), executes it in an isolated cloud sandbox, and measures the results.
  4. Writes the outcome back into the graph as a Run node with a verdict edge: VALIDATES (the measurement supports the claim) or REFUTES (it doesn't) — with the exact metrics attached.
  5. Lets you ask an AI agent questions like "which claims have executable evidence?" — and the agent answers by querying the live graph, citing real run ids and exact numbers.

The one-sentence pitch: most tools help you read papers — this one helps you test them.

Why this beats "Paper2Code"

Paper2Code-style tools stop at generating code. Here the code actually runs, and the outcome — success, failure, error message, measured metric — becomes a permanent, queryable part of the knowledge graph. Even a failed run is evidence: the error and logs are stored so the next researcher knows what broke.

Research should not end at reading. It should end in evidence.


2. Glossary (read this first)

Term Meaning here
Paper A research publication, stored with title/year/arXiv id. Seed corpus: Adam (2014), Wilson et al. (2017), AdamW (2017) — three optimizer papers that genuinely disagree.
Claim One falsifiable statement a paper makes, e.g. wilson2017-c2: "On a constructed separable problem, SGD achieves zero test error while Adam approaches 50%."
Method A procedure from a paper that can be reproduced as a small experiment, e.g. wilson2017-m1: the linearly-separable counterexample construction.
Experiment parameters The knobs the paper's experiment uses (training set size, steps, learning rates, class imbalance…). Stored on the Method node; editable in the UI before each run.
Run One execution of a method: which backend ran it, how long it took, the measured metrics, and a verdict per claim.
VALIDATES / REFUTES Edges from a Run to Claims. The verdict is computed from the measured metrics against explicit thresholds inside the experiment script — never hardcoded.
Evidence The set of Runs attached to a claim. A claim with no runs shows as "no runs yet".
Sandbox An isolated cloud machine (Daytona) where generated code executes safely — it can't touch your laptop.

3. System architecture — the big picture

flowchart LR
    subgraph UI["Demo UI (static/index.html)"]
        GV["Evidence-flow graph<br/>papers → claims → methods → runs"]
        RUN["▶ Run method<br/>+ paper experiment params"]
        CON["Run log console"]
        EV["Evidence table"]
        ASK["Ask the research agent"]
        UP["+ Upload paper<br/>arXiv link / PDF drop"]
    end

    subgraph API["FastAPI backend (app/server.py)"]
        AGRAPH["GET /api/graph"]
        AEVID["GET /api/evidence"]
        ARUN["POST /api/run/:method_id"]
        AASK["POST /api/ask"]
        AUP["POST /api/upload<br/>/upload-file /upload-arxiv"]
    end

    subgraph SPINE["Python execution spine (app/)"]
        EXT["extract.py<br/>LLM extraction + validation"]
        CG["codegen.py<br/>curated-first, live LLM fallback"]
        RN["runner.py<br/>daytona | local"]
        CU["curator.py<br/>the ONLY evidence writer"]
        BB["butterbase.py<br/>papers + run history"]
    end

    subgraph EXTERNAL["Sponsor services"]
        NEO[("Neo4j Aura<br/>knowledge graph")]
        COG[("Cognee<br/>semantic memory<br/>(optional)")]
        DAY["Daytona<br/>sandboxes"]
        GW["Butterbase AI gateway<br/>claude-sonnet-4.5"]
        BAPP[("Butterbase app<br/>'paper2result'")]
        RR["RocketRide engine<br/>localhost:5565"]
    end

    UI --> API
    ARUN --> CG --> RN --> CU --> NEO
    RN --> DAY
    CG -.->|no curated impl| GW
    AUP --> EXT --> NEO
    EXT --> GW
    EXT -.->|remember paper| COG
    CU -.->|remember run| COG
    AASK --> RR
    AASK -.->|recall context| COG
    RR -->|db_neo4j NL→Cypher| NEO
    RR -->|llm_openai_api| GW
    CU --> BB --> BAPP
    AGRAPH --> NEO
    AEVID --> NEO
Loading

How to read this diagram, left to right:

  • The UI is a single HTML page with three columns: controls on the left (selected method, parameters, run log), the graph in the center, and evidence + agent chat on the right.
  • FastAPI is a thin HTTP layer. It never contains business logic — it dispatches to the spine.
  • The Python execution spine is where the real work happens. The most important rule of the whole codebase: only curator.py and graph.py ever write to Neo4j. The AI agents can read the graph, but evidence is written exclusively by deterministic Python after a real execution. That's what makes the evidence trustworthy.
  • The sponsor services: Neo4j stores the graph; Daytona runs the code; the Butterbase AI gateway serves every single LLM call in the project (extraction, code generation, the agent) through one OpenAI-compatible endpoint — there is no OpenAI key anywhere; the Butterbase app also archives papers and run history; the local RocketRide engine hosts the reasoning agent. Cognee (optional) adds a second memory layer for natural-language recall over paper prose and run logs — see §8.

4. The closed loop — what happens when you press ▶ RUN

This is the heart of the product. Step by step:

sequenceDiagram
    actor U as User
    participant UI as Demo UI
    participant API as FastAPI
    participant CG as codegen.py
    participant GW as Butterbase AI gateway
    participant DT as Daytona sandbox
    participant CU as curator.py
    participant NEO as Neo4j Aura

    U->>UI: click a violet Method node
    UI->>UI: show method, paper's experiment parameters (editable)
    U->>UI: press ▶ RUN
    UI->>API: POST /api/run/{method_id} {params}
    API->>CG: materialize(method_id)
    alt curated implementation exists (papers/impl/)
        CG-->>API: hand-verified experiment script
    else brand-new / uploaded paper
        CG->>GW: "write a numpy experiment for this Method node"
        GW-->>CG: single-file implementation (cached for stable re-runs)
    end
    API->>DT: create sandbox → pip install numpy → run script (params as env vars)
    DT-->>API: stdout, exit code — last line is the JSON result contract
    API->>CU: curate(run record)
    CU->>NEO: MERGE Run + Artifact nodes,<br/>IMPLEMENTS → Method,<br/>VALIDATES / REFUTES → Claims (with detail)
    API-->>UI: full run record (metrics, verdicts, logs)
    UI->>UI: console prints verdicts · new ⚡Run node flies in · evidence pills flip
Loading

Plain-language walkthrough:

  1. You click a method — say "Linearly separable counterexample" from Wilson et al. The left panel fills with the method description and the paper's own experiment parameters (n_train=200, steps=4000, p_pos=0.6, learning rates…). You can edit any of them — edited fields highlight amber.
  2. Code is materialized. If we have a hand-verified implementation (the three seed papers do), it's used. If the paper was just uploaded and has no implementation, the LLM writes one on the spot from the Method node's description — numpy-only, no network, must finish in under a minute — and it's cached so re-runs are stable and you can inspect/edit it.
  3. The code runs in a Daytona sandbox — a real, isolated cloud machine created fresh for this run (visible in your Daytona dashboard, named after the run). Your parameter overrides travel in as environment variables (P2R_STEPS=2000). If the sandbox can't be created, a local subprocess fallback keeps the demo alive.
  4. The script reports results under a strict contract: its final stdout line must be one JSON object — {method_id, params, metrics, claim_checks:[{claim_id, verdict, detail}]}. Crucially, each verdict is computed inside the script by comparing measured metrics to explicit thresholds. The system cannot wish a claim true.
  5. The curator writes evidence into the graph — a Run node with metrics and params, an Artifact node with the captured log, IMPLEMENTS to the method, and VALIDATES/REFUTES edges (each carrying a human-readable detail) to the claims. A failed run is curated too — status, error, and logs become evidence.
  6. The UI reacts: the console streams the staged log (① generating… ② dispatching… ④ VALIDATES wilson2017-c2 — GD test error 0.000 vs Adam 0.425 ⑤ graph updated ✓), the camera flies to the new glowing Run node, and the evidence table's dashed "no runs yet" pills flip to green VALIDATES / red REFUTES pills.

Total wall time: ~5–10 seconds with Daytona, ~2 seconds locally.


5. The knowledge graph — what's stored and how it's connected

erDiagram
    AUTHOR ||--o{ PAPER : WROTE
    PAPER ||--o{ PAPER : CITES
    CLAIM }o--|| PAPER : FROM
    METHOD }o--|| PAPER : DESCRIBED_IN
    PAPER }o--o{ DATASET : EVALUATED_ON
    PAPER }o--|| TASK : ADDRESSES
    CLAIM }o--o{ CLAIM : "SUPPORTS / CONTRADICTS"
    RUN }o--|| METHOD : IMPLEMENTS
    RUN }o--o{ CLAIM : "VALIDATES / REFUTES {detail}"
    RUN ||--o{ ARTIFACT : PRODUCED

    PAPER { string id PK "wilson2017" string title int year string arxiv string topic }
    CLAIM { string id PK "wilson2017-c2" string text string metric }
    METHOD { string id PK "wilson2017-m1" string name string runnable_hint json params }
    RUN { string id PK "run-wilson2017-m1-20260707T..." string backend string status float duration_s json metrics json params }
    ARTIFACT { string id PK string kind string content "stdout, capped 4k" }
Loading

How to read it: the left half (Paper/Author/Claim/Method/Dataset) is what papers say. The right half (Run/Artifact) is what we did about it. The two meet at the verdict edges — VALIDATES / REFUTES — which is the entire point of the product.

Two practical notes:

  • Ids are stable, human-readable slugs (adam2014, wilson2017-c2, run-wilson2017-m1-20260707T204339Z), so the agent can cite them and you can grep for them.
  • The Aura instance is shared with another project, so every reset/delete in this codebase is scoped to our node labels (OUR_LABELS in app/db.py). We never run label-less deletes.

Useful canned queries live in app/queries.py: all claims per paper, all cross-paper conflicts, all runnable methods, and the demo's money query — which claims have executable evidence?


6. Uploading a new paper — from arXiv link to runnable method in ~30 seconds

flowchart TD
    A1["arXiv link or id<br/>(paste in modal)"] -->|"download PDF from<br/>export.arxiv.org"| P
    A2["PDF file<br/>(drag & drop)"] --> P
    A3["raw text<br/>(API only)"] --> T
    P["pypdf — extract text,<br/>first 12 pages"] --> T["paper text"]
    T --> X["LLM extraction (gateway):<br/>claims · methods · experiment params ·<br/>datasets · citations · cross-paper relations"]
    X --> V{"validate_extraction()<br/>schema check"}
    V -->|errors| E["HTTP 400 — nothing is written"]
    V -->|ok| W["saved to papers/{id}.txt +<br/>papers/extracted/{id}.json"]
    W --> G["graph.py MERGE into Neo4j"]
    W --> B["mirrored to Butterbase 'papers' table"]
    G --> UI2["graph reloads & focuses the new paper —<br/>its method is immediately runnable<br/>(live codegen writes the experiment)"]
Loading

What makes this smart: the extraction prompt includes a summary of the papers already in the graph, so a new paper arrives pre-linked — when we uploaded Lookahead (Zhang 2019) it landed with CONTRADICTS edges against the existing Adam claims, and SGDR (uploaded via its real arXiv PDF, 1608.03983) came in with 4 claims and a runnable method. Extraction runs through the same AI gateway as everything else and is validated before anything touches the graph — a malformed extraction writes nothing.


7. The research agent — asking questions in plain English

flowchart LR
    CHAT["chat (source)"] -->|questions| AG["agent_rocketride<br/>up to 6 reasoning waves"]
    AG -->|answers| RESP["response_answers"]
    AG -. controls .-> LLM["llm_openai_api<br/>→ Butterbase gateway"]
    AG -. controls .-> MEM["memory_internal<br/>context between waves"]
    AG -. controls .-> NEO4J["db_neo4j → Aura<br/>natural language → Cypher<br/>(read-only contract)"]
    AG -. controls .-> PY["tool_python"]
    NEO4J -. "Cypher is generated by" .-> LLM
Loading

The Ask the research agent panel routes to a RocketRide pipeline (pipelines/paper2result.pipe) running on the local engine. When Cognee is enabled (COGNEE_ENABLED=true), POST /api/ask first runs recall() over indexed paper text and run stdout — the top hits are prepended to the agent prompt so questions like "what did Wilson show about Adam generalization?" land with GD 0.000 vs Adam 0.425 even before the agent writes Cypher. The agent then works in waves: it reads your question (plus recall context), decides what to query, has the db_neo4j tool translate natural language into Cypher, inspects the results, queries again if needed, and then synthesizes an answer that cites claim ids, run ids, and exact metrics (an accuracy rule in its instructions forbids rounding or estimating).

Example — ask "Which claims now have executable evidence?" and it answers with the two Wilson claims, their run id, the 0.000 vs 0.425 test errors, and what those numbers mean.

Engineering detail worth knowing: the engine refuses to start the same pipeline twice, so the backend keeps one cached session per pipe and re-attaches with get_task_token() — that's why repeat questions answer faster than the first.

Want more agents? The multi-agent-orchestration branch adds a Conductor workflow engine over specialist sub-agents — an Investigator (audits conflicts, recommends what to test), an Executor (drives runs through the canonical API), and a Reporter (evidence briefs) — each returning machine-parseable ---P2R--- contracts that are verified by real acceptance checks (with corrective retries and a graph self-heal guard). Gate script: scripts/check_orchestration.py.


8. Cognee semantic memory — dual memory architecture

Neo4j owns the evidence graph: which claims exist, which runs validate or refute them, and where papers contradict each other. That structure is authoritative — verdicts come from real executions, written only by curator.py.

Cognee adds a complementary layer: semantic memory over the full text of papers and experiment logs. It answers a different class of questions — "what did the paper say about test error?" rather than "which claim does run X validate?"

flowchart TB
    subgraph INGEST["Automatic indexing"]
        UP["Paper upload / extract"] -->|remember| CM["app/cognee_memory.py"]
        RUN["Run curation"] -->|remember stdout + metrics| CM
    end

    subgraph STORE["Two memories, no collision"]
        NEO[("Neo4j Aura<br/>Paper · Claim · Run<br/>VALIDATES · REFUTES")]
        CG[(".cognee/<br/>vector index + graph extraction")]
    end

    subgraph ASK["Ask tab"]
        Q["User question"] --> R["recall(query)"]
        R --> CTX["Top semantic hits<br/>prepended to prompt"]
        CTX --> AG["RocketRide agent + db_neo4j"]
        AG --> NEO
        AG --> ANS["Answer with metrics + run ids"]
    end

    CM --> CG
    CM --> NEO
Loading

How we use it

Hook When What gets indexed
Paper ingest After extract.py validates JSON Paper text, claims, methods, citations — tagged by paper_id
Run curation After curator.py writes to Neo4j Run metrics, stdout excerpt, VALIDATES/REFUTES verdicts — tagged by run_id
POST /api/ask Before RocketRide runs recall(question) → top hits injected into agent context
POST /api/memory/recall Direct API Semantic search without invoking the full agent

Why it helped at HackWithBay

The demo ships three optimizer papers that genuinely disagree (Adam, Wilson et al., AdamW). Judges could ask natural-language questions across all three without writing Cypher:

  • "What did Wilson show about Adam on the separable problem?" → Cognee surfaces the 0.000 vs 0.425 counterexample from indexed run logs.
  • "How does AdamW differ on generalization?" → Recall hits the paper's prose about decoupled weight decay before the agent queries the graph.

Two memories, one product: Neo4j holds proof (structured verdicts); Cognee holds context (prose and logs). Together the Ask tab feels like talking to a lab notebook, not a database console.

Enable locally (default)

# .env — local storage in .cognee/, fastembed embeddings
COGNEE_ENABLED=true
ROCKETRIDE_GATEWAY_BASE_URL=...   # same gateway as extraction/codegen
ROCKETRIDE_GATEWAY_KEY=...
ROCKETRIDE_GATEWAY_MODEL=x-ai/grok-4.3

# Backfill seed papers + existing runs/
COGNEE_ENABLED=true .venv/bin/python scripts/sync_cognee.py

# Smoke test
.venv/bin/python scripts/test_cognee_memory.py

Embeddings run locally via fastembed; graph extraction uses the Butterbase gateway. Storage stays in .cognee/ (gitignored), separate from Neo4j — no schema collisions.

Enable Cognee Cloud (Sessions + Brain on platform.cognee.ai)

By default, local mode does not send data to your Cognee Cloud workspace — that is why Sessions and Brain stay empty on the dashboard. To route remember() / recall() to the cloud:

# .env — from platform.cognee.ai → API Keys
COGNEE_ENABLED=true
COGNEE_CLOUD=true
COGNEE_SERVICE_URL=https://your-tenant.aws.cognee.ai
COGNEE_API_KEY=ck_...
# optional: COGNEE_SESSION_ID=verigraph  (groups agent writes in Sessions tab)

# Backfill into default_dataset on your cloud tenant
.venv/bin/python scripts/sync_cognee.py

Uses cognee.serve() under the hood. Dataset defaults to default_dataset in cloud mode (override with COGNEE_DATASET). After sync, refresh Brain and Sessions on the Cognee dashboard.

Note: Cognee is wired into the local FastAPI stack only. The Butterbase-deployed read-only demo replays persisted runs but does not run Cognee indexing server-side.


9. Sponsor stack — what each partner does

Partner Role in one sentence Where in the code
RocketRide (local engine) The reasoning brain: wave-based agent with memory and tools, defined as a portable .pipe JSON pipelines/paper2result.pipe, scripts/check_pipeline.py
Neo4j Aura The product's memory: every paper, claim, conflict, run, and verdict is a node or edge app/db.py, app/graph.py, app/queries.py, app/curator.py
Butterbase Two jobs: the AI gateway serves all LLM calls (no OpenAI key in the project), and a dedicated app (paper2result) archives papers + run history in Postgres tables app/llm.py, app/butterbase.py
Daytona Safe hands: every generated experiment executes in a fresh, isolated sandbox — visible in the dashboard, auto-cleaned app/runner.py
Bright Data (optional) Web Unlocker fallback when direct arXiv PDF/HTML downloads fail (timeouts, bot blocks) app/brightdata.py, app/arxiv.py
Cognee (optional) Semantic memory over paper text and run logs; recall() augments /api/ask app/cognee_memory.py, scripts/sync_cognee.py

10. Repo map — every file explained

app/
  extract.py     Reads paper text and asks the LLM for structured JSON:
                 claims, methods (with the paper's experiment parameters),
                 datasets, citations, cross-paper SUPPORTS/CONTRADICTS.
                 Validates the schema before anything is stored.
                 --mock mode uses hand-verified golden files.
  graph.py       Loads extracted JSON into Neo4j. Everything is MERGE
                 (idempotent — safe to re-run). --reset deletes ONLY our
                 labels, never the shared instance's other data.
  queries.py     Canned Cypher: claims / conflicts / methods / evidence.
  codegen.py     Turns a Method node into a runnable single-file numpy
                 experiment. Order: papers/impl/ curated file first; else
                 live LLM generation (then cached to papers/impl/ so
                 re-runs are stable and reviewable).
  runner.py      Executes an implementation. Backends: daytona (named,
                 labeled sandbox; params passed as P2R_* env vars) or
                 local subprocess. Persists runs/{run_id}.json with
                 stdout/stderr/duration/parsed result. Failures are
                 recorded, not raised.
  curator.py     THE ONLY writer of evidence. Takes a run record and
                 MERGEs Run + Artifact nodes and IMPLEMENTS /
                 VALIDATES / REFUTES edges into Neo4j.
  butterbase.py  Mirrors papers and run history into the paper2result
                 Butterbase app (insert-or-skip; ids are immutable).
  arxiv.py       Fetches paper text from arXiv URLs (PDF + HTML fallbacks).
                 Optional Bright Data Web Unlocker when BRIGHTDATA_API_TOKEN is set.
  brightdata.py  Thin wrapper around brightdata-sdk scrape_url for paper ingestion.
  cognee_memory.py  Optional Cognee remember/recall for paper text and run stdout.
  server.py      FastAPI. Endpoints: GET /api/graph, GET /api/evidence,
                 GET /api/insights, GET /api/conflicts, GET /api/runs,
                 GET /api/export, POST /api/run/:id, POST /api/ask,
                 POST /api/memory/recall, POST /api/upload*, workspace + reset
  insights.py   Coverage stats, conflict adjudication, run history, export snapshot
  grounded_qa.py Graph-grounded agent fallbacks when RocketRide is offline
  db.py          Shared Neo4j driver + macOS certifi fix + OUR_LABELS.
  llm.py         The one LLM door: chat() against the Butterbase gateway,
                 plus JSON / code-block extraction helpers.
papers/
  *.txt          Paper texts (seed excerpts + uploads).
  extracted/     One JSON per paper: the validated extraction.
  impl/          One .py per method: the runnable experiment
                 (curated or LLM-generated-and-cached).
pipelines/
  paper2result.pipe   The RocketRide agent (diagram in §7); Cognee recall augments /api/ask when enabled (§8).
scripts/
  check_neo4j.py      Connectivity smoke test.
  check_pipeline.py   Agent pipeline smoke test.
  sync_cognee.py      Backfill Cognee index from papers/ + runs/.
  test_cognee_memory.py  Unit smoke test for remember/recall.
  test_insights_logic.py Conflict adjudication unit smoke test.
  check_cognee_cloud.py  Smoke test Cognee Cloud connectivity (COGNEE_CLOUD=true).
  demo_loop.py        Whole closed loop in one command + graph diff.
  reset_demo.py       Pristine pre-demo state: clears Run/Artifact only,
                      reloads papers → every claim shows "no runs yet".
static/
  index.html     The entire UI (one file): vis-network evidence-flow
                 graph with fixed columns, zoom controls, params grid,
                 minimizable run log, evidence pills, agent chat,
                 upload modal.
BUILD_LOOP.md    The autonomous build log — this project was built by a
                 self-pacing agent loop; every milestone was smoke-tested
                 before its box was checked. Fun read.

11. Getting started

Prerequisites

  • Python 3.11+
  • A Neo4j Aura instance (free tier works)
  • A Butterbase account (API key + an app for the AI gateway)
  • A Daytona API key (free tier works; org must have a default region set in the dashboard)
  • RocketRide engine running locally on :5565 (VS Code extension)
  • (Optional) Bright Data API token for resilient arXiv fetch (BRIGHTDATA_API_TOKEN)
  • (Optional) Cognee semantic memory (COGNEE_ENABLED=true + gateway vars; run scripts/sync_cognee.py)

Setup

python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
cp .env.example .env    # fill in: NEO4J_*, BUTTERBASE_*, ROCKETRIDE_*, DAYTONA_API_KEY, BRIGHTDATA_API_TOKEN (optional)

.venv/bin/python scripts/check_neo4j.py       # 1. can we reach the graph?
.venv/bin/python app/graph.py --reset         # 2. load the seed papers
.venv/bin/python scripts/check_pipeline.py    # 3. does the agent answer?

.venv/bin/uvicorn app.server:app --port 8787  # 4. open http://localhost:8787

The whole loop in one command (no UI)

.venv/bin/python scripts/demo_loop.py wilson2017-m1
# === graph diff (claims whose evidence changed) ===
#   wilson2017-c1: 'no runs yet' -> 'VALIDATES by run-wilson2017-m1-...'
#   wilson2017-c2: 'no runs yet' -> 'VALIDATES by run-wilson2017-m1-...'
# loop CLOSED ✓: paper → method → code → daytona run → result → graph

2-minute demo script

  1. python scripts/reset_demo.py — evidence table shows "no runs yet" everywhere.
  2. Open the UI: "Left column: papers. Then their claims — the dashed amber arcs are papers contradicting each other. Then methods, and an empty EXPERIMENT RUNS column."
  3. Click Linearly separable counterexample → point at the paper's own experiment parameters → ▶ RUN.
  4. Narrate the console: code generated → Daytona sandbox → "GD test error 0.000, Adam 0.425 — the paper's effect, reproduced live" → new ⚡Run node flies in → pills flip to VALIDATES.
  5. Ask the agent: "Which claims now have executable evidence?" — it cites the run id and exact metrics from the graph.
  6. Finish: "The graph now knows not only what the paper claimed — but what actually ran." Optionally: change p_pos to 0.5 and re-run to show an honest parameter sensitivity check, or paste an arXiv link and run a brand-new paper's method end-to-end.

12. The science is real

The flagship experiment reproduces Wilson et al. 2017 (The Marginal Value of Adaptive Gradient Methods, arXiv:1705.08292). On their linearly-separable construction, gradient descent reaches 0.000 test error while Adam hits 0.425, and Adam's first three weights come out exactly equalized — the precise failure mode the paper's theory predicts. Reproducing it honestly required matching the paper's conditions (class imbalance p_pos=0.6, full-batch training); with different settings the claim check can flip to REFUTES, which the system reports just as faithfully. That's the point: verdicts come from measurements, not from wishful parsing.

13. Status — everything verified end-to-end

Component Status
Extraction — golden + live LLM (arXiv / PDF / text) ✅ verified
Neo4j knowledge graph + conflict/evidence queries ✅ verified
Codegen — curated + live LLM for any method ✅ verified
Runner — Daytona sandboxes + local fallback ✅ verified
Closed loop → evidence flip in the UI ✅ verified
RocketRide agent (graph Q&A with exact citations) ✅ verified
Demo UI (graph, params, console, evidence, ask, upload) ✅ verified
Butterbase (gateway LLM + papers/runs persistence) ✅ verified
Cognee semantic memory (remember/recall + /api/ask augmentation) ✅ verified (opt-in)
Multi-agent Conductor (multi-agent-orchestration branch) ✅ Playbook A gate passes

About

Paper-to-Results Graph turns research papers into executable evidence

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages