Skip to main content

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 reproai-prep
reproai check path/to/package --venue aea --out reports/
reproai check path/to/package --target certify --out reports/

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 map
  • advisory_plan.json: remediation items, each auto-applicable or propose-only
  • venue_compliance_report.json: pass or fail per requirement of the venue profile
  • risk_register.json: what would likely break a downstream reproducibility run
  • target_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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reproai-prep 0.8.3
File Size Uploaded Provenance Actions
reproai_prep-0.8.3.tar.gz 210.2 kB Without provenance Details for reproai_prep-0.8.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reproai-prep 0.8.3
File Interpreter ABI Platform Actions
reproai_prep-0.8.3-py3-none-any.whl Python 3 none any Details for reproai_prep-0.8.3-py3-none-any.whl

Total release size: 445.6 kB

Release files / reproai_prep-0.8.3.tar.gz

Download URL reproai_prep-0.8.3.tar.gz
Size 210.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d1daa0c6864cf1598a5e05a93cb6003fd704ff6b8dcb27ed2a68b3cb52275937
BLAKE2b-256 checksum
How to use checksums
2b297393f9edaf5cdd3ef8d8eaf8a5a26f03c63239b3d720cd020d0de419d586
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.3-py3-none-any.whl

Download URL reproai_prep-0.8.3-py3-none-any.whl
Size 235.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
286faa27960ea98a67beaebc3bfb09de50cfabb173da1ad91b0d6d4188039b9b
BLAKE2b-256 checksum
How to use checksums
c84dd9e1813786fb0cb3db8b390419dc1baa5a424397d9e6c03161a4b54f6581
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.3

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.

Release history Release notifications | RSS feed

This release

0.8.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page