What problem does it solve?
Help researchers reproduce a published paper’s results in a Stata-based workflow by building an inventory of gold-standard targets, translating the original analysis faithfully, and performing tolerance-respecting comparisons to detect divergences.
Core Features & Use Cases
- Replication protocol execution: Applies
.claude/rules/replication-protocol.md end-to-end, including target inventorying and comparison.
- Gold-standard targets with tolerances: Records table/figure targets (with MUST/SHOULD/MAY tiers) and explicit tolerance expectations for pass/fail decisions.
- Stata translation and funnel debugging: Translates the original code line-by-line into project Stata dofiles and investigates discrepancies via sample restrictions, variable construction, SE/df adjustments, and command-default differences.
Example use case: starting from a paper where you want to verify a key ATT/ATE estimate and first-stage diagnostics, you replicate the targeted tables and produce a structured report indicating which targets passed within tolerance and which require investigation.
Quick Start
Run replicate on a paper by providing its short name or target file, for example: /replicate AbadieDiamondHainmueller2010.