---
name: audit-retraction
description: Runs the policyreplication audit check `retraction` (retraction, expression of concern or correction). Use when auditing papers cited by U.S. policy documents for this check.
check_id: retraction
status: built
tier: 0
unit: paper
needs: metadata
cost: api
module: Integrity status
depends_on: []
---

# Retraction, expression of concern or correction

Finds retractions, expressions of concern and corrections for each cited paper, and records whether a rule cited the paper after the notice was issued.

**When it applies:** Every paper with a DOI, or one that OpenAlex marks as retracted.

## Inputs

- Paper DOI
- Retraction Watch database (CSV from Crossref Labs)
- Crossref `updated-by` notices for the DOI
- OpenAlex `is_retracted`
- Dates of the citing policy documents

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

- Paper has a DOI (`doi IS NOT NULL`), or OpenAlex `is_retracted` is true.
- No type or field restriction: retractions hit every field.
- Re-run monthly: notices keep arriving after a rule cites a paper.

Filter as SQL over the audit views (D1):

```sql
SELECT paper_id FROM audit_target WHERE corpus = :corpus AND (doi IS NOT NULL OR retracted = 1)
```

**Decision-model trigger:** None needed: the filter is exact and the check itself costs less than a model call.

## How to run

This check is implemented in `audit/tier0.py` (PR 10) and run by the planner:

```
python3 audit/plan.py --papers papers.json --openalex openalex.json --citations citations.csv --authors authors.json --tier 0 --check retraction --out out/
```

Then load `out/results.jsonl` into `audit_run` / `audit_result` (see `audit/README.md`).

## Steps

1. Normalise the DOI (lowercase, strip the doi.org prefix).
2. Look the DOI up in the Retraction Watch index and in Crossref `updated-by`; merge the notices, keeping type and date.
3. Add the OpenAlex retracted flag as a fallback.
4. For each notice, compare its date with the date of every citing policy document and record which citations came after it.

## Outcomes

| outcome | meaning |
| --- | --- |
| fail | retracted |
| flag | expression of concern or correction |
| pass | no notice found |
| not_applicable | no DOI |

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

## False positives

Corrections are often minor (an author affiliation, a typo), so a correction is a flag, not a fail. Papers without a DOI are missed, not cleared.

**Precision:** About 100%: curated notices matched by DOI.

## Prompt to give an agent

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