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,126 @@
1
+ ---
2
+ title: "AAAI Press style — template family card"
3
+ ---
4
+
5
+ # AAAI Press style (`aaai2027.sty`)
6
+
7
+ The card of the template family `paperlint:aaai-press` ([`aaai-press.jsonc`](aaai-press.jsonc)).
8
+ A family is what a template decides, whatever the venue: it names no venue and has no call for
9
+ papers. A venue preset extends it and adds what its own call sets. AAAI's 2027 edition is
10
+ [`aaai-2027`](aaai-2027.md); the other proceedings AAAI Press sets from the same kit may extend
11
+ this family.
12
+
13
+ ## The template is a style file, not a class
14
+
15
+ The AAAI-27 Author Kit ([aaai.org/authorkit27](https://aaai.org/authorkit27/), which serves
16
+ `AuthorKit27.zip`, Last-Modified 2026-10-21, read 2026-11-19) holds `AnonymousSubmission2027.tex`,
17
+ `CameraReady2027.tex`, `aaai2027.sty`, `aaai2027.bst` and the reproducibility checklist. A paper
18
+ opens with two lines the kit marks `% DO NOT CHANGE THIS`:
19
+
20
+ ```latex
21
+ \documentclass[letterpaper]{article}
22
+ \usepackage[submission]{aaai2027}
23
+ ```
24
+
25
+ The author copies the style file beside `paper.tex`: it is on no TeX distribution, and paperlint
26
+ does not ship it. `tex/template` requires both lines (`template` and `template_style`). The
27
+ `submission` option hides the authors and replaces the copyright notice; the camera-ready drops it,
28
+ and this family describes the submission.
29
+
30
+ The kit changed during the edition. The zip linked today carries the style dated 2027/10/21; the
31
+ first, <https://aaai.org/wp-content/uploads/2026/05/AuthorKit27.zip> (Last-Modified 2026-05-28,
32
+ style dated 2027/05/04), is the one the Wayback Machine holds from 2026-07-26, before the
33
+ submission deadline. The two style files differ only in the date line and in where the copyright
34
+ notice is placed and checked; page, fonts and sizes are the same.
35
+
36
+ ## What the family encodes
37
+
38
+ - **The page**: US letter, 8.5 × 11 in; a text block of 7.0 × 9.0 in (`\textwidth` 505.89 pt,
39
+ `\textheight` 650.43 pt), two columns 0.375 in apart («Two-column format in AAAI style is required
40
+ for all papers.»).
41
+ - **The fonts**: newtxtext's Times (TeXGyreTermesX in the PDF), loaded by the style itself — «Do not
42
+ load `times`, `helvet`, `courier`, or any other font package in your preamble». The body at 10 pt
43
+ on 11 pt leading (the kit's prose says twelve-point leading; the style sets 11 and banal measured
44
+ 11). The references at 9 to 10 pt: «References may be the same size as surrounding text. However,
45
+ in this section (only), you may reduce the size to \small (9pt)».
46
+ - **TeX packages** on top of the base set: newtx with its dependencies (kastrup, tex-gyre, xpatch,
47
+ xstring, xkeyval, fontaxes, figureversions, mweights), psnfss, helvetic and courier for the fonts,
48
+ placeins, which the style loads, and algorithms, float, newfloat and listings, which the kit's
49
+ paper loads.
50
+
51
+ ## The kit's forbidden packages and commands, not encoded
52
+
53
+ The kit forbids packages and commands in two lists that do not agree, and paperlint encodes
54
+ neither:
55
+
56
+ - its preamble comment, «DISALLOWED PACKAGES»: authblk, balance, CJK, float, flushend, fullpage,
57
+ geometry, hyperref, navigator, indentfirst, layout, multicol, nameref, savetrees, setspace,
58
+ stfloats, tabu, titlesec, tocbibind, ulem, wrapfig; and «DISALLOWED COMMANDS»: `\nocopyright`,
59
+ `\addtolength`, `\balance`, `\baselinestretch`, `\clearpage`, `\columnsep`, `\newpage`,
60
+ `\pagebreak`, `\pagestyle`, `\tiny`, and a negative `\vspace` or `\vskip` near a caption, figure,
61
+ table, heading or the references;
62
+ - its Table 2, «LaTeX style packages that must not be used»: authblk, babel, balance, cjk, epsf,
63
+ epsfig, euler, float, fullpage, geometry, graphics, hyperref, layout, lmodern, navigator,
64
+ pdfcomment, pgfplots, psfig, pstricks, t1enc, times, titlesec, tocbibind, ulem; and its Table 1 of
65
+ commands.
66
+
67
+ The kit's own `algorithm` package loads float, which both lists forbid. The style itself stops the
68
+ build on 17 of them (hyperref, bbm, authblk, balance, CJK, flushend, fullpage, geometry, navigator,
69
+ savetrees, setspace, stfloats, tabu, titlesec, tocbibind, ulem, wrapfig): «Package aaai Error:
70
+ Package geometry is forbidden.», and no PDF. `format/layout-override` reports `geometry`,
71
+ `\baselinestretch` and the layout lengths from the source.
72
+
73
+ What the kit says follows a violation: the style's header, «MODIFICATIONS (IN YOUR SOURCE OR IN
74
+ THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER)»; the instructions, «If you do not follow
75
+ these requirements, your paper will be returned to you to correct the deficiencies».
76
+
77
+ ## What the family does not check
78
+
79
+ - **Text set in another font after the title.** `\renewcommand{\rmdefault}{cmr}\normalfont` after
80
+ `\maketitle` sets the text in cm-super, and a sans-serif `\familydefault` in Helvetica; the title
81
+ is still TeXGyreTermesX, so `pdf/fonts` passes both. The same lines in the preamble change
82
+ nothing: newtxtext sets the text font again at `\begin{document}`.
83
+ - **References at the body size** are not measured: banal reports a reference size only when it
84
+ differs from the body's.
85
+ - **The version of the style file**: a paper on last year's `aaai2026.sty` renamed `aaai2027.sty` is
86
+ caught by its fonts only, below.
87
+
88
+ ## How the numbers were measured
89
+
90
+ On 2026-11-19, `paperlint build` with paperlint's TeX Live 2026 (pdfTeX 1.40.29) and banal 1.2, on
91
+ the kit's `AnonymousSubmission2027.tex` and on a synthetic paper with the kit's preamble; the
92
+ style's dimensions were written to the log by a `\typeout` at `\begin{document}`. Every file the
93
+ builds read (112, from pdflatex's `-recorder` list) belongs to TeX Live's scheme-basic, the base
94
+ set, or this family's list. Linted under `paperlint:aaai-2027`:
95
+
96
+ | build | what paperlint reported |
97
+ | ------------------------------------------------------------------ | ------------------------------------------------------------- |
98
+ | the kit's style; 7 body pages, 2 of references | 8.5 × 11 in, 2 columns, body 10.3, TeXGyreTermesX: no finding |
99
+ | `[a4paper]` for `[letterpaper]` | 8.264 × 11.694 in: `pdf/geometry` (twice) and `tex/template` |
100
+ | the AAAI-26 kit (`aaai2026.sty`, the paper loading `times`) | NimbusRomNo9L, no TeXGyreTermesX: `pdf/fonts` |
101
+ | `\tiny` after `\maketitle` | body 6.3: `pdf/body-size` |
102
+ | references in `\small` / at the body size / in `\scriptsize` | 9.3 / not measured by banal / 7.3, `pdf/body-size` |
103
+ | `\renewcommand{\baselinestretch}{0.95}` | leading 10.4 (banal): `format/layout-override` |
104
+ | `\usepackage{hyperref}`, `{geometry}`, `{balance}` | no PDF: the style stops the build |
105
+ | `[letterpaper,11pt]`; `times` or `\rmdefault{cmr}` in the preamble | nothing changes in the PDF |
106
+
107
+ ## Known limit
108
+
109
+ - **`submission` is required in every kind.** The family's `template_style` is
110
+ `\usepackage[submission]{aaai2027}`, the kit's line for the anonymous submission, and a venue's
111
+ kinds share one `template_style`. A camera-ready kind, whose paper drops `submission`, would get
112
+ `tex/template`'s «the style option `submission` is missing» on a correct paper. No such kind ships
113
+ today; one needs a per-kind style (or a camera-ready edition preset) first.
114
+
115
+ ## What the family resolves to
116
+
117
+ <!-- paperlint:preset-rules -->
118
+ <!-- prettier-ignore-start -->
119
+ <!-- Generated from aaai-press.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
120
+
121
+ **`paperlint:aaai-press`** — template family, no venue of its own · extended by `paperlint:aaai-2027`
122
+
123
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
124
+
125
+ <!-- prettier-ignore-end -->
126
+ <!-- /paperlint:preset-rules -->
@@ -0,0 +1,111 @@
1
+ // ICML 2027 (the Forty-fourth International Conference on Machine Learning, Rio de Janeiro, 31 July
2
+ // - 6 August 2027), main track — a VENUE preset over the ICML style family. Everything the style
3
+ // file decides (page size, columns, fonts, font sizes, TeX packages) comes from icml-style.jsonc;
4
+ // this file adds what the 2027 call sets. Position papers have a call of their own, not published
5
+ // on 2026-11-19, and are not in this preset. Its card, in prose: `icml-2027.md` beside this file.
6
+ //
7
+ // Verbatim from https://icml.cc/Conferences/2027/CallForPapers (read 2026-11-19; the page's own
8
+ // changelog: «Nov. 13th: initial version», «Nov. 17h: clarification added»):
9
+ // «All papers will be reviewed in a double-blind process»
10
+ // «Papers must be prepared and submitted as a single file: 8 pages for the main paper, with
11
+ // unlimited pages for references, the impact statement, and appendices.»
12
+ // «The final versions of accepted papers will be allowed one extra page for the main paper.»
13
+ // «Note: ICML is planning to make some updates to the submission process (but not the submission
14
+ // format). We will announce them by late November, please stay tuned.»
15
+ // «All submissions must include an AI Disclosure Statement. The statement does not count toward
16
+ // the paper page limit.»
17
+ // «Authors are required to include a statement of the potential broader impact of their work […]
18
+ // This statement should be in a separate section at the end of the paper (co-located with
19
+ // Acknowledgements, before References), and does not count toward the paper page limit.»
20
+ // «Abstract submission deadline: January 14, 2027 11:59 PM AOE», «Full paper submission
21
+ // deadline: January 22, 2027 11:59 PM AOE»
22
+ // Verbatim from https://icml.cc/Conferences/2027/AuthorInstructions (read 2026-11-19):
23
+ // «Submitted papers are composed of a main body, which can be up to eight pages long, followed by
24
+ // any number of pages for references and appendices, all in a single PDF file.»
25
+ // «All submissions must be anonymized and follow the required format; otherwise, they will
26
+ // automatically be rejected. In particular, any submission whose main body goes over the 8 page
27
+ // limit will be automatically rejected.»
28
+ // «In the camera-ready version, you have an extra page […] the length limit of the paper body is 9
29
+ // pages, followed by any acknowledgements, the impact statement (for main track papers),
30
+ // references, and appendices.»
31
+ {
32
+ "type": "venue",
33
+ // The venue's name without the edition: the edition is in the file's name, the comments and the
34
+ // deadlines.
35
+ "name": "ICML",
36
+ // The call quoted above.
37
+ "url": "https://icml.cc/Conferences/2027/CallForPapers",
38
+ "extends": "paperlint:icml-style",
39
+
40
+ // «All papers will be reviewed in a double-blind process» (the call). anonymity/identity then
41
+ // requires the paper's `identity`. The style hides \icmlauthor without [accepted] or [preprint];
42
+ // with either, the names are in the PDF and in its Author field (measured: two findings).
43
+ "blind": true,
44
+
45
+ // What the venue is called in a paper's text (tex/venue-leftover): machine-learning papers name
46
+ // ICML as the venue of the work they cite. Measured 2026-11-19 on 7 NeurIPS 2025 papers' arXiv
47
+ // sources: one writes «ELLM(ICML23)» in its prose. On 6 ICML 2025 papers' sources the only «ICML»
48
+ // outside the bibliography is the kit's `\icmlkeywords{Machine Learning, ICML}`. The rule counts
49
+ // the name in prose only beside a year no older than the paper's own edition's year minus one.
50
+
51
+ // No `portal`: submissions go through OpenReview («Abstracts and papers can be submitted through
52
+ // OpenReview: https://openreview.net/group?id=ICML.cc/2027/Conference»), and `paperlint
53
+ // submission` has an adapter for HotCRP only.
54
+ //
55
+ // The call's readings only. OpenReview's venue group exists (created 2026-10-19), but its
56
+ // Submission invitation, which would carry the portal's dates, does not («The Invitation
57
+ // ICML.cc/2027/Conference/-/Submission was not found», 2026-11-19): the site opens «January 8,
58
+ // 2027». The end of an AoE day is 11:59:59Z of the next, and the call's own countdown script says
59
+ // the same instants: «2027/01/15 11:59:59 UTC», «2027/01/23 11:59:59 UTC». The abstract deadline
60
+ // is a registration: «The author list cannot be changed after the abstract deadline». The
61
+ // notification (first-stage rejections by 23 February 2027, final decisions 3 May 2027) has a day
62
+ // and no time: in the card.
63
+ "deadlines": [
64
+ {
65
+ "what": "registration",
66
+ "at": "2027-01-15T11:59:59Z",
67
+ "source": "call",
68
+ "url": "https://icml.cc/Conferences/2027/CallForPapers",
69
+ "read": "2026-11-19",
70
+ },
71
+ {
72
+ "what": "submission",
73
+ "at": "2027-01-23T11:59:59Z",
74
+ "source": "call",
75
+ "url": "https://icml.cc/Conferences/2027/CallForPapers",
76
+ "read": "2026-11-19",
77
+ },
78
+ ],
79
+
80
+ // The impact statement: «required», «in a separate section at the end of the paper» (the call).
81
+ // The kit's example titles it `\section*{Impact Statement}`, and so did 6 of 7 ICML 2025 papers
82
+ // sampled from their arXiv sources (2026-11-19). No `position`: the kit lets it stand before or
83
+ // after the Acknowledgements («the two may appear in either order, but both must be before
84
+ // References»), and `last` would report an Acknowledgements section after it.
85
+ // 🔴 Not the AI Disclosure Statement, though the call requires it: its title is not fixed — the
86
+ // call says «AI Disclosure Statement», the kit's example `\section*{AI Use Statement}`, and the
87
+ // policy's examples a run-in «AI Disclosure Statement.» — and it may stand «before or after the
88
+ // references» (https://icml.cc/Conferences/2027/UseOfGenerativeAIByAuthors). One exact section
89
+ // title would report correct papers. The card says so.
90
+ "required_sections": [{ "title": "Impact Statement" }],
91
+
92
+ "format": {
93
+ // «8 pages for the main paper, with unlimited pages for references, the impact statement, and
94
+ // appendices.» Counted by banal: measured 2026-11-19 on the kit's example with filler text —
95
+ // the body to page 8 and the Impact Statement on page 9: 8; the Impact Statement alone filling
96
+ // page 9, the references on 10: 8; a 3-page two-column appendix: 8; the body onto page 9: 9;
97
+ // onto page 11: 11. banal types the impact statement's page and the appendix pages as
98
+ // references here.
99
+ // 🔴 NOT `body_ends_at`: it looks for a line reading «Appendix» on hyperref's appendix page, and
100
+ // ICML's appendix headings read «A. You can have an appendix here.», so format/page-limit could
101
+ // not tell where the body ends on every one of those builds with an appendix (one error each,
102
+ // measured). It would also count the statements before the references as body.
103
+ "kinds": {
104
+ // The anonymous submission to the main track.
105
+ "main": { "body_pages_max": 8, "ref_pages_max": "unlimited" },
106
+ // «one extra page for the main paper». The same paper after acceptance: its paperlint.json
107
+ // switches `kind`, and its cycle's `accepted` turns the blind check off.
108
+ "camera-ready": { "body_pages_max": 9, "ref_pages_max": "unlimited" },
109
+ },
110
+ },
111
+ }
@@ -0,0 +1,130 @@
1
+ ---
2
+ title: "ICML — venue card"
3
+ ---
4
+
5
+ # ICML (main track, 2027 edition)
6
+
7
+ The card of the venue preset `paperlint:icml-2027` ([`icml-2027.jsonc`](icml-2027.jsonc)): what the
8
+ venue asks for, in prose. The numbers a machine checks live in the preset; the section at the end is
9
+ 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
+ ([icml.cc/Conferences/2027/CallForPapers](https://icml.cc/Conferences/2027/CallForPapers)): the
13
+ limits, the dates and the style file change between editions. On 2026-11-19 the call announced
14
+ «some updates to the submission process (but not the submission format)» for late November.
15
+
16
+ ## Sources
17
+
18
+ Each read on 2026-11-19:
19
+
20
+ - the call: <https://icml.cc/Conferences/2027/CallForPapers>;
21
+ - the author instructions: <https://icml.cc/Conferences/2027/AuthorInstructions>;
22
+ - the dates page: <https://icml.cc/Conferences/2027/Dates>;
23
+ - the generative-AI policy: <https://icml.cc/Conferences/2027/UseOfGenerativeAIByAuthors>;
24
+ - the author kit: <https://media.icml.cc/Conferences/ICML2027/styles/icml2027.zip>;
25
+ - the portal's public venue data (OpenReview):
26
+ <https://api2.openreview.net/groups?id=ICML.cc/2027/Conference>.
27
+
28
+ ## The venue (2027 edition)
29
+
30
+ - **Venue**: the main track of **ICML 2027**, the Forty-fourth International Conference on Machine
31
+ Learning, Rio de Janeiro, Brazil, 31 July – 6 August 2027, in person. Position papers have a
32
+ separate call, not published on 2026-11-19, and are not this preset.
33
+ - **Portal**: OpenReview, `https://openreview.net/group?id=ICML.cc/2027/Conference`; the site opens
34
+ on 8 January 2027. `paperlint submission` does not reach it (it speaks to HotCRP only), so the
35
+ preset has no `portal`.
36
+ - **Format**: «Please review Author Instructions, an Example Paper, and use the correct Style Files.
37
+ Submitted papers that do not conform to these policies will be rejected without review.» (the
38
+ call); «There is no support for any typesetting software other than LaTeX. All submissions must be
39
+ anonymized and follow the required format; otherwise, they will automatically be rejected.» (the
40
+ author instructions).
41
+ - **Double-blind**: «All submissions must be anonymized and may not contain any information with the
42
+ intention or consequence of violating the double-blind reviewing policy.» No acknowledgements,
43
+ grant numbers or links to public code repositories at submission (the author instructions).
44
+ - **Impact statement**, required: «a statement of the potential broader impact of their work … in a
45
+ separate section at the end of the paper (co-located with Acknowledgements, before References),
46
+ and does not count toward the paper page limit.» The kit's example titles it «Impact Statement».
47
+ - **AI Disclosure Statement**, required: «All submissions must include an AI Disclosure Statement.
48
+ The statement does not count toward the paper page limit.» The policy places it «at the end of the
49
+ paper, before or after the references»; serious failures to disclose may lead to desk rejection.
50
+ - **Submission caps and reciprocal reviewing**: no author on more than 20 submissions; each
51
+ submission names a reciprocal reviewer; «Submissions that do not meet these requirements will be
52
+ desk rejected.» Each submission picks a contribution type.
53
+ - **One PDF**, references and appendices included, at most 50 MB (the author instructions; the
54
+ kit's example still says 10 MB). Supplementary material by the same deadline.
55
+ - **Camera-ready**: one extra page; `\usepackage[accepted]{icml2027}`; US letter; a lay summary in
56
+ OpenReview. Attendance is optional: a proceedings-only paper needs one virtual registration.
57
+
58
+ ## Dates
59
+
60
+ The call and the dates page, Anywhere on Earth:
61
+
62
+ | date | what |
63
+ | ---------------- | ------------------------------------------------------------ |
64
+ | 8 January 2027 | submission site opens; suggested OpenReview account deadline |
65
+ | 14 January 2027 | abstract submission (the author list is fixed after it) |
66
+ | 22 January 2027 | full paper submission, with all supplementary material |
67
+ | 23 February 2027 | first-stage rejections notified |
68
+ | 3 May 2027 | final decisions |
69
+
70
+ The preset holds the call's readings of the abstract and the paper deadlines (`deadlines`): the end
71
+ of the AoE day, 11:59:59 UTC the next day, which the call's own countdown also says. OpenReview's
72
+ Submission invitation, which would give the portal's reading, did not exist yet on 2026-11-19. The
73
+ camera-ready date on the author instructions (28 May) is the 2026 text unchanged, so it is not in
74
+ the preset.
75
+
76
+ ## Paper kinds and limits
77
+
78
+ | kind | main body pages | references, appendices, statements | what the call says |
79
+ | -------------- | --------------: | ---------------------------------- | -------------------------------------------------------------------------------------------------------- |
80
+ | `main` | 8 | not counted | «8 pages for the main paper, with unlimited pages for references, the impact statement, and appendices.» |
81
+ | `camera-ready` | 9 | not counted | «The final versions of accepted papers will be allowed one extra page for the main paper.» |
82
+
83
+ A paper names its kind in its `paperlint.json`. After acceptance the same paper switches to
84
+ `camera-ready`, and its cycle's `accepted` turns `anonymity/identity` off.
85
+
86
+ The main body is banal's body count. Measured on the kit's example with filler text: the body to
87
+ page 8 with the Impact Statement on page 9 counts 8; the Impact Statement alone filling page 9
88
+ counts 8; a three-page two-column appendix counts 8; a body running onto page 9 counts 9, onto page
89
+ 11 counts 11. banal types the statements' page and the appendix pages as references. Not
90
+ `body_ends_at`: ICML's appendix headings read «A. …», never «Appendix», and that count then could
91
+ not tell where the body ends.
92
+
93
+ ## What the preset encodes
94
+
95
+ - **The ICML style**, through `extends: paperlint:icml-style` — letter page, two columns, Times at
96
+ 10 pt, references at the body's size, the TeX packages the style needs
97
+ ([`icml-style.md`](icml-style.md)). That the style file is loaded is not checked: the family's
98
+ card says why.
99
+ - **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
100
+ declared `identity`. The `accepted` and `preprint` options print the authors: both are reported.
101
+ - **The impact statement** (`required_sections`): a section titled exactly «Impact Statement», as
102
+ the kit sets it. Where it stands is not checked: the kit lets it come before or after the
103
+ Acknowledgements.
104
+ - **Names**: `ICML`, 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, so «published at ICML 2023» in related work is not reported. A bare «ICML» is not
107
+ reported, nor is the bibliography.
108
+
109
+ ## Not verified, and not checked
110
+
111
+ - **The AI Disclosure Statement.** Required, but its title is not fixed — «AI Disclosure Statement»
112
+ in the call and the policy (whose examples are a run-in paragraph), `\section*{AI Use Statement}`
113
+ in the kit — and it may stand before or after the references. A rule asking for one exact section
114
+ title would report correct papers, so paperlint does not check it: add it yourself.
115
+ - **The submission-process updates** the call announced for late November 2026.
116
+ - **The camera-ready date and its form fields**: not in the 2027 pages yet.
117
+ - **The submission form's fields**: not recorded; OpenReview's form needs a logged-in read.
118
+
119
+ ## What the preset resolves to
120
+
121
+ <!-- paperlint:preset-rules -->
122
+ <!-- prettier-ignore-start -->
123
+ <!-- Generated from icml-2027.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
124
+
125
+ **`paperlint:icml-2027`** — venue preset for ICML 2027 · call for papers: <https://icml.cc/Conferences/2027/CallForPapers> · extends `paperlint:icml-style`
126
+
127
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
128
+
129
+ <!-- prettier-ignore-end -->
130
+ <!-- /paperlint:preset-rules -->
@@ -0,0 +1,125 @@
1
+ // The ICML style — the TEMPLATE FAMILY of the International Conference on Machine Learning:
2
+ // everything the style file in ICML's author kit decides, whatever the edition. A venue preset
3
+ // extends it ("extends": "paperlint:icml-style") and adds what its call for papers sets: the page
4
+ // limit of each kind of paper, and the sections it requires. The 2027 edition is icml-2027.jsonc.
5
+ //
6
+ // The template is not a class. The author kit
7
+ // (https://media.icml.cc/Conferences/ICML2027/styles/icml2027.zip, read 2026-11-19:
8
+ // example_paper.tex, icml2027.sty «version of 2027-10-30», icml2027.bst, and its own copies of
9
+ // fancyhdr.sty, algorithm.sty and algorithmic.sty) opens with `\documentclass{article}` and loads
10
+ // `\usepackage{icml2027}` (`[accepted]` for the camera-ready) from a style file the author copies
11
+ // beside paper.tex. The style sets the page itself (`\paperwidth=8.5in`, `\textwidth{6.75in}`,
12
+ // `\textheight{9.0in}`, `\columnsep{0.25in}`, `\twocolumn`) and Times (`\RequirePackage{times}`),
13
+ // and the kit's example says what it sets: «The text of the paper should be formatted in two
14
+ // columns, with an overall width of 6.75 inches, height of 9.0 inches, and 0.25 inches between the
15
+ // columns.», «all final versions must be produced for US letter size.», «Your paper should be in 10
16
+ // point Times font.»
17
+ //
18
+ // 🔴 THE TEMPLATE IS THE CLASS AND THE STYLE. The class alone, plain `article`, would pass any article
19
+ // paper, with or without the style (measured: a paper in NeurIPS 2025's style passed tex/template
20
+ // under `\documentclass{article}` alone; only pdf/geometry's column count caught it). So the family
21
+ // names both, and tex/template requires the style too, with no option: the call requires none for
22
+ // the submission.
23
+ //
24
+ // 🔴 THE NUMBERS ARE MEASURED, NOT COPIED. Built on 2026-11-19 with `paperlint build` on paperlint's
25
+ // TeX Live 2026 (pdfTeX 1.40.29) and banal: the kit's own example_paper.tex with its style, one line
26
+ // added — `\crefname{assumption}{Assumption}{Assumptions}`: without it the kit's example does not
27
+ // build («There were undefined references»: TeX Live 2026's cleveref has no format for its
28
+ // `assumption` theorem; the kit's PDF, made with pdfTeX 1.40.25, prints «Assumption 2.6»). The
29
+ // style's dimensions were written to the log by a `\typeout` at \begin{document}:
30
+ //
31
+ // page (banal) 8.5 x 11 in \paperwidth x \paperheight 614.295pt x 794.97pt
32
+ // columns (banal) 2 (the kit's appendix is \onecolumn; banal still says 2)
33
+ // \textwidth 487.8225pt = 6.75 in \columnsep 18.07pt = 0.25 in
34
+ // \textheight 650.43pt = 9.0 in
35
+ // body size \f@size 10, \baselineskip 12pt (the kit says 11: the style redefines
36
+ // \@normalsize, which LaTeX2e no longer calls); banal 10.3
37
+ // references \normalsize (the style sets no \bibfont): banal reports no reference
38
+ // size; with \bibfont \small, banal 9.3
39
+ // fonts (pdf.js) NimbusRomNo9L-Regu / -Medi / -ReguItal / -MediItal (ptm), NimbusMonL-Regu
40
+ // (\ttdefault pcr), Computer Modern math — Type 1, embedded. And
41
+ // Times-Roman, NOT embedded, from the kit's own figure icml_numpapers.pdf
42
+ // (in the kit's example_paper.pdf too): pdf/fonts reports it
43
+ //
44
+ // The planted defects, measured on the same example: `[11pt]` → banal 11.3, pdf/body-size;
45
+ // `\renewcommand{\rmdefault}{cmr}` → Computer Modern, pdf/fonts; a bibliography in \small → banal
46
+ // 9.3, pdf/body-size; NeurIPS 2025's style instead of ICML's → 1 column, pdf/geometry. What this
47
+ // family does NOT see, measured: `\usepackage[margin=0.6in]{geometry}` gave \textwidth 527.57pt with
48
+ // the same page, columns, fonts and body size, and no pdf/* rule reported it (no rule reads the text
49
+ // block; format/layout-override runs only under a `template`). The style itself prints «The page
50
+ // layout violates the ICML style.» on page 1 of such a build. `[a4paper]` changes nothing: the style
51
+ // forces letter.
52
+ //
53
+ // Its card, in prose: `icml-style.md` beside this file.
54
+ {
55
+ // A template family: it names no venue, so no `name` and no `url` (the venues that extend it do).
56
+ "type": "family",
57
+
58
+ // The kit's example_paper.tex: «\documentclass{article}» then «\usepackage{icml2027}». tex/template
59
+ // requires both, and names another shipped venue's style (neurips_2026) or another ICML edition's
60
+ // (icml2026) loaded instead.
61
+ "template": "\\documentclass{article}",
62
+ "template_style": "\\usepackage{icml2027}",
63
+
64
+ // TeX Live packages the style and the kit's example need ON TOP OF tex-base.jsonc. icml2027.sty
65
+ // itself travels with the paper. Measured 2026-11-19: every file the example's build read (219,
66
+ // pdflatex's -recorder list) mapped to its package through texlive.tlpdb.
67
+ // eso-pic · forloop — the style's \RequirePackage; paperlint's cache had neither, and the build
68
+ // stopped at «File `eso-pic.sty' not found».
69
+ // psnfss · times · courier · helvetic — \RequirePackage{times}: Times for the text, Courier for
70
+ // \ttfamily (pcrr7t.tfm read), Helvetica for \sffamily (\sfdefault phv).
71
+ // fancyhdr · algorithms · float — the kit ships its own fancyhdr.sty, algorithm.sty and
72
+ // algorithmic.sty; a paper without them builds from TeX Live's, with the same facts
73
+ // (measured). algorithm.sty loads float.
74
+ // amscls · mathtools · cleveref · todonotes — not the style's: example_paper.tex loads amsthm,
75
+ // mathtools, cleveref and todonotes, and a paper started from the kit keeps them.
76
+ "tex": {
77
+ "packages": {
78
+ "eso-pic": ["eso-pic.sty"],
79
+ "forloop": ["forloop.sty"],
80
+ "psnfss": ["times.sty", "ot1ptm.fd"],
81
+ "times": ["ptmr7t.tfm", "utmr8a.pfb"],
82
+ "courier": ["pcrr7t.tfm"],
83
+ "helvetic": ["phvr7t.tfm"],
84
+ "fancyhdr": ["fancyhdr.sty"],
85
+ "algorithms": ["algorithm.sty", "algorithmic.sty"],
86
+ "float": ["float.sty"],
87
+ "amscls": ["amsthm.sty"],
88
+ "mathtools": ["mathtools.sty"],
89
+ "cleveref": ["cleveref.sty"],
90
+ "todonotes": ["todonotes.sty"],
91
+ },
92
+ },
93
+
94
+ "format": {
95
+ // «Your paper must be in US letter size (i.e., not A4 or other sizes).»
96
+ // (https://icml.cc/Conferences/2027/AuthorInstructions, read 2026-11-19); banal: 8.5 x 11 in.
97
+ "page_size": "letter",
98
+ "page_w_in": 8.5,
99
+ "page_h_in": 11.0,
100
+
101
+ // «an overall width of 6.75 inches, height of 9.0 inches» (the kit); \textwidth and \textheight
102
+ // in the log, above.
103
+ "textblock_w_in": 6.75,
104
+ "textblock_h_in": 9.0,
105
+
106
+ // «formatted in two columns» (the kit); banal: 2.
107
+ "columns": 2,
108
+
109
+ // «10 point Times font» (the kit); banal measures the rendered mode, 10.3. The 0.5 tolerance is
110
+ // the other families': banal reads 0.3 pt high on every template measured.
111
+ "body_pt": 10,
112
+ "body_pt_tol": 0.5,
113
+
114
+ // «The citation font size should be the same as that in the main body of the paper.» (the
115
+ // author instructions above, camera-ready section). 10 pt; body_pt_tol widens it to 9.5-10.5, so
116
+ // a bibliography in \small (banal 9.3) is reported. A bibliography at the body's size is given no
117
+ // reference size by banal, so it is not judged.
118
+ "ref_pt_min": 10,
119
+ "ref_pt_max": 10,
120
+
121
+ // The Times clone. The title and headings are bold Times, so a `fonts_title` would repeat this
122
+ // check and report a Computer Modern build twice.
123
+ "fonts_text": "NimbusRomNo9L",
124
+ },
125
+ }
@@ -0,0 +1,77 @@
1
+ ---
2
+ title: "ICML style — template family card"
3
+ ---
4
+
5
+ # ICML style (`icml2027.sty`)
6
+
7
+ The card of the template family `paperlint:icml-style` ([`icml-style.jsonc`](icml-style.jsonc)). A
8
+ family is what a template decides, whatever the venue: it names no venue and has no call for
9
+ papers. A venue preset extends it and adds what its own call sets. The 2027 edition is
10
+ [`icml-2027`](icml-2027.md).
11
+
12
+ ## The template is a style file, not a class
13
+
14
+ ICML's author kit ([icml2027.zip](https://media.icml.cc/Conferences/ICML2027/styles/icml2027.zip),
15
+ read 2026-11-19) holds `example_paper.tex`, `icml2027.sty`, `icml2027.bst`, and its own copies of
16
+ `fancyhdr.sty`, `algorithm.sty` and `algorithmic.sty`. A paper is `\documentclass{article}` with
17
+ `\usepackage{icml2027}`, and the author copies the style file beside `paper.tex`: it is on no TeX
18
+ distribution. `paperlint build` finds it there (the paper's directory is on `TEXINPUTS`).
19
+
20
+ The style's options pick the stage: none for the anonymous submission (line numbers in the margin,
21
+ the authors hidden), `accepted` for the camera-ready, `preprint` for arXiv, and `nohyperref`.
22
+
23
+ The kit's own example does not build clean on TeX Live 2026: its `\cref` to an `assumption` theorem
24
+ leaves an undefined reference (add `\crefname{assumption}{Assumption}{Assumptions}`), and its figure
25
+ `icml_numpapers.pdf` draws a Times-Roman that is not embedded, which `pdf/fonts` reports.
26
+
27
+ ## What the family encodes
28
+
29
+ - **The page**: US letter, 8.5 × 11 in («Your paper must be in US letter size»); a text block of
30
+ 6.75 × 9 in (`\textwidth` 487.82 pt, `\textheight` 650.43 pt); two columns, 0.25 in apart.
31
+ - **The fonts**: Times (the URW clone, NimbusRomNo9L) for the text, the title and the headings; the
32
+ body at 10 pt («Your paper should be in 10 point Times font»). The references at the body's size:
33
+ «The citation font size should be the same as that in the main body of the paper.» banal measures
34
+ 0.3 pt high, hence the 0.5 pt tolerance.
35
+ - **TeX packages** on top of the base set: eso-pic and forloop, which the style loads; psnfss,
36
+ times, courier and helvetic for its fonts; fancyhdr, algorithms and float, for a paper without the
37
+ kit's own copies; amscls, mathtools, cleveref and todonotes, which the kit's example loads.
38
+
39
+ ## What the family does not check
40
+
41
+ - **The style file itself.** `tex/template` requires `\documentclass{article}` with
42
+ `\usepackage{icml2027}`, and names another venue's or another ICML edition's style loaded instead.
43
+ It reads the package's name, not the file, so an edited `icml2027.sty` passes.
44
+ - **Margins on the PDF.** No `pdf/*` rule reads the text block: a `geometry` that widens it passed
45
+ every one on the measured build. `format/layout-override` reports the `geometry` line in the
46
+ source, now that the family names a template; a layout change the source does not show is not
47
+ seen. The style itself prints «The page layout violates the ICML style.» on its first page.
48
+
49
+ ## How the numbers were measured
50
+
51
+ On 2026-11-19, `paperlint build` with paperlint's TeX Live 2026 and banal, on the kit's
52
+ `example_paper.tex`; the style's dimensions were written to the log by a `\typeout` at
53
+ `\begin{document}`. Every file the build read (219, pdflatex's `-recorder` list) belongs to TeX
54
+ Live's scheme-basic, the base set, this family's list, or a dependency of one.
55
+
56
+ | build | what paperlint reported |
57
+ | ------------------------------------------- | -------------------------------------------------------------------------------- |
58
+ | the kit's style, no option | 8.5 × 11 in, 2 columns, body 10.3, NimbusRomNo9L: no finding but the figure's |
59
+ | references at the body's size / in `\small` | not measured by banal / 9.3, `pdf/body-size` |
60
+ | `\documentclass[11pt]{article}` | body 11.3, `pdf/body-size` |
61
+ | `\renewcommand{\rmdefault}{cmr}` | Computer Modern: `pdf/fonts` |
62
+ | NeurIPS 2025's style instead | 1 column: `pdf/geometry` |
63
+ | `\usepackage[margin=0.6in]{geometry}` | `\textwidth` 527.57 pt, the same page, columns, fonts and sizes: no `pdf/*` rule |
64
+ | `\documentclass[a4paper]{article}` | still letter: the style forces it |
65
+
66
+ ## What the family resolves to
67
+
68
+ <!-- paperlint:preset-rules -->
69
+ <!-- prettier-ignore-start -->
70
+ <!-- Generated from icml-style.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
71
+
72
+ **`paperlint:icml-style`** — template family, no venue of its own · extended by `paperlint:icml-2027`
73
+
74
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
75
+
76
+ <!-- prettier-ignore-end -->
77
+ <!-- /paperlint:preset-rules -->