Dataset Viewer
Auto-converted to Parquet Duplicate
plate_ID
stringclasses
1 value
plate_well
stringlengths
3
3
is_blank
bool
1 class
family_ID.group
int64
100
1k
sample_ID.group
float64
treatment.group
float64
exclude_from_analysis
float64
exclude_reason
float64
width_mm.measurement
float64
length_mm.measurement
float64
weight_mg.measurement
float64
area_mm2.measurement
float64
imageJ_ID
float64
plate-A
A01
true
100
null
null
null
null
null
null
null
null
null
plate-A
A02
true
200
null
null
null
null
null
null
null
null
null
plate-A
A03
true
300
null
null
null
null
null
null
null
null
null
plate-A
A04
true
400
null
null
null
null
null
null
null
null
null
plate-A
A05
true
500
null
null
null
null
null
null
null
null
null
plate-A
A06
true
750
null
null
null
null
null
null
null
null
null
plate-A
A07
true
900
null
null
null
null
null
null
null
null
null
plate-A
A08
true
1,000
null
null
null
null
null
null
null
null
null
plate-A
B01
true
100
null
null
null
null
null
null
null
null
null
plate-A
B02
true
200
null
null
null
null
null
null
null
null
null
plate-A
B03
true
300
null
null
null
null
null
null
null
null
null
plate-A
B04
true
400
null
null
null
null
null
null
null
null
null
plate-A
B05
true
500
null
null
null
null
null
null
null
null
null
plate-A
B06
true
750
null
null
null
null
null
null
null
null
null
plate-A
B07
true
900
null
null
null
null
null
null
null
null
null
plate-A
B08
true
1,000
null
null
null
null
null
null
null
null
null
plate-A
C01
true
100
null
null
null
null
null
null
null
null
null
plate-A
C02
true
200
null
null
null
null
null
null
null
null
null
plate-A
C03
true
300
null
null
null
null
null
null
null
null
null
plate-A
C04
true
400
null
null
null
null
null
null
null
null
null
plate-A
C05
true
500
null
null
null
null
null
null
null
null
null
plate-A
C06
true
750
null
null
null
null
null
null
null
null
null
plate-A
C07
true
900
null
null
null
null
null
null
null
null
null
plate-A
C08
true
1,000
null
null
null
null
null
null
null
null
null
plate-A
D01
true
100
null
null
null
null
null
null
null
null
null
plate-A
D02
true
200
null
null
null
null
null
null
null
null
null
plate-A
D03
true
300
null
null
null
null
null
null
null
null
null
plate-A
D04
true
400
null
null
null
null
null
null
null
null
null
plate-A
D05
true
500
null
null
null
null
null
null
null
null
null
plate-A
D06
true
750
null
null
null
null
null
null
null
null
null
plate-A
D07
true
900
null
null
null
null
null
null
null
null
null
plate-A
D08
true
1,000
null
null
null
null
null
null
null
null
null
plate-A
E01
true
100
null
null
null
null
null
null
null
null
null
plate-A
E02
true
200
null
null
null
null
null
null
null
null
null
plate-A
E03
true
300
null
null
null
null
null
null
null
null
null
plate-A
E04
true
400
null
null
null
null
null
null
null
null
null
plate-A
E05
true
500
null
null
null
null
null
null
null
null
null
plate-A
E06
true
750
null
null
null
null
null
null
null
null
null
plate-A
E07
true
900
null
null
null
null
null
null
null
null
null
plate-A
E08
true
1,000
null
null
null
null
null
null
null
null
null
plate-A
F01
true
100
null
null
null
null
null
null
null
null
null
plate-A
F02
true
200
null
null
null
null
null
null
null
null
null
plate-A
F03
true
300
null
null
null
null
null
null
null
null
null
plate-A
F04
true
400
null
null
null
null
null
null
null
null
null
plate-A
F05
true
500
null
null
null
null
null
null
null
null
null
plate-A
F06
true
750
null
null
null
null
null
null
null
null
null
plate-A
F07
true
900
null
null
null
null
null
null
null
null
null
plate-A
F08
true
1,000
null
null
null
null
null
null
null
null
null

TwinLab-Bench: Evaluating AI Scientists in Agentic Twins of Real Labs


TwinLab-Bench

Paper Project Page Leaderboard Task Dashboard Dataset

Overview

TwinLab-Bench is a benchmark that evaluates AI scientists on experiments that they design themselves. Each task comes from the records of a real laboratory. The agent receives the notebooks, raw data, and interim conclusions that the laboratory had at one point of its work, requests the experiments that it designs within a budget, and submits a report. The report is scored by comparison with a hidden answer taken from what the laboratory later found.

