---
name: audit-version-drift
description: Runs the policyreplication audit check `version_drift` (working paper or preprint cited when a published version exists). Use when auditing papers cited by U.S. policy documents for this check.
check_id: version_drift
status: built
tier: 0
unit: citation
needs: metadata
cost: free
module: Citation fidelity
depends_on: []
---

# Working paper or preprint cited when a published version exists

Flags citations of a working paper or preprint (NBER, SSRN, arXiv, medRxiv, RFF, Fed and similar) when a journal version of the same work is known.

**When it applies:** Citations whose cited record is a working paper or preprint.

## Inputs

- `paper.is_preprint_or_wp`
- `paper.published_version_openalex_id` (pipeline link)
- OpenAlex locations for the work

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

- `is_preprint_or_wp = 1`, or OpenAlex `type = preprint`, or the venue is a working-paper series (NBER, SSRN, arXiv, medRxiv, RFF, Fed FEDS/IFDP).
- A journal version is linked (`published_version_openalex_id IS NOT NULL`) or OpenAlex lists a journal location.

Filter as SQL over the audit views (D1):

```sql
SELECT c.citation_id FROM audit_claim c JOIN audit_target t USING (paper_id) WHERE t.corpus = :corpus AND t.is_preprint_or_wp = 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 version_drift --out out/
```

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

## Steps

1. Skip citations whose paper is not a working paper or preprint.
2. Look for a journal version: the pipeline link first, then a journal location in OpenAlex for the same work.
3. Record the published version, its year, and whether it came out before the citing document.
4. Next step (not built yet): compare the numbers the rule cites against the published version.

## Outcomes

| outcome | meaning |
| --- | --- |
| flag | a published version exists |
| pass | no published version known |
| not_applicable | not a working paper |

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

## False positives

A flag is a fact about versions, not an error. Agencies sometimes cite the working paper on purpose because it has more detail.

**Precision:** About 95% that a later version exists. Whether the numbers changed needs the tier 1 comparison.

## Prompt to give an agent

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