paperlint 17.2.0 → 18.0.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 (195) hide show
  1. package/.github/workflows/deadlines.yml +1 -1
  2. package/CONTRIBUTING.md +8 -5
  3. package/README.md +26 -23
  4. package/dist/adapters/latex/index.d.ts +1 -0
  5. package/dist/adapters/latex/index.d.ts.map +1 -1
  6. package/dist/adapters/latex/index.js +3 -0
  7. package/dist/adapters/latex/index.js.map +1 -1
  8. package/dist/adapters/latex/parse.d.ts +9 -0
  9. package/dist/adapters/latex/parse.d.ts.map +1 -1
  10. package/dist/adapters/latex/parse.js +12 -0
  11. package/dist/adapters/latex/parse.js.map +1 -1
  12. package/dist/adapters/latex/venue-lines.d.ts +10 -0
  13. package/dist/adapters/latex/venue-lines.d.ts.map +1 -0
  14. package/dist/adapters/latex/venue-lines.js +11 -0
  15. package/dist/adapters/latex/venue-lines.js.map +1 -0
  16. package/dist/build.d.ts +1 -1
  17. package/dist/build.d.ts.map +1 -1
  18. package/dist/cli.d.ts.map +1 -1
  19. package/dist/cli.js +17 -6
  20. package/dist/cli.js.map +1 -1
  21. package/dist/domain/body-pages.d.ts +1 -1
  22. package/dist/domain/body-pages.js +1 -1
  23. package/dist/domain/edition.d.ts +35 -0
  24. package/dist/domain/edition.d.ts.map +1 -0
  25. package/dist/domain/edition.js +64 -0
  26. package/dist/domain/edition.js.map +1 -0
  27. package/dist/edition-rule.d.ts +17 -0
  28. package/dist/edition-rule.d.ts.map +1 -0
  29. package/dist/edition-rule.js +90 -0
  30. package/dist/edition-rule.js.map +1 -0
  31. package/dist/facts-file.d.ts +1 -1
  32. package/dist/facts-file.d.ts.map +1 -1
  33. package/dist/folder-layout-rule.js +1 -1
  34. package/dist/folder-layout-rule.js.map +1 -1
  35. package/dist/folder-venue-rule.d.ts +1 -1
  36. package/dist/folder-venue-rule.d.ts.map +1 -1
  37. package/dist/folder-venue-rule.js +15 -6
  38. package/dist/folder-venue-rule.js.map +1 -1
  39. package/dist/heading-case.js +1 -1
  40. package/dist/ports/latex.d.ts +6 -1
  41. package/dist/ports/latex.d.ts.map +1 -1
  42. package/dist/preset-card-rule.d.ts.map +1 -1
  43. package/dist/preset-card-rule.js +2 -1
  44. package/dist/preset-card-rule.js.map +1 -1
  45. package/dist/presets.d.ts +26 -8
  46. package/dist/presets.d.ts.map +1 -1
  47. package/dist/presets.js +86 -19
  48. package/dist/presets.js.map +1 -1
  49. package/dist/tex-requirements.d.ts +0 -2
  50. package/dist/tex-requirements.d.ts.map +1 -1
  51. package/dist/tex-requirements.js +0 -1
  52. package/dist/tex-requirements.js.map +1 -1
  53. package/dist/tex-venue-rules.d.ts +19 -8
  54. package/dist/tex-venue-rules.d.ts.map +1 -1
  55. package/dist/tex-venue-rules.js +81 -21
  56. package/dist/tex-venue-rules.js.map +1 -1
  57. package/dist/venue-rules.js +1 -1
  58. package/dist/venue-rules.js.map +1 -1
  59. package/docs/configuration.md +7 -6
  60. package/docs/optional-rules.md +2 -2
  61. package/docs/prior-art/hotcrp-option-types.md +1 -1
  62. package/docs/rules/anonymity/identity.md +2 -2
  63. package/docs/rules/cycle/record.md +4 -4
  64. package/docs/rules/paper/edition-over.md +66 -0
  65. package/docs/rules/paper/folder-venue-leftover.md +22 -18
  66. package/docs/rules/pdf/body-size.md +6 -6
  67. package/docs/rules/talk/profile.md +3 -3
  68. package/docs/rules/tex/claim-emphasis.md +1 -1
  69. package/docs/rules/tex/contrast-frames.md +1 -1
  70. package/docs/rules/tex/heading-case.md +20 -20
  71. package/docs/rules/tex/negated-sentences.md +1 -1
  72. package/docs/rules/tex/relation-markers.md +1 -1
  73. package/docs/rules/tex/venue-leftover.md +82 -44
  74. package/docs/rules.md +38 -23
  75. package/docs/submission.md +6 -6
  76. package/docs/talk.md +2 -2
  77. package/docs/venues.md +85 -5
  78. package/fixtures/build-e2e/acmart/expect.json +1 -1
  79. package/fixtures/build-e2e/acmart/paperlint.json +1 -1
  80. package/fixtures/build-e2e/aidc/paperlint.json +1 -1
  81. package/fixtures/build-e2e/anon-ack/paperlint.json +1 -1
  82. package/fixtures/build-e2e/anon-author/paperlint.json +1 -1
  83. package/fixtures/build-e2e/anon-bib/paperlint.json +1 -1
  84. package/fixtures/build-e2e/anon-href/paperlint.json +1 -1
  85. package/fixtures/build-e2e/anon-macro/paperlint.json +1 -1
  86. package/fixtures/build-e2e/anon-pdfauthor/paperlint.json +1 -1
  87. package/fixtures/build-e2e/fallback/expect.json +1 -1
  88. package/fixtures/build-e2e/fse/PIPELINE-STATUS.md +3 -0
  89. package/fixtures/build-e2e/fse/expect.json +15 -0
  90. package/fixtures/build-e2e/fse/paper.tex +42 -0
  91. package/fixtures/build-e2e/fse/paperlint.json +1 -0
  92. package/fixtures/build-e2e/fse-over/PIPELINE-STATUS.md +3 -0
  93. package/fixtures/build-e2e/fse-over/expect.json +16 -0
  94. package/fixtures/build-e2e/fse-over/paper.tex +41 -0
  95. package/fixtures/build-e2e/fse-over/paperlint.json +1 -0
  96. package/fixtures/build-e2e/msr/paperlint.json +1 -1
  97. package/fixtures/build-e2e/msr-appendix-after/paperlint.json +1 -1
  98. package/lib/skill-checks.mjs +1 -1
  99. package/package.json +1 -1
  100. package/presets/acl-latex.jsonc +35 -0
  101. package/presets/acl-latex.md +40 -0
  102. package/presets/acm-acmsmall.jsonc +115 -0
  103. package/presets/acm-acmsmall.md +62 -0
  104. package/presets/acm-sigconf.jsonc +1 -1
  105. package/presets/acm-sigconf.md +1 -1
  106. package/presets/acsac-2026.jsonc +19 -0
  107. package/presets/acsac-2026.md +46 -0
  108. package/presets/{agent.jsonc → agent-2027.jsonc} +14 -7
  109. package/presets/{agent.md → agent-2027.md} +10 -6
  110. package/presets/{agenticdev.jsonc → agenticdev-2026.jsonc} +6 -3
  111. package/presets/{agenticdev.md → agenticdev-2026.md} +5 -5
  112. package/presets/{agentverify.jsonc → agentverify-2027.jsonc} +10 -2
  113. package/presets/{agentverify.md → agentverify-2027.md} +9 -3
  114. package/presets/{aidc.jsonc → aidc-2026.jsonc} +12 -4
  115. package/presets/{aidc.md → aidc-2026.md} +8 -4
  116. package/presets/{aisec.jsonc → aisec-2026.jsonc} +7 -4
  117. package/presets/{aisec.md → aisec-2026.md} +7 -6
  118. package/presets/{ase.jsonc → ase-2026.jsonc} +9 -9
  119. package/presets/{ase.md → ase-2026.md} +8 -8
  120. package/presets/{ccs.jsonc → ccs-2026.jsonc} +4 -4
  121. package/presets/{ccs.md → ccs-2026.md} +4 -4
  122. package/presets/emnlp-2026.jsonc +21 -0
  123. package/presets/emnlp-2026.md +46 -0
  124. package/presets/fse-2027.jsonc +92 -0
  125. package/presets/fse-2027.md +143 -0
  126. package/presets/icse-2027.jsonc +24 -0
  127. package/presets/icse-2027.md +53 -0
  128. package/presets/{icse.jsonc → icse-2028.jsonc} +8 -7
  129. package/presets/{icse.md → icse-2028.md} +9 -8
  130. package/presets/ieee-conference.jsonc +1 -1
  131. package/presets/ieee-conference.md +2 -2
  132. package/presets/{msr.jsonc → msr-2027.jsonc} +4 -5
  133. package/presets/{msr.md → msr-2027.md} +7 -7
  134. package/presets/{nlbse.jsonc → nlbse-2027.jsonc} +9 -1
  135. package/presets/{nlbse.md → nlbse-2027.md} +9 -3
  136. package/presets/{realm.jsonc → realm-2026.jsonc} +17 -27
  137. package/presets/{realm.md → realm-2026.md} +11 -4
  138. package/presets/{sp.jsonc → sp-2027.jsonc} +8 -8
  139. package/presets/{sp.md → sp-2027.md} +5 -5
  140. package/presets/tex/agenticdev.tex +1 -1
  141. package/presets/venue-profile.schema.json +28 -13
  142. package/scripts/refresh-deadlines/main.test.ts +4 -4
  143. package/scripts/refresh-deadlines/refresh.test.ts +9 -9
  144. package/skills/find-venue/SKILL.md +2 -2
  145. package/skills/find-venue/SKILL.md.spec.ts +1 -1
  146. package/skills/render-paper/extract-pdf-facts.harness.ts +2 -2
  147. package/skills/submit-paper/SKILL.md +7 -7
  148. package/skills/submit-paper/SKILL.md.spec.ts +6 -6
  149. package/src/adapters/latex/index.ts +3 -0
  150. package/src/adapters/latex/parse.ts +15 -0
  151. package/src/adapters/latex/venue-lines.ts +21 -0
  152. package/src/build.harness.mjs +5 -2
  153. package/src/build.ts +1 -1
  154. package/src/cli.test.ts +8 -6
  155. package/src/cli.ts +23 -6
  156. package/src/cycle-rules.test.ts +8 -6
  157. package/src/domain/body-pages.ts +1 -1
  158. package/src/domain/edition.ts +104 -0
  159. package/src/domain/submission-fields.test.ts +13 -10
  160. package/src/domain/venue-name.test.ts +41 -16
  161. package/src/domain/versions.test.ts +2 -2
  162. package/src/edition-rule.test.ts +164 -0
  163. package/src/edition-rule.ts +121 -0
  164. package/src/facts-file.test.ts +4 -4
  165. package/src/facts-file.ts +1 -1
  166. package/src/folder-layout-rule.test.ts +1 -1
  167. package/src/folder-layout-rule.ts +1 -1
  168. package/src/folder-venue-rule.test.ts +43 -10
  169. package/src/folder-venue-rule.ts +16 -7
  170. package/src/heading-case.test.ts +4 -4
  171. package/src/heading-case.ts +1 -1
  172. package/src/linted-set.test.ts +1 -1
  173. package/src/new-paper.test.ts +38 -25
  174. package/src/paper-files.test.ts +1 -1
  175. package/src/paper-settings-commands.test.ts +4 -4
  176. package/src/paper-settings.test.ts +16 -13
  177. package/src/ports/latex.ts +6 -0
  178. package/src/preset-card-rule.test.ts +31 -23
  179. package/src/preset-card-rule.ts +2 -1
  180. package/src/presets.test.ts +389 -61
  181. package/src/presets.ts +124 -31
  182. package/src/register-bands.test.ts +2 -2
  183. package/src/rule-cases.test.ts +26 -4
  184. package/src/submission-show.test.ts +3 -3
  185. package/src/submission-update.test.ts +1 -1
  186. package/src/submission.test.ts +1 -1
  187. package/src/talk-rules.test.ts +1 -1
  188. package/src/tex-requirements.harness.ts +2 -2
  189. package/src/tex-requirements.ts +2 -4
  190. package/src/tex-venue-rules.test.ts +231 -53
  191. package/src/tex-venue-rules.ts +129 -29
  192. package/src/venue-rules.test.ts +154 -21
  193. package/src/venue-rules.ts +1 -1
  194. package/src/versions-command.test.ts +2 -2
  195. package/templates/paper/paperlint.json +1 -1
