Policy Replication

All checks

Publication bias in a body of evidence

PlannedTier 1 · full textper set of papersJev triggerliterature_bias · Evidence base · needs fulltext · cost cpu · runs after statcheck, coef_se_stars
Not run yet.

Runs p-curve, z-curve and caliper tests over pooled sets of papers to detect selective publication.

When it applies: Sets of 30 or more test statistics: by agency, by evidence domain (VSL, price elasticities, PM2.5 mortality), or a meta-analysis's study list. Not single policy numbers, which rest on too few studies.

Inputs

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.

Filter as SQL over the audit views (D1):

SELECT p.topics, COUNT(*) FROM audit_target t JOIN paper p USING (paper_id) WHERE t.corpus = :corpus GROUP BY p.topics HAVING COUNT(*) >= 15

Decision-model trigger (Jev). For cases the filters cannot settle, ask a typed question and run the check when the answer clears the threshold.

PartValue
InputTwo citing sentences
QuestionDo these two sentences cite evidence for the same quantity (the same parameter in the same population)?
Answer typeyes / no
Run the check ifused to group citations into sets; keep pairs with p(yes) > 0.8

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. Collect test statistics for every paper in the set, one focal test per study for p-curve.
  2. Run z-curve (expected discovery rate, replicability) and the caliper test around z = 1.96.
  3. Report with intervals.

Outcomes

outcomemeaning
flagevidence of selection
passnone detected
not_applicableset too small

Every result row carries evidence (JSON: quotes, values, ids, URLs) so a reviewer can confirm it without rerunning.

False positives

Pooling heterogeneous effects; non-focal tests; tests from one dataset that are not independent.

Precision: Not measured.

Prompt to give an agent

Run the policyreplication audit check `literature_bias` following audit/skills/literature_bias/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

Skill file

Save this as .claude/skills/audit-literature-bias/SKILL.md to give an agent the check.

---
name: audit-literature-bias
description: Runs the policyreplication audit check `literature_bias` (publication bias in a body of evidence). Use when auditing papers cited by U.S. policy documents for this check.
check_id: literature_bias
status: planned
tier: 1
unit: set
needs: fulltext
cost: cpu
module: Evidence base
depends_on: [statcheck, coef_se_stars]
---

# Publication bias in a body of evidence

Runs p-curve, z-curve and caliper tests over pooled sets of papers to detect selective publication.

**When it applies:** Sets of 30 or more test statistics: by agency, by evidence domain (VSL, price elasticities, PM2.5 mortality), or a meta-analysis's study list. Not single policy numbers, which rest on too few studies.

## Inputs

- Test statistics from statcheck and coef_se_stars
- A set definition

## 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.

- A set of papers sharing a parameter or topic: the same OpenAlex topic or JEL code, the same agency, or one meta-analysis's study list.
- At least 30 test statistics in the set from statcheck or coef_se_stars.

Filter as SQL over the audit views (D1):

```sql
SELECT p.topics, COUNT(*) FROM audit_target t JOIN paper p USING (paper_id) WHERE t.corpus = :corpus GROUP BY p.topics HAVING COUNT(*) >= 15
```

**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 | Two citing sentences |
| Question | Do these two sentences cite evidence for the same quantity (the same parameter in the same population)? |
| Answer type | yes / no |
| Run the check if | used to group citations into sets; keep pairs with p(yes) > 0.8 |

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. Collect test statistics for every paper in the set, one focal test per study for p-curve.
2. Run z-curve (expected discovery rate, replicability) and the caliper test around z = 1.96.
3. Report with intervals.

## Outcomes

| outcome | meaning |
| --- | --- |
| flag | evidence of selection |
| pass | none detected |
| not_applicable | set too small |

Every result row carries `evidence` (JSON: quotes, values, ids, URLs) so a reviewer can confirm it without rerunning.

## False positives

Pooling heterogeneous effects; non-focal tests; tests from one dataset that are not independent.

**Precision:** Not measured.

## Prompt to give an agent

```
Run the policyreplication audit check `literature_bias` following audit/skills/literature_bias/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.