Retrieved article excerpt
Open article ยท Retrieved 2026-11-27T08:21:28.219495+00:00
Clinical Trial Decision Lab logo
# Clinical Trial Decision Lab
**An open, reproducible benchmark of AI decision models against general LLMs and trained classifiers for clinical-trial evidence work.**
On 1,210 include-or-exclude decisions from 79 systematic reviews, six of seven systems scored 60โ63%, where guessing scores 50%.
[License](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/LICENSE)
[DOI](https://doi.org/10.5281/zenodo.24562228)
[Smart Mobile House](https://smartmobilehouse.com)
[Balanced accuracy on 1,210 include-or-exclude decisions: GPT-6 Luna 62.9%, Bespoke Nimble 4.1 61.2%, Perplexity Decider 1.3 60.9%, Gemini Decision 1 60.7%, XGBoost 60.4%, Claude Haiku 5.5 59.9%, logistic regression 54.8%; guessing scores 50%](https://smartmobilehouse.com/research/clinical-trial-decision-lab/)
## Results
Report v1.0 (locked run of 25 November 2026). Full write-up with charts and ranges: [Where AI Decision Models Earn Their Place in Clinical-Trial Evidence Work, and Where They Do Not](https://smartmobilehouse.com/research/clinical-trial-decision-lab/).
**The task.** A systematic review considered a paper. Given the review's title and the paper's title and abstract, did the review include the paper or exclude it?
| System | Kind | Balanced accuracy (95% range) | Cost per 1,000 papers |
| --- | --- | --- | --- |
| GPT-6 Luna | General LLM, asked for a probability | 62.9% (60.0โ65.9) | $0.0761 |
| Bespoke Nimble 4.1 | Decision model | 61.2% (58.2โ64.1) | $0.0272 |
| Perplexity Decider 1.3 | Decision model | 60.9% (57.9โ63.9) | $0.0134 |
| Google Gemini Decision 1 | Decision model | 60.7% (58.1โ63.3) | $0.0649 |
| XGBoost | Trained on other reviews | 60.4% (57.7โ63.2) | local |
| Claude Haiku 5.5 | General LLM, asked for a probability | 59.9% (56.9โ62.9) | $0.1239 |
| Logistic regression | Trained on other reviews | 54.8% (52.3โ57.3) | local |
- **The one pre-declared test passed, narrowly.** Decider 1.3 minus GPT-6 Luna was โ2.01 points (range โ4.96 to +0.80), inside the five-point margin fixed before the run. This does not show the two are equal.
- **Lower cost, repeatable answers.** Decider's estimated cost was 17.6% of GPT-6 Luna's. It repeated 99.3% of its include-or-exclude answers on a second pass.
- **No clear advantage over XGBoost.** Decider minus XGBoost was +0.48 points (range โ3.17 to +4.27). It did beat logistic regression.
- **A cleaning error, found and rerun.** After the run we found that our text cleaning had deleted passages from 325 of the 1,210 abstracts. In a rerun with the passages restored, the outcome of every question was unchanged: Decider minus GPT-6 Luna was โ0.80 points (range โ3.64 to +2.02). The table above shows the locked run; the rerun is an after-the-fact check.
- **Not reliable enough to act alone.** A rule that acted only on Decider's most confident answers was right on 65 of 91 automatic exclusions and 151 of 201 automatic inclusions.
The decision models and general LLMs had no training on this task; the classifiers learned from labelled papers from other reviews. The sample is balanced and uses open-licence abstracts only, so these are not figures for a real screening workload. See [Notes & limitations](https://github.com/SmartMobileHouse/clinical-trial-decision-lab#notes--limitations).
## What it compares
| System | How it answers | Runs |
| --- | --- | --- |
| **Perplexity Decider 1.3**, **Bespoke Nimble 4.1** | Decision models: a probability for one yes-or-no question | Via API |
| **Google Gemini Decision 1** | Decision model | Via OpenRouter |
| **GPT-6 Luna**, **Claude Haiku 5.5** | General LLMs asked to return a probability, reasoning off | Via API |
| **XGBoost**, **logistic regression** | Classifiers on word features, trained on 5,067 labelled papers from 1,075 other reviews | Locally |
Every hosted model received the same review title, paper title, abstract and question through its own request format. The main measure is balanced accuracy, averaged equally over reviews, with ranges from 10,000 resamples of whole reviews. The sample, prompt, questions, pass marks and analysis script were fixed and fingerprinted before any prediction was collected.
## What is in this repository
| Part | Content | Model results |
| --- | --- | --- |
| [`studies/screening/`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/studies/screening) | The study behind the report: plan, sample identifiers, runners, locked analysis, post-hoc checks, aggregate results | Yes, the table above |
| `src/triallab/`, `data/synthetic/` | The benchmark software, and an earlier synthetic benchmark for triage of enrollment-eligibility and informed-consent issues (600 fictional cases, eight frozen questions, a rules baseline) | Rules baseline only; no AI model has been run on it |
The two are separate. The report's results come only from the screening study.
Not in this repository: paper abstracts (fetch them again from Europe PMC by identifier), the hosted models' per-paper answers (held back until each provider's terms on publishing raw outputs are confirmed; available on request, subject to each provider's terms), and any regulatory or patient-level material.
## Quick start
No API keys, no downloads beyond dependencies, no paid calls.
```
git clone https://github.com/SmartMobileHouse/clinical-trial-decision-lab
cd clinical-trial-decision-lab
uv sync --frozen # install pinned dependencies (Python 3.12)
uv run triallab doctor # check your setup; prints no secrets
```
Check the screening study offline (fingerprints of the frozen files, and the trained classifiers' scores recomputed from their saved predictions):
```
uv run pytest tests/unit/test_screening_study.py
```
See the benchmark software work in one command (offline):
```
make demo # rules on the synthetic test set, a dry run of two adapters -> outputs/demo-report.html
```
More commands:
```
uv run triallab models # the model registry: enabled, verified, publishable
uv run triallab run --systems rules,flag_all,flag_none # the local baseline on the synthetic test split
uv run triallab run --systems jev,llm_openai --dry-run # exercise adapters with fixture responses
uv run triallab data verify # dataset reproducibility and label integrity
uv run triallab preflight --technical # automated publication checks
```
Re-running the screening analysis is described in [`studies/screening/README.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/studies/screening/README.md).
## Configuration
Live runs read credentials from a local `.env` file (gitignored). Copy the template and fill in only the providers you want to run:
```
cp .env.example .env && chmod 600 .env
```
| Variable | Provider |
| --- | --- |
| `PERPLEXITY_API_KEY` | Perplexity Decider |
| `BESPOKE_API_KEY` | Bespoke Nimble |
| `OPENROUTER_API_KEY` | Google Gemini Decision 1 (through OpenRouter) |
| `OPENAI_API_KEY` | GPT-6 Luna |
| `ANTHROPIC_API_KEY` | Claude Haiku 5.5 |
The screening run requested `pplx-decider-v1.3`, `nimble-v4.1-max`, `google/gemini-decision-1`, `gpt-6-luna` and `claude-haiku-5-5`. A requested identifier does not freeze a provider's server implementation. All models, endpoints, prices and terms are in [`configs/models.yaml`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/configs/models.yaml) and [`docs/MODEL-REGISTER.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/MODEL-REGISTER.md).
Live runs need `--allow-external-requests` and a `--max-cost-usd` estimate. The estimate is not a provider-enforced billing cap; use provider-side spending controls as well.
## Status
- Screening study: locked run, independent recalculation, correction note, post-hoc checks, rerun with corrected text
- Offline integrity test for the screening study
- Adapters for decision models and structured-output LLMs, with a spending guard for live runs
- Synthetic eligibility-and-consent benchmark: dataset, reference labels, rules baseline, metrics
- Publication checks for data rights, provenance, restricted files and secrets
- Hosted CI and a Zenodo archive of the code
- AI model runs on the synthetic benchmark
- Public release of the hosted models' per-paper answers
## Documentation
| Document | Content |
| --- | --- |
| [`studies/screening/README.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/studies/screening/README.md) | The screening study: files, what is missing, how to re-run |
| [`studies/screening/reports/`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/studies/screening/reports) | The frozen plan, the original results, the correction note, the post-hoc checks |
| [`docs/BENCHMARK-SPECIFICATION.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/BENCHMARK-SPECIFICATION.md) | Synthetic benchmark: inputs, outputs, labels, reference rules, metrics, statistics |
| [`docs/ARCHITECTURE.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/ARCHITECTURE.md) | Packages, contracts, safety properties, adding a model |
| [`docs/REPRODUCIBILITY.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/REPRODUCIBILITY.md) | Exact commands, expected baseline values, limits of reproduction |
| [`docs/LIMITATIONS.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/LIMITATIONS.md) | What the synthetic benchmark cannot show |
| [`docs/MODEL-REGISTER.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/MODEL-REGISTER.md) | Every model: identifier, endpoint, price, terms, status |
| [`docs/DATA-LICENSING-AUDIT.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/DATA-LICENSING-AUDIT.md), [`docs/DATA-SOURCE-REGISTER.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/DATA-SOURCE-REGISTER.md) | Rights and register for every data source, tool and model API |
| [`docs/THIRD-PARTY-LICENSES.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/THIRD-PARTY-LICENSES.md), [`THIRD_PARTY_NOTICES.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/THIRD_PARTY_NOTICES.md) | Dependencies and notices |
| [`docs/RELEASE-APPROVAL.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/docs/RELEASE-APPROVAL.md) | Blockers and the release checklist |
## Development
```
uv sync --frozen
make check # ruff, mypy, pytest (offline), dataset verification, licence screen, gitleaks, technical preflight
make format # auto-fix lint and formatting
make release-check # full publication preflight; fails until approvals are recorded
make help # list all targets
```
Run `make check` before every push. Tests can never reach the network; tests that call a real paid API are marked `live` and never run by default. The files under `studies/` are byte-identical archived copies with frozen fingerprints, so the formatter skips them. See [`CONTRIBUTING.md`](https://github.com/SmartMobileHouse/clinical-trial-decision-lab/blob/main/CONTRIBUTING.md).
## Notes & limitations
- **Less information than a reviewer has.** The systems saw a review title, a paper title and an abstract. Reviewers decide with the full paper and written selection criteria. This is "predict the published decision from limited information", which is harder than, and different from, the reviewer's job.
- **Balanced, open-licence sample.** Half the papers were included and half excluded, and only abstracts under CC0, CC BY, CC BY-SA or CC BY-ND were used. Real workloads are not balanced.
- **A narrow pass on a chosen margin.** The five-point margin was set by judgement before the run. A f