Open method

Context–Evidence Graph (CEG)

Two studies can reach opposite results and both be right, because the dose, the setting or the measurement was different. A Context–Evidence Graph keeps those details attached to every result, so AI assistants and people can explore the research in any field without flattening real differences.

  • group dose unit Fig. 3B

    1 · Keeps the details

    Groups, doses and units stay attached

    Instead of turning a paper into one short sentence, each finding keeps its treatment and control groups, sample size, measurement unit and exact place in the paper.

  • 2 · Shows why studies differ

    Different settings stay separate

    Cells in a dish, a mouse graft, donated human tissue and a clinical trial are never collapsed onto one scale. Disagreement across settings stays visible as biology, not noise.

  • 3 · Explore freely, check at save

    Free thinking, strict checking

    An AI assistant can brainstorm, compare mechanisms and propose ideas freely in chat. Only records saved to the shared graph must pass deterministic software checks.

An example

Two studies that seem to disagree

Take two made-up studies of a signal called X. One reports that it protected the cells, the other that it impaired their function. A one-line summary keeps only those two sentences.

One-line summaries

The details are dropped

Detail Study A Study B
Finding “Signal X protected the cells” “Signal X impaired function”
Tested in Dropped Dropped
Version of X Dropped Dropped
Measured Dropped Dropped
Source Dropped Dropped

Looks like a contradiction

With nothing else to go on, an AI averages the two or picks a side.

Context–Evidence Graph

Every detail stays attached

Detail Study A Study B
Finding “Signal X protected the cells” “Signal X impaired function”
Tested in Human cells in a dish Graft in a mouse
Version of X Surface-anchored Full-length, at a 5× higher level
Measured Cell survival (%) Insulin release (ratio)
Source Fig. 3B Table 1

Both results hold

A different setting, version and measurement. Every number can be traced to its figure or table.

Standard retrieval pipelines strip experimental groups and units to fit snippets into a prompt. A Context–Evidence Graph stores them as fields on every record.

How to use it

Build or query a Context–Evidence Graph in any field

Nothing in the method is specific to diabetes or biology. The same five-part graph and six commit checks work for oncology, cardiology, ecology, materials science, clinical trials or machine-learning benchmarks.

Step 1

Turn each paper into groups and outcomes

For each primary study, list every experimental and control group separately (species, tissue or system, intervention, dose and timing), then record each measured outcome with its exact unit, sample size and figure or table pointer.

Step 2

Keep settings in a partial order

Declare which experimental settings are closer to the target question without pretending two different models can always be ranked. A human cell dish and a mouse graft answer different parts of the problem; both stay visible.

Step 3

Check every saved record with the verifier

Explore freely in an AI chat window, then pass candidate commits through ceg_reference.py. The verifier rejects incompatible units, orphaned arms, inadmissible context leaps, altered edit logs or missing source pins before anything enters the shared graph.

Try the standalone Python package

The reference verifier (ceg_reference.py) uses only the Python 3 standard library. Clone the repository to run three worked examples, the 1,931-case synthetic benchmark and the 12-study PubMed evaluation, or adapt the schema and prompt templates in HOW-TO-USE-CEG.md to a new corpus.

# clone the open repository (needs Python 3.9 or newer, zero external packages)
git clone https://github.com/openislet/ceg.git
cd ceg

# verify a standalone JSON package directly with the reference verifier CLI
python3 -B ceg_reference.py verify examples/minimal_valid_package.json

# run worked examples across antifibrotic drugs, exercise physiology and type 1 diabetes
python3 -B domain_vignettes.py --domain both
python3 -B domain_vignettes.py --domain t1d_islet_replacement

# run the 1,931-case synthetic benchmark and the 12-study PubMed evaluation
python3 -B ceg_synthetic_benchmark.py
python3 -B ceg_real_text_evaluation.py

In practice

Paper, open code and a 1,259-record working example

Method paper & reference code

Context–Evidence Graph (CEG): In-Context Multi-Study Scientific Synthesis with Large Language Models

Defines the typed evidence hypergraph, product partial-order context transfer, unit and Unicode checks, reversible JSONPatch curation ledgers, synthetic and PubMed benchmarks, and an explore-freely / verify-at-commit workflow for long-context language models.

Manuscript & data: CC BY 4.0 · Reference verifier & scripts: Apache 2.0

Live corpus in type 1 diabetes

1,259 typed evidence records mapped for the Islet-1 blueprint

OpenIslet’s Type 1 Diabetes Context–Evidence Graph maps 1,259 typed evidence records (1,230 primary empirical studies plus 29 non-empirical or duplicate records across six classes), 7,975 experimental and control groups, 14,397 structured outcomes and 2,602 links to blueprint checkpoints, screened from 4,015 candidate records. Anyone can query it through an AI assistant or download the full JSON file.

Open data: CC BY 4.0 · Blueprint v0.8.0