Each task has its own TwinLab agent, which serves as the environment and executes the experiments that the tested agent designs. The TwinLab agent returns the recorded result for an experiment that the laboratory performed, and runs calculators built from the records of the laboratory for the other experiments.

These tasks remain hard for frontier models, and the strongest model, Claude Fable 5.2, averages a score of 45.0 out of 100. Compare models on the leaderboard, browse every task and one run of it on the task dashboard, and download the tasks from Hugging Face. To report a problem with a task, open an issue.

Task Coverage

TwinLab-Bench contains 52 tasks from laboratories in the physical sciences (20 tasks), the life sciences (20 tasks), and engineering (12 tasks). The task dashboard lists all of them.

The 52 tasks of TwinLab-Bench by division and department, with four example tasks

Running the Benchmark

Setup

You need Linux with bubblewrap, Python 3.11 or later, Claude Code, and a DeepSeek API key. Claude Code needs to be signed in only when a Claude model is the actor. Codex is needed only for GPT actors. machine.example.yaml lists the Claude Code and Codex versions that we tested.

pip install -U huggingface_hub
hf download ZJUSCL/TwinLab-Bench --repo-type dataset --local-dir TwinLab-Bench
cd TwinLab-Bench
pip install -r requirements.txt
cp machine.example.yaml machine.yaml   # edit the paths in this file
mkdir -p ~/.config/twinlab/claude-ds

DeepSeek-flash serves as the TwinLab agent and the judge agent through Claude Code. By default Claude Code calls DeepSeek's Anthropic-format API at https://api.deepseek.com/anthropic (set DEEPSEEK_BASE_URL_ANTHROPIC for another endpoint).

export DEEPSEEK_API_KEY=sk-...

(Optional) For an endpoint that accepts only the OpenAI format, set DEEPSEEK_BASE_URL_OPENAI and start the local proxy, which converts the requests.

export DEEPSEEK_BASE_URL_OPENAI=https://api.deepseek.com
python scripts/llm_proxy.py write-config --model deepseek-flash --upstream-model deepseek-flash \
  --api-base $DEEPSEEK_BASE_URL_OPENAI --key-env DEEPSEEK_API_KEY \
  --master-key sk-local-twinlab --config ~/.config/twinlab/litellm.yaml
python scripts/llm_proxy.py start --config ~/.config/twinlab/litellm.yaml --port 4001 --workers 32

Run

Run one task.

python scripts/run_case.py --case cases/029-die-attach-release-01/case.yaml --n-runs 1 \
  --actor-agent claude-code --actor-model claude-opus-5-5 --actor-effort high \
  --env-model deepseek-flash --judge-model deepseek-flash \
  --actor-timeout-s 10800 --checkpoints case --out runs

Run all 52 tasks. The script prints a table of scores and writes each run to runs/<task>/<time>/run_0/, where result.json holds the score.

python scripts/run_batch.py --cases cases/*/case.yaml --n-runs 1 \
  --actor-agent claude-code --actor-model claude-opus-5-5 --actor-effort high \
  --env-model deepseek-flash --judge-model deepseek-flash \
  --actor-timeout-s 10800 --checkpoints case --jobs 52 --out runs \
  --env-check-scratch /tmp/twinlab_env_check

A run that stops on an error continues with python scripts/resume_run.py --run-dir <run dir>. To test another model, use --actor-agent codex for GPT models, or add the model to model_backends in machine.yaml and keep --actor-agent claude-code.

Citation

If you find this work useful, please cite it.

@article{wan2026twinlabbench,
  title   = {{TwinLab-Bench}: Evaluating {AI} Scientists in Agentic Twins of Real Labs},
  author  = {Wan, Yang and Zhu, Linchao},
  journal = {arXiv preprint arXiv:2611.26248},
  year    = {2026},
  url     = {https://twinlab-bench.github.io/}
}

Contact

For questions and feedback, contact wanyang@zju.edu.cn.

Acknowledgements

TwinLab-Bench is built on the records of real laboratories. We thank the researchers who published the lab notebooks, raw data, and papers that the tasks come from, and the data providers who answered our emails and allowed us to reuse their records. Every task uses its source records under the terms of their licenses. The task table in the appendix of our paper lists the source records and papers of every task, and the bibliography of the paper gives their full references. If you use a task, please also cite its sources from this bibliography.

Downloads last month
73

Paper for ZJUSCL/TwinLab-Bench