# AGENTS.md — replicating the conference-guideline rigor analysis

This file is the operational guide for reproducing, auditing or extending the
analysis in this folder. `README.md` is the task specification and may be edited by
the project owner; **check it first and follow it if it differs from this file**.

If you are an agent: work through section 5 in order, run the checks in section 8,
and do not hand-edit generated files. All numbers in the paper/slides come from the
four `*.csv` files described in section 6.

---

## 1. Research question and deliverables

**Question.** Are the authoring and reviewing guidelines of the mainline AI
conferences (NeurIPS, ICML, ICLR, CVPR) promoting rigor in AI science?

**Framework.** Olteanu et al., *Rigor in AI: Doing Rigorous AI Work Requires a
Broader, Responsible AI-Informed Conception of Rigor* (arXiv:2506.14652v2,
<https://arxiv.org/html/2506.14652v2>). The paper defines six facets of rigor and
names 13 mechanisms that promote them (five facets have two mechanisms, conceptual
rigor has three).

**Deliverables in this folder**

| Artifact | Meaning |
|---|---|
| `downloads/html/*.html` | Raw archived pages (9 guidelines + the Olteanu paper) |
| `downloads/SOURCES.md` | URLs, retrieval timestamps, SHA-256 of the archives |
| `guidelines/*.md` | Converted guidelines with YAML provenance; 9 files |
| `guidelines/README.md` | Conversion notes and file inventory |
| `olteanu2025.md` | Condensed framework: 6 rigors, 13 mechanisms, sources |
| `neurips.md`, `icml.md`, `iclr.md`, `cvpr.md` | Evidence: quotes + links + locations, 48 rigor sections |
| `neurips.csv`, `icml.csv`, `iclr.csv`, `cvpr.csv` | Ratings, 26 rows each (104 total) |
| `RATINGS.md` | Rating scale, vocabulary, per-mechanism tables, summary stats |
| `completeness.md` | Step-6 completeness report |
| `critique.md` | Step-7 critique: 25 random rows × 3 roles |
| `*_results.tex`, `*_summary.tex` | Six LaTeX tables (section 5.8) |
| `overall_summary.csv`, `mechanism_summary.csv`, `author_summary.csv`, `reviewer_summary.csv` | Numeric grounding for the summary tables |
| `scripts/*.py` | Generators and verifiers (section 2) |

Current headline numbers (for regression checking): **104 rating rows**, **48
evidence sections**, **101 verified quotes**, **25 critique entries** (75 role
paragraphs), **6 LaTeX tables**, overall mean support **2.12 / 5**.

---

## 2. Repository layout and scripts

```
conference-authoring-guidelines/
├── downloads/
│   ├── html/                 # archived HTML, do not edit
│   └── SOURCES.md            # provenance and checksums
├── guidelines/               # generated markdown + README
├── scripts/
│   ├── convert_guidelines.py # step 2: HTML -> markdown
│   ├── verify_evidence.py    # step 4: quotes against guidelines/
│   ├── build_ratings.py      # step 5: write the four CSVs (ratings live here)
│   ├── verify_ratings.py     # step 5: schema/vocabulary validator
│   ├── check_completeness.py # step 6
│   ├── sample_critique.py    # step 7: reproduce the 25-row sample
│   ├── build_tables.py       # step 8: six .tex + four .csv
│   └── verify_tables.py      # step 8: recompute every table cell
├── README.md                 # task specification (authoritative, may change)
├── README.md~                # obsolete backup; ignore
├── olteanu2025.md
├── <conference>.md / .csv    # evidence and ratings
├── RATINGS.md, completeness.md, critique.md
└── *.tex, *_summary.csv
```

---

## 3. Prerequisites

- Python 3.9+ with `beautifulsoup4` and `lxml` (`python3 -c "import bs4, lxml"`).
- `pandoc` on `PATH` (`pandoc --version`). Used as `pandoc -f html -t gfm
  --wrap=none`.
- `curl` for step 1.
- LaTeX (optional, only to compile the tables): `booktabs`, `array`,
  `fontawesome5`, `xcolor`; a 16:9 beamer frame is the target size.
- No network access is needed to reproduce the existing numbers: the archived HTML
  in `downloads/html/` is sufficient. Network access is needed only to refresh the
  guidelines (section 9).

---

## 4. Reproduce everything (TL;DR)

From this folder:

```bash
# 2. convert the archived HTML (step 1 archives are already present)
python3 scripts/convert_guidelines.py

# 4-5. rebuild ratings and check the evidence
python3 scripts/build_ratings.py
python3 scripts/verify_ratings.py
python3 scripts/verify_evidence.py

# 6. completeness report inputs
python3 scripts/check_completeness.py

# 7. reproduce the 25-row sample used in critique.md
python3 scripts/sample_critique.py

# 8. rebuild the LaTeX tables and their grounding CSVs
python3 scripts/build_tables.py
python3 scripts/verify_tables.py
```

`convert_guidelines.py` rewrites `guidelines/*.md`, which can shift line numbers;
`build_ratings.py`, `build_tables.py` and the evidence files then still refer to
the same line numbers only if the conversion is unchanged. Always run
`verify_evidence.py` after a reconversion.

---

## 5. Workflow, step by step

### 5.1 Download the guidelines (step 1)

Retrieve the author and reviewer guidelines of the 2026 editions and archive the
raw HTML unchanged in `downloads/html/`. Current sources (retrieved
**2026-11-20 14:44 UTC**):

| File | URL |
|---|---|
| `neurips_author.html` | https://neurips.cc/Conferences/2026/MainTrackHandbook |
| `neurips_paper_checklist.html` | https://neurips.cc/public/guides/PaperChecklist |
| `neurips_reviewer.html` | https://neurips.cc/Conferences/2026/ReviewerGuidelines |
| `icml_author.html` | https://icml.cc/Conferences/2026/AuthorInstructions |
| `icml_reviewer.html` | https://icml.cc/Conferences/2026/ReviewerInstructions |
| `iclr_author.html` | https://iclr.cc/Conferences/2026/AuthorGuide |
| `iclr_reviewer.html` | https://iclr.cc/Conferences/2026/ReviewerGuide |
| `cvpr_author.html` | https://cvpr.thecvf.com/Conferences/2026/AuthorGuidelines |
| `cvpr_reviewer.html` | https://cvpr.thecvf.com/Conferences/2026/ReviewerGuidelines |

Also archive the framework paper as `downloads/html/olteanu2025.html`:
<https://arxiv.org/html/2506.14652v2>.

Notes:
- NeurIPS has no page called "Author Guidelines". Its author-facing rules are the
  **Main Track Handbook** plus the mandatory **Paper Checklist**; both count as
  `guideline = author`.
- Record URL, page title, retrieval timestamp and SHA-256 in
  `downloads/SOURCES.md`. Do not edit the HTML after archiving.
- If you refresh the pages, update the `retrieved` front matter in
  `guidelines/*.md` and the `date` column in the CSVs; otherwise keep
  `2026-11-20 14:44 UTC` so the published numbers stay reproducible.

### 5.2 Convert to markdown (step 2)

Run `python3 scripts/convert_guidelines.py`. It:

- keeps only `<main id="main">`;
- removes site chrome (year selector, GDPR cookie table, print footer,
  "Successful Page Load");
- unwraps layout `<div>`s and styling tags, absolutises links;
- adds YAML front matter (`conference`, `guideline`, `title`, `source_url`,
  `retrieved`, `archived_html`);
- normalises the heading outline (one `#`, contiguous levels) and keeps ICML
  heading anchors as `<span id="...">`;
- fixes the NeurIPS checklist's hand-numbered questions and spacer `<strong>`s;
- preserves source typos — these files are quotations, not edited prose.

Output: nine `guidelines/*.md` files. Conversion decisions are documented in
`guidelines/README.md`. Do not hand-edit these files; change the converter and
rerun.

### 5.3 Condense the framework (step 3)

`olteanu2025.md` summarises §§2.1–2.6 of the paper: for each rigor, its guiding
question, a short explanation, and the mechanism(s) that promote it. The mapping
used everywhere downstream is:

| Rigor | Mechanism token | Paper's mechanism |
|---|---|---|
| epistemic | `approp_grounding` | appropriate grounding |
| epistemic | `interrog_assumptions` | interrogating assumptions |
| normative | `research_significance` | research significance |
| normative | `poseth_statements` | positionality and ethical statements |
| conceptual | `concept_clarity` | conceptual clarity |
| conceptual | `concept_systematics` | conceptual systematization |
| conceptual | `term_rigor` | terminological rigor |
| methodological | `construct_valid` | construct validity |
| methodological | `method_standards_compliant` | compliance with methodological standards |
| reporting | `pre_registration` | pre-registration and reporting practices |
| reporting | `disaggr_evals` | disaggregated evaluations |
| interpretative | `document_aiartifacts` | documenting AI artifacts, limitations and impacts |
| interpretative | `intext_validity` | internal and external validity |

The paper names 13 mechanisms, not a uniform two per rigor: conceptual rigor has
three. Do not “fix” this to two.

### 5.4 Collect evidence (step 4)

For each conference, write `<conference>.md` with two parts:

```
# <Conference> 2026 — evidence for the six facets of rigor
# Author guideline
## 1. Epistemic rigor — **strong|partial|absent**
**Appropriate grounding** · *present|partial|absent*. One sentence.
> "verbatim quote"
>
> — § Section, `guidelines/<file>.md` line N · [Page](url)
...
# Reviewer guideline
...
```

Requirements:
- Write the six rigor sections for both guidelines. Across the six sections, all
  **13 mechanisms** must appear (each rigor section lists its own 2–3; use
  `absent` where nothing is found).
- Every quote must be verbatim and must occur on the cited line of the cited file.
  Do not paraphrase; do not use ellipses inside a quote.
- Cite the section, the local file + line, and the live URL. NeurIPS reviewer
  evidence may cite the handbook review form in `guidelines/neurips_author.md`;
  say so in the section.
- Verdict scale: **strong** = at least one named mechanism required/spelled out;
  **partial** = adjacent, encouraged-only, or only one mechanism; **absent** = none.
  Headline verdicts are holistic, the per-mechanism labels are strict.
- Write quotes in rendered form (no `**` or link syntax), as the verifier compares
  against the rendered line.

Run `python3 scripts/verify_evidence.py`; it must report 0 problems.

### 5.5 Rate the mechanisms (step 5)

Ratings are **per mechanism**, not per rigor: 4 conferences × 2 guidelines ×
13 mechanisms = **104 rows**, one CSV per conference (`neurips.csv`, `icml.csv`,
`iclr.csv`, `cvpr.csv`), 26 rows each.

Schema, exactly:

```
conference,guideline,rigor,mechanism,rating_of_support,reason,date
```

- `conference`: `NeurIPS`, `ICML`, `ICLR`, `CVPR`.
- `guideline`: `author` or `reviewer`.
- `rigor`: `epistemic`, `normative`, `conceptual`, `methodological`, `reporting`,
  `interpretative`.
- `mechanism`: one of the 13 tokens above (one per row; never a list).
- `rating_of_support`: integer 1–5.
- `reason`: one specific sentence pointing to the practice that carries the rating.
- `date`: guideline retrieval time, currently `2026-11-20 14:44 UTC`.

Scale (see `RATINGS.md` for the long form):

| Rating | Meaning |
|---|---|
| 5 | required and elaborately specified (mandatory item + guidance/template) |
| 4 | required or explicit but narrow, or one field only |
| 3 | encouraged/optional, or an adjacent practice |
| 2 | weak/oblique mention |
| 1 | absent (analysed but not found) |

Rows rated 1 are **not** missing data: they record that the mechanism was analysed
and is absent. Do not drop them; the 13 × 8 design must stay complete.

Ratings live in `scripts/build_ratings.py` (`DATA`). Edit there and rerun; never
hand-edit the CSVs. `scripts/verify_ratings.py` checks the schema, vocabularies,
ranges, uniqueness and the mechanism→rigor mapping.

### 5.6 Completeness (step 6)

`python3 scripts/check_completeness.py` verifies:

- 24/24 conference × rigor cells and 48/48 guideline × rigor sections;
- 13 mechanisms per document and 26 rows per conference;
- every step-4 label agrees with the step-5 rating class
  (`absent` ↔ 1, `present`/`partial` ↔ 2–5);
- every section that promotes something contains at least one quote.

It prints a table and exits non-zero on failure. `completeness.md` is the written
report; update it if the numbers change.

### 5.7 Critique (step 7)

`python3 scripts/sample_critique.py` reproduces the sample: population 104,
seed **20261120**, 25 rows. `critique.md` contains:

- method note, seed and the 25-row table;
- for each row an `##` header naming **conference, guideline and mechanism** (plus
  rigor and rating), the dataset reason quoted verbatim, and three role
  paragraphs: **As an author**, **As a reviewer**, **As a conference organizer**;
- each role paragraph must be **2–3 sentences** and say whether the rating makes
  sense;
- a closing summary of cross-cutting observations.

Keep the sample reproducible: if you change the seed or population, say so in the
method note and update the table. Validate that headers/reasons match
`sample_critique.py` output and that each paragraph has 2–3 sentences.

### 5.8 LaTeX tables (step 8)

`python3 scripts/build_tables.py` writes six tables and four CSVs. The README names
four tables; `author_summary` and `reviewer_summary` are complementary per-guideline
decompositions added at the owner's request.

| File | Content |
|---|---|
| `author_results.tex` | 13 mechanisms × 4 conferences, author guideline |
| `reviewer_results.tex` | same, reviewer guideline |
| `overall_summary.tex` | 6 rigors × 4 conferences, median over mechanisms × guidelines, plus `overall_summary.csv` |
| `mechanism_summary.tex` | 13 mechanisms × 4 conferences, mean over guidelines, plus `mechanism_summary.csv` |
| `author_summary.tex` | 6 rigors × 4 conferences, median over mechanisms (author), plus CSV |
| `reviewer_summary.tex` | same (reviewer), plus CSV |

Rules:
- First column: `"Epistemic rigor: Appropriate Grounding"` (mechanism tables) or
  `"Epistemic rigor"` (summary tables).
- Conferences in the order NeurIPS, ICML, ICLR, CVPR.
- **Every cell is a 5-star display**, including fractional summary values:
  `floor(v)` solid orange stars, one half star if the fractional part is ≥ 0.5,
  and grey outline stars for the remainder. Rating 3.5 = 3 orange + 1 half + 1
  grey. Colors: orange `#E69F00`, grey `#B3B3B3`.
- Cells use `\rating{full}{half}`; the `\halfstar` macro overlays fontawesome5's
  `star-half` on a grey outline star. The macro and colours are embedded at the top
  of every table file.
- Summaries remain numeric in the CSVs (median/mean); only the `.tex` display is
  symbolic.
- Packages: `fontawesome5`, `xcolor`, `booktabs`, `array`. Captions are omitted so
  each table fits one 16:9 beamer frame; the comment line at the top of each file
  carries the description.
- Run `python3 scripts/verify_tables.py`: it recomputes every cell from the 104
  ratings and checks both the `.tex` and the four CSVs.

To compile-check, put each table in a frame, e.g.:

```latex
\documentclass[aspectratio=169]{beamer}
\usepackage{fontawesome5,booktabs,array,xcolor}
\begin{document}
\begin{frame}{Author results}\input{author_results.tex}\end{frame}
...
\end{document}
```

There must be no `Overfull` or `Underfull` warnings.

---

## 6. Data contract

- **Population:** 104 mechanism rows = 4 conferences × 2 guidelines × 13
  mechanisms. Every rigor has 2 mechanisms except conceptual (3).
- **Evidence:** 48 rigor sections (4 × 2 × 6) and 101 quotes. A section with no
  quote must have all its mechanisms `absent`.
- **Ratings:** integers 1–5, one per mechanism row.
- **Identifiers:** conference acronyms as above; guideline `author`/`reviewer`;
  rigor and mechanism tokens exactly as in section 5.3; filenames lowercase.
- **Dates:** retrieval timestamp, not analysis date.

Acceptance criteria for a faithful rebuild:

```
verify_ratings.py  -> OK: 104 rows, all vocabularies, ranges and mappings valid
check_completeness -> OK: complete and consistent
verify_evidence.py -> checked 101 quotes, 0 problem(s)
verify_tables.py   -> OK: 6 LaTeX tables and 4 grounding CSVs match the 104 ratings
sample_critique.py -> population=104 sample=25 seed=20261120
```

---

## 7. Conventions and pitfalls

- **Do not paraphrase quotes.** They are evidence; `verify_evidence.py` compares
  the rendered source line. If the converter changes, rerun the verifier and fix
  line numbers/quotes.
- **Do not edit generated files by hand.** Change the generator
  (`convert_guidelines.py`, `build_ratings.py`, `build_tables.py`) and rerun.
- **Mechanism ≠ rigor.** The CSV is mechanism-level; a rigor spans 2–3 rows per
  guideline. Facet-level verdicts in `*.md` are holistic and may be more generous
  than the strict per-mechanism ratings (e.g. NeurIPS reporting is "partial" at
  facet level while both named reporting mechanisms are 1).
- **Absence is data.** A 1 means "analysed, not promoted". Never omit a row.
- **Half stars only at .5.** All current values are integers or .5; the renderer
  treats a fractional part of 0.5 (≥ 0.5) as a half.
- **NeurIPS author = two documents.** Keep both handbook and checklist under
  `guideline = author`; quotes name the file.
- **NeurIPS reviewer form** is in `guidelines/neurips_author.md` (handbook), not in
  the reviewer page. Evidence files say so.
- **Star colours and macros** are duplicated in each `.tex` so files can be
  `\input` independently; `\providecolor`/`\providecommand` make that safe.
- **Line numbers** in evidence files refer to the generated
  `guidelines/*.md`; they are part of the citation and are checked.
- **README drift.** The owner edits `README.md`; if it conflicts with this file,
  follow the README and update both.

---

## 8. Verification checklist

Run all of these before declaring the analysis reproducible:

```bash
python3 scripts/verify_ratings.py
python3 scripts/check_completeness.py
python3 scripts/verify_evidence.py
python3 scripts/verify_tables.py
python3 scripts/sample_critique.py | head -5
```

Optional LaTeX check: compile the six tables in a 16:9 beamer document and confirm
zero overfull/underfull warnings.

Expected counts: 9 guideline markdown files, 48 evidence sections, 101 quotes,
104 CSV rows, 25 critique entries, 75 role paragraphs, 6 `.tex` tables, 4 grounding
CSVs.

---

## 9. Refreshing or extending the analysis

**Refresh a guideline.** Re-download the page into `downloads/html/`, update
`downloads/SOURCES.md` (URL, timestamp, SHA-256), rerun
`convert_guidelines.py`, then `verify_evidence.py` and fix any drifted line
numbers. Update the `retrieved` front matter and the CSV `date` if the timestamp
should change.

**Add a conference.** Add the archive + `META` entry in `convert_guidelines.py`,
create `<conf>.md`, add a `DATA` key with 13 × 2 ratings to `build_ratings.py`, and
extend the conference lists in `build_tables.py`, `verify_ratings.py`,
`check_completeness.py` and `sample_critique.py`.
Update the counts in this file and `RATINGS.md`.

**Change a rating.** Edit the `DATA` table in `build_ratings.py` (rating + reason),
rerun `build_ratings.py` and `verify_tables.py`. Update `RATINGS.md` summary
statistics if the numbers change.

**Change the star rendering.** Edit `FULL`, `EMPTY`/`HALF` or the `_rating_macro`
function in `build_tables.py`; rerun the builder and the verifier. If you change
the macros, update section 5.8 here.

**Re-draw the critique sample.** Change `SEED`/`N` in `sample_critique.py`, update
the method note and table in `critique.md`, and check the 2–3 sentence rule.

---

## 10. Provenance

- Guidelines archived 2026-11-20 14:44 UTC; see `downloads/SOURCES.md` for URLs and
  checksums.
- Framework: Olteanu et al. 2025, arXiv:2506.14652v2; condensed in
  `olteanu2025.md`, full HTML in `downloads/html/olteanu2025.html`.
- All analysis artifacts are generated from the archived HTML + the ratings table
  in `scripts/build_ratings.py`. No hidden state.
