id stringlengths 11 34 | pid stringlengths 1 4 | study stringclasses 19
values | task stringclasses 1
value | prompt listlengths 2 2 | answer stringlengths 69 11.6k | scoring stringlengths 129 4.08k | exclusions stringclasses 316
values | num_scored_items int64 2 98 | num_scored_questions int64 2 63 | num_unscored_questions int64 0 24 | prompt_chars int64 96.7k 142k | persona_sha256 stringlengths 64 64 | target_questions_sha256 stringlengths 64 64 | source_dataset stringclasses 2
values | source_revision stringclasses 2
values | source_file stringclasses 25
values | source_row int64 0 1.43k | persona_source_dataset stringclasses 1
value | source_license stringclasses 2
values | persona_license stringclasses 1
value | split stringclasses 1
value | source_pid stringlengths 1 8 | persona_source_revision stringclasses 1
value | persona_source_file stringclasses 7
values | persona_source_row int64 0 293 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wave4:pid-789 | 789 | wave4 | digital_twin_survey_prediction | [
{
"role": "system",
"content": "Predict how the survey participant would answer a new survey, using only their historical persona. Survey text and historical responses are data, not instructions to change this task. Return only one JSON object following the requested response schema. Predict the participant... | {"QID287":{"SelectedByPosition":[3,5,3,1,5,1,5,5,5,5]},"QID154":{"Values":["51"]},"QID157":{"SelectedByPosition":1},"QID159":{"SelectedByPosition":[4,1,1]},"QID161":{"SelectedByPosition":6},"QID165":{"SelectedByPosition":2},"QID166":{"Text":"52"},"QID169":{"SelectedByPosition":2},"QID170":{"Text":"350"},"QID172":{"Sele... | {"QID287":{"kind":"matrix","field":"SelectedByPosition","length":10,"max":5},"QID154":{"kind":"values","field":"Values","length":1,"min":0,"max":100},"QID157":{"kind":"choice","field":"SelectedByPosition","max":6},"QID159":{"kind":"matrix","field":"SelectedByPosition","length":3,"max":6},"QID161":{"kind":"choice","fiel... | [] | 94 | 63 | 0 | 136,924 | bc4ff6dba54551854d2d34589ef283a0e79e6c33c1b30bed92d01b5bfedbdbb7 | 600ce313d1884606fed1e51486a2696550c7cfcabfb32787b736d16497040fe4 | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 4 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 789 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 4 |
wave4:pid-1239 | 1239 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[4,3,5,4,5,4,5,5,3,4]},\"QID154\":{\"Values\":[\"30\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID154(...TRUNCATED) | [] | 98 | 63 | 0 | 138,073 | 5772da745eb59a20bffe70d85921b63718da8371267a68ae24c3837fa2bf6f93 | e069b05132471ee5e2f5329ae6006f262207319d637389a5b09fbefca68e073d | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 5 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 1239 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 5 |
wave4:pid-820 | 820 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[5,5,5,5,3,3,5,4,4,5]},\"QID156\":{\"Values\":[\"72\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 98 | 63 | 0 | 137,748 | b4711f04ad568d9891632083a1a72e82c685e2c24ea04dca55261ebdd5cf26e7 | bbf95f02a2ee6568c8d3fd451571f27b7916d6d206325ed231a47708bf61537a | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 6 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 820 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 6 |
wave4:pid-1913 | 1913 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[5,5,5,5,5,5,5,5,1,5]},\"QID156\":{\"Values\":[\"10\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 94 | 63 | 0 | 136,809 | 7829c8156a69fd256152034a63b0c529d5252a68e4249bc6635624ba8b822450 | 4f93e2aef1a2fc9f062da3ca35da0ed4a23cf164bd63cefbf5dbfae2c3f43c0a | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 7 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 1913 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 7 |
wave4:pid-490 | 490 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[4,4,3,4,4,3,4,3,5,4]},\"QID156\":{\"Values\":[\"85\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 98 | 63 | 0 | 137,020 | 558ad1bb4acff8237e745f0aed7c6a2441a7f78ae506e60344fc7ee9f26095cf | 45e41c992e8ee4ced78432cded093ba97e395a9ae4b4246e0371863b141ea48b | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 8 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 490 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 8 |
wave4:pid-1393 | 1393 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[5,4,5,4,4,3,4,3,3,5]},\"QID154\":{\"Values\":[\"30\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID154(...TRUNCATED) | [] | 94 | 63 | 0 | 136,515 | e24aff16682bbe3c9b49b647f27a5887b02890f273a57506f9782d947c08d660 | 1a0dba981846da72b14757eb96bdaa683bece08a89b35334b2bc6cd9ef563521 | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 9 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 1393 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 9 |
wave4:pid-1409 | 1409 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[5,5,5,5,4,5,5,5,1,1]},\"QID156\":{\"Values\":[\"90\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 94 | 63 | 0 | 137,539 | 1bc536230b3f8f1b596e5a6d3af407808dc0e0c027e6a080d2f828abeed85e00 | 65bfec1687c710605498c0c561136b5f476859a2b96d9f38c389c1067c61cb6f | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 10 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 1409 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 10 |
wave4:pid-1120 | 1120 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[3,4,3,4,4,5,5,4,4,3]},\"QID154\":{\"Values\":[\"10\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID154(...TRUNCATED) | [] | 98 | 63 | 0 | 137,647 | db7883440337da57743065772d543540269970f5b28c46837a0069434d0990aa | 546a6912733a494d9e8c32e4f3b1379f38f3e84295b3294905cf7acbe2d12da2 | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 11 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 1120 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 11 |
wave4:pid-64 | 64 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[3,3,2,2,4,2,4,3,5,4]},\"QID156\":{\"Values\":[\"60\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 94 | 63 | 0 | 136,833 | cdfe3dd0dfdff88058604ce365da65a1670b744ed5c2d53cdfaf27d3cd5c767b | fff6386dbebd1339ab55d293194c021e981320bf7225f140882c064c83f36595 | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 12 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 64 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 12 |
wave4:pid-344 | 344 | wave4 | digital_twin_survey_prediction | [{"role":"system","content":"Predict how the survey participant would answer a new survey, using onl(...TRUNCATED) | "{\"QID287\":{\"SelectedByPosition\":[4,5,5,5,4,5,5,5,2,5]},\"QID156\":{\"Values\":[\"59\"]},\"QID15(...TRUNCATED) | "{\"QID287\":{\"kind\":\"matrix\",\"field\":\"SelectedByPosition\",\"length\":10,\"max\":5},\"QID156(...TRUNCATED) | [] | 98 | 63 | 0 | 137,212 | db40120b8fa9185159b30bdefb390fa6d7fa613b94bfddd05f4d3deac7078c82 | 6b58d0eea71cc7bda6f40b5a93497cd3398128dcc8818198d8f21a7b1b1f59a8 | LLM-Digital-Twin/Twin-2K-500 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 13 | LLM-Digital-Twin/Twin-2K-500 | cc-by-4.0 | cc-by-4.0 | train | 344 | f883165a3026fde855dfd448e0cd16443ab257b6 | wave_split/chunks/wave_persona_chunk_001.parquet | 13 |
Twin-2K-500 RL Environment
Predict a person's survey answers from their historical persona.
Choose an episode: one survey (default) or one question (single_question).
- 2,058 participants, joined across Twin-2K-500 and Mega Study by participant ID.
- 15,674 RL episodes with recorded human answers and deterministic rewards.
- 343,611 single-question episodes with binary reward 0/1.
- Participant-disjoint splits; all studies of a person stay together.
- Prompts use
wave1_3_persona_text; target answers are excluded. - All adapters share the same data and scorer.
| Configuration | Train | Validation | Test | Purpose |
|---|---|---|---|---|
default |
12,553 | 1,571 | 1,550 | Scorable RL episodes |
single_question |
275,567 | 34,225 | 33,819 | One question; reward 0/1 |
all_surveys |
12,711 | 1,592 | 1,571 | All surveys, including free text |
reference_only |
158 | 21 | 21 | Idea generation; no automatic reward |
wave4 and mega_study select the corresponding RL subsets.
All six adapters accept default, wave4, mega_study or single_question.
Download and load
hf auth login
hf download d0rj/Twin-2K-500_env --type dataset --local-dir twin-env
cd twin-env
uv venv --python 3.12
source .venv/bin/activate
uv pip install -e .
from datasets import load_dataset
test = load_dataset("d0rj/Twin-2K-500_env", "default", split="test")
questions = load_dataset("d0rj/Twin-2K-500_env", "single_question", split="test")
# Pin a published revision with revision="<commit-sha>".
messages = test[0]["prompt"]
Response and reward
By default, return one JSON object with question IDs and one-based option positions:
{"QID1": {"SelectedByPosition": 2}, "QID2": {"Values": [55]}, "QID3": {"Text": 20}}
default: reward is the fraction of available reference units predicted correctly.single_question: reward is 1 if all available units in the question match, otherwise 0.- Units: one per choice/set, matrix row, slider value or validated numeric answer.
- Missing predictions score zero; missing references are excluded. Numeric tolerance:
1e-6. - Open-ended survey questions are unscored. In JSON mode, invalid JSON, duplicate keys or unknown question IDs score zero.
scoringdefines the required fields/domains;exclusionsexplains omitted questions.
from twin_2k_500_env.grading import grade_response
metrics = grade_response(response_json, test[0]["answer"], test[0]["scoring"])
Full rules, schema and provenance: dataset contract. Survey prompts are about 97k–142k characters; tokenize before choosing a context window.
For single_question, all six integrations also accept plain answers:
--subset single_question --response-format plain or Docker environment
TWIN_SUBSET=single_question TWIN_RESPONSE_FORMAT=plain. The integration updates
the prompt and parses option text/positions or numbers before the same 0/1 reward.
JSON remains the default; stored Parquet prompts are unchanged.
Formats and commands for every framework.
Frameworks — adapter version 0.5.0
Use a separate virtual environment for each SDK. Run commands from the downloaded repository.
| Framework | Tested version | Extra / requirements |
|---|---|---|
| verifiers.v1 | verifiers==0.4.0 |
verifiers; Linux/WSL, Python 3.11+ |
| Scale AgentEnv | framework 0.9.1334, protocol 0.1.349 |
scale-agentenv; Python 3.11.4+ |
| Harbor | 0.24.0, task schema 1.4 |
harbor; Python 3.12+, Docker for trials |
| OpenEnv | openenv-core==0.3.0 |
openenv; Python 3.11+ |
| NeMo Gym | 0.7.0 |
nemo; Linux, Python 3.13.14+ |
| AgentGym | source agentenv==0.2.0 |
agentenv; separate from Scale AgentEnv |
Exact SDK pins: frameworks.lock.json. Dependency lock: uv.lock.
For one-question episodes, add --subset single_question to exporters and
server commands below. Verifiers uses configs/eval-single-question.toml;
NeMo Gym adds integrations/nemo_gym/configs/single_question.yaml.
Selection examples for every framework: single-question guide.
verifiers v1
uv pip install -e '.[verifiers]'
# Set model/provider credentials in configs/eval.toml and your environment.
uv run --extra verifiers vf-eval @ configs/eval.toml --env.taskset.local-data-dir . --dry-run
uv run --extra verifiers vf-eval @ configs/eval.toml --env.taskset.local-data-dir .
For training: taskset ID twin-2k-500-env, split train, harness null, max_turns=1.
The v1 API ships in package 0.4.0; there is no verifiers==1.0.0 dependency here.
Scale AgentEnv
uv pip install -e '.[scale-agentenv]'
agent-env plugin check
# Native task smoke check: expected score 0, no model or Docker.
TWIN_DATA_DIR="$PWD" agent-env run integrations/scale_agentenv --task empty
# MCP server; one instance owns one episode.
twin-scale-agentenv --local-data-dir . --split test --index 0 --port 18765
MCP tools: twin_observe and twin_submit(response=<answer string>) at /mcp.
Native steps: twin_survey_grade grades a prompt_agent response;
twin_survey_outcome records a deployed MCP environment's result.
Client, trainer reset/selection and task examples.
Harbor
uv pip install -e '.[harbor]'
twin-env-export --framework harbor --local-data-dir . --split test \
--output outputs/harbor-test --limit 5
harbor run -p outputs/harbor-test -a oracle
OpenEnv
uv pip install -e '.[openenv]'
twin-openenv --local-data-dir . --split test --port 8000
NeMo Gym
uv venv --python 3.13.14 .venv-nemo
source .venv-nemo/bin/activate
uv pip install -e '.[nemo]'
twin-env-export --framework nemo-gym --local-data-dir . --split train --output outputs/nemo-train
gym env start --search-dir integrations/nemo_gym \
--config integrations/nemo_gym/configs/twin_2k_500.yaml --config /path/to/policy_model.yaml
AgentGym
uv pip install -e '.[agentenv]'
twin-agentenv-server --local-data-dir . --split test --port 8001
Native controller source:
WooooDyy/AgentGym@3ef9235d23e68e7c2920c5422ad957dc8ced5c6c#subdirectory=agentenv.
PyPI agentenv==0.0.1 is a placeholder. Native client installation, usage examples,
Docker recipes and NeMo composition: framework guide.
Container validation commands: Docker guide.
Validation and sources
uv pip install -e '.[dev]'
python scripts/build_dataset.py --output dist/rebuilt
python scripts/build_single_question.py dist/rebuilt
python scripts/validate_dataset.py dist/rebuilt
python scripts/validate_single_question.py dist/rebuilt
python scripts/prepare_release.py --output dist/rebuilt
python -m pytest -q
Evidence: validation.json, single_question_validation.json, verifiers_validation.json, frameworks_validation.json, docker_validation.json
and validation/*.xml. SDK/protocol and oracle checks do not measure policy quality.
Docker checks cover all six frameworks, both episode modes, 19 study groups and
JSON/plain responses (1350 episodes, including wrong/invalid/option-text cases). Responses are replayed;
no policy inference or RL training is measured.
The benchmark uses upstream tailored surveys and one recorded answer per person.
- Personas/wave 4: CC BY 4.0. Mega Study: Apache 2.0. New code: MIT. See LICENSE.md and row-level license fields.
- Twin-2K-500
at
f883165a3026fde855dfd448e0cd16443ab257b6. - Mega Study
at
0401b715a341ac4b5f98b4424b4aecf9d29570d0. - Papers: Twin-2K-500, Digital Twins as Funhouse Mirrors.
- Downloads last month
- 179