paperlint 18.1.0 → 18.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +2 -2
  2. package/dist/adapters/latex/document-class.d.ts +28 -5
  3. package/dist/adapters/latex/document-class.d.ts.map +1 -1
  4. package/dist/adapters/latex/document-class.js +208 -21
  5. package/dist/adapters/latex/document-class.js.map +1 -1
  6. package/dist/adapters/latex/index.d.ts +4 -4
  7. package/dist/adapters/latex/index.d.ts.map +1 -1
  8. package/dist/adapters/latex/index.js +5 -2
  9. package/dist/adapters/latex/index.js.map +1 -1
  10. package/dist/adapters/latex/parse.d.ts.map +1 -1
  11. package/dist/adapters/latex/parse.js +5 -0
  12. package/dist/adapters/latex/parse.js.map +1 -1
  13. package/dist/domain/body-pages.d.ts.map +1 -1
  14. package/dist/domain/body-pages.js +4 -2
  15. package/dist/domain/body-pages.js.map +1 -1
  16. package/dist/domain/tex-document.d.ts +52 -4
  17. package/dist/domain/tex-document.d.ts.map +1 -1
  18. package/dist/domain/tex-document.js +9 -0
  19. package/dist/domain/tex-document.js.map +1 -1
  20. package/dist/eslint-rules/latex-language.d.ts +10 -0
  21. package/dist/eslint-rules/latex-language.d.ts.map +1 -1
  22. package/dist/eslint-rules/latex-language.js +41 -2
  23. package/dist/eslint-rules/latex-language.js.map +1 -1
  24. package/dist/ports/latex.d.ts +13 -1
  25. package/dist/ports/latex.d.ts.map +1 -1
  26. package/dist/presets.d.ts +15 -0
  27. package/dist/presets.d.ts.map +1 -1
  28. package/dist/presets.js +9 -0
  29. package/dist/presets.js.map +1 -1
  30. package/dist/tex-requirements.d.ts +2 -0
  31. package/dist/tex-requirements.d.ts.map +1 -1
  32. package/dist/tex-requirements.js +7 -2
  33. package/dist/tex-requirements.js.map +1 -1
  34. package/dist/tex-venue-rules.d.ts +36 -3
  35. package/dist/tex-venue-rules.d.ts.map +1 -1
  36. package/dist/tex-venue-rules.js +181 -33
  37. package/dist/tex-venue-rules.js.map +1 -1
  38. package/docs/rules/cycle/port-done.md +3 -0
  39. package/docs/rules/tex/template.md +96 -1
  40. package/docs/rules.md +18 -13
  41. package/docs/venues.md +51 -12
  42. package/eslint-rules/latex-language.test.mjs +64 -1
  43. package/eslint-rules/latex-language.ts +44 -2
  44. package/eslint.config.mjs +1 -0
  45. package/fixtures/build-e2e/neurips/PIPELINE-STATUS.md +3 -0
  46. package/fixtures/build-e2e/neurips/expect.json +20 -0
  47. package/fixtures/build-e2e/neurips/paper.tex +60 -0
  48. package/fixtures/build-e2e/neurips/paperlint.json +1 -0
  49. package/fixtures/build-e2e/neurips-nostyle/PIPELINE-STATUS.md +3 -0
  50. package/fixtures/build-e2e/neurips-nostyle/expect.json +26 -0
  51. package/fixtures/build-e2e/neurips-nostyle/paper.tex +56 -0
  52. package/fixtures/build-e2e/neurips-nostyle/paperlint.json +1 -0
  53. package/fixtures/build-e2e/neurips-over/PIPELINE-STATUS.md +3 -0
  54. package/fixtures/build-e2e/neurips-over/expect.json +24 -0
  55. package/fixtures/build-e2e/neurips-over/paper.tex +56 -0
  56. package/fixtures/build-e2e/neurips-over/paperlint.json +1 -0
  57. package/fixtures/real-papers.test.ts +17 -6
  58. package/package.json +3 -1
  59. package/presets/aaai-2027.jsonc +126 -0
  60. package/presets/aaai-2027.md +127 -0
  61. package/presets/aaai-press.jsonc +167 -0
  62. package/presets/aaai-press.md +126 -0
  63. package/presets/icml-2027.jsonc +111 -0
  64. package/presets/icml-2027.md +130 -0
  65. package/presets/icml-style.jsonc +125 -0
  66. package/presets/icml-style.md +77 -0
  67. package/presets/neurips-2026.jsonc +123 -0
  68. package/presets/neurips-2026.md +137 -0
  69. package/presets/neurips-style.jsonc +113 -0
  70. package/presets/neurips-style.md +85 -0
  71. package/presets/venue-profile.schema.json +6 -0
  72. package/skills/build-label-page/scripts/label-page-browser.test.ts +275 -114
  73. package/src/adapters/latex/document-class.ts +292 -20
  74. package/src/adapters/latex/index.test.ts +263 -0
  75. package/src/adapters/latex/index.ts +12 -3
  76. package/src/adapters/latex/parse.ts +5 -0
  77. package/src/cli.test.ts +6 -1
  78. package/src/domain/body-pages.test.ts +22 -6
  79. package/src/domain/body-pages.ts +4 -2
  80. package/src/domain/tex-document.ts +64 -5
  81. package/src/folder-venue-rule.test.ts +51 -0
  82. package/src/new-paper.test.ts +2 -2
  83. package/src/paper-settings-commands.test.ts +1 -1
  84. package/src/ports/latex.ts +14 -0
  85. package/src/preset-card-rule.test.ts +44 -27
  86. package/src/presets.test.ts +177 -1
  87. package/src/presets.ts +27 -0
  88. package/src/rule-cases.test.ts +52 -0
  89. package/src/tex-requirements.harness.ts +17 -3
  90. package/src/tex-requirements.ts +13 -2
  91. package/src/tex-venue-rules.test.ts +1020 -0
  92. package/src/tex-venue-rules.ts +248 -38
  93. package/src/venue-rules.test.ts +369 -2
