paperlint 18.0.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 (130) hide show
  1. package/README.md +3 -3
  2. package/dist/adapters/hotcrp/index.d.ts +11 -1
  3. package/dist/adapters/hotcrp/index.d.ts.map +1 -1
  4. package/dist/adapters/hotcrp/index.js +11 -1
  5. package/dist/adapters/hotcrp/index.js.map +1 -1
  6. package/dist/adapters/hotcrp/site.d.ts.map +1 -1
  7. package/dist/adapters/hotcrp/site.js +3 -1
  8. package/dist/adapters/hotcrp/site.js.map +1 -1
  9. package/dist/adapters/hotcrp/token.d.ts +11 -0
  10. package/dist/adapters/hotcrp/token.d.ts.map +1 -1
  11. package/dist/adapters/hotcrp/token.js +34 -7
  12. package/dist/adapters/hotcrp/token.js.map +1 -1
  13. package/dist/adapters/latex/document-class.d.ts +28 -5
  14. package/dist/adapters/latex/document-class.d.ts.map +1 -1
  15. package/dist/adapters/latex/document-class.js +208 -21
  16. package/dist/adapters/latex/document-class.js.map +1 -1
  17. package/dist/adapters/latex/index.d.ts +4 -4
  18. package/dist/adapters/latex/index.d.ts.map +1 -1
  19. package/dist/adapters/latex/index.js +5 -2
  20. package/dist/adapters/latex/index.js.map +1 -1
  21. package/dist/adapters/latex/parse.d.ts.map +1 -1
  22. package/dist/adapters/latex/parse.js +5 -0
  23. package/dist/adapters/latex/parse.js.map +1 -1
  24. package/dist/cli.d.ts.map +1 -1
  25. package/dist/cli.js +4 -3
  26. package/dist/cli.js.map +1 -1
  27. package/dist/domain/body-pages.d.ts.map +1 -1
  28. package/dist/domain/body-pages.js +4 -2
  29. package/dist/domain/body-pages.js.map +1 -1
  30. package/dist/domain/portal-token.d.ts +26 -10
  31. package/dist/domain/portal-token.d.ts.map +1 -1
  32. package/dist/domain/portal-token.js +19 -12
  33. package/dist/domain/portal-token.js.map +1 -1
  34. package/dist/domain/tex-document.d.ts +52 -4
  35. package/dist/domain/tex-document.d.ts.map +1 -1
  36. package/dist/domain/tex-document.js +9 -0
  37. package/dist/domain/tex-document.js.map +1 -1
  38. package/dist/eslint-rules/latex-language.d.ts +10 -0
  39. package/dist/eslint-rules/latex-language.d.ts.map +1 -1
  40. package/dist/eslint-rules/latex-language.js +41 -2
  41. package/dist/eslint-rules/latex-language.js.map +1 -1
  42. package/dist/ports/latex.d.ts +13 -1
  43. package/dist/ports/latex.d.ts.map +1 -1
  44. package/dist/ports/submission-portal.d.ts +7 -0
  45. package/dist/ports/submission-portal.d.ts.map +1 -1
  46. package/dist/presets.d.ts +15 -0
  47. package/dist/presets.d.ts.map +1 -1
  48. package/dist/presets.js +9 -0
  49. package/dist/presets.js.map +1 -1
  50. package/dist/submission.d.ts +3 -2
  51. package/dist/submission.d.ts.map +1 -1
  52. package/dist/submission.js +24 -12
  53. package/dist/submission.js.map +1 -1
  54. package/dist/tex-requirements.d.ts +2 -0
  55. package/dist/tex-requirements.d.ts.map +1 -1
  56. package/dist/tex-requirements.js +7 -2
  57. package/dist/tex-requirements.js.map +1 -1
  58. package/dist/tex-venue-rules.d.ts +36 -3
  59. package/dist/tex-venue-rules.d.ts.map +1 -1
  60. package/dist/tex-venue-rules.js +181 -33
  61. package/dist/tex-venue-rules.js.map +1 -1
  62. package/docs/rules/cycle/port-done.md +3 -0
  63. package/docs/rules/tex/template.md +96 -1
  64. package/docs/rules.md +18 -13
  65. package/docs/submission.md +26 -9
  66. package/docs/venues.md +51 -12
  67. package/eslint-rules/latex-language.test.mjs +64 -1
  68. package/eslint-rules/latex-language.ts +44 -2
  69. package/eslint.config.mjs +1 -0
  70. package/fixtures/build-e2e/neurips/PIPELINE-STATUS.md +3 -0
  71. package/fixtures/build-e2e/neurips/expect.json +20 -0
  72. package/fixtures/build-e2e/neurips/paper.tex +60 -0
  73. package/fixtures/build-e2e/neurips/paperlint.json +1 -0
  74. package/fixtures/build-e2e/neurips-nostyle/PIPELINE-STATUS.md +3 -0
  75. package/fixtures/build-e2e/neurips-nostyle/expect.json +26 -0
  76. package/fixtures/build-e2e/neurips-nostyle/paper.tex +56 -0
  77. package/fixtures/build-e2e/neurips-nostyle/paperlint.json +1 -0
  78. package/fixtures/build-e2e/neurips-over/PIPELINE-STATUS.md +3 -0
  79. package/fixtures/build-e2e/neurips-over/expect.json +24 -0
  80. package/fixtures/build-e2e/neurips-over/paper.tex +56 -0
  81. package/fixtures/build-e2e/neurips-over/paperlint.json +1 -0
  82. package/fixtures/real-papers.test.ts +17 -6
  83. package/package.json +3 -1
  84. package/presets/aaai-2027.jsonc +126 -0
  85. package/presets/aaai-2027.md +127 -0
  86. package/presets/aaai-press.jsonc +167 -0
  87. package/presets/aaai-press.md +126 -0
  88. package/presets/icml-2027.jsonc +111 -0
  89. package/presets/icml-2027.md +130 -0
  90. package/presets/icml-style.jsonc +125 -0
  91. package/presets/icml-style.md +77 -0
  92. package/presets/neurips-2026.jsonc +123 -0
  93. package/presets/neurips-2026.md +137 -0
  94. package/presets/neurips-style.jsonc +113 -0
  95. package/presets/neurips-style.md +85 -0
  96. package/presets/venue-profile.schema.json +6 -0
  97. package/skills/build-label-page/scripts/label-page-browser.test.ts +275 -114
  98. package/src/adapters/hotcrp/cassette/README.md +1 -1
  99. package/src/adapters/hotcrp/index.ts +12 -0
  100. package/src/adapters/hotcrp/site.ts +4 -0
  101. package/src/adapters/hotcrp/token.test.ts +39 -1
  102. package/src/adapters/hotcrp/token.ts +40 -7
  103. package/src/adapters/latex/document-class.ts +292 -20
  104. package/src/adapters/latex/index.test.ts +263 -0
  105. package/src/adapters/latex/index.ts +12 -3
  106. package/src/adapters/latex/parse.ts +5 -0
  107. package/src/cli.test.ts +6 -1
  108. package/src/cli.ts +4 -3
  109. package/src/domain/body-pages.test.ts +22 -6
  110. package/src/domain/body-pages.ts +4 -2
  111. package/src/domain/portal-token.test.ts +121 -2
  112. package/src/domain/portal-token.ts +39 -15
  113. package/src/domain/tex-document.ts +64 -5
  114. package/src/folder-venue-rule.test.ts +51 -0
  115. package/src/new-paper.test.ts +2 -2
  116. package/src/paper-settings-commands.test.ts +1 -1
  117. package/src/ports/latex.ts +14 -0
  118. package/src/ports/submission-portal.ts +7 -0
  119. package/src/preset-card-rule.test.ts +44 -27
  120. package/src/presets.test.ts +177 -1
  121. package/src/presets.ts +27 -0
  122. package/src/rule-cases.test.ts +52 -0
  123. package/src/submission-show.test.ts +1 -1
  124. package/src/submission.test.ts +98 -7
  125. package/src/submission.ts +28 -11
  126. package/src/tex-requirements.harness.ts +17 -3
  127. package/src/tex-requirements.ts +13 -2
  128. package/src/tex-venue-rules.test.ts +1020 -0
  129. package/src/tex-venue-rules.ts +248 -38
  130. package/src/venue-rules.test.ts +369 -2
