ReproAI Prep
By Leo Yang Yang and Yiqing Xu.
ReproAI Prep audits and prepares a replication package so it runs from scratch on a clean machine and meets the entry requirements of a journal's reproducibility check or of a certification service such as IQSS Certify. It never compares results with a paper and never issues a reproducibility verdict or a certificate: certification is a separate, downstream step that Prep prepares a package for.
pip install -U reproai-prep # the stable release
reproai check path/to/package --venue aea --out reports/
reproai check path/to/package --target certify --out reports/
The development version, with the newest rules and venue profiles before they are released:
pip install -U "git+https://github.com/reproai/reproai#subdirectory=core".
Commands
| Command | What it does |
|---|---|
reproai check |
Static audit: inventory, dependency graph, an author rule set, a venue profile (AEA, Econometric Society, APSR, AJPS, JOP, ...). Writes four JSON reports; with --target certify, also a certification-readiness report naming what Certify would refuse, fail on, mark or note. Never runs author code. |
reproai fix |
Applies the semantics-preserving fixes to a copy (dry run by default); the original is never touched. |
reproai rehearse |
Runs code, on a copy, only when asked. Runs the entry scripts twice the way a certification service will (from the root, network denied as far as the machine allows, a private empty home, fixed time zone and locale, figures to files, each step seeded) and compares the outputs: identical, numerically close, or different. |
reproai handoff |
Where preparation stops: the run order, the libraries to vendor, what is still open, files read from outside, and the next steps for the destination. |
reproai certify-start |
For IQSS Certify, after the handoff: checks that Certify can start (static readiness, no Stata files, runtimes, a Python 3.12 or newer for Certify's program, the service and its published checksums) and writes CERTIFY_START.md, the steps from the draft dataset's Certify button. Reads public files only; never installs or runs Certify. |
reproai note |
Records one approved repair in the prepared copy's CERTIFICATION-NOTES.txt. |
reproai gate, outputs, map, readme, contribute |
Output-export gate (every table and figure has an export), runtime output check (every expected file was written by this run; formerly verify), manuscript exhibit map, README scaffold, and a pre-filled issue for a missed rule or a false flag. |
Every pass or fail, risk tier and fix eligibility is decided by deterministic code in this package, never by an AI assistant driving it; assistants explain and draft, and the author approves every change.
The same engine backs the Claude Code and Codex plugins, PREP_PROMPT.md for any other assistant,
and the command line. See the repository for the plugins, the
rule set and the venue profiles.
Reports
architecture_report.json: entry points, build order, dependency graph, orphans, table mapadvisory_plan.json: remediation items, each auto-applicable or propose-onlyvenue_compliance_report.json: pass or fail per requirement of the venue profilerisk_register.json: what would likely break a downstream reproducibility runtarget_readiness_report.json(with--target): blocked, needs attention, or no static obstacle
Reviewed preparation from Python
from pathlib import Path
from reproai_prep.reviewed_repair import build_review, apply_review_to_copy
review = build_review(Path("replication-package"))
tasks = review.author_tasks # automatic, required, required_manual, optional, change_summaries
# Show the plan and its diff; obtain approval before applying it.
applied = apply_review_to_copy(review.root, Path("prepared-copy"), review.source_fingerprint,
review.plan_fingerprint, review.venue)
Source and plan fingerprints are rechecked when the plan is applied to a new copy, an unmatched
requirement is never assumed repaired, and applied.explanation gives an author-facing summary of
what changed and why. These are preparation results, not a certification verdict.
Citing
Leo Yang Yang and Yiqing Xu. 2026. "ReproAI Prep: Preparing Replication Packages for Reproducibility Checks and Certification." Software, https://github.com/reproai/reproai.
License
MIT.
Metadata
Release files for reproai-prep 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reproai_prep-0.8.4.tar.gz | 211.6 kB | Without provenance | Details for reproai_prep-0.8.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reproai_prep-0.8.4-py3-none-any.whl | Python 3 | none | any | Details for reproai_prep-0.8.4-py3-none-any.whl |
Total release size: 448.3 kB
Release files / reproai_prep-0.8.4.tar.gz
| Download URL | reproai_prep-0.8.4.tar.gz |
|---|---|
| Size | 211.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69fd2854ba271bc7c10d087b92e62247161f5cbc8a69fe952769202880a4ff7c
|
|
BLAKE2b-256 checksum How to use checksums |
4496942245b8b4ea9f957c803cb94f686a7e2d08c4787981e4a4ea4e170ff7bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / reproai_prep-0.8.4-py3-none-any.whl
| Download URL | reproai_prep-0.8.4-py3-none-any.whl |
|---|---|
| Size | 236.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0d8f9f16e880c6e3fcc585d3b8ecae62225e75231c9d67b93f0319574279c5e
|
|
BLAKE2b-256 checksum How to use checksums |
9e887fd02093f0d68b6b6bd3e47340e2bff53e67eed7007f90b42c7bf330add0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for reproai-prep 0.8.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.