Replication package reruns and reproduces
Levels 1 to 3 of the package ladder: the package is complete, runs end to end, and reproduces the paper's tables.
When it applies: Papers where repl_package found a repository link. Stata packages stop at level 1 until there is a Stata license.
Inputs
- The package
- A container with R, Python, Julia or Octave
- Extracted tables from the paper
When to run it
Cheap filters, cheapest first. The planner runs the check only on targets that pass them; the rest get a not_applicable row.
repl_packagepassed (a repository link exists).- Package language is R, Python, Julia or Matlab/Octave (from file extensions in the package listing). Stata packages wait for a license.
- Data are public (no "restricted", "confidential", "RDC" or "IPUMS terms" in the README).
- Priority: papers cited for a quantitative claim, by policy weight.
Filter as SQL over the audit views (D1):
SELECT paper_id FROM audit_result WHERE check_id = 'repl_package' AND outcome = 'pass'
Decision-model trigger (Jev). For cases the filters cannot settle, ask a typed question and run the check when the answer clears the threshold.
| Part | Value |
|---|---|
| Input | The package README |
| Question | Can the results be reproduced from public data with no application or license? |
| Answer type | yes / no / unclear |
| Run the check if | p(yes) > 0.6 |
Jev is weak at counting, dates and reading numbers literally, so it only decides whether to run the check, never the check's result.
How to run
Not implemented yet. To build it, register a function with @check(...) in audit/checks.py style, using the id, tier, unit and needs above, and follow the steps below. Write a not_applicable row for every target the check skips.
Steps
- Level 1: README, code and data present; no hard-coded paths left unexplained.
- Level 2: run the master script in a container with a time limit.
- Level 3: compare outputs with the paper's tables within a numeric tolerance.
- Stop at the first failed level and record why (restricted data, missing file, error, mismatch).
Outcomes
| outcome | meaning |
|---|---|
| pass | level 3 reached |
| flag | stopped at level 1 or 2 |
| fail | runs but does not reproduce |
| not_applicable | no package, or restricted data |
Every result row carries evidence (JSON: quotes, values, ids, URLs) so a reviewer can confirm it without rerunning.
False positives
Packages that need manual setup the README explains; nondeterminism (seeds, bootstrap); package version drift.
Precision: Not measured.
Prompt to give an agent
Run the policyreplication audit check `package_rerun` following audit/skills/package_rerun/SKILL.md in github.com/Jomanw/policyreplication. Target corpus: sig2025 (change as needed). Write one result per target to out/results.jsonl in the audit_result shape (check_id, version, paper_id, citation_id, outcome, value, evidence). Then report outcome counts and list every fail and flag with its evidence for human review. Do not publish or contact anyone about a flag.
Rules for agents
- Write a result for every target, including
not_applicable, so denominators stay honest. - A flag is a lead for human review, not a finding. Never publish or report a flag that names a paper or its authors until a person has checked it.
- Use only legally obtained full text. Record blocks; never bypass them.
- Avoid paid LLM calls unless the check's tier is 2 and a budget has been set.
Skill file
--- name: audit-package-rerun description: Runs the policyreplication audit check `package_rerun` (replication package reruns and reproduces). Use when auditing papers cited by U.S. policy documents for this check. check_id: package_rerun status: planned tier: 3 unit: paper needs: package cost: cpu module: Computational reproducibility depends_on: [repl_package] --- # Replication package reruns and reproduces Levels 1 to 3 of the package ladder: the package is complete, runs end to end, and reproduces the paper's tables. **When it applies:** Papers where `repl_package` found a repository link. Stata packages stop at level 1 until there is a Stata license. ## Inputs - The package - A container with R, Python, Julia or Octave - Extracted tables from the paper ## When to run it Cheap filters, cheapest first. The planner runs the check only on targets that pass them; the rest get a `not_applicable` row. - `repl_package` passed (a repository link exists). - Package language is R, Python, Julia or Matlab/Octave (from file extensions in the package listing). Stata packages wait for a license. - Data are public (no "restricted", "confidential", "RDC" or "IPUMS terms" in the README). - Priority: papers cited for a quantitative claim, by policy weight. Filter as SQL over the audit views (D1): ```sql SELECT paper_id FROM audit_result WHERE check_id = 'repl_package' AND outcome = 'pass' ``` **Decision-model trigger (Jev).** For cases the filters cannot settle, ask a typed question and run the check when the answer clears the threshold. | Part | Value | | --- | --- | | Input | The package README | | Question | Can the results be reproduced from public data with no application or license? | | Answer type | yes / no / unclear | | Run the check if | p(yes) > 0.6 | Jev is weak at counting, dates and reading numbers literally, so it only decides whether to run the check, never the check's result. ## How to run Not implemented yet. To build it, register a function with `@check(...)` in `audit/checks.py` style, using the id, tier, unit and needs above, and follow the steps below. Write a `not_applicable` row for every target the check skips. ## Steps 1. Level 1: README, code and data present; no hard-coded paths left unexplained. 2. Level 2: run the master script in a container with a time limit. 3. Level 3: compare outputs with the paper's tables within a numeric tolerance. 4. Stop at the first failed level and record why (restricted data, missing file, error, mismatch). ## Outcomes | outcome | meaning | | --- | --- | | pass | level 3 reached | | flag | stopped at level 1 or 2 | | fail | runs but does not reproduce | | not_applicable | no package, or restricted data | Every result row carries `evidence` (JSON: quotes, values, ids, URLs) so a reviewer can confirm it without rerunning. ## False positives Packages that need manual setup the README explains; nondeterminism (seeds, bootstrap); package version drift. **Precision:** Not measured. ## Prompt to give an agent ``` Run the policyreplication audit check `package_rerun` following audit/skills/package_rerun/SKILL.md in github.com/Jomanw/policyreplication. Target corpus: sig2025 (change as needed). Write one result per target to out/results.jsonl in the audit_result shape (check_id, version, paper_id, citation_id, outcome, value, evidence). Then report outcome counts and list every fail and flag with its evidence for human review. Do not publish or contact anyone about a flag. ``` ## Rules for agents - Write a result for every target, including `not_applicable`, so denominators stay honest. - A flag is a lead for human review, not a finding. Never publish or report a flag that names a paper or its authors until a person has checked it. - Use only legally obtained full text. Record blocks; never bypass them. - Avoid paid LLM calls unless the check's tier is 2 and a budget has been set.