Skip to content

Repository files navigation

HumanStudy-Bench Logo

HumanStudy-Bench

A benchmark for evaluating AI agents through runnable human studies

Read the Paper MIT License Contributions welcome


HumanStudy-Bench is a standardized testbed for replaying human-subject experiments with AI agents. It combines:

  • an execution engine that reconstructs published experimental protocols;
  • a growing collection of runnable social-science studies; and
  • evaluation at the level of behavior, effects, and scientific findings.

The 12 foundational studies cover cognition, strategic interaction, and social psychology. Community studies live alongside them under studies/.

Add a study

There are two contribution paths.

Path Best for Current status
Build Study Researchers starting from a paper PDF and optional open materials Private beta. HumanStudy-Hub runs this repository's pipeline, persists review decisions, and produces a ZIP or GitHub pull request.
Direct pull request Contributors who want full control over study files Available now. Build the folder locally, run validation, and open a PR.

The intended Build Study workflow is:

paper PDF + optional OSF/open materials
  -> evidence and study extraction
  -> researcher review at uncertain decisions
  -> runnable HumanStudy-Bench folder
  -> download ZIP and/or save to GitHub

Build Study is currently operated through the private HumanStudy-Hub web application. The direct contribution documentation remains supported for researchers who prefer to author or inspect every file themselves. The manual entry point is the direct pull request guide.

Direct pull request

  1. Fork this repository and clone your fork.
git clone https://github.com/<your-github-id>/HumanStudy-Bench.git
cd HumanStudy-Bench
git checkout -b contrib-<your-github-id>-<study-name>
  1. Add a study folder.
studies/<contributor-id>_<study-id>/
  index.json
  README.md
  source/
  scripts/
  1. Validate it locally.
bash scripts/verify_study.sh <contributor-id>_<study-id>
  1. Commit the study, push your branch, and open a pull request targeting main. CI validates the package and contributor attribution; maintainers complete the human review and assign the final study ID.

Contributor guides:

Generation pipeline

This repository includes a human-in-the-loop pipeline for drafting a study folder from a paper PDF and optional OSF or supplementary sources.

  1. Inventory empirical units and comparison groups.
  2. Extract findings, effects, samples, and statistics.
  3. Assemble and audit participant-facing materials.
  4. Write a package under studies/<study_id>/.
  5. Run a simulation only after the package passes readiness review.

Install the generation dependencies:

python -m pip install -e ".[llm,pdf]"
cp config/settings.example.yaml config/settings.yaml

Do not commit config/settings.yaml.

Run a stage with:

python generation_pipeline/run.py \
  --settings config/settings.yaml \
  --stage 1 \
  --pdf /absolute/path/to/paper.pdf \
  --provider openai \
  --model gpt-5-mini

Generated evidence and review artifacts are written under generation_pipeline/outputs/<paper_id>/. Pipeline-generated packages remain blocked from simulation until source/audit.json marks them ready. The pipeline entry point is generation_pipeline/run.py; run it with --help for the full stage and review options.

Repository structure

studies/               Runnable benchmark studies
src/                   Execution and evaluation code
generation_pipeline/   PDF/material extraction and package generation
scripts/               Study validation and index utilities
docs/                  Manual contribution guides
tests/                 Pipeline and benchmark tests

Citation

@misc{liu2026humanstudybenchaiagentdesign,
      title={HumanStudy-Bench: Towards AI Agent Design for Participant Simulation},
      author={Xuan Liu and Haoyang Shang and Zizhang Liu and Xinyan Liu and Yunze Xiao and Yiwen Tu and Haojian Jin},
      year={2026},
      eprint={2602.00685},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2602.00685},
}

License

MIT License. See LICENSE.

Releases

Packages

Contributors

Languages