---
name: audit-inspect-sr
description: Runs the policyreplication audit check `inspect_sr` (rct trustworthiness (inspect-sr)). Use when auditing papers cited by U.S. policy documents for this check.
check_id: inspect_sr
status: planned
tier: 3
unit: paper
needs: fulltext
cost: human
module: Registration and trial trust
depends_on: [retraction, registration]
---

# RCT trustworthiness (INSPECT-SR)

Fills the 21-item INSPECT-SR form for randomized trials, using other checks for the items they cover and a human for the rest.

**When it applies:** Papers that are randomized controlled trials.

## Inputs

- Results of retraction, registration, prereg_deviation, pct_consistency, grim and statcheck
- Paper full text
- INSPECT-SR guidance (osf.io/b74wj)

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

- Study design is a randomized trial (the `registration` design answer, or the Jev question there).
- Paper is cited for a quantitative claim in at least one rule.
- Feeder checks have run: retraction, registration, pct_consistency, statcheck.

Filter as SQL over the audit views (D1):

```sql
SELECT paper_id FROM audit_result WHERE check_id = 'registration' AND outcome <> 'not_applicable'
```

**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 | Title, abstract and methods |
| Question | Is this a randomized controlled trial in humans? |
| Answer type | yes / no |
| Run the check if | p(yes) > 0.7 |

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. Domain 1 (post-publication notices) from `retraction`.
2. Items 2.2 and 2.3 (registration timing and consistency) from `registration` and `prereg_deviation`.
3. Domain 4 items on impossible values and statistical errors from the consistency checks, plus Carlisle-style baseline balance tests.
4. Send the rest (implausible recruitment, ethics, resources, text and figure duplication) to a human queue.

## Outcomes

| outcome | meaning |
| --- | --- |
| fail | serious concerns |
| flag | some concerns |
| pass | no concerns |
| not_applicable | not an RCT |

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

## False positives

Inherits its inputs' false positives. One concern is not proof of misconduct.

**Precision:** Median 45 minutes per trial for a human (INSPECT-SR user testing).

## Prompt to give an agent

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