Aer consistency

From franklee16/academic-research-skills · View interactive version

Aer consistency is an AI agent skill from the GitHub repository franklee16/academic-research-skills. Use when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency — headline numbers matching across abstract, introduction, results, and tables; sample sizes that add up; correct log-point and percentage-point conversions; resolvable cross-references; and a

How to use this skill

Skill file

AER Consistency

Overview

Referees and editors run cheap integrity checks before engaging with ideas:

does the abstract's number appear in the tables? Do the Ns add up? Does

"Table 4" exist? Does every citation resolve? A single mismatch reframes the

entire report from "is this right?" to "what else is wrong?" — and for

AI-assisted manuscripts these mismatches are the modal failure, because

text and tables are often generated in separate passes.

This skill is the full-manuscript integrity audit. It is mechanical by

design: every check below has a yes/no answer obtained by comparing two

artifacts, not by judgment. Run it after every revision round, not only

before first submission.

When to Use

typos) and before aer-submission

Audit 1 — The Headline-Number Register

Build a register of every number that appears more than once in the

manuscript, then verify each row against its single source of truth (the

table or the replication output):

NUMBER            SOURCE            ABSTRACT  INTRO  RESULTS  CONCL  MATCH
4.2 log points    Tab 3 col 4       yes       yes    yes      yes    OK
s.e. 1.1          Tab 3 col 4       yes       no     yes      no     OK
$84 billion       cited source      no        yes    no       yes    OK
N = 37,824        Tab 1             no        no     yes      no     OK

Rules:

standard error. No re-rounding in prose: if the table says 0.042 (0.011),

the text says 4.2, not 4 or 4.20.

specification. Quoting column 3 in the abstract and column 4 in the intro

is a real and common failure.

first use, and the same value everywhere.

Audit 2 — Sample-Size Integrity

documented drop equals the analysis N.

matching specification; every deviation (balanced panel, IV subsample) is

explained in the table notes and the text.

county-years from 620 counties × 20 years — check the multiplication).

exclusions).

Audit 3 — Units and Conversions

The conversion table for prose claims about coefficients:

| Outcome form | Coefficient β means | Exact percent effect |

|---|---|---|

| log(Y), binary D | 100·β log points | 100·(e^β − 1) |

| log(Y), log(X) | elasticity | β% per 1% of X |

| Y in levels, binary D | β units of Y | 100·β / mean(Y) |

| Y is a rate (share) | β·100 percentage points | 100·β / baseline rate percent |

Checks:

outcome's units. A coefficient of 0.02 on an employment rate is 2

percentage points; on log employment it is 2.0 percent (exactly 2.02).

is 36 percent, not 31.

sample?) and the SD's value.

year, named.

the most embarrassing class of referee catch.

Audit 4 — Stars, Standard Errors, and Stated Significance

the declared convention (1.65 / 1.96 / 2.58 thresholds approximately).

table's stars and the CI.

of stars (see aer-robustness on null-result discipline).

audit verifies it held).

Audit 5 — Cross-Reference Integrity

of first reference; exhibits nobody cites get cut or moved to the

appendix.

IV is the classic R&R injury).

supplemental file if separate.

Audit 6 — Citation Two-Way Match

is cited at least once. LaTeX builds with zero unresolved citation

warnings.

text, 2019 in the bib — fail).

aer-literature's integrity protocol; this audit confirms it was run and

the ledger has no open rows.

Audit 7 — Claim-Evidence Map

For each empirical claim in the abstract, introduction, and conclusion,

record where the evidence lives:

CLAIM                                          EVIDENCE          STATUS
"raises 90/10 ratio by 4.2 log points"         Tab 3 c4          OK
"driven by gains at the top"                   Fig 3 / Tab 4     OK
"absent in retail and construction"            Tab 5 c2-c3       OK
"consistent with skill-biased adoption"        Sec V battery     OK (consistency claim)

worded as consistency ("consistent with"), matching aer-paper-body

rules.

with nothing to point at is how overclaiming enters a manuscript.

Mechanical Procedure

  1. Run the bundled script for the deterministic LaTeX checks (citations

two-way, ref/label two-way, duplicate labels, abstract word count):

```bash

python3 skills/aer-consistency/scripts/audit_manuscript.py paper.tex references.bib

```

  1. Extract every number from the abstract and introduction (grep for

digits); locate each in a table or a cited source; build the register.

  1. Recompute the sample funnel and the unit conversions by hand — these are

arithmetic, not judgment.

  1. Diff the table files in the manuscript against the replication package's

output/tables/ — they must be the same files, not lookalikes

(aer-replication requires this anyway).

  1. Produce the consistency report (below) and fix every FAIL before

handing off.

The Consistency Report

AUDIT                       RESULT     DETAIL
1 headline numbers          PASS       12 numbers, 12 matched
2 sample sizes              FAIL       Tab 4 N=37,824 vs Tab 1 N=37,284
3 units and conversions     PASS       2 exact conversions applied
4 stars vs SEs              PASS
5 cross-references          PASS       31 refs, 0 dangling
6 citations two-way         FAIL       2 bib entries uncited
7 claim-evidence map        PASS       9 claims mapped

Fix-and-rerun until all PASS. The report travels with the handoff so

aer-referee-sim and aer-submission know the floor is solid.

Common Failure Modes

quoted estimate

tables stayed exact

"suggestive"

Repository Resources

When working from the AER-skills repository or plugin bundle, load only the

relevant resource:

examples/replication-package-skeleton/docs/exhibit-register.md

skills/aer-paper-body/SKILL.md

skills/aer-literature/SKILL.md

docs/style-guide.md

Handoff

AUDITS PASSED: <n>/7
HEADLINE NUMBERS MATCHED: <n>/<n>
OPEN FAILURES: <list, or "none">
ABSTRACT WORD COUNT: <n>/100
CITATION LEDGER: <closed / open rows remain>
NEXT SKILL: <aer-referee-sim | aer-submission>

Anti-Patterns

reopens it

replication package actually produces

finds style issues and misses arithmetic

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.