@@ -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 -->
@@ -0,0 +1,123 @@
1
+ // NeurIPS 2026 Main Track (the Fortieth Annual Conference on Neural Information Processing Systems)
2
+ // — a VENUE preset over the NeurIPS style family. Everything the style file decides (page size,
3
+ // columns, fonts, font sizes, TeX packages) comes from neurips-style.jsonc; this file adds what the
4
+ // main track's call sets. The 2027 call is not published: https://neurips.cc/Conferences/2027/CallForPapers
5
+ // answered 404 on 2026-11-19. Its card, in prose: `neurips-2026.md` beside this file.
6
+ //
7
+ // The call (https://neurips.cc/Conferences/2026/CallForPapers, read 2026-11-19) gives the dates and
8
+ // links to the Main Track Handbook, which holds the rules. Verbatim from
9
+ // https://neurips.cc/Conferences/2026/MainTrackHandbook (read 2026-11-19):
10
+ // «The main text of a submitted paper is limited to nine content pages, including all figures and
11
+ // tables. Additional pages containing references, optional technical appendices and mandatory
12
+ // paper checklist do not count as content pages. If your submission is accepted, you will be
13
+ // allowed an additional content page for the camera-ready version.»
14
+ // «You must format your submission using the LaTeX style file for that year. … This is the only
15
+ // template we will accept … Submissions that violate the NeurIPS style (e.g., by decreasing
16
+ // margins or font sizes) or page limits may be desk rejected.»
17
+ // «All submissions must be anonymized and may not contain any identifying information that may
18
+ // violate the double-blind reviewing policy. … Papers violating this policy will be desk
19
+ // rejected.»
20
+ // «authors are required to complete the paper checklist included in the paper template.»
21
+ // And from the author kit's checklist.tex (Formatting_Instructions_For_NeurIPS_2026.zip, read
22
+ // 2026-11-19): «Do not remove the checklist: The papers not including the checklist will be desk
23
+ // rejected.» and «Delete this instruction block, but keep the section heading "NeurIPS Paper
24
+ // Checklist"».
25
+ {
26
+ "type": "venue",
27
+ // The series, without a year: the year is the id's (neurips-2026). Machine-learning papers name
28
+ // NeurIPS as the venue of the work they cite far more often than as their own; tex/venue-leftover
29
+ // counts the name in prose only beside a year no older than the paper's own edition's year minus
30
+ // one, so «NeurIPS 2023» in related work is not flagged.
31
+ "name": "NeurIPS",
32
+ // The call quoted above.
33
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
34
+ "extends": "paperlint:neurips-style",
35
+
36
+ // «All submissions must be anonymized» (the handbook above). anonymity/identity then requires the
37
+ // paper's `identity`. No portal reading of it: OpenReview's public venue data has no blind flag.
38
+ "blind": true,
39
+
40
+ // No `portal`: submissions go through OpenReview («Submission link»:
41
+ // https://openreview.net/group?id=NeurIPS.cc/2026/Conference), and `paperlint submission` has an
42
+ // adapter for HotCRP only.
43
+ //
44
+ // Two readings of each deadline, kept both. The call: «Abstract submission deadline: May 4, 2026
45
+ // (AOE)», «Full paper submission deadline, including all supplementary materials: May 6, 2026
46
+ // AOE», «Author notification: September 24, 2026 AoE» — the end of each AoE day is 11:59:59Z of
47
+ // the next. The dates page (https://neurips.cc/Conferences/2026/Dates, read 2026-11-19) agrees,
48
+ // and adds «Paper Camera Ready Deadline | Nov 06 '26 (Anywhere on Earth)». The portal: the
49
+ // OpenReview venue group's `date` field, «Abstract Registration: May 05 2026 11:59AM UTC-0,
50
+ // Submission Deadline: May 07 2026 11:59AM UTC-0» — 59 s before the call's; the earlier binds.
51
+ // Every one has passed: they are kept as the record of the edition.
52
+ "deadlines": [
53
+ {
54
+ "what": "registration",
55
+ "at": "2026-05-05T11:59:00Z",
56
+ "source": "portal",
57
+ "url": "https://api2.openreview.net/groups?id=NeurIPS.cc/2026/Conference",
58
+ "read": "2026-11-19",
59
+ },
60
+ {
61
+ "what": "registration",
62
+ "at": "2026-05-05T11:59:59Z",
63
+ "source": "call",
64
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
65
+ "read": "2026-11-19",
66
+ },
67
+ {
68
+ "what": "submission",
69
+ "at": "2026-05-07T11:59:00Z",
70
+ "source": "portal",
71
+ "url": "https://api2.openreview.net/groups?id=NeurIPS.cc/2026/Conference",
72
+ "read": "2026-11-19",
73
+ },
74
+ {
75
+ "what": "submission",
76
+ "at": "2026-05-07T11:59:59Z",
77
+ "source": "call",
78
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
79
+ "read": "2026-11-19",
80
+ },
81
+ {
82
+ "what": "notification",
83
+ "at": "2026-09-25T11:59:59Z",
84
+ "source": "call",
85
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
86
+ "read": "2026-11-19",
87
+ },
88
+ {
89
+ "what": "camera-ready",
90
+ "at": "2026-11-07T11:59:59Z",
91
+ "source": "call",
92
+ "url": "https://neurips.cc/Conferences/2026/Dates",
93
+ "read": "2026-11-19",
94
+ },
95
+ ],
96
+
97
+ // The checklist, «mandatory» (the handbook) and a desk reject without it (checklist.tex), under the
98
+ // heading the kit says to keep. No `position`: the handbook gives the order only as «in this
99
+ // suggested order», and its reviewer FAQ says not to worry about «an incorrect order of the
100
+ // checklist, references, and supplementary materials».
101
+ "required_sections": [{ "title": "NeurIPS Paper Checklist" }],
102
+
103
+ "format": {
104
+ // «nine content pages … Additional pages containing references, optional technical appendices
105
+ // and mandatory paper checklist do not count as content pages.» Counted by banal: measured
106
+ // 2026-11-19 on fixtures/build-e2e/neurips, banal types the pages from the references on as
107
+ // bibliography and appendix — the checklist with them, after the appendix or straight after the
108
+ // references — and the page the references start on as body when the text runs onto it, as the
109
+ // call counts it.
110
+ // 🔴 NOT `body_ends_at`. The submission has line numbers (the style's `\linenumbers`) and pdf.js
111
+ // reads the heading as «References346»; the heading match now takes that (measured: without an
112
+ // appendix the fixture's body is found). With the kit's appendix after the references, hyperref
113
+ // anchors it and its heading reads «A Technical Appendix», which the appendix match does not take:
114
+ // «could not tell where the body ends» (measured on the same fixture). banal's count has neither problem.
115
+ "kinds": {
116
+ // The anonymous submission to the main track.
117
+ "main": { "body_pages_max": 9, "ref_pages_max": "unlimited" },
118
+ // «an additional content page for the camera-ready version». The same paper after acceptance:
119
+ // its paperlint.json switches `kind`, and its cycle's `accepted` turns the blind check off.
120
+ "camera-ready": { "body_pages_max": 10, "ref_pages_max": "unlimited" },
121
+ },
122
+ },
123
+ }