Policy Replication

All checks

Paper matches its registration

PlannedTier 2 · model-assistedper paperJev triggerprereg_deviation · Registration and trial trust · needs fulltext · cost llm · runs after registration
Not run yet.

Compares the registered plan with the paper on outcomes, sample size, eligibility and analysis, as RegCheck does.

When it applies: Papers with a registration id found by registration.

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 paper_id FROM audit_result WHERE check_id = 'registration' AND value LIKE '%id%'

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
InputRegistered primary outcome text, and the paper's abstract
QuestionIs the primary outcome reported in the paper the same as the registered primary outcome?
Answer typesame / changed and disclosed / changed and not disclosed / unclear
Run the check ifp(changed and not disclosed) > 0.3 sends the paper to the full RegCheck comparison

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. Pick the dimension preset for the field (clinical, economics, psychology).
  2. For each dimension, extract the registered and the reported versions with quotes.
  3. Adjudicate: no deviation, deviation disclosed, deviation undisclosed, insufficient evidence. Use consensus mode (several runs, plurality).

Outcomes

outcomemeaning
failundisclosed deviation in a primary outcome
flagother undisclosed deviation
passno deviation or all disclosed
not_applicableno registration

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

False positives

Legitimate amendments; secondary analyses. RegCheck reports no accuracy figures yet, so every flag needs human review.

Precision: Not measured.

Prompt to give an agent

Run the policyreplication audit check `prereg_deviation` following audit/skills/prereg_deviation/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-prereg-deviation/SKILL.md to give an agent the check.

---
name: audit-prereg-deviation
description: Runs the policyreplication audit check `prereg_deviation` (paper matches its registration). Use when auditing papers cited by U.S. policy documents for this check.
check_id: prereg_deviation
status: planned
tier: 2
unit: paper
needs: fulltext
cost: llm
module: Registration and trial trust
depends_on: [registration]
---

# Paper matches its registration

Compares the registered plan with the paper on outcomes, sample size, eligibility and analysis, as RegCheck does.

**When it applies:** Papers with a registration id found by `registration`.

## Inputs

- Paper full text
- Registry record (ClinicalTrials.gov, AEA, OSF)
- RegCheck (github.com/JamieCummins/regcheck, AGPL-3.0), which can run on a local model

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

- `registration` found a registry id (outcome pass with an id, or flag for retrospective).
- The registry record is reachable (ClinicalTrials.gov, AEA RCT Registry, OSF).

Filter as SQL over the audit views (D1):

```sql
SELECT paper_id FROM audit_result WHERE check_id = 'registration' AND value LIKE '%id%'
```

**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 | Registered primary outcome text, and the paper's abstract |
| Question | Is the primary outcome reported in the paper the same as the registered primary outcome? |
| Answer type | same / changed and disclosed / changed and not disclosed / unclear |
| Run the check if | p(changed and not disclosed) > 0.3 sends the paper to the full RegCheck comparison |

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. Pick the dimension preset for the field (clinical, economics, psychology).
2. For each dimension, extract the registered and the reported versions with quotes.
3. Adjudicate: no deviation, deviation disclosed, deviation undisclosed, insufficient evidence. Use consensus mode (several runs, plurality).

## Outcomes

| outcome | meaning |
| --- | --- |
| fail | undisclosed deviation in a primary outcome |
| flag | other undisclosed deviation |
| pass | no deviation or all disclosed |
| not_applicable | no registration |

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

## False positives

Legitimate amendments; secondary analyses. RegCheck reports no accuracy figures yet, so every flag needs human review.

**Precision:** Not measured.

## Prompt to give an agent

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