paperlint 18.1.0 → 18.2.1
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.
- package/README.md +2 -2
- package/dist/adapters/latex/document-class.d.ts +28 -5
- package/dist/adapters/latex/document-class.d.ts.map +1 -1
- package/dist/adapters/latex/document-class.js +208 -21
- package/dist/adapters/latex/document-class.js.map +1 -1
- package/dist/adapters/latex/index.d.ts +4 -4
- package/dist/adapters/latex/index.d.ts.map +1 -1
- package/dist/adapters/latex/index.js +5 -2
- package/dist/adapters/latex/index.js.map +1 -1
- package/dist/adapters/latex/parse.d.ts.map +1 -1
- package/dist/adapters/latex/parse.js +5 -0
- package/dist/adapters/latex/parse.js.map +1 -1
- package/dist/adapters/latex/prose.d.ts.map +1 -1
- package/dist/adapters/latex/prose.js +20 -4
- package/dist/adapters/latex/prose.js.map +1 -1
- package/dist/domain/body-pages.d.ts.map +1 -1
- package/dist/domain/body-pages.js +4 -2
- package/dist/domain/body-pages.js.map +1 -1
- package/dist/domain/tex-document.d.ts +52 -4
- package/dist/domain/tex-document.d.ts.map +1 -1
- package/dist/domain/tex-document.js +9 -0
- package/dist/domain/tex-document.js.map +1 -1
- package/dist/eslint-rules/latex-language.d.ts +10 -0
- package/dist/eslint-rules/latex-language.d.ts.map +1 -1
- package/dist/eslint-rules/latex-language.js +41 -2
- package/dist/eslint-rules/latex-language.js.map +1 -1
- package/dist/ports/latex.d.ts +13 -1
- package/dist/ports/latex.d.ts.map +1 -1
- package/dist/presets.d.ts +15 -0
- package/dist/presets.d.ts.map +1 -1
- package/dist/presets.js +9 -0
- package/dist/presets.js.map +1 -1
- package/dist/tex-requirements.d.ts +2 -0
- package/dist/tex-requirements.d.ts.map +1 -1
- package/dist/tex-requirements.js +7 -2
- package/dist/tex-requirements.js.map +1 -1
- package/dist/tex-venue-rules.d.ts +36 -3
- package/dist/tex-venue-rules.d.ts.map +1 -1
- package/dist/tex-venue-rules.js +181 -33
- package/dist/tex-venue-rules.js.map +1 -1
- package/docs/rules/cycle/port-done.md +3 -0
- package/docs/rules/tex/negated-sentences.md +1 -1
- package/docs/rules/tex/template.md +96 -1
- package/docs/rules.md +19 -14
- package/docs/venues.md +51 -12
- package/eslint-rules/latex-language.test.mjs +64 -1
- package/eslint-rules/latex-language.ts +44 -2
- package/eslint.config.mjs +1 -0
- package/fixtures/build-e2e/neurips/PIPELINE-STATUS.md +3 -0
- package/fixtures/build-e2e/neurips/expect.json +20 -0
- package/fixtures/build-e2e/neurips/paper.tex +60 -0
- package/fixtures/build-e2e/neurips/paperlint.json +1 -0
- package/fixtures/build-e2e/neurips-nostyle/PIPELINE-STATUS.md +3 -0
- package/fixtures/build-e2e/neurips-nostyle/expect.json +26 -0
- package/fixtures/build-e2e/neurips-nostyle/paper.tex +56 -0
- package/fixtures/build-e2e/neurips-nostyle/paperlint.json +1 -0
- package/fixtures/build-e2e/neurips-over/PIPELINE-STATUS.md +3 -0
- package/fixtures/build-e2e/neurips-over/expect.json +24 -0
- package/fixtures/build-e2e/neurips-over/paper.tex +56 -0
- package/fixtures/build-e2e/neurips-over/paperlint.json +1 -0
- package/fixtures/real-papers.test.ts +17 -6
- package/package.json +3 -1
- package/presets/aaai-2027.jsonc +126 -0
- package/presets/aaai-2027.md +127 -0
- package/presets/aaai-press.jsonc +167 -0
- package/presets/aaai-press.md +126 -0
- package/presets/aidc-2026.jsonc +11 -11
- package/presets/icml-2027.jsonc +111 -0
- package/presets/icml-2027.md +130 -0
- package/presets/icml-style.jsonc +125 -0
- package/presets/icml-style.md +77 -0
- package/presets/neurips-2026.jsonc +123 -0
- package/presets/neurips-2026.md +137 -0
- package/presets/neurips-style.jsonc +113 -0
- package/presets/neurips-style.md +85 -0
- package/presets/venue-profile.schema.json +6 -0
- package/skills/build-label-page/scripts/label-page-browser.test.ts +275 -114
- package/src/adapters/latex/document-class.ts +292 -20
- package/src/adapters/latex/index.test.ts +310 -0
- package/src/adapters/latex/index.ts +12 -3
- package/src/adapters/latex/parse.ts +5 -0
- package/src/adapters/latex/prose.ts +27 -4
- package/src/cli.test.ts +6 -1
- package/src/domain/body-pages.test.ts +22 -6
- package/src/domain/body-pages.ts +4 -2
- package/src/domain/tex-document.ts +64 -5
- package/src/folder-venue-rule.test.ts +51 -0
- package/src/new-paper.test.ts +2 -2
- package/src/paper-settings-commands.test.ts +1 -1
- package/src/ports/latex.ts +14 -0
- package/src/preset-card-rule.test.ts +44 -27
- package/src/presets.test.ts +177 -1
- package/src/presets.ts +27 -0
- package/src/register-bands.test.ts +2 -2
- package/src/rule-cases.test.ts +52 -0
- package/src/tex-requirements.harness.ts +17 -3
- package/src/tex-requirements.ts +13 -2
- package/src/tex-venue-rules.test.ts +1020 -0
- package/src/tex-venue-rules.ts +248 -38
- package/src/venue-rules.test.ts +369 -2
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
% A paper in the template NeurIPS 2026's author kit gives — \documentclass{article} with the kit's
|
|
2
|
+
% neurips_2026.sty beside it, unchanged (sha256 c3fc2894…a7ec4555a), loaded with no option: the
|
|
3
|
+
% anonymous submission — built by the e2e on paperlint's own TeX Live, that MEETS the main track's
|
|
4
|
+
% limit: content pages within nine before the references, then the references in \small, a
|
|
5
|
+
% technical appendix and the paper checklist, none of which count. It is what the neurips-style
|
|
6
|
+
% family was measured on, made checkable: letter page, one column, Times at 10 pt.
|
|
7
|
+
% The style file is not committed (its licence is unverified): expect.json `needs` it, and the
|
|
8
|
+
% e2e skips this fixture, saying so, when it is not beside this file.
|
|
9
|
+
%
|
|
10
|
+
% The prose is one paragraph set many times; each copy carries its own number in words on every
|
|
11
|
+
% line, so no line repeats from page to page as a running header would.
|
|
12
|
+
\documentclass{article}
|
|
13
|
+
\usepackage{neurips_2026}
|
|
14
|
+
\usepackage[T1]{fontenc}
|
|
15
|
+
\usepackage{hyperref}
|
|
16
|
+
\usepackage{xcolor}
|
|
17
|
+
\newcount\paracount
|
|
18
|
+
\newcommand{\n}{\romannumeral\paracount}
|
|
19
|
+
\newcommand{\para}{\global\advance\paracount by 1
|
|
20
|
+
Paragraph \n{} trains a model on a benchmark, and \n{} counts its errors by class \n{}
|
|
21
|
+
and by seed \n{}, so that the measurement \n{} has a body of prose \n{} set in the one column
|
|
22
|
+
\n{} of the conference style. Paragraph \n{} says nothing new, and \n{} does not need to: the
|
|
23
|
+
fixture \n{} is about the style, \n{} the fonts and \n{} the page count, and \n{} not about its
|
|
24
|
+
content. A reviewer of \n{} would find it dull, \n{} which is what a measurement \n{} should be.\par}
|
|
25
|
+
\newcount\loopcount
|
|
26
|
+
\newcommand{\paras}[1]{\loopcount=0 \loop\para\advance\loopcount by 1 \ifnum\loopcount<#1\repeat}
|
|
27
|
+
\newcount\bibcount
|
|
28
|
+
\newcommand{\entries}[1]{\bibcount=0 \loop\advance\bibcount by 1
|
|
29
|
+
\bibitem[Author(2024)]{r\the\bibcount} A.~Author. Learning study \romannumeral\bibcount. In
|
|
30
|
+
\emph{Proc.\ Workshop}, pages 1--10, 2024.\ifnum\bibcount<#1\repeat}
|
|
31
|
+
\title{A Fixture Typeset in the Style the Venue Requires}
|
|
32
|
+
\author{Anonymous Author}
|
|
33
|
+
\begin{document}
|
|
34
|
+
\maketitle
|
|
35
|
+
\begin{abstract}
|
|
36
|
+
The abstract exists so the build has the front matter a NeurIPS paper carries.
|
|
37
|
+
\end{abstract}
|
|
38
|
+
\section{Introduction}
|
|
39
|
+
\paras{24}
|
|
40
|
+
\section{Method}
|
|
41
|
+
\paras{30}
|
|
42
|
+
\section{Conclusion}
|
|
43
|
+
\paras{14}
|
|
44
|
+
\renewcommand{\bibfont}{\small}
|
|
45
|
+
\begin{thebibliography}{99}
|
|
46
|
+
\entries{40}
|
|
47
|
+
\end{thebibliography}
|
|
48
|
+
\appendix
|
|
49
|
+
\section{Technical Appendix}
|
|
50
|
+
\paras{10}
|
|
51
|
+
\newpage
|
|
52
|
+
\section*{NeurIPS Paper Checklist}
|
|
53
|
+
\begin{enumerate}
|
|
54
|
+
\item {\bf Claims}
|
|
55
|
+
\item[] Question: Do the main claims made in the abstract and introduction accurately reflect the
|
|
56
|
+
paper's contributions and scope?
|
|
57
|
+
\item[] Answer: \answerYes{}
|
|
58
|
+
\item[] Justification: The fixture claims only its own format.
|
|
59
|
+
\end{enumerate}
|
|
60
|
+
\end{document}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"extends": "paperlint:neurips-2026", "kind": "main", "identity": ["Ada Example", "adaexample", "ada@example.org", "Example University", "exampletool"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "The neurips fixture without \\usepackage{neurips_2026}: article's own Computer Modern (cm-super, SFRM) on article's text block. tex/template reports the style missing in the source, pdf/fonts that NeurIPS's Times is missing from the PDF, and nothing else does: the page is letter, one column, 10 pt, and the content stays within 9 pages.",
|
|
3
|
+
"build": {
|
|
4
|
+
"outcome": "pdf",
|
|
5
|
+
"pages": 11
|
|
6
|
+
},
|
|
7
|
+
"fonts": {
|
|
8
|
+
"none": "^NimbusRomNo9L"
|
|
9
|
+
},
|
|
10
|
+
"lint": {
|
|
11
|
+
"findings": [
|
|
12
|
+
{
|
|
13
|
+
"rule": "pdf/fonts",
|
|
14
|
+
"severity": 2,
|
|
15
|
+
"says": ["no font starts with `NimbusRomNo9L` (body text of NeurIPS)"]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"rule": "tex/template",
|
|
19
|
+
"severity": 2,
|
|
20
|
+
"says": [
|
|
21
|
+
"NeurIPS requires `\\usepackage{neurips_2026}`; paper.tex loads no such package"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
% The neurips fixture without NeurIPS's style: \documentclass{article} alone, the paper the author
|
|
2
|
+
% kit's style file was never copied into or never loaded. The class is the one the style is loaded
|
|
3
|
+
% into, so nothing in the class line is wrong; the build is set in Computer Modern on article's own
|
|
4
|
+
% text block, and pdf/fonts must report that the NeurIPS text font is missing. It is shorter than the
|
|
5
|
+
% neurips fixture so that article's narrower text block keeps it within the page limit.
|
|
6
|
+
%
|
|
7
|
+
% The prose is one paragraph set many times; each copy carries its own number in words on every
|
|
8
|
+
% line, so no line repeats from page to page as a running header would.
|
|
9
|
+
\documentclass{article}
|
|
10
|
+
\usepackage[T1]{fontenc}
|
|
11
|
+
\usepackage{hyperref}
|
|
12
|
+
\usepackage{natbib}
|
|
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{16}
|
|
36
|
+
\section{Method}
|
|
37
|
+
\paras{20}
|
|
38
|
+
\section{Conclusion}
|
|
39
|
+
\paras{10}
|
|
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: Yes
|
|
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"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "The neurips fixture with 11 content pages: format/page-limit reports it against NeurIPS's 9 for the main track, and nothing else does — the style, the page and the fonts are the neurips fixture's.",
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"file": "neurips_2026.sty",
|
|
6
|
+
"from": "https://media.neurips.cc/Conferences/NeurIPS2026/Formatting_Instructions_For_NeurIPS_2026.zip"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"build": {
|
|
10
|
+
"outcome": "pdf",
|
|
11
|
+
"pages": 14
|
|
12
|
+
},
|
|
13
|
+
"lint": {
|
|
14
|
+
"findings": [
|
|
15
|
+
{
|
|
16
|
+
"rule": "format/page-limit",
|
|
17
|
+
"severity": 2,
|
|
18
|
+
"says": [
|
|
19
|
+
"body pages: 11, over the limit 9 for NeurIPS/main"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -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
|
|
4
|
-
* why all of them run)
|
|
5
|
-
*
|
|
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) =>
|
|
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
|
-
|
|
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
|
|
3
|
+
"version": "18.2.1",
|
|
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 -->
|