You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run the applicable checks and write human + machine-readable reports
26
-
pcr-audit run examples/summary_stat_sample.csv --out build/audit.md --json build/audit.json
27
-
28
-
# Read the human report
29
-
cat build/audit.md
30
-
```
31
-
32
-
This example is a smoke test, not a complete review. It shows how `pcr` records route decisions, runs applicable checks, and emits reports. A serious pre-submission or editorial audit usually requires assembling source tables, manuscript text, figure originals, analysis scripts, references, and provenance context, then interpreting each finding against the study design and source files.
Use `pcr` when a research package needs a documented pre-submission or pre-decision screen before it moves to a journal, supervisor, editor, institution, client, or public record.
39
17
40
-
For R-backed statistical checks (GRIM, GRIMMER, DEBIT, SPRITE, statcheck):
18
+
It is designed for review workflows where the reviewer has source materials available: manuscript text, source tables, raw or summary data, analysis scripts, figures, references, and provenance context. The goal is to surface reproducible review leads early enough that a human expert can verify, resolve, or explain them.
-**Before submission**: researchers and PIs check tables, data, figures, references, and scripts before sending a manuscript out.
23
+
-**Before acceptance or sign-off**: labs, editorial offices, and institutions run a consistent screening checklist across packages.
24
+
-**During triage**: reviewers separate concrete, reproducible signals from speculation, missing material, dependency gaps, and extraction artifacts.
25
+
-**With AI agents**: agent workflows consume route decisions and schema-bound findings instead of guessing which checks apply.
47
26
48
27
## The Problem
49
28
50
29
Research integrity screening is time-consuming, error-prone, and often happens too late — after submission, during peer review, or post-publication. Journals, labs, and institutions need reliable, reproducible pre-submission checks, but existing tools are scattered across languages (R, Python), lack a unified output format, and require expert judgment to route the right tool to the right material.
51
30
52
-
## Why Teams Use It
53
-
54
-
-**Before submission**: find statistical, data, figure, reference, and code-review leads while there is still time to fix or explain them.
55
-
-**Before acceptance or sign-off**: run a consistent checklist across manuscript packages instead of relying on ad hoc manual inspection.
56
-
-**During triage**: separate reproducible signals from speculation, missing material, dependency gaps, and extraction artifacts.
57
-
-**With AI agents**: give agents route decisions and schema-bound findings so they can summarize evidence without inventing tool applicability.
58
-
59
-
## What pcr Does
31
+
## What pcr Solves
60
32
61
33
`pcr` solves the routing, execution, and reporting problem:
62
34
@@ -69,6 +41,31 @@ Research integrity screening is time-consuming, error-prone, and often happens t
69
41
|**Multi-material projects**| Audit entire research packages: data + manuscript + code + figures + references |
70
42
|**Graceful degradation**| Missing R packages or optional dependencies become `info` records, not failures |
71
43
44
+
## What You Get
45
+
46
+
A run produces two complementary outputs:
47
+
48
+
-**Markdown report** for humans: findings grouped by tool, evidence, possible normal explanations, review steps, confidence, and limitations.
49
+
-**JSON report** for systems: schema-bound findings that can be merged, archived, diffed, or handed to an AI-assisted review workflow.
50
+
51
+
The report is designed to support a defensible review process. It does not replace source-material verification, subject-matter judgment, or statistical consultation.
52
+
53
+
## Review Boundaries
54
+
55
+
- Findings are **risk signals**, not misconduct conclusions.
56
+
- Missing tools, missing dependencies, skipped checks, and unsupported material are recorded as `level: info`.
57
+
- PDF/DOCX extraction can introduce recognition errors; important findings should be verified against source CSV/XLSX, original figures, and manuscript tables.
58
+
- Python/R scripts can be rerun in a temporary copy; Stata/SPSS/SAS scripts are scanned read-only and flagged for controlled manual rerun.
59
+
60
+
## Who Is This For
61
+
62
+
-**Researchers & PIs**: screen your own manuscript package before submission and fix issues while there is still time.
63
+
-**Journal editorial offices**: standardize pre-acceptance screening across submissions with reproducible, documented checks.
64
+
-**Research integrity officers**: triage cases with explainable leads rather than starting from scratch.
65
+
-**Peer reviewers**: supplement review with automated consistency checks.
66
+
-**Methods educators**: teach statistical error detection with concrete, runnable examples.
67
+
-**AI agent pipelines**: use structured JSON route decisions and findings instead of prompt-only tool selection.
68
+
72
69
## Supported Checks
73
70
74
71
| Category | Tools | What it catches |
@@ -89,24 +86,6 @@ Research integrity screening is time-consuming, error-prone, and often happens t
-**Markdown report** for humans: findings grouped by tool, evidence, possible normal explanations, review steps, confidence, and limitations.
97
-
-**JSON report** for systems: schema-bound findings that can be merged, archived, diffed, or handed to an AI-assisted review workflow.
98
-
99
-
The report is designed to support a defensible review process. It does not replace source-material verification, subject-matter judgment, or statistical consultation.
100
-
101
-
## Who Is This For
102
-
103
-
-**Researchers & PIs**: Screen your own manuscript package before submission — catch issues early, avoid desk rejection or post-publication correction
104
-
-**Journal editorial offices**: Standardize pre-acceptance screening across submissions with reproducible, documented checks
105
-
-**Research integrity officers**: Triage cases with explainable leads rather than starting from scratch
106
-
-**Peer reviewers**: Supplement your review with automated consistency checks
107
-
-**Methods educators**: Teach statistical error detection with concrete, runnable examples
108
-
-**AI agent pipelines**: `pcr` emits structured JSON designed for downstream agentic workflows; agents read route decisions and findings, not guess tool applicability
# Run the applicable checks and write human + machine-readable reports
141
+
pcr-audit run examples/summary_stat_sample.csv --out build/audit.md --json build/audit.json
142
+
143
+
# Read the human report
144
+
cat build/audit.md
145
+
```
146
+
147
+
This example is a smoke test, not a complete review. It shows how `pcr` records route decisions, runs applicable checks, and emits reports. A serious pre-submission or editorial audit usually requires assembling source tables, manuscript text, figure originals, analysis scripts, references, and provenance context, then interpreting each finding against the study design and source files.
0 commit comments