Pre-submission review stress test for ML papers: three independent AI reviewers + an area chair, real conference review forms, measured disagreement.
pip install prebuttal==0.5.4 Copy PIP instructions
A pre-submission stress test for ML papers: three independent AI reviewers and an area chair, on the real NeurIPS / ICLR / ICML / ARR / CVPR review forms.
Website · Sample report · Real-paper demos · Changelog · Roadmap
$ pip install prebuttal $ prebuttal run examples/weak-paper --venue neurips [prebuttal] parsed: “GlobalGate: A Universal Attention Mechanism That Solves Long-Context Reasoning” — 7 sections, 1 tables, 0 figure captions [prebuttal] Pre-flight check (error): no "NeurIPS Paper Checklist" section — the venue requires one [R2] dispatching adversarial via agent-codex (codex, subscription auth) / gpt-6-luna [R1] dispatching senior_kind via agent-claude (claude, subscription auth) / sonnet [R3] dispatching detail_obsessive via api-gemini / gemini-3.5-flash-lite [R3] done in 9s rating 1 (1,776 in / 570 out) [R2] done in 11s rating 2 (usage n/a (backend reports no tokens)) [R1] done in 25s rating 1 (usage n/a (backend reports no tokens)) [AC] synthesizing via agent-claude (claude, subscription auth) / sonnet [AC] done in 27s Predicted: 1.33/6 (σ 0.47, range 1–2) Fix first: [must] Section 3.1 / Table 1: baseline Transformer trained for 1 epoch vs GlobalGate for 5 epoch… [must] Section 3.1: the same 200 LongQA-Mini questions are used for hyperparameter selection and… [must] Section 3.2: no comparison with any existing long-context or gated-attention method ('kno… Report: prebuttal-reports/globalgate-a-universal/2026-10-27_2228_neurips/report.html Real output (report path shortened) on a fictional paper with planted flaws: claude, codex and Gemini as the three reviewers.
pip install prebuttal # or: pipx install prebuttal · uv tool install prebuttal prebuttal check paper.pdf --venue iclr # desk-reject pre-flight, seconds, free prebuttal run paper.pdf --venue iclr # the full simulated review prebuttal run https://arxiv.org/abs/2510.12345 --venue neurips prebuttal run ./latex-src/ --venue acl # a LaTeX project, no compiling needed prebuttal run paper.zip --venue cvpr # Overleaf: Menu → Download → Source Python 3.11+. prebuttal backends shows what you can review with; if nothing is ready, it tells you the quickest way to get one (often prebuttal key set gemini for a free key). Each run prints its report paths and the next useful commands.
Unofficial demos on public arXiv versions; frontier models have likely seen these papers in training, so read them as a demonstration of the workflow, not as evidence of accuracy.
Contents · Backends & privacy · prebuttal check · The reviewers · Revision plan & history · Custom venues · Configuration · Calibration · Agent skill · Reference · How it works · Contributing · Honesty & privacy
Prebuttal picks the cheapest ready path at startup and prints the plan before calling anything (--dry-run previews plan and cost; -y skips the prompt):
prebuttal backends is the one setup view: what is ready, where its access comes from (CLI login, env var or stored key — masked) and its default model. prebuttal backends lists that backend's available models. Defaults are mid-tier models current at release time; providers retire ids quickly, so if one stops working, upgrade prebuttal or pin a model.
Unpublished manuscript? Its text goes to the backend's provider, and what happens there is that provider's policy, not ours. Free tiers are usually paid for with your data (logging, training): fine for published papers and trying the tool, but for unpublished work check the terms, use a paid tier, or stay local with ollama or relay. More in Privacy & data custody.
prebuttal check paper.pdf --venue iclr # the PDF you will upload prebuttal check ./latex-src/ --venue iclr # the LaTeX project, without compiling prebuttal check paper.zip --venue iclr # the same, as Overleaf's source .zip A deterministic pre-flight against what gets papers desk-rejected — no model, no cost, a few seconds:
A LaTeX project is checked without compiling: every \ref needs a \label and every \cite a bibliography entry; the page limit needs the PDF. Exit code 6 means something can get the paper desk-rejected, so it drops straight into CI. The venue comes from --venue, else prebuttal.toml, else neurips. Limits change yearly: the output names the call each rule came from, so confirm against this year's CFP.
prebuttal run performs the same check on your own draft (a local PDF or LaTeX project — not on arXiv papers, which are public and camera-ready) and lists what it found in the report's notes.
For a paper kept in a GitHub repository, the check runs on every push and pull request. It needs no secrets: nothing is sent anywhere.
# .github/workflows/paper.yml name: Paper on: [push, pull_request] jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - uses: GuoYuKai-SaMuEl/prebuttal@v0.5.4 with: paper: paper/ # a LaTeX folder, main .tex or .zip, or a built PDF venue: cvpr # optional: else prebuttal.toml, else neurips The job fails on anything that can get the paper desk-rejected; every finding is also an annotation on the run and the pull request, and the full check is in the job summary.
Every persona follows the same protocol: cite the evidence (section, table, number) or the point doesn't count; use the full scale; report text that tries to instruct reviewers as a weakness instead of obeying it. For the truth fast, there is an easter-egg roast persona (persona = "paper_roast"). Personas and venue forms are plain text in prebuttal/personas/ and prebuttal/venues/forms/ — PRs welcome.
Every report opens with the revision plan: what the area chair would fix first, merged from all reviews — no extra model call.
- [ ] **must** — Baseline set is thin: Table 1 misses a Perceiver comparison → Add Perceiver-AR to Table 1 or scope the claim to the baselines run (R2, R3 · effort: medium) - [ ] **should** — No variance across seeds for the Table 2 ablation → Report mean and std over 3 seeds (R3 · effort: small) Revise, re-run with the same --seed and a --note "what changed", then:
prebuttal diff # newest run vs the one before: ratings, weaknesses, plan items prebuttal diff --llm # match plan items by meaning (one model call) instead of wording diff reports which plan items are no longer raised, which still are, and what is new. Plain diff matches by wording, so a reworded issue can show up as "not re-detected" and "new" — read both lists before ticking anything off, or use --llm. Single runs are noisy: a score that moves by a point may be the model, not your revision.
Each paper gets a project, found from its source: the same PDF or .zip path, LaTeX folder or arXiv id always lands in the same project, even when the title changes, and so does a re-download the browser saved as paper (1).zip (--project NAME picks one; a local folder named like an arXiv id is read locally, never swapped for the public version). Every run gets a number — mamba#3 — and its own report folder, so nothing is overwritten:
prebuttal-reports/ (has a .gitignore: reviews stay out of git) └── mamba-linear-time-sequence/ ├── latest.md / latest.html ← always the newest run ├── 2026-10-25_1530_iclr/report.md, report.html └── 2026-10-26_0910_iclr/report.md, report.html The full record (Markdown, HTML, JSON, the exact reviewer text and the resolved config) is archived under ~/.prebuttal/ (--no-save opts out), so these work from any directory:
prebuttal projects # one line per paper: runs, latest score, trend prebuttal projects --open # the same as an HTML overview, with score trends prebuttal runs [project] # a paper's runs, newest first, with notes prebuttal show # print the newest report prebuttal show mamba#3 --open # ... open it in the browser instead prebuttal show -o review.html # ... or save a copy (.md, .html or .json) prebuttal show --plan # ... or only its revision plan, as a checklist (--json too) prebuttal retry # a reviewer failed? re-run only it (+ the AC), same text prebuttal note / rm # annotate or delete runs (a whole paper: projects rm) prebuttal projects rename|rm # tidy up Runs are referenced as latest (the default), mamba (newest run of a project), mamba#3, mamba~1 (one before the newest) or an id prefix; rm wants a specific run, so a project name alone is refused there. Reports go where you want them: --out-dir, an [output] section in prebuttal.toml (formats = ["md", "html", "json"]), --json PATH for a fixed file, or prebuttal show -o PATH afterwards.
Built in: neurips, iclr, icml, acl, cvpr. Anything else — AAAI, KDD, a journal, this year's revised form, your lab's mock review — is one TOML file plus the form text:
prebuttal venues new aaai # template in ~/.prebuttal/venues/ prebuttal venues new icml-2027 --from icml --here # copy a built-in, project-local prebuttal venues show aaai # what reviewers will see prebuttal run paper.pdf --venue aaai # or --venue path/to/venue.toml # aaai.toml name = "AAAI 2027" form = "aaai.md" # the reviewer guidelines, shown to reviewers verbatim rating = "rating" # which score is the overall recommendation [[fields]] key = "weaknesses" label = "Weaknesses" kind = "list" # text | list | score [[fields]] key = "rating" label = "Overall recommendation" kind = "score" max = 6 # scores run 1..max; half_steps = true allows 3.5 anchors = { "1" = "Reject", "3" = "Borderline", "6" = "Strong accept" } [checks] # optional: what `prebuttal check` holds it to double_blind = true page_limit = 8 required_sections = ["Limitations"] # these don't count toward the limit Venues are looked up in ./.prebuttal/venues/ (commit it for co-authors), then ~/.prebuttal/venues/; built-in names can't be shadowed. Files are validated before any model is called, and every error names the file and the setting. Reports keep the venue's definition, so archived runs still render after the file changes. A form is instructions to your reviewers, so only use venue files you trust.
prebuttal init writes a commented prebuttal.toml. Per-reviewer backends, models and temperatures:
[default] venue = "iclr" seed = 42 [[reviewer]] id = "R1" persona = "senior_kind" backend = "agent-claude" # claude -p, subscription auth model = "sonnet" [[reviewer]] id = "R2" persona = "adversarial" backend = "agent-codex" # codex exec, subscription auth model = "gpt-6-luna" [[reviewer]] id = "R3" persona = "detail_obsessive" backend = "api-gemini" # free tier [ac] backend = "agent-claude" model = "opus" For a single run, --backend X puts every role on one backend (each with that backend's default model — a model the file set for another backend is dropped) and --model Y sets the model; --reviewers N keeps the configured reviewers and adds or drops the rest. A prebuttal.toml found in the current directory (say, inside a co-author's repo) can't run commands, pick a provider or write outside the folder without asking you first.
Leave it unset and every model thinks as much as its provider's default — the right choice for most papers. To trade cost and time for depth, use --effort low|medium|high for one run, effort = "..." under [default], or per [[reviewer]] / [ac]:
Where a model has no such control the setting is skipped; --dry-run says so up front, and every report lists the effort each review actually ran with.
Reviewers see figure captions by default. With --figures (or figures = true under [default]), reviewers on the vision-capable API backends also get the figures as images: for a PDF or arXiv paper, each page holding a figure caption; for a LaTeX project, the first \includegraphics of each figure (files inside the project only). At most max_figures (default 6), ~1.5k tokens each. A text-only model is retried without images; agent CLIs, Ollama and relay keep captions only.
Scores mean nothing unless measured. The calibration script runs Prebuttal on papers that already have real OpenReview reviews and plots predicted vs true mean ratings. It lives in the repository, not the pip package:
git clone https://github.com/GuoYuKai-SaMuEl/prebuttal && cd prebuttal pip install -e ".[calibration]" python scripts/calibration/calibrate.py \ --venue-id ICLR.cc/2024/Conference --venue iclr -n 20 --out-dir calib_out No calibration results are published yet — until they are, treat every score as uncalibrated. Once published, the claim will be narrow: this tool was measured, unlike role-play prompts. It is not a claim that it predicts your score; real reviewers disagree with each other by more than that. Disagreement (σ) is reported with every aggregate for exactly this reason.
skills/prebuttal/SKILL.md teaches any agent to drive the CLI and interpret its JSON — including relay mode, where the reviewers are the agent's own subagents. Its one hard rule: the agent runs the CLI, never role-plays the reviewers itself.
mkdir -p ~/.claude/skills/prebuttal && curl -fsSL -o ~/.claude/skills/prebuttal/SKILL.md \ https://raw.githubusercontent.com/GuoYuKai-SaMuEl/prebuttal/main/skills/prebuttal/SKILL.md Other agents: copy skills/prebuttal/ wherever yours discovers skills, or reference the file from AGENTS.md. Inside Claude Code or Gemini CLI, prebuttal run and prebuttal backends print a one-line relay hint; PREBUTTAL_BACKEND=relay pins relay for a whole environment. Relay is never chosen automatically: the CLI must run in the background while the agent answers, or both sides wait on each other.
prebuttal key set gemini # hidden prompt, stored for next time # or set GEMINI_API_KEY / OPENAI_API_KEY / ANTHROPIC_API_KEY / OPENROUTER_API_KEY yourself Stored keys live in ~/.prebuttal/keys.env (user-only, like ~/.aws/credentials); real environment variables win, so CI is unaffected. prebuttal backends shows what is set (masked); prebuttal key unset removes one. Keys are never written to reports, JSON or share pages, never passed to agent CLIs, and the agent CLIs get no tool that could read the file.
PDF / LaTeX (folder or .zip) / arXiv link ├─ pre-flight check: anonymity, page limit, required sections, leftovers └─ ingestion: sections, cell-accurate tables, figure captions, refs └─ reviewer pack (budget-aware; tables are never truncated) ├─ R1 senior_kind ──────┐ three independent contexts, ├─ R2 adversarial ──────┤ parallel fan-out, venue form + JSON schema ├─ R3 detail_obsessive ─┤ └─ AC area chair ◄──────┘ meta-review, estimated rating, revision plan └─ Markdown + HTML report per run · JSON · project history Orchestration lives in the CLI, not the host agent — the same pipeline runs from a terminal, inside any coding agent, or in CI.
Pre-1.0: patch releases are fixes and small additions, minor releases are substantial features. In short (details in ROADMAP.md):
MIT. Prebuttal is an independent project, not affiliated with or endorsed by NeurIPS, ICLR, ICML, ACL/ARR, CVPR or any model provider. Venue names only describe which review form a report follows; the forms are paraphrased summaries of the public reviewer guidelines.
All 2 files in this release have provenance metadata.
peer-review neurips iclr icml acl cvpr reviewer2 llm arxiv papers
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