@@ -0,0 +1,56 @@
1
+ % The neurips fixture with too many content pages for NeurIPS 2026's main track: more than nine
2
+ % pages before the references, in the same style file (not committed: expect.json `needs` it), fonts
3
+ % and page. format/page-limit must report it on the real build, as it stays silent on the neurips
4
+ % fixture.
5
+ %
6
+ % The prose is one paragraph set many times; each copy carries its own number in words on every
7
+ % line, so no line repeats from page to page as a running header would.
8
+ \documentclass{article}
9
+ \usepackage{neurips_2026}
10
+ \usepackage[T1]{fontenc}
11
+ \usepackage{hyperref}
12
+ \usepackage{xcolor}
13
+ \newcount\paracount
14
+ \newcommand{\n}{\romannumeral\paracount}
15
+ \newcommand{\para}{\global\advance\paracount by 1
16
+ Paragraph \n{} trains a model on a benchmark, and \n{} counts its errors by class \n{}
17
+ and by seed \n{}, so that the measurement \n{} has a body of prose \n{} set in the one column
18
+ \n{} of the conference style. Paragraph \n{} says nothing new, and \n{} does not need to: the
19
+ fixture \n{} is about the style, \n{} the fonts and \n{} the page count, and \n{} not about its
20
+ content. A reviewer of \n{} would find it dull, \n{} which is what a measurement \n{} should be.\par}
21
+ \newcount\loopcount
22
+ \newcommand{\paras}[1]{\loopcount=0 \loop\para\advance\loopcount by 1 \ifnum\loopcount<#1\repeat}
23
+ \newcount\bibcount
24
+ \newcommand{\entries}[1]{\bibcount=0 \loop\advance\bibcount by 1
25
+ \bibitem[Author(2024)]{r\the\bibcount} A.~Author. Learning study \romannumeral\bibcount. In
26
+ \emph{Proc.\ Workshop}, pages 1--10, 2024.\ifnum\bibcount<#1\repeat}
27
+ \title{A Fixture Typeset in the Style the Venue Requires}
28
+ \author{Anonymous Author}
29
+ \begin{document}
30
+ \maketitle
31
+ \begin{abstract}
32
+ The abstract exists so the build has the front matter a NeurIPS paper carries.
33
+ \end{abstract}
34
+ \section{Introduction}
35
+ \paras{24}
36
+ \section{Method}
37
+ \paras{66}
38
+ \section{Conclusion}
39
+ \paras{14}
40
+ \renewcommand{\bibfont}{\small}
41
+ \begin{thebibliography}{99}
42
+ \entries{40}
43
+ \end{thebibliography}
44
+ \appendix
45
+ \section{Technical Appendix}
46
+ \paras{10}
47
+ \newpage
48
+ \section*{NeurIPS Paper Checklist}
49
+ \begin{enumerate}
50
+ \item {\bf Claims}
51
+ \item[] Question: Do the main claims made in the abstract and introduction accurately reflect the
52
+ paper's contributions and scope?
53
+ \item[] Answer: \answerYes{}
54
+ \item[] Justification: The fixture claims only its own format.
55
+ \end{enumerate}
56
+ \end{document}
@@ -0,0 +1 @@
1
+ {"extends": "paperlint:neurips-2026", "kind": "main", "identity": ["Ada Example", "adaexample", "ada@example.org", "Example University", "exampletool"]}
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Every rule, on every real paper of the corpus, in ONE run of the CLI: the six accepted papers of
3
- * `accepted-papers/` and the arXiv preprints of `arxiv-papers/` (its README says what they are, and
4
- * why all of them run). The subject is the corpus as one object: each directory of those two folders
5
- * is a paper with its own `baseline.json`, so a paper added without a baseline fails here.
3
+ * `accepted-papers/`, the arXiv preprints of `arxiv-papers/` (its README says what they are, and
4
+ * why all of them run) and the accepted camera-ready papers of `venue-papers/`, each linted against
5
+ * the venue that accepted it. The subject is the corpus as one object: each directory of those
6
+ * folders is a paper with its own `baseline.json`, so a paper added without a baseline fails here.
6
7
  *
7
8
  * A rule that says MORE about a real paper than recorded has gained a false positive until shown
8
9
  * otherwise; a rule that goes fully quiet without the recording being updated has died. A partial
@@ -21,7 +22,7 @@
21
22
  import { cpSync, readdirSync, readFileSync, statSync } from "node:fs";
22
23
  import { dirname, join } from "node:path";
23
24
  import { fileURLToPath } from "node:url";
24
- import { describe, expect, it } from "vitest";
25
+ import { describe, expect, it, vi } from "vitest";
25
26
  import { run } from "../src/cli.ts";
26
27
  import { latexReader } from "../src/adapters/latex/index.ts";
27
28
  import { nodeFiles } from "../src/adapters/node/index.ts";
@@ -42,7 +43,9 @@ const HERE = dirname(fileURLToPath(import.meta.url));
42
43
  const ACCEPTED = readdirSync(join(HERE, "accepted-papers")).filter((name) =>
43
44
  statSync(join(HERE, "accepted-papers", name)).isDirectory(),
44
45
  );
45
- const FOLDERS = ["accepted-papers", "arxiv-papers"].map((f) => join(HERE, f));
46
+ const FOLDERS = ["accepted-papers", "arxiv-papers", "venue-papers"].map((f) =>
47
+ join(HERE, f),
48
+ );
46
49
 
47
50
  /** Every paper: its directory name (unique across the folders) and where it is. */
48
51
  const PAPERS = FOLDERS.flatMap((root) =>
@@ -80,12 +83,20 @@ it("the corpus holds papers, with names that are unique — an empty or collidin
80
83
  expect(new Set(PAPERS.map((p) => p.name)).size).toBe(PAPERS.length);
81
84
  });
82
85
 
86
+ /**
87
+ * The day the baselines were measured. `paper/edition-over` reads the clock: an edition preset whose
88
+ * last deadline passes (`sp-2027`'s on 2027-04-09) would grow a baseline on that day with no change
89
+ * to the code or the papers. The lint runs on this day, so a count moves only when something here does.
90
+ */
91
+ const MEASURED_ON = "2026-11-19T12:00:00Z";
92
+
83
93
  describe("every real paper, in one run", () => {
84
94
  it(
85
95
  "says no more than recorded, and no recorded rule has gone quiet",
86
96
  { timeout: 10 * 60_000 },
87
97
  async () => {
88
- const found = await lintAll();
98
+ vi.setSystemTime(MEASURED_ON);
99
+ const found = await lintAll().finally(() => vi.useRealTimers());
89
100
  const verdicts = PAPERS.map(({ name, dir }) => ({
90
101
  name,
91
102
  ...compareToBaseline(found[name] ?? {}, recordedFindings(dir)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperlint",
3
- "version": "18.1.0",
3
+ "version": "18.2.0",
4
4
  "description": "A linter for scientific papers written in LaTeX: catches mistakes before you submit to a conference or journal.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -127,6 +127,8 @@
127
127
  "!fixtures/arxiv-papers",
128
128
  "!fixtures/arxiv-manifest.json",
129
129
  "!fixtures/arxiv-fetch.ts",
130
+ "!fixtures/venue-papers",
131
+ "!fixtures/venue-manifest.json",
130
132
  "hooks",
131
133
  "lib",
132
134
  "presets",
@@ -0,0 +1,126 @@
1
+ // AAAI-27 Main Technical Track (the Forty-First AAAI Conference on Artificial Intelligence,
2
+ // Montréal, 16-23 February 2027) — a VENUE preset over the AAAI Press style family. Everything the
3
+ // aaai2027.sty template decides (page size, columns, fonts, font sizes, TeX packages) comes from
4
+ // aaai-press.jsonc; this file adds what AAAI-27's call for papers sets. Its card, in prose:
5
+ // `aaai-2027.md` beside this file.
6
+ //
7
+ // Verbatim from the call, https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/
8
+ // (page dated May 14, 2026; read 2026-11-19):
9
+ // «Submissions are limited to 7 pages of main content, with a maximum total length of 9 pages.
10
+ // Any pages beyond page 7 are reserved exclusively for references.»
11
+ // «All authors must complete a reproducibility checklist to facilitate replication of the
12
+ // reported research.»
13
+ // «AAAI-27 is an in-person conference.»
14
+ // Its timetable: «Note: all deadlines are “anywhere on earth” (UTC-12)», «July 21, 2026 Abstracts
15
+ // due at 11:59 PM UTC-12», «July 28, 2026 Full papers due at 11:59 PM UTC-12», «December 14,
16
+ // 2026 Submission of camera-ready files (Main Technical Track)».
17
+ // Verbatim from the submission instructions,
18
+ // https://aaai.org/conference/aaai/aaai-27/submission-instructions/ (read 2026-11-19):
19
+ // «Papers must be formatted in AAAI two-column, camera-ready style; see the AAAI-27 author kit for
20
+ // details. Papers must be in trouble-free, high-resolution PDF format, formatted for US Letter
21
+ // (8.5″ x 11″) paper, using Type 1 or TrueType fonts. AAAI submissions are anonymous and must
22
+ // conform to the instructions (detailed below) for double-blind review. The authors must remove
23
+ // all author and affiliation information from their submission for review, and may replace it
24
+ // with other information, such as paper number and keywords. The main submission PDF can have
25
+ // up to 9 pages, with pages 8–9 reserved exclusively for references. That is, the main paper
26
+ // can have up to 7 pages of non-references content. Acknowledgements should be omitted from
27
+ // papers submitted for review, and any ethical statements or similar considerations, if
28
+ // included, must be included in the 7 content pages.»
29
+ // «Authors must complete the reproducibility checklist provided in the AAAI-27 Author Kit and
30
+ // submit it at the time of paper submission. […] must be uploaded separately from the main paper
31
+ // in the designated field of the submission form.»
32
+ {
33
+ "type": "venue",
34
+ // The series, without its year: the file is the edition.
35
+ "name": "AAAI",
36
+ // «AAAI» alone is what papers write whenever they mention an AAAI paper or AAAI Press, so
37
+ // tex/venue-leftover counts it in prose only beside a year no older than the paper's own edition's
38
+ // year minus one: «AAAI 2027» (what OpenReview's venue group calls the edition, its `subtitle`,
39
+ // https://api2.openreview.net/groups?id=AAAI.org/2027/Conference, read 2026-11-19), «AAAI'27»,
40
+ // «AAAI~2027». 🔴 Not the call's own spelling «AAAI-27»: a hyphen is not a year beside the name.
41
+ // The call quoted above.
42
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
43
+ "extends": "paperlint:aaai-press",
44
+
45
+ // No `template`: the family's two lines are the kit's («DO NOT CHANGE THIS»), and the call names
46
+ // no options of its own.
47
+
48
+ // «AAAI submissions are anonymous and must conform to the instructions (detailed below) for
49
+ // double-blind review.» (the submission instructions above). anonymity/identity then requires
50
+ // the paper's `identity`.
51
+ "blind": true,
52
+
53
+ // No `portal`: submissions go through OpenReview («Submissions will not be accepted by e-mail or
54
+ // any other mechanism other than OpenReview», the submission instructions), and paperlint has a
55
+ // portal adapter for HotCRP only.
56
+
57
+ // The deadlines have passed except the camera-ready; they are kept as the record of the edition.
58
+ // Two readings of each submission deadline, kept both:
59
+ // the call: «11:59 PM UTC-12» on July 21 and July 28, 2026 → 2026-07-22T11:59:00Z and
60
+ // 2026-07-29T11:59:00Z;
61
+ // OpenReview, read 2026-11-19: the Submission invitation's `duedate` 1784721540000
62
+ // (2026-07-22T11:59:00Z), https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true;
63
+ // and the venue group's `date`: «Abstract Registration: Jul 22 2026 11:59AM UTC-0, Submission
64
+ // Deadline: Jul 29 2026 11:59AM UTC-0», https://api2.openreview.net/groups?id=AAAI.org/2027/Conference.
65
+ // They agree to the minute.
66
+ // The camera-ready, «December 14, 2026», with no hour: the end of that day AoE, 2026-12-15T11:59:59Z.
67
+ "deadlines": [
68
+ {
69
+ "what": "registration",
70
+ "at": "2026-07-22T11:59:00Z",
71
+ "source": "call",
72
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
73
+ "read": "2026-11-19",
74
+ },
75
+ {
76
+ "what": "registration",
77
+ "at": "2026-07-22T11:59:00Z",
78
+ "source": "portal",
79
+ "url": "https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true",
80
+ "read": "2026-11-19",
81
+ },
82
+ {
83
+ "what": "submission",
84
+ "at": "2026-07-29T11:59:00Z",
85
+ "source": "call",
86
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
87
+ "read": "2026-11-19",
88
+ },
89
+ {
90
+ "what": "submission",
91
+ "at": "2026-07-29T11:59:00Z",
92
+ "source": "portal",
93
+ "url": "https://api2.openreview.net/groups?id=AAAI.org/2027/Conference",
94
+ "read": "2026-11-19",
95
+ },
96
+ {
97
+ "what": "camera-ready",
98
+ "at": "2026-12-15T11:59:59Z",
99
+ "source": "call",
100
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
101
+ "read": "2026-11-19",
102
+ },
103
+ ],
104
+
105
+ // No `required_sections`, on purpose. The call requires a reproducibility checklist, but as a
106
+ // separate upload, not a section of the PDF. The kit's «Ethical Statement» is «optional,
107
+ // unnumbered». Acknowledgements are to be omitted at submission («should be omitted»), which no
108
+ // field can say.
109
+
110
+ "format": {
111
+ // «7 pages of main content, with a maximum total length of 9 pages. Any pages beyond page 7 are
112
+ // reserved exclusively for references.» A body limit, a references limit and the total.
113
+ // 🔴 What the count cannot say: banal types a page as bibliography by its text, and an appendix
114
+ // placed after the references was typed bibliography on a measured build (7 body pages, then
115
+ // references and a 6-paragraph appendix on pages 8-9: banal body 7, references 2) — it passes,
116
+ // although pages 8-9 are «reserved exclusively for references». `"body_ends_at":
117
+ // "references"` with `"appendix_in_body": true` passes it too (tried 2026-11-19): without
118
+ // hyperref the appendix is not looked for, and the style refuses hyperref. An appendix BEFORE
119
+ // the references counts as body, as the kit asks («Content Appendices … count towards page
120
+ // limits»). The same synthetic paper at 7 body pages, 40 references on pages 8-9, lints clean;
121
+ // at 8 body pages it is reported (body pages: 8, over the limit 7).
122
+ "kinds": {
123
+ "main": { "body_pages_max": 7, "ref_pages_max": 2, "pages_max": 9 },
124
+ },
125
+ },
126
+ }
@@ -0,0 +1,127 @@
1
+ ---
2
+ title: "AAAI — venue card"
3
+ ---
4
+
5
+ # AAAI (Main Technical Track, 2027 edition)
6
+
7
+ The card of the venue preset `paperlint:aaai-2027` ([`aaai-2027.jsonc`](aaai-2027.jsonc)): what
8
+ the venue asks for, in prose. The numbers a machine checks live in the preset; the section at the
9
+ end is generated from it. The `submit-paper` skill reads this card for the venue's specifics.
10
+
11
+ **Re-verify the call for papers every year**
12
+ ([aaai.org/conference/aaai/aaai-27/main-technical-track-call](https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/)):
13
+ the limits, the dates and the style file change between editions (AAAI-26's kit set Times through
14
+ `\usepackage{times}`; AAAI-27's style loads newtxtext and forbids `times`).
15
+
16
+ ## Sources
17
+
18
+ Each read on 2026-11-19:
19
+
20
+ - the call: <https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/>;
21
+ - the submission instructions: <https://aaai.org/conference/aaai/aaai-27/submission-instructions/>;
22
+ - the author kit: <https://aaai.org/authorkit27/> (`AuthorKit27.zip`, see
23
+ [`aaai-press.md`](aaai-press.md));
24
+ - the policies for authors: <https://aaai.org/conference/aaai/aaai-27/policies-aaai-27-authors/>;
25
+ - the portal's public data (OpenReview): <https://api2.openreview.net/groups?id=AAAI.org/2027/Conference>
26
+ and the Submission invitation,
27
+ <https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true>.
28
+
29
+ ## The venue (2027 edition)
30
+
31
+ - **Venue**: the Main Technical Track of **AAAI-27**, the Forty-First AAAI Conference on Artificial
32
+ Intelligence, Montréal, 16–23 February 2027. The AI for Social Impact track follows the main
33
+ track's rules; the AI Alignment track has the same page limit and its own dates (abstracts 14
34
+ August, papers 21 August 2026) and is not this preset.
35
+ - **Portal**: OpenReview, `https://openreview.net/group?id=AAAI.org/2027/Conference` («Submissions
36
+ will not be accepted by e-mail or any other mechanism other than OpenReview»). `paperlint
37
+ submission` speaks to HotCRP only, so the preset has no `portal`.
38
+ - **Format**: «Papers must be formatted in AAAI two-column, camera-ready style; see the AAAI-27
39
+ author kit for details. Papers must be in trouble-free, high-resolution PDF format, formatted for
40
+ US Letter (8.5″ x 11″) paper, using Type 1 or TrueType fonts.» The call names no rejection for a
41
+ format violation; the kit's consequences are quoted in [`aaai-press.md`](aaai-press.md), with its
42
+ lists of forbidden packages and commands, which paperlint does not encode.
43
+ - **Double-blind**: «AAAI submissions are anonymous and must conform to the instructions (detailed
44
+ below) for double-blind review. The authors must remove all author and affiliation information
45
+ from their submission for review». The kit adds that the PDF's metadata «should be cleared» and
46
+ that references «must be anonymized whenever the reader can infer that they are to the authors'
47
+ previous work».
48
+ - **Acknowledgements and ethics**: «Acknowledgements should be omitted from papers submitted for
49
+ review, and any ethical statements or similar considerations, if included, must be included in
50
+ the 7 content pages.» The kit's Ethical Statement is «optional, unnumbered».
51
+ - **Reproducibility checklist**: «All authors must complete a reproducibility checklist»; it «must
52
+ be uploaded separately from the main paper in the designated field of the submission form». It is
53
+ not a section of the PDF, so the preset requires none.
54
+ - **Supplementary material**: a technical supplement, a multimedia archive and a code and data
55
+ archive, due three days after the paper; «reviewers are not required to review this material».
56
+ - **Attendance**: «All presentations must be done in-person. There will be no remote presentation
57
+ option.»
58
+ - **Generative AI**: «Authors may judiciously use generative AI tools … However, authors remain
59
+ fully responsible for all submitted material»; prompt injection against the review system is a
60
+ listed ethics violation.
61
+
62
+ ## Dates
63
+
64
+ The call's timetable, «all deadlines are "anywhere on earth" (UTC-12)»:
65
+
66
+ | date | what |
67
+ | ------------------ | --------------------------------------------- |
68
+ | 21 July 2026 | abstracts, 11:59 PM UTC-12 |
69
+ | 28 July 2026 | full papers, 11:59 PM UTC-12 |
70
+ | 31 July 2026 | supplementary material and code |
71
+ | 24 September 2026 | notification of Phase 1 rejections |
72
+ | 24–31 October 2026 | author feedback window (was 19–25 October) |
73
+ | 30 November 2026 | notification of final acceptance or rejection |
74
+ | 14 December 2026 | camera-ready files |
75
+
76
+ **Two readings of the abstract and the paper deadlines, both in the preset** (`deadlines`): the
77
+ call's «11:59 PM UTC-12»; OpenReview's Submission invitation `duedate` (2026-07-22 11:59 UTC) and
78
+ its venue data, «Abstract Registration: Jul 22 2026 11:59AM UTC-0, Submission Deadline: Jul 29
79
+ 2026 11:59AM UTC-0». They agree to the minute. The camera-ready, a date with no hour, is the end of
80
+ 14 December AoE.
81
+
82
+ ## Paper kinds and limits
83
+
84
+ | kind | body pages | pages of references | what the call says |
85
+ | ------ | ---------: | ------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
86
+ | `main` | 7 | 2 (9 in all) | «Submissions are limited to 7 pages of main content, with a maximum total length of 9 pages. Any pages beyond page 7 are reserved exclusively for references.» |
87
+
88
+ The body pages are banal's count. An appendix before the references is body, as the kit asks
89
+ («Content Appendices … count towards page limits»).
90
+
91
+ 🔴 **What the page count cannot express.** An appendix placed after the references, within the nine
92
+ pages, passes: banal types those pages as bibliography (measured: 7 body pages, then the references
93
+ and an appendix on pages 8–9, reported as 7 + 2). `body_ends_at` cannot help: it finds an appendix
94
+ through hyperref, and the style refuses hyperref. Pages 8–9 are «reserved exclusively for
95
+ references»: check that by eye.
96
+
97
+ ## What the preset encodes
98
+
99
+ - **The AAAI Press style**, through `extends: paperlint:aaai-press` — letter page, two columns,
100
+ Times (newtxtext) at 10 pt, references at 9 to 10 pt, the two template lines, the TeX packages
101
+ ([`aaai-press.md`](aaai-press.md)).
102
+ - **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
103
+ declared `identity`.
104
+ - **Names**: `AAAI`, what `tex/venue-leftover` and `paper/folder-venue-leftover` look for in another
105
+ venue's paper. In prose it counts only beside a year no older than that paper's own edition's year
106
+ minus one: «AAAI 2027», «AAAI'27», «AAAI~2027»; «at AAAI 2024» in related work is not reported.
107
+ 🔴 Not the call's own «AAAI-27»: a hyphen is not a year beside the name.
108
+
109
+ ## Not verified
110
+
111
+ - **The camera-ready's page limit and charges**: not in the call.
112
+ - **The submission form's fields**: not recorded; OpenReview's form needs a logged-in read.
113
+ - **The PDF's metadata**: the kit asks for it to be cleared; `anonymity/identity` reads the metadata
114
+ for the declared identity only.
115
+
116
+ ## What the preset resolves to
117
+
118
+ <!-- paperlint:preset-rules -->
119
+ <!-- prettier-ignore-start -->
120
+ <!-- Generated from aaai-2027.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
121
+
122
+ **`paperlint:aaai-2027`** — venue preset for AAAI 2027 · call for papers: <https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/> · extends `paperlint:aaai-press`
123
+
124
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
125
+
126
+ <!-- prettier-ignore-end -->
127
+ <!-- /paperlint:preset-rules -->
@@ -0,0 +1,167 @@
1
+ // AAAI Press `aaai2027.sty` — the TEMPLATE FAMILY of AAAI Press's two-column style, 2027 edition:
2
+ // everything the style file decides, whatever the venue (AAAI-27, and the AAAI Press proceedings
3
+ // that take the same kit). A venue preset extends it ("extends": "paperlint:aaai-press") and adds
4
+ // what its call for papers sets: the page limit of each kind, anonymity, the dates.
5
+ //
6
+ // 🔴 THE TEMPLATE IS A STYLE FILE, NOT A CLASS. The kit's paper opens with
7
+ // \documentclass[letterpaper]{article} % DO NOT CHANGE THIS
8
+ // \usepackage[submission]{aaai2027} % DO NOT CHANGE THIS
9
+ // and aaai2027.sty is not in TeX Live: it travels with the paper, from the AAAI-27 Author Kit
10
+ // (https://aaai.org/authorkit27/ → https://aaai.org/wp-content/uploads/2026/10/AuthorKit27.zip,
11
+ // Last-Modified 2026-10-21, sha256 9406a545…780c960, read 2026-11-19). `template` names the class
12
+ // line and `template_style` the style line; paperlint does not ship the style file.
13
+ //
14
+ // The kit changed during the edition. The zip the page links today is the second one
15
+ // (`\ProvidesPackage{aaai2027}[2027/10/21 …]`, TemplateVersion 2027.2); the first,
16
+ // https://aaai.org/wp-content/uploads/2026/05/AuthorKit27.zip (Last-Modified 2026-05-28, sty dated
17
+ // 2027/05/04, TemplateVersion 2027.1), is the one the Wayback Machine holds from 2026-07-26, two days
18
+ // before the submission deadline. The two .sty differ only in the date line and in where the
19
+ // copyright notice is placed and checked (diff, 2026-11-19); fonts, page and sizes are the same lines
20
+ // in both.
21
+ //
22
+ // 🔴 THE NUMBERS ARE MEASURED, NOT COPIED. Built on 2026-11-19 from the kit's own
23
+ // `AnonymousSubmission2027.tex` (the October kit) with `paperlint build` on paperlint's TeX Live 2026
24
+ // (pdfTeX 1.40.29) and banal 1.2; the dimensions written to the log by a `\typeout{\the\textwidth …}`
25
+ // added to its preamble. A synthetic paper on the same preamble (7 body pages, 40 references) gave
26
+ // the same numbers.
27
+ // page (banal) 8.5 x 11 in (612 x 792 pt)
28
+ // columns (banal) 2
29
+ // body size (banal) 10.3 (declared: \normalsize 10 pt on 11 pt)
30
+ // leading (banal) 11
31
+ // fonts (pdf.js) TeXGyreTermesX-Regular / -Bold / -Italic (newtxtext), NimbusMonL (courier),
32
+ // CMR10 / CMMI10 for mathematics — Type 1, embedded
33
+ // \textwidth 505.89pt = 7.0 in \columnsep 27.10pt = 0.375 in
34
+ // \textheight 650.43pt = 9.0 in \columnwidth 239.39pt = 3.31 in
35
+ // \paperwidth x \paperheight 614.295pt x 794.97pt = 8.5 x 11 in
36
+ // references \normalsize, 10 pt (the log at each \bibitem); banal reports no reference
37
+ // size when it equals the body's. With `\small` before \bibliography: banal
38
+ // 9.3; with `\scriptsize`: banal 7.3.
39
+ //
40
+ // The style decides the same in its source: `\setlength\textheight{9.0in} \setlength\textwidth{7.0in}`,
41
+ // `\setlength\columnsep{0.375in}`, `\pdfpagewidth=8.5in \pdfpageheight=11in`,
42
+ // `\def\normalsize{\@setfontsize\normalsize\@xpt{11}} % 10 point on 11`, `\RequirePackage{newtxtext}`.
43
+ // The kit's instructions say «ten-point Times Roman with twelve-point leading»; the style sets 11 pt
44
+ // leading and banal measured 11. The style wins: it is what every paper is built with.
45
+ //
46
+ // What the planted defects did, on the same paper (each linted under paperlint:aaai-2027, 2026-11-19):
47
+ // `[a4paper]` for `[letterpaper]` → page 8.264 x 11.694 in: pdf/geometry (twice), and
48
+ // tex/template. The style's `\pdfpagewidth=8.5in` does
49
+ // not hold: the PDF is A4
50
+ // the AAAI-26 kit (aaai2026.sty, which → fonts NimbusRomNo9L-Regu / -Medi / -ReguItal, no
51
+ // loads no font; the paper loads times) TeXGyreTermesX: pdf/fonts. Page, columns, body size
52
+ // identical, so only the fonts tell last year's kit apart
53
+ // `\tiny` after \maketitle → body 6.3: pdf/body-size
54
+ // `\scriptsize` before \bibliography → references 7.3: pdf/body-size (below 9 − 0.5)
55
+ // `\usepackage{hyperref}`, `{geometry}`, → no PDF: the style stops the build («Package aaai
56
+ // `{balance}` Error: You must not use hyperref in AAAI papers.»,
57
+ // «Package geometry is forbidden.»)
58
+ // NOTHING in the facts changed for:
59
+ // `\usepackage{times}` or `\renewcommand{\rmdefault}{cmr}` in the preamble — newtxtext sets
60
+ // \rmdefault again at \begin{document}; `[letterpaper,11pt]` — the style redefines \normalsize;
61
+ // `\renewcommand{\baselinestretch}{0.95}` — leading 10.45 pt in the log, banal 10.4, and no fact
62
+ // carries leading (format/layout-override reads the source and reports it);
63
+ // `\usepackage[submission]{aaai2027}` → `\usepackage{aaai2027}` — only the text changes (author
64
+ // names and the copyright notice): anonymity/identity, when the paper declares its identity;
65
+ // `\renewcommand{\rmdefault}{cmr}\normalfont` after \maketitle — the text in cm-super (SFRM…,
66
+ // SFRB…), but the title is still TeXGyreTermesX, so pdf/fonts passes; the same blind spot as
67
+ // acm-acmsmall.jsonc records;
68
+ // `\renewcommand{\familydefault}{\sfdefault}` — the text in NimbusSanL, TeXGyreTermesX still
69
+ // present: pdf/fonts passes.
70
+ //
71
+ // Not encoded: the kit's lists of forbidden packages and commands. Its preamble comment and its
72
+ // Table 2 disagree (float, babel, times, lmodern …), its own algorithm package loads float, which
73
+ // both lists forbid, and aaai2027.sty already stops the build on 17 of them (hyperref, bbm,
74
+ // authblk, balance, CJK, flushend, fullpage, geometry, navigator, savetrees, setspace, stfloats,
75
+ // tabu, titlesec, tocbibind, ulem, wrapfig). The card quotes them.
76
+ //
77
+ // Its card, in prose: `aaai-press.md` beside this file.
78
+ {
79
+ // A template family: it names no venue, so no `name` and no `url` (the venues that extend it do).
80
+ "type": "family",
81
+
82
+ // The two lines of the kit, each `% DO NOT CHANGE THIS`. `tex/template` requires `article` with
83
+ // `letterpaper`, and the style aaai2027 with `submission`: the option that removes the author
84
+ // block and the copyright notice, which the kit asks of every anonymous submission («You can
85
+ // remove the copyright notice and ensure that your names aren't shown by including submission
86
+ // option»). A camera-ready drops it; this family describes the submission.
87
+ "template": "\\documentclass[letterpaper]{article}",
88
+ "template_style": "\\usepackage[submission]{aaai2027}",
89
+
90
+ // TeX Live packages the style and the kit's paper need ON TOP OF tex-base.jsonc. Found
91
+ // 2026-11-19 by the loop build → missing file → `tlmgr search --global --file` → install, on the
92
+ // kit's paper: xpatch.sty (newtxtext), ts1-qtmr.tfm (tex-gyre), then placeins, algorithms,
93
+ // newfloat and listings. Then every file the builds read (112, from pdflatex's -recorder list
94
+ // over the kit's paper, A4, sans and \small-references variants and the synthetic paper) was
95
+ // traced to its package in texlive.tlpdb: each belongs to scheme-basic, to tex-base.jsonc or to
96
+ // this list.
97
+ // newtx · kastrup — aaai2027.sty loads newtxtext; newtx needs binhex.tex (kastrup).
98
+ // tex-gyre — newtxtext's text-companion glyphs (`ts1-qtmr.tfm`, `qtmr.pfb`): without it
99
+ // «Font TS1/ntxtlf/m/n/10=ts1-qtmr at 10.0pt not loadable» and no PDF.
100
+ // xpatch · xstring · xkeyval · fontaxes · figureversions · mweights — what newtxtext loads.
101
+ // helvetic · courier — the style loads helvet and courier; their metrics are read only when
102
+ // the paper sets sans or typewriter text.
103
+ // placeins — the style's `\RequirePackage{placeins}`.
104
+ // algorithms · float · newfloat · listings — the kit's paper loads algorithm, algorithmic,
105
+ // newfloat and listings («recommended … but not required»); algorithm.sty loads float.sty.
106
+ // The kit's own preamble lists float among its «DISALLOWED PACKAGES», yet the style does not
107
+ // refuse it and the kit's algorithm package needs it.
108
+ "tex": {
109
+ "packages": {
110
+ "newtx": ["newtxtext.sty"],
111
+ "kastrup": ["binhex.tex"],
112
+ "tex-gyre": ["ts1-qtmr.tfm", "qtmr.pfb"],
113
+ "xpatch": ["xpatch.sty"],
114
+ "xstring": ["xstring.sty"],
115
+ "xkeyval": ["xkeyval.sty"],
116
+ "fontaxes": ["fontaxes.sty"],
117
+ "figureversions": ["figureversions.sty"],
118
+ "mweights": ["mweights.sty"],
119
+ "psnfss": ["helvet.sty", "courier.sty"],
120
+ "helvetic": ["phvr8t.tfm"],
121
+ "courier": ["pcrr8t.tfm"],
122
+ "placeins": ["placeins.sty"],
123
+ "algorithms": ["algorithm.sty", "algorithmic.sty"],
124
+ "float": ["float.sty"],
125
+ "newfloat": ["newfloat.sty"],
126
+ "listings": ["listings.sty"],
127
+ },
128
+ },
129
+
130
+ "format": {
131
+ // «formatted for US Letter (8.5″ x 11″) paper» (the AAAI-27 submission instructions); banal
132
+ // 612 x 792 pt; the style: `\pdfpagewidth=8.5in \pdfpageheight=11in`.
133
+ "page_size": "letter",
134
+ "page_w_in": 8.5,
135
+ "page_h_in": 11.0,
136
+
137
+ // \textwidth and \textheight, as the style sets them (the log, above). The kit: «Left margin:
138
+ // .75 inches», «Right margin: .75 inches», «Top margin: 1.25 inches (first page), .75 inches
139
+ // (others)», «Bottom margin: 1.25 inches».
140
+ "textblock_w_in": 7.0,
141
+ "textblock_h_in": 9.0,
142
+
143
+ // «Two-column format in AAAI style is required for all papers.» (the kit)
144
+ "columns": 2,
145
+
146
+ // «The main body of the paper must be formatted in black, ten-point Times Roman» (the kit);
147
+ // banal measures the rendered mode, 10.3. The 0.5 tolerance is the other families': banal
148
+ // reads 0.3 pt high on every template measured.
149
+ "body_pt": 10,
150
+ "body_pt_tol": 0.5,
151
+
152
+ // «References may be the same size as surrounding text. However, in this section (only), you
153
+ // may reduce the size to \small (9pt) if your paper exceeds the allowable number of pages.
154
+ // Making it any smaller than 9 point with 10 point linespacing, however, is not allowed.»
155
+ // (the kit). 9 to 10; body_pt_tol widens it to 8.5-10.5, so \small (banal 9.3) passes and
156
+ // \scriptsize (7.3) is reported. At the default 10 pt banal gives no reference size and the
157
+ // rule has nothing to judge.
158
+ "ref_pt_min": 9,
159
+ "ref_pt_max": 10,
160
+
161
+ // «Your paper must be formatted using the Times-like serif text font provided automatically by
162
+ // the aaai2027 style file (newtxtext).» (the kit). pdf.js reads TeXGyreTermesX-*; the AAAI-26
163
+ // style's Times (NimbusRomNo9L) is reported. Title and headings are the same family, so a
164
+ // `fonts_title` would repeat this check.
165
+ "fonts_text": "TeXGyreTermesX",
166
+ },
167
+ }