Replication Package (expecon-replication-package)
When to trigger
- You are preparing to submit and must attach participant instructions (required at submission) and a data/code appendix
- The ESA Data and Replication Policy deposit (trusted repository) is not yet assembled
- z-Tree / oTree code, raw session data, and analysis scripts are scattered and not runnable end-to-end
- A referee or editor asks whether someone could reproduce your numbers and re-run your experiment
What ExpEcon reproducibility actually requires
Experimental Economics is an ESA journal, and since 2021 the ESA Data and Replication Policy requires authors to deposit, in a trusted online repository, the materials needed to reproduce or replicate the study (检索于 2026-06;以官网为准). Reproducibility here is stronger than at most economics journals because it has two layers:
- Reproduce the analysis — raw data + cleaning + analysis code regenerate every table and figure.
- Replicate the experiment — instructions + experiment software let another lab re-run the study.
Treat the package as a deliverable engineered for both.
The deposit, component by component
- Instructions — the exact instructions subjects received, per treatment, in the original language (translation if relevant). These are required at submission, not just at acceptance; reviewers read them to check for deception and comprehension.
- Experiment software — the z-Tree
.ztt treatment files or the oTree app (full project, settings.py, requirements pinned). Include screenshots or the comprehension quiz as run. This is what makes re-running possible.
- Raw data — session-level exports as collected (z-Tree
.xls/.sbj, oTree CSV), with a codebook for every variable and the session/treatment/matching-group identifiers.
- Analysis code — scripts (Stata/R/Python) that run from raw to results with a single master file; set and record the random seed for any simulation/permutation test.
- README — repository map, software versions, run order, expected runtime, and a table mapping each exhibit in the paper to the script that produces it.
- Pre-registration / PAP link — the registry entry and timestamp; for a Registered Report, the in-principle-acceptance Stage-1 protocol.
- Ethics / consent — IRB approval reference and the consent procedure (and the explicit no-deception statement).
Repository and hygiene
- Deposit in a trusted, persistent repository (OSF, Harvard Dataverse, Zenodo, or OpenICPSR are commonly used by ESA authors) and cite the DOI in the paper.
- Anonymize subject identifiers; never include payment records with identifying info.
- Pin every dependency and software version; a package that does not run on a clean machine fails the policy.
- Match repository contents to the paper exactly — no stale scripts, no figures the code cannot produce.
A workable directory layout
/instructions treatment_A.pdf, treatment_B.pdf (+ translations)
/software ztree/ *.ztt OR otree/ (full app, requirements.txt)
/data/raw session exports as collected (.xls/.sbj or .csv)
/data/clean analysis-ready files built by /code
/code 00_master.* , 01_clean.* , 02_analysis.* , 03_figures.*
/output tables + figures regenerated by /code
README.md map, versions, run order, exhibit→script table
ETHICS.md IRB ref, consent text, no-deception statement
The single rule the policy enforces in spirit: a stranger with a clean machine runs 00_master and gets your paper's exact numbers, and another lab opens /software and /instructions and re-runs your experiment.
The two-layer self-test
- Reproduce: delete
/data/clean and /output, run the master script, confirm every table/figure regenerates byte-for-byte (or value-for-value for stochastic steps with a fixed seed).
- Replicate: hand
/software + /instructions to a colleague who was not on the project and confirm they can launch a session and understand what subjects faced.
Checklist
Anti-patterns
- Promising the package "on request" or only at acceptance — ESA expects a real deposit, and instructions are due at submission
- Depositing data but not the z-Tree/oTree code, so the experiment cannot be replicated
- A "replication package" whose scripts do not reproduce the paper's exact numbers
- Unpinned software versions / no seed, so permutation tests and figures are not reproducible
- Identifiable subject data or payment records left in the repository
Output format
【Journal】Experimental Economics (ESA method flagship)
【Skill】expecon-replication-package
【Verdict】deposit-ready / incomplete
【Instructions】all treatments, at submission? [Y/N]
【Software】z-Tree .ztt / oTree app deposited (re-runnable)? [Y/N]
【Data + code】raw + codebook + master script (seeded) reproduce all exhibits? [Y/N]
【Repository】trusted-repo DOI; versions pinned; anonymized? [Y/N]
【Pre-reg / ethics】PAP/RR link + IRB + no-deception statement
【Next skill】expecon-referee-strategy
Source: brycewang-stanford/Awesome-Journal-Skills → Experimental-Economics-Skills/skills/expecon-replication-package/SKILL.md
1---2name: expecon-replication-package3description: Use when assembling the data, code, instructions, and experiment software for an Experimental Economics (ExpEcon) manuscript to meet the ESA reproducibility standard. Builds the deposit; it does not run the analysis or draft prose.4---567# Replication Package (expecon-replication-package)89## When to trigger1011- You are preparing to submit and must attach **participant instructions** (required at submission) and a data/code appendix12- The ESA **Data and Replication Policy** deposit (trusted repository) is not yet assembled13- z-Tree / oTree code, raw session data, and analysis scripts are scattered and not runnable end-to-end14- A referee or editor asks whether someone could **reproduce your numbers and re-run your experiment**1516## What ExpEcon reproducibility actually requires1718Experimental Economics is an ESA journal, and since 2021 the **ESA Data and Replication Policy** requires authors to deposit, in a trusted online repository, the materials needed to **reproduce or replicate** the study (检索于 2026-06;以官网为准). Reproducibility here is stronger than at most economics journals because it has **two layers**:1920- **Reproduce the analysis** — raw data + cleaning + analysis code regenerate every table and figure.21- **Replicate the experiment** — instructions + experiment software let another lab *re-run* the study.2223Treat the package as a deliverable engineered for both.2425## The deposit, component by component26271. **Instructions** — the exact instructions subjects received, per treatment, in the original language (translation if relevant). These are **required at submission**, not just at acceptance; reviewers read them to check for deception and comprehension.282. **Experiment software** — the **z-Tree `.ztt` treatment files** or the **oTree app** (full project, `settings.py`, requirements pinned). Include screenshots or the comprehension quiz as run. This is what makes re-running possible.293. **Raw data** — session-level exports as collected (z-Tree `.xls`/`.sbj`, oTree CSV), with a codebook for every variable and the session/treatment/matching-group identifiers.304. **Analysis code** — scripts (Stata/R/Python) that run from raw to results with a single master file; set and record the **random seed** for any simulation/permutation test.315. **README** — repository map, software versions, run order, expected runtime, and a table mapping each exhibit in the paper to the script that produces it.326. **Pre-registration / PAP link** — the registry entry and timestamp; for a Registered Report, the in-principle-acceptance Stage-1 protocol.337. **Ethics / consent** — IRB approval reference and the consent procedure (and the explicit no-deception statement).3435## Repository and hygiene3637- Deposit in a **trusted, persistent repository** (OSF, Harvard Dataverse, Zenodo, or OpenICPSR are commonly used by ESA authors) and cite the **DOI** in the paper.38- Anonymize subject identifiers; never include payment records with identifying info.39- Pin every dependency and software version; a package that does not run on a clean machine fails the policy.40- Match repository contents to the paper exactly — no stale scripts, no figures the code cannot produce.4142## A workable directory layout4344```45/instructions treatment_A.pdf, treatment_B.pdf (+ translations)46/software ztree/ *.ztt OR otree/ (full app, requirements.txt)47/data/raw session exports as collected (.xls/.sbj or .csv)48/data/clean analysis-ready files built by /code49/code 00_master.* , 01_clean.* , 02_analysis.* , 03_figures.*50/output tables + figures regenerated by /code51README.md map, versions, run order, exhibit→script table52ETHICS.md IRB ref, consent text, no-deception statement53```5455The single rule the policy enforces in spirit: a stranger with a clean machine runs `00_master` and gets your paper's exact numbers, and another lab opens `/software` and `/instructions` and re-runs your experiment.5657## The two-layer self-test58591. **Reproduce:** delete `/data/clean` and `/output`, run the master script, confirm every table/figure regenerates byte-for-byte (or value-for-value for stochastic steps with a fixed seed).602. **Replicate:** hand `/software` + `/instructions` to a colleague who was not on the project and confirm they can launch a session and understand what subjects faced.6162## Checklist6364- [ ] Participant **instructions** (all treatments, original language) included **at submission**65- [ ] z-Tree `.ztt` / oTree app deposited so the experiment can be **re-run**66- [ ] Raw session data + codebook + session/group/treatment IDs present67- [ ] Master analysis script runs raw→results; seeds set for simulation/permutation68- [ ] README maps every table/figure to the script that generates it; versions pinned69- [ ] Pre-registration / PAP (or Stage-1 RR protocol) linked with timestamp70- [ ] Trusted-repository DOI cited; data anonymized; IRB + no-deception statement included7172## Anti-patterns7374- Promising the package "on request" or only at acceptance — ESA expects a real deposit, and instructions are due at submission75- Depositing data but **not** the z-Tree/oTree code, so the experiment cannot be replicated76- A "replication package" whose scripts do not reproduce the paper's exact numbers77- Unpinned software versions / no seed, so permutation tests and figures are not reproducible78- Identifiable subject data or payment records left in the repository7980## Output format8182```text83【Journal】Experimental Economics (ESA method flagship)84【Skill】expecon-replication-package85【Verdict】deposit-ready / incomplete86【Instructions】all treatments, at submission? [Y/N]87【Software】z-Tree .ztt / oTree app deposited (re-runnable)? [Y/N]88【Data + code】raw + codebook + master script (seeded) reproduce all exhibits? [Y/N]89【Repository】trusted-repo DOI; versions pinned; anonymized? [Y/N]90【Pre-reg / ethics】PAP/RR link + IRB + no-deception statement91【Next skill】expecon-referee-strategy92```9394---9596**Source:** [`brycewang-stanford/Awesome-Journal-Skills`](https://github.com/brycewang-stanford/Awesome-Journal-Skills) → `Experimental-Economics-Skills/skills/expecon-replication-package/SKILL.md`