@@ -13,10 +13,16 @@ import { memoryFiles } from "./adapters/memory/index.ts";
13
13
  import { frozenText } from "../test/frozen-presets.ts";
14
14
  import { presetsDir } from "./package-dirs.ts";
15
15
  import { parsePreset } from "./tex-requirements.ts";
16
+ import {
17
+ deadlineYearProblems,
18
+ editionOf,
19
+ idProblem,
20
+ } from "./domain/edition.ts";
16
21
  import {
17
22
  MAX_PRESET_DEPTH,
18
23
  SHIPPED_PREFIX,
19
24
  shippedPresets,
25
+ shippedSpec,
20
26
  shippedVenueNames,
21
27
  labelOf,
22
28
  presetProblemText,
@@ -29,11 +35,11 @@ const live = Object.fromEntries(
29
35
  .filter((f) => f.endsWith(".jsonc") || f.endsWith(".json"))
30
36
  .map((f) => [join(VENUES, f), readFileSync(join(VENUES, f))]),
31
37
  );
32
- // The shipped msr.jsonc's deadlines are rewritten by the scheduled refresh, so the tests of LOGIC
38
+ // The shipped msr-2027.jsonc's deadlines are rewritten by the scheduled refresh, so the tests of LOGIC
33
39
  // read it FROZEN (test/frozen-presets.ts); only the shape test below reads the shipped file.
34
40
  const shipped = {
35
41
  ...live,
36
- [join(VENUES, "msr.jsonc")]: frozenText("msr.jsonc"),
42
+ [join(VENUES, "msr-2027.jsonc")]: frozenText("msr-2027.jsonc"),
37
43
  };
38
44
  const PAPER_FILE = "/work/papers/p/paperlint.json";
39
45
  const deps = (extra: Record<string, string> = {}, base = shipped) => ({
@@ -58,13 +64,13 @@ const family = (body: Record<string, unknown>): string =>
58
64
  JSON.stringify({ type: "family", ...body });
59
65
 
60
66
  describe("shipped presets", () => {
61
- it("paperlint:agenticdev → agenticdev over acm-sigconf: the family's format, the venue's kinds", () => {
62
- const r = resolve("paperlint:agenticdev");
67
+ it("paperlint:agenticdev-2026 → agenticdev over acm-sigconf: the family's format, the venue's kinds", () => {
68
+ const r = resolve("paperlint:agenticdev-2026");
63
69
  expect(r.ok).toBe(true);
64
70
  if (!r.ok) return;
65
71
  expect(r.value.chain.map((f) => f.split("/").pop())).toEqual([
66
72
  "acm-sigconf.jsonc",
67
- "agenticdev.jsonc",
73
+ "agenticdev-2026.jsonc",
68
74
  ]);
69
75
  expect(r.value.format.columns).toBe(2);
70
76
  expect(r.value.format.fontsText).toBe("LinLibertine");
@@ -79,7 +85,7 @@ describe("shipped presets", () => {
79
85
  // The label is the venue's own name, from its file's `name`; the id stays the file name — the
80
86
  // stable key the facts file and the build plan carry.
81
87
  expect(r.value.label).toBe("AgenticDev");
82
- expect(r.value.id).toBe("agenticdev");
88
+ expect(r.value.id).toBe("agenticdev-2026");
83
89
  expect(r.value.identity).toEqual({
84
90
  type: "venue",
85
91
  name: "AgenticDev",
@@ -88,14 +94,14 @@ describe("shipped presets", () => {
88
94
  });
89
95
  });
90
96
 
91
- describe("shipped presets: paperlint:msr", () => {
92
- it("paperlint:msr → msr over ieee-conference: one kind, appendices counted as body, compsoc forbidden", () => {
93
- const r = resolve("paperlint:msr", {}, live);
97
+ describe("shipped presets: paperlint:msr-2027", () => {
98
+ it("paperlint:msr-2027 → msr over ieee-conference: one kind, appendices counted as body, compsoc forbidden", () => {
99
+ const r = resolve("paperlint:msr-2027", {}, live);
94
100
  expect(r.ok).toBe(true);
95
101
  if (!r.ok) return;
96
102
  expect(r.value.chain.map((f) => f.split("/").pop())).toEqual([
97
103
  "ieee-conference.jsonc",
98
- "msr.jsonc",
104
+ "msr-2027.jsonc",
99
105
  ]);
100
106
  expect([...r.value.format.kinds]).toEqual([
101
107
  ["technical", { pagesMax: null, bodyPagesMax: 10, refPagesMax: 2 }],
@@ -105,7 +111,7 @@ describe("shipped presets: paperlint:msr", () => {
105
111
  expect(r.value.format.pageWidthIn).toBe(8.5);
106
112
  expect(r.value.template).toEqual({
107
113
  text: "\\documentclass[10pt,conference]{IEEEtran}",
108
- file: join(VENUES, "msr.jsonc"),
114
+ file: join(VENUES, "msr-2027.jsonc"),
109
115
  forbids: ["compsoc", "compsocconf"],
110
116
  });
111
117
  expect(r.value.blind).toBe(true);
@@ -139,6 +145,47 @@ describe("shipped presets: paperlint:msr", () => {
139
145
  });
140
146
  });
141
147
 
148
+ describe("shipped presets: paperlint:fse-2027", () => {
149
+ it("paperlint:fse-2027 → fse over acm-acmsmall: one column, the family's template, two kinds, both readings of the deadline", () => {
150
+ const r = resolve("paperlint:fse-2027");
151
+ expect(r.ok).toBe(true);
152
+ if (!r.ok) return;
153
+ expect(r.value.chain.map((f) => f.split("/").pop())).toEqual([
154
+ "acm-acmsmall.jsonc",
155
+ "fse-2027.jsonc",
156
+ ]);
157
+ expect(r.value.format.columns).toBe(1);
158
+ expect(r.value.format.pageWidthIn).toBe(6.75);
159
+ expect(r.value.format.pageHeightIn).toBe(10);
160
+ expect(r.value.format.fontsText).toBe("LinLibertine");
161
+ expect(r.value.format.fontsTitle).toBe("LinBiolinum");
162
+ expect([...r.value.format.kinds]).toEqual([
163
+ ["research", { pagesMax: null, bodyPagesMax: 18, refPagesMax: 4 }],
164
+ ["major-revision", { pagesMax: null, bodyPagesMax: 20, refPagesMax: 4 }],
165
+ ]);
166
+ // The call only encourages review, screen and anonymous, so the family's line stands.
167
+ expect(r.value.template).toEqual({
168
+ text: "\\documentclass[acmsmall]{acmart}",
169
+ file: join(VENUES, "acm-acmsmall.jsonc"),
170
+ forbids: [],
171
+ });
172
+ expect("acmart" in r.value.tex.packages).toBe(true);
173
+ expect(r.value.blind).toBe(true);
174
+ expect(r.value.portal).toEqual({
175
+ kind: "hotcrp",
176
+ url: "https://fse2027.hotcrp.com",
177
+ });
178
+ // One submission deadline, read twice: the portal's and the call's extended day, both kept.
179
+ expect(r.value.deadlines.map((d) => [d.what, d.source])).toEqual([
180
+ ["submission", "portal"],
181
+ ["submission", "call"],
182
+ ]);
183
+ expect(r.value.label).toBe("FSE");
184
+ expect(r.value.year).toBe(2027);
185
+ expect(r.value.rules).toEqual({});
186
+ });
187
+ });
188
+
142
189
  describe("shipped presets: a family, and a venue that stands alone", () => {
143
190
  it("a paper may extend a family directly: format and fonts, and no kinds", () => {
144
191
  const r = resolve("paperlint:acm-sigconf");
@@ -146,14 +193,20 @@ describe("shipped presets: a family, and a venue that stands alone", () => {
146
193
  expect(r.ok && r.value.format.pageWidthIn).toBe(8.5);
147
194
  });
148
195
 
149
- it("realm (ACL) stands alone: A4, no parent", () => {
150
- const r = resolve("paperlint:realm");
151
- expect(r.ok && r.value.chain.length).toBe(1);
196
+ it("realm (ACL) extends the acl-latex family: its class line from the family, A4 from its own measurement", () => {
197
+ const r = resolve("paperlint:realm-2026");
198
+ expect(r.ok && r.value.chain).toEqual([
199
+ join(VENUES, "acl-latex.jsonc"),
200
+ join(VENUES, "realm-2026.jsonc"),
201
+ ]);
202
+ expect(r.ok && r.value.template?.text).toBe(
203
+ "\\documentclass[11pt]{article}",
204
+ );
152
205
  expect(r.ok && r.value.format.pageWidthIn).toBe(8.27);
153
206
  });
154
207
 
155
208
  it("agenticdev turns pdf/last-page-balance on — its producer asks for balanced columns", () => {
156
- const r = resolve("paperlint:agenticdev");
209
+ const r = resolve("paperlint:agenticdev-2026");
157
210
  expect(r.ok && r.value.rules["pdf/last-page-balance"]).toEqual([
158
211
  "error",
159
212
  { tolerancePt: 120 },
@@ -176,64 +229,86 @@ const FAMILIES = PARSED.filter((p) =>
176
229
 
177
230
  // What each shipped preset declares itself to be; a new preset adds its row here.
178
231
  const DECLARED = {
232
+ "acl-latex.jsonc": { type: "family" },
233
+ "acm-acmsmall.jsonc": { type: "family" },
179
234
  "acm-sigconf.jsonc": { type: "family" },
180
- "agenticdev.jsonc": {
235
+ "agenticdev-2026.jsonc": {
181
236
  type: "venue",
182
237
  name: "AgenticDev",
183
238
  url: "https://conf.researchr.org/home/ase-2026/agenticdev-2026",
184
239
  },
185
- "agent.jsonc": {
240
+ "acsac-2026.jsonc": {
241
+ type: "venue",
242
+ name: "ACSAC",
243
+ url: "https://www.acsac.org/2026/submissions/papers/",
244
+ },
245
+ "agent-2027.jsonc": {
186
246
  type: "venue",
187
- name: "AGENT 2027",
247
+ name: "AGENT",
188
248
  url: "https://conf.researchr.org/home/icse-2027/agent-2027",
189
249
  },
190
- "agentverify.jsonc": {
250
+ "agentverify-2027.jsonc": {
191
251
  type: "venue",
192
252
  name: "AGENTVERIFY",
193
253
  url: "https://agentverify2027.github.io/cfp.html",
194
254
  },
195
- "aidc.jsonc": {
255
+ "aidc-2026.jsonc": {
196
256
  type: "venue",
197
257
  name: "AIDC",
198
258
  url: "https://aidcworkshop.github.io/",
199
259
  },
200
- "aisec.jsonc": {
260
+ "aisec-2026.jsonc": {
201
261
  type: "venue",
202
262
  name: "AISec",
203
263
  url: "https://aisec.cc/",
204
264
  },
205
- "ase.jsonc": {
265
+ "ase-2026.jsonc": {
206
266
  type: "venue",
207
267
  name: "ASE",
208
268
  url: "https://conf.researchr.org/track/ase-2026/ase-2026-research-track",
209
269
  },
210
- "ccs.jsonc": {
270
+ "ccs-2026.jsonc": {
211
271
  type: "venue",
212
272
  name: "ACM CCS",
213
273
  url: "https://www.sigsac.org/ccs/CCS2026/call-for/call-for-papers.html",
214
274
  },
215
- "icse.jsonc": {
275
+ "emnlp-2026.jsonc": {
216
276
  type: "venue",
217
- name: "ICSE 2028",
277
+ name: "EMNLP",
278
+ url: "https://2026.emnlp.org/calls/main_conference_papers/",
279
+ },
280
+ "fse-2027.jsonc": {
281
+ type: "venue",
282
+ name: "FSE",
283
+ url: "https://conf.researchr.org/track/fse-2027/fse-2027-papers",
284
+ },
285
+ "icse-2027.jsonc": {
286
+ type: "venue",
287
+ name: "ICSE",
288
+ url: "https://conf.researchr.org/track/icse-2027/icse-2027-research-track",
289
+ },
290
+ "icse-2028.jsonc": {
291
+ type: "venue",
292
+ name: "ICSE",
218
293
  url: "https://conf.researchr.org/track/icse-2028/icse-2028-papers",
219
294
  },
220
295
  "ieee-conference.jsonc": { type: "family" },
221
- "msr.jsonc": {
296
+ "msr-2027.jsonc": {
222
297
  type: "venue",
223
298
  name: "MSR",
224
299
  url: "https://2027.msrconf.org/track/msr-2027-technical-papers",
225
300
  },
226
- "nlbse.jsonc": {
301
+ "nlbse-2027.jsonc": {
227
302
  type: "venue",
228
303
  name: "NLBSE",
229
304
  url: "https://conf.researchr.org/home/icse-2027/nlbse-2027",
230
305
  },
231
- "realm.jsonc": {
306
+ "realm-2026.jsonc": {
232
307
  type: "venue",
233
308
  name: "REALM",
234
309
  url: "https://realm-workshop.github.io/call_for_papers",
235
310
  },
236
- "sp.jsonc": {
311
+ "sp-2027.jsonc": {
237
312
  type: "venue",
238
313
  name: "IEEE S&P",
239
314
  url: "https://sp2027.ieee-security.org/cfpapers.html",
@@ -274,6 +349,8 @@ describe("the naming convention of shipped presets (docs/rules.md)", () => {
274
349
 
275
350
  it("there are families to check (else the checks below see nothing)", () => {
276
351
  expect(families.map((f) => f.name).sort()).toEqual([
352
+ "acl-latex",
353
+ "acm-acmsmall",
277
354
  "acm-sigconf",
278
355
  "ieee-conference",
279
356
  ]);
@@ -289,7 +366,9 @@ describe("the naming convention of shipped presets (docs/rules.md)", () => {
289
366
  it.each(presets.filter((p) => p.extends !== null).map((p) => [p.name]))(
290
367
  "the venue %s carries no publisher prefix — its template is said by `extends`",
291
368
  (name) => {
292
- expect(publishers.filter((pub) => name.startsWith(`${pub}-`))).toEqual(
369
+ // The series, not the id: ACL's own conference is `acl-<year>`, a series named after its publisher.
370
+ const series = editionOf(name)?.series ?? name;
371
+ expect(publishers.filter((pub) => series.startsWith(`${pub}-`))).toEqual(
293
372
  [],
294
373
  );
295
374
  },
@@ -343,7 +422,7 @@ describe("a project's own preset: what its children replace", () => {
343
422
  it("a child kind replaces that kind wholesale; other kinds are kept", () => {
344
423
  const r = resolve("./mine.jsonc", {
345
424
  "/work/papers/p/mine.jsonc": venue({
346
- extends: "paperlint:agenticdev",
425
+ extends: "paperlint:agenticdev-2026",
347
426
  format: { kinds: { short: { body_pages_max: 6, ref_pages_max: 2 } } },
348
427
  }),
349
428
  });
@@ -360,7 +439,7 @@ describe("a project's own preset: what its children replace", () => {
360
439
  it("rules: the leaf wins over its parent, per rule id", () => {
361
440
  const r = resolve("./mine.jsonc", {
362
441
  "/work/papers/p/mine.jsonc": venue({
363
- extends: "paperlint:agenticdev",
442
+ extends: "paperlint:agenticdev-2026",
364
443
  rules: { "pdf/last-page-balance": "off" },
365
444
  }),
366
445
  });
@@ -370,14 +449,14 @@ describe("a project's own preset: what its children replace", () => {
370
449
  it("ruleOrigins: each rule's entry names the file of the chain that set it", () => {
371
450
  const r = resolve("./mine.jsonc", {
372
451
  "/work/papers/p/mine.jsonc": venue({
373
- extends: "paperlint:agenticdev",
452
+ extends: "paperlint:agenticdev-2026",
374
453
  rules: { "pdf/body-size": "off" },
375
454
  }),
376
455
  });
377
456
  // Guards: an own rule is the leaf's, an inherited one names the parent that set it.
378
457
  expect(r.ok && r.value.ruleOrigins).toEqual({
379
- "pdf/last-page-balance": join(VENUES, "agenticdev.jsonc"),
380
- "tex/heading-case": join(VENUES, "agenticdev.jsonc"),
458
+ "pdf/last-page-balance": join(VENUES, "agenticdev-2026.jsonc"),
459
+ "tex/heading-case": join(VENUES, "agenticdev-2026.jsonc"),
381
460
  "pdf/body-size": "/work/papers/p/mine.jsonc",
382
461
  });
383
462
  });
@@ -385,7 +464,7 @@ describe("a project's own preset: what its children replace", () => {
385
464
  it("ruleOrigins: a rule the leaf sets again is the leaf's, not its parent's", () => {
386
465
  const r = resolve("./mine.jsonc", {
387
466
  "/work/papers/p/mine.jsonc": venue({
388
- extends: "paperlint:agenticdev",
467
+ extends: "paperlint:agenticdev-2026",
389
468
  rules: { "tex/heading-case": "off" },
390
469
  }),
391
470
  });
@@ -407,7 +486,7 @@ describe("a project's own preset: its deadlines", () => {
407
486
  it("a child's deadlines replace its parent's whole; none named keeps the parent's", () => {
408
487
  const own = resolve("./mine.jsonc", {
409
488
  "/work/papers/p/mine.jsonc": venue({
410
- extends: "paperlint:msr",
489
+ extends: "paperlint:msr-2027",
411
490
  deadlines: [reading("submission", "2026-10-21T04:00:00Z")],
412
491
  }),
413
492
  });
@@ -415,11 +494,11 @@ describe("a project's own preset: its deadlines", () => {
415
494
  reading("submission", "2026-10-21T04:00:00Z"),
416
495
  ]);
417
496
  const inherited = resolve("./mine.jsonc", {
418
- "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:msr" }),
497
+ "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:msr-2027" }),
419
498
  });
420
499
  expect(inherited.ok && inherited.value.deadlines.length).toBe(2);
421
500
  const none = resolve("./mine.jsonc", {
422
- "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:aisec" }),
501
+ "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:aisec-2026" }),
423
502
  });
424
503
  expect(none.ok && none.value.deadlines).toEqual([]);
425
504
  });
@@ -427,7 +506,7 @@ describe("a project's own preset: its deadlines", () => {
427
506
  it("the portal's and the call's reading of one kind may stand side by side", () => {
428
507
  const r = resolve("./mine.jsonc", {
429
508
  "/work/papers/p/mine.jsonc": venue({
430
- extends: "paperlint:aisec",
509
+ extends: "paperlint:aisec-2026",
431
510
  deadlines: [
432
511
  reading("submission", "2026-10-20T04:00:00Z"),
433
512
  reading("submission", "2026-10-21T11:59:59Z", "call"),
@@ -472,7 +551,7 @@ describe("a project's own preset: deadlines it refuses", () => {
472
551
  ])("refuses %s, naming the file", (_what, deadlines, re) => {
473
552
  const r = resolve("./mine.jsonc", {
474
553
  "/work/papers/p/mine.jsonc": venue({
475
- extends: "paperlint:aisec",
554
+ extends: "paperlint:aisec-2026",
476
555
  deadlines,
477
556
  }),
478
557
  });
@@ -491,12 +570,17 @@ describe("what does not resolve, and says why", () => {
491
570
  "unsupported",
492
571
  /npm presets: not yet supported/,
493
572
  ],
494
- ["a bare name", "agenticdev", "unsupported", /paperlint:agenticdev/],
573
+ [
574
+ "a bare name",
575
+ "agenticdev-2026",
576
+ "unsupported",
577
+ /paperlint:agenticdev-2026/,
578
+ ],
495
579
  [
496
580
  "a shipped name with a typo",
497
581
  "paperlint:agenticdve",
498
582
  "not-found",
499
- /acm-sigconf, agent, agenticdev, agentverify, aidc, aisec, ase, ccs, icse, ieee-conference, msr, nlbse, realm, sp/,
583
+ /acl-latex, acm-acmsmall, acm-sigconf, acsac-2026, agent-2027, agenticdev-2026, agentverify-2027, aidc-2026, aisec-2026, ase-2026, ccs-2026, emnlp-2026, fse-2027, icse-2027, icse-2028, ieee-conference, msr-2027, nlbse-2027, realm-2026, sp-2027/,
500
584
  ],
501
585
  ["the base TeX set", "paperlint:tex-base", "not-found", /agenticdev/],
502
586
  [
@@ -544,7 +628,9 @@ describe("chains that do not resolve", () => {
544
628
  it("a chain of exactly the limit resolves", () => {
545
629
  const r = resolve("./p1.jsonc", {
546
630
  "/work/papers/p/p1.jsonc": venue({ extends: "./p2.jsonc" }),
547
- "/work/papers/p/p2.jsonc": venue({ extends: "paperlint:agenticdev" }),
631
+ "/work/papers/p/p2.jsonc": venue({
632
+ extends: "paperlint:agenticdev-2026",
633
+ }),
548
634
  });
549
635
  expect(r.ok && r.value.chain.length).toBe(MAX_PRESET_DEPTH);
550
636
  });
@@ -573,12 +659,12 @@ describe("chains that do not resolve: the files themselves", () => {
573
659
 
574
660
  it("a family that extends a venue is refused, naming both files", () => {
575
661
  const r = resolve("./fam.jsonc", {
576
- "/work/papers/p/fam.jsonc": family({ extends: "paperlint:aisec" }),
662
+ "/work/papers/p/fam.jsonc": family({ extends: "paperlint:aisec-2026" }),
577
663
  });
578
664
  expect(r.ok).toBe(false);
579
665
  if (r.ok) return;
580
666
  expect(presetProblemText(r.error)).toBe(
581
- `the preset /work/papers/p/fam.jsonc is a template family and extends ${join(VENUES, "aisec.jsonc")}, a venue — a family builds only on a family; a venue extends a family or another venue`,
667
+ `the preset /work/papers/p/fam.jsonc is a template family and extends ${join(VENUES, "aisec-2026.jsonc")}, a venue — a family builds only on a family; a venue extends a family or another venue`,
582
668
  );
583
669
  });
584
670
 
@@ -597,7 +683,7 @@ describe("chains that do not resolve: the files themselves", () => {
597
683
 
598
684
  it("a venue may extend a venue, and the resolved identity is the leaf's", () => {
599
685
  const r = resolve("./mine.jsonc", {
600
- "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:aisec" }),
686
+ "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:aisec-2026" }),
601
687
  });
602
688
  expect(r.ok && r.value.identity).toEqual({
603
689
  type: "venue",
@@ -613,25 +699,35 @@ describe("a workshop's parent conference (`parent`)", () => {
613
699
  const r = resolve(spec);
614
700
  return r.ok ? [r.value.aliases, r.value.parentNames] : r.error;
615
701
  };
616
- expect(names("paperlint:agenticdev")).toEqual([["AgenticDev"], ["ASE"]]);
617
- expect(names("paperlint:aisec")).toEqual([["AISec"], ["ACM CCS"]]);
618
- expect(names("paperlint:ccs")).toEqual([["ACM CCS"], []]);
702
+ expect(names("paperlint:agenticdev-2026")).toEqual([
703
+ ["AgenticDev"],
704
+ ["ASE"],
705
+ ]);
706
+ expect(names("paperlint:aisec-2026")).toEqual([["AISec"], ["ACM CCS"]]);
707
+ expect(names("paperlint:ccs-2026")).toEqual([["ACM CCS"], []]);
619
708
  });
620
709
 
621
710
  it("a parent's own parent counts too, and a child of the workshop inherits its parent", () => {
622
711
  const r = resolve("./w.jsonc", {
623
712
  "/work/papers/p/w.jsonc": venue({
624
713
  extends: "paperlint:acm-sigconf",
714
+ workshop: true,
625
715
  parent: "./c.jsonc",
626
716
  }),
627
717
  "/work/papers/p/c.jsonc": venue(
628
- { extends: "paperlint:acm-sigconf", parent: "paperlint:ccs" },
718
+ {
719
+ extends: "paperlint:acm-sigconf",
720
+ workshop: true,
721
+ parent: "paperlint:ccs-2026",
722
+ },
629
723
  "Our Conference",
630
724
  ),
631
725
  });
632
726
  expect(r.ok && r.value.parentNames).toEqual(["Our Conference", "ACM CCS"]);
633
727
  const mine = resolve("./mine.jsonc", {
634
- "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:agenticdev" }),
728
+ "/work/papers/p/mine.jsonc": venue({
729
+ extends: "paperlint:agenticdev-2026",
730
+ }),
635
731
  });
636
732
  expect(mine.ok && mine.value.parentNames).toEqual(["ASE"]);
637
733
  });
@@ -644,6 +740,7 @@ const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
644
740
  {
645
741
  "/work/papers/p/w.jsonc": venue({
646
742
  extends: "paperlint:acm-sigconf",
743
+ workshop: true,
647
744
  parent: "paperlint:nope",
648
745
  }),
649
746
  },
@@ -654,6 +751,7 @@ const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
654
751
  {
655
752
  "/work/papers/p/w.jsonc": venue({
656
753
  extends: "paperlint:acm-sigconf",
754
+ workshop: true,
657
755
  parent: "paperlint:acm-sigconf",
658
756
  }),
659
757
  },
@@ -664,10 +762,12 @@ const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
664
762
  {
665
763
  "/work/papers/p/w.jsonc": venue({
666
764
  extends: "paperlint:acm-sigconf",
765
+ workshop: true,
667
766
  parent: "./c.jsonc",
668
767
  }),
669
768
  "/work/papers/p/c.jsonc": venue({
670
769
  extends: "paperlint:acm-sigconf",
770
+ workshop: true,
671
771
  parent: "./gone.jsonc",
672
772
  }),
673
773
  },
@@ -678,6 +778,7 @@ const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
678
778
  {
679
779
  "/work/papers/p/w.jsonc": venue({
680
780
  extends: "paperlint:acm-sigconf",
781
+ workshop: true,
681
782
  parent: "./c.jsonc",
682
783
  }),
683
784
  "/work/papers/p/c.jsonc": venue({ extends: "./gone.jsonc" }),
@@ -689,10 +790,12 @@ const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
689
790
  {
690
791
  "/work/papers/p/w.jsonc": venue({
691
792
  extends: "paperlint:acm-sigconf",
793
+ workshop: true,
692
794
  parent: "./c.jsonc",
693
795
  }),
694
796
  "/work/papers/p/c.jsonc": venue({
695
797
  extends: "paperlint:acm-sigconf",
798
+ workshop: true,
696
799
  parent: "./w.jsonc",
697
800
  }),
698
801
  },
@@ -710,7 +813,7 @@ describe("a workshop's parent conference (`parent`): what is refused", () => {
710
813
  const r = resolve("./fam.jsonc", {
711
814
  "/work/papers/p/fam.jsonc": family({
712
815
  extends: "paperlint:acm-sigconf",
713
- parent: "paperlint:ccs",
816
+ parent: "paperlint:ccs-2026",
714
817
  }),
715
818
  });
716
819
  expect(r.ok ? "resolved" : r.error.kind).toBe("broken");
@@ -721,7 +824,7 @@ describe("a preset's template: kept as its file spells it, with that file", () =
721
824
  it("a child's template replaces its parent's, and names its own file", () => {
722
825
  const r = resolve("./own.jsonc", {
723
826
  "/work/papers/p/own.jsonc": venue({
724
- extends: "paperlint:aidc",
827
+ extends: "paperlint:aidc-2026",
725
828
  template: "\\documentclass[conference]{IEEEtran}",
726
829
  }),
727
830
  });
@@ -746,7 +849,7 @@ describe("a preset's template: kept as its file spells it, with that file", () =
746
849
  it("forbidden options without a template of the same file are refused by the schema", () => {
747
850
  const r = resolve("./own.jsonc", {
748
851
  "/work/papers/p/own.jsonc": venue({
749
- extends: "paperlint:aidc",
852
+ extends: "paperlint:aidc-2026",
750
853
  template_forbids: ["compsoc"],
751
854
  }),
752
855
  });
@@ -758,7 +861,7 @@ describe("a preset's template: kept as its file spells it, with that file", () =
758
861
 
759
862
  describe("labelOf — display only, never used to resolve", () => {
760
863
  it.each([
761
- ["paperlint:agenticdev", "agenticdev"],
864
+ ["paperlint:agenticdev-2026", "agenticdev-2026"],
762
865
  ["./venues/usenix-sec.jsonc", "usenix-sec"],
763
866
  ["../shared/acl.json", "acl"],
764
867
  ["./.hidden", ".hidden"],
@@ -773,15 +876,21 @@ describe("shippedVenueNames — what each shipped venue is called", () => {
773
876
  const names = shippedVenueNames(deps());
774
877
  // A venue is labelled by its `name`, a family by its file name.
775
878
  expect(names.map((n) => n.label)).toEqual([
879
+ "acl-latex",
880
+ "acm-acmsmall",
776
881
  "acm-sigconf",
777
- "AGENT 2027",
882
+ "ACSAC",
883
+ "AGENT",
778
884
  "AgenticDev",
779
885
  "AGENTVERIFY",
780
886
  "AIDC",
781
887
  "AISec",
782
888
  "ASE",
783
889
  "ACM CCS",
784
- "ICSE 2028",
890
+ "EMNLP",
891
+ "FSE",
892
+ "ICSE",
893
+ "ICSE",
785
894
  "ieee-conference",
786
895
  "MSR",
787
896
  "NLBSE",
@@ -790,26 +899,43 @@ describe("shippedVenueNames — what each shipped venue is called", () => {
790
899
  ]);
791
900
  // AISec's parent conference is its `parent`, not an alias: ACM CCS is named by ccs alone.
792
901
  expect(names.find((n) => n.label === "AISec")?.aliases).toEqual(["AISec"]);
902
+ // The year is the id's: two editions of one series share a name and differ by year.
903
+ expect(
904
+ names.filter((n) => n.label === "ICSE").map((n) => [n.id, n.year]),
905
+ ).toEqual([
906
+ ["icse-2027", 2027],
907
+ ["icse-2028", 2028],
908
+ ]);
793
909
  });
910
+ });
794
911
 
912
+ describe("shippedVenueNames — what does not resolve", () => {
795
913
  it("a preset that does not resolve is left out", () => {
796
914
  const files = memoryFiles(
797
915
  Object.fromEntries(
798
- Object.entries(shipped).filter(([f]) => !f.endsWith("realm.jsonc")),
916
+ Object.entries(shipped).filter(
917
+ ([f]) => !f.endsWith("realm-2026.jsonc"),
918
+ ),
799
919
  ),
800
920
  );
801
921
  expect(
802
922
  shippedVenueNames({ files, venuesDir: VENUES }).map((n) => n.label),
803
923
  ).toEqual([
924
+ "acl-latex",
925
+ "acm-acmsmall",
804
926
  "acm-sigconf",
805
- "AGENT 2027",
927
+ "ACSAC",
928
+ "AGENT",
806
929
  "AgenticDev",
807
930
  "AGENTVERIFY",
808
931
  "AIDC",
809
932
  "AISec",
810
933
  "ASE",
811
934
  "ACM CCS",
812
- "ICSE 2028",
935
+ "EMNLP",
936
+ "FSE",
937
+ "ICSE",
938
+ "ICSE",
813
939
  "ieee-conference",
814
940
  "MSR",
815
941
  "NLBSE",
@@ -817,3 +943,205 @@ describe("shippedVenueNames — what each shipped venue is called", () => {
817
943
  ]);
818
944
  });
819
945
  });
946
+
947
+ describe("one preset per edition: a bare series is refused, naming the editions", () => {
948
+ const editions =
949
+ "Shipped editions: paperlint:icse-2027, paperlint:icse-2028 — did you mean paperlint:icse-2028?";
950
+
951
+ it("🔴 in a paper's extends", () => {
952
+ const r = resolve("paperlint:icse");
953
+ expect(r.ok ? "resolved" : presetProblemText(r.error)).toBe(
954
+ `"extends": "paperlint:icse" names a series, not an edition: a venue preset is one edition, so a new edition never changes a paper's rules unasked. ${editions}`,
955
+ );
956
+ });
957
+
958
+ it("🔴 in a preset's own extends", () => {
959
+ const r = resolve("./mine.jsonc", {
960
+ "/work/papers/p/mine.jsonc": venue({ extends: "paperlint:icse" }),
961
+ });
962
+ expect(r.ok ? "resolved" : r.error.kind).toBe("bare-series");
963
+ });
964
+
965
+ it("🔴 in a workshop's parent", () => {
966
+ const r = resolve("./w.jsonc", {
967
+ "/work/papers/p/w.jsonc": venue({
968
+ extends: "paperlint:ieee-conference",
969
+ workshop: true,
970
+ parent: "paperlint:icse",
971
+ }),
972
+ });
973
+ expect(r.ok ? "resolved" : presetProblemText(r.error)).toBe(
974
+ `the preset /work/papers/p/w.jsonc names a parent conference that does not resolve to a venue: "parent": "paperlint:icse" names a series, not an edition: a venue preset is one edition, so a new edition never changes a paper's rules unasked. ${editions}`,
975
+ );
976
+ });
977
+
978
+ it("a series with one shipped edition is refused too; a name that is no series stays not-found", () => {
979
+ const r = resolve("paperlint:fse");
980
+ expect(r.ok ? "resolved" : presetProblemText(r.error)).toMatch(
981
+ /Shipped editions: paperlint:fse-2027 — did you mean paperlint:fse-2027\?$/,
982
+ );
983
+ const typo = resolve("paperlint:icsee");
984
+ expect(typo.ok ? "resolved" : typo.error.kind).toBe("not-found");
985
+ });
986
+
987
+ it("the edition resolves, with the year of its id", () => {
988
+ const r = resolve("paperlint:icse-2028");
989
+ expect(r.ok && [r.value.label, r.value.year]).toEqual(["ICSE", 2028]);
990
+ });
991
+ });
992
+
993
+ describe("a workshop's parent is the edition of its own year", () => {
994
+ it("🔴 a parent of another year is refused, naming both years", () => {
995
+ const r = resolve("./wks-2028.jsonc", {
996
+ "/work/papers/p/wks-2028.jsonc": venue({
997
+ extends: "paperlint:ieee-conference",
998
+ workshop: true,
999
+ parent: "paperlint:icse-2027",
1000
+ }),
1001
+ });
1002
+ expect(r.ok ? "resolved" : presetProblemText(r.error)).toBe(
1003
+ `the preset /work/papers/p/wks-2028.jsonc names a parent conference that does not resolve to a venue: "parent": "paperlint:icse-2027" is the 2027 edition, and this workshop is of 2028 — a workshop's parent is the edition it is held at, of the same year`,
1004
+ );
1005
+ });
1006
+
1007
+ it("the same year resolves", () => {
1008
+ const r = resolve("./wks-2027.jsonc", {
1009
+ "/work/papers/p/wks-2027.jsonc": venue({
1010
+ extends: "paperlint:ieee-conference",
1011
+ workshop: true,
1012
+ parent: "paperlint:icse-2027",
1013
+ }),
1014
+ });
1015
+ expect(r.ok && r.value.parentNames).toEqual(["ICSE"]);
1016
+ });
1017
+
1018
+ it("every shipped workshop names a parent of its own year, and resolves", () => {
1019
+ const workshops = PARSED.filter((p) => p.preset.parent !== null);
1020
+ expect(workshops.map((w) => [w.name, w.preset.parent])).toEqual([
1021
+ ["agent-2027", "paperlint:icse-2027"],
1022
+ ["agenticdev-2026", "paperlint:ase-2026"],
1023
+ ["agentverify-2027", "paperlint:icse-2027"],
1024
+ ["aidc-2026", "paperlint:acsac-2026"],
1025
+ ["aisec-2026", "paperlint:ccs-2026"],
1026
+ ["nlbse-2027", "paperlint:icse-2027"],
1027
+ ["realm-2026", "paperlint:emnlp-2026"],
1028
+ ]);
1029
+ expect(workshops.filter((w) => !resolve(shippedSpec(w.name)).ok)).toEqual(
1030
+ [],
1031
+ );
1032
+ });
1033
+ });
1034
+
1035
+ describe("a workshop cannot silently lack its parent (the schema)", () => {
1036
+ it.each([
1037
+ ["🔴 a workshop without a parent", { workshop: true }],
1038
+ [
1039
+ "🔴 a parent without the workshop marker",
1040
+ { parent: "paperlint:icse-2027" },
1041
+ ],
1042
+ [
1043
+ "🔴 a workshop marker that is not true",
1044
+ { workshop: false, parent: "paperlint:icse-2027" },
1045
+ ],
1046
+ ])("%s is refused", (_, body) => {
1047
+ const r = resolve("./w.jsonc", {
1048
+ "/work/papers/p/w.jsonc": venue({
1049
+ extends: "paperlint:ieee-conference",
1050
+ ...body,
1051
+ }),
1052
+ });
1053
+ expect(r.ok ? "resolved" : r.error.kind).toBe("broken");
1054
+ });
1055
+
1056
+ it("🔴 a family cannot be a workshop", () => {
1057
+ const r = resolve("./fam.jsonc", {
1058
+ "/work/papers/p/fam.jsonc": family({
1059
+ extends: "paperlint:acm-sigconf",
1060
+ workshop: true,
1061
+ }),
1062
+ });
1063
+ expect(r.ok ? "resolved" : r.error.kind).toBe("broken");
1064
+ });
1065
+
1066
+ it.each([
1067
+ ["🔴 a year in the name", { name: "ICSE 2028" }],
1068
+ ["🔴 a year in an alias", { aliases: ["AGENT'27"] }],
1069
+ ])("%s is refused: the year is the id's", (_, body) => {
1070
+ const r = resolve("./v.jsonc", {
1071
+ "/work/papers/p/v.jsonc": venue({
1072
+ extends: "paperlint:acm-sigconf",
1073
+ ...body,
1074
+ }),
1075
+ });
1076
+ expect(r.ok ? "resolved" : r.error.kind).toBe("broken");
1077
+ });
1078
+ });
1079
+
1080
+ describe("the id and the year: a venue is <series>-<year>, a family ends in no year", () => {
1081
+ it.each([
1082
+ [
1083
+ "icse",
1084
+ "venue",
1085
+ "icse: a venue preset is one edition, and its id is <series>-<year> (icse-2028)",
1086
+ ],
1087
+ [
1088
+ "icse-28",
1089
+ "venue",
1090
+ "icse-28: a venue preset is one edition, and its id is <series>-<year> (icse-2028)",
1091
+ ],
1092
+ [
1093
+ "ICSE-2028",
1094
+ "venue",
1095
+ "ICSE-2028: a venue preset is one edition, and its id is <series>-<year> (icse-2028)",
1096
+ ],
1097
+ [
1098
+ "acm-2027",
1099
+ "family",
1100
+ "acm-2027: a template family is a format, not an edition, and its id ends in no year",
1101
+ ],
1102
+ ] as const)("🔴 planted: %s as a %s", (id, type, text) => {
1103
+ expect(idProblem(id, type)).toBe(text);
1104
+ });
1105
+
1106
+ it.each([
1107
+ ["usenix-sec-2027", "venue"],
1108
+ ["acm-sigconf", "family"],
1109
+ ["tex-base", "base"],
1110
+ ] as const)("%s as a %s fits", (id, type) => {
1111
+ expect(idProblem(id, type)).toBeNull();
1112
+ });
1113
+
1114
+ it("every shipped preset fits", () => {
1115
+ expect(
1116
+ PARSED.flatMap((p) => idProblem(p.name, p.preset.identity.type) ?? []),
1117
+ ).toEqual([]);
1118
+ });
1119
+ });
1120
+
1121
+ describe("an edition's deadlines fall within [year − 2, year + 1]", () => {
1122
+ it("🔴 planted: a reading of another edition", () => {
1123
+ expect(
1124
+ deadlineYearProblems("icse-2028", 2028, [
1125
+ { what: "submission", at: "2025-07-02T11:59:59Z" },
1126
+ { what: "camera-ready", at: "2030-01-01T11:59:59Z" },
1127
+ { what: "notification", at: "2027-10-22T11:59:59Z" },
1128
+ ]),
1129
+ ).toEqual([
1130
+ "icse-2028: the submission deadline 2025-07-02T11:59:59Z is outside 2026–2029, the years an edition of 2028 falls in",
1131
+ "icse-2028: the camera-ready deadline 2030-01-01T11:59:59Z is outside 2026–2029, the years an edition of 2028 falls in",
1132
+ ]);
1133
+ });
1134
+
1135
+ it("every shipped edition's deadlines fit", () => {
1136
+ const editions = PARSED.flatMap((p) => {
1137
+ const e = editionOf(p.name);
1138
+ return e === null ? [] : [{ ...p, year: e.year }];
1139
+ });
1140
+ expect(editions.length).toBeGreaterThan(10);
1141
+ expect(
1142
+ editions.flatMap((p) =>
1143
+ deadlineYearProblems(p.name, p.year, p.preset.deadlines ?? []),
1144
+ ),
1145
+ ).toEqual([]);
1146
+ });
1147
+ });