paperlint 20.9.1 → 20.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/docs/venues.md +1 -1
- package/package.json +1 -1
- package/presets/acl-latex.jsonc +6 -0
- package/presets/acl-latex.md +4 -0
- package/scripts/eslint-file-length.mjs +1 -1
- package/skills/find-venue/SKILL.md +17 -3
- package/skills/find-venue/SKILL.md.spec.ts +16 -2
- package/src/tex-requirements-tables.test.ts +6 -6
- package/src/tex-venue-rules.test.ts +9 -12
package/docs/venues.md
CHANGED
|
@@ -28,7 +28,7 @@ here and that every `paperlint:` id below exists.
|
|
|
28
28
|
| `paperlint:acm-sigconf` | ACM `acmart`, sigconf (two columns) |
|
|
29
29
|
| `paperlint:acm-acmsmall` | ACM `acmart`, acmsmall (one column) |
|
|
30
30
|
| `paperlint:ieee-conference` | IEEE `IEEEtran`, conference |
|
|
31
|
-
| `paperlint:acl-latex` |
|
|
31
|
+
| `paperlint:acl-latex` | `article` + `\usepackage{acl}` |
|
|
32
32
|
| `paperlint:neurips-style` | `article` + `\usepackage{neurips_2026}` |
|
|
33
33
|
| `paperlint:icml-style` | `article` + `\usepackage{icml2027}` |
|
|
34
34
|
| `paperlint:aaai-press` | `article` + `\usepackage[submission]{aaai2027}` |
|
package/package.json
CHANGED
package/presets/acl-latex.jsonc
CHANGED
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
// So the class `tex/template` compares against is article, at 11pt.
|
|
16
16
|
"template": "\\documentclass[11pt]{article}",
|
|
17
17
|
|
|
18
|
+
// The style the template loads into that class, so plain article without it does not pass
|
|
19
|
+
// tex/template. No option: `acl_latex.tex` loads `\usepackage[review]{acl}` for review and says
|
|
20
|
+
// «For the final version, omit the review option: \usepackage{acl}» (with «preprint» a third
|
|
21
|
+
// form; checked 2026-11-26), so an option named here would fail every camera-ready (#556).
|
|
22
|
+
"template_style": "\\usepackage{acl}",
|
|
23
|
+
|
|
18
24
|
// TeX Live packages the ACL template needs ON TOP OF tex-base.jsonc (the shape is
|
|
19
25
|
// venue-profile.schema.json). acl.sty itself travels with the paper; these are what it loads.
|
|
20
26
|
// times · helvetic · courier · symbol · zapfding — without them "Font ptmr8t not loadable" and
|
package/presets/acl-latex.md
CHANGED
|
@@ -15,6 +15,10 @@ conferences (ACL, EMNLP, NAACL, EACL) and their workshops.
|
|
|
15
15
|
- **The class**: `\documentclass[11pt]{article}`. ACL's template is not a class: `acl_latex.tex`
|
|
16
16
|
opens with that line and loads `acl.sty` as a package, so `tex/template` compares the paper's
|
|
17
17
|
class line against `article` at 11pt.
|
|
18
|
+
- **The style**: `\usepackage{acl}`, with no option. `tex/template` requires the paper to load
|
|
19
|
+
`acl.sty`, so plain `article` without it fails. The kit loads `[review]` for review and drops it
|
|
20
|
+
for the final version (`[preprint]` is a third form), so any of them passes; of the 12 ACL papers
|
|
21
|
+
in the test corpus, 10 load `[final]`, 1 `[review]` and 1 none (measured 2026-11-26).
|
|
18
22
|
- **TeX packages** on top of the base set: lineno, and the Times, Helvetica, Courier, Symbol and
|
|
19
23
|
Zapf Dingbats fonts `acl.sty` loads (`psnfss`, `times`, `helvetic`, `courier`, `symbol`,
|
|
20
24
|
`zapfding`); without them the build stops at «Font ptmr8t not loadable».
|
|
@@ -90,7 +90,7 @@ const legacyCeilings = {
|
|
|
90
90
|
"src/talk-rules.test.ts": 427,
|
|
91
91
|
"src/talk-rules.ts": 562,
|
|
92
92
|
"src/tex-requirements.ts": 454,
|
|
93
|
-
"src/tex-venue-rules.test.ts":
|
|
93
|
+
"src/tex-venue-rules.test.ts": 2065,
|
|
94
94
|
"src/tex-venue-rules.ts": 615,
|
|
95
95
|
"src/toolchain-mirror.test.mjs": 631,
|
|
96
96
|
"src/toolchain.ts": 605,
|
|
@@ -4,7 +4,7 @@ description: "Discover and rank real venues for a given paper, scored by whether
|
|
|
4
4
|
allowed-tools: [Read, Write, Grep, Glob, WebSearch, WebFetch, Agent]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<!-- vigiles:sha256:
|
|
7
|
+
<!-- vigiles:sha256:c6990a4ed629598e compiled from skills/find-venue/SKILL.md.spec.ts -->
|
|
8
8
|
|
|
9
9
|
# find-venue — rank real venues by what makes a publication, then keep or switch
|
|
10
10
|
|
|
@@ -40,7 +40,8 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
40
40
|
- **archival-weight** = (peer-reviewed? — required) × (indexed/archival? — required) × parent-venue
|
|
41
41
|
prestige (a bonus, not a gate). **Non-archival ⇒ archival-weight ≈ 0** — it is not a publication,
|
|
42
42
|
so it sinks to the bottom no matter how nice the CFP reads.
|
|
43
|
-
- **topic-fit** — how squarely the paper matches the CFP scope (a stretch fit raises reject risk)
|
|
43
|
+
- **topic-fit** — how squarely the paper matches the CFP scope (a stretch fit raises reject risk),
|
|
44
|
+
judged from the table's fit-per-finding column, not from the title.
|
|
44
45
|
- **accept-probability** — realistic odds given the paper's maturity and how selective the venue is.
|
|
45
46
|
- **deadline-feasibility** — can the paper (and artifact) be ready by the deadline? A great venue you
|
|
46
47
|
miss is a zero.
|
|
@@ -58,13 +59,26 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
58
59
|
## Output
|
|
59
60
|
|
|
60
61
|
1. **Comparison table** — one row per candidate: venue, parent, deadline (AoE + local), page limit,
|
|
61
|
-
type fit, **indexed? (Y/N + where)**, double-blind, remote, selectivity, computed rank
|
|
62
|
+
type fit, **indexed? (Y/N + where)**, double-blind, remote, selectivity, computed rank, and two
|
|
63
|
+
more:
|
|
64
|
+
- **fit per finding** — for each of the paper's two or three findings, the call's nearest topic
|
|
65
|
+
or sentence quoted word for word with its URL, or `none`;
|
|
66
|
+
- **desk pressure** — the last edition's submissions, acceptances and program days, or
|
|
67
|
+
`first edition: unknown`.
|
|
62
68
|
2. **Keep/switch recommendation** — the top-ranked venue with the one-line reason, and (if the paper
|
|
63
69
|
already has a target) an explicit **keep** or **switch** verdict against it. Note the intended
|
|
64
70
|
`extend-paper` upgrade target for later. After a **switch**, the paper's revision plan is for the
|
|
65
71
|
old cycle: say that it must be rewritten for the new one (`paper-pipeline`, "The revision plan").
|
|
72
|
+
3. **Scope letter** — a draft letter to the picked venue's organisers, at the contact the venue's
|
|
73
|
+
own page gives, to be sent before the paper is ported to the venue. It asks two things: whether
|
|
74
|
+
the weakest finding (a `none`, or the most distant quote) is in scope, and what the venue weighs
|
|
75
|
+
when it screens submissions. The author sends it; the reply is saved as a dated file in the
|
|
76
|
+
paper's `submission/` folder.
|
|
66
77
|
|
|
67
78
|
## Rules
|
|
79
|
+
- A table with no `none` is not a desk prediction: a call can match every finding and the venue
|
|
80
|
+
still desk-reject the paper on an emphasis its call never states. The scope letter goes out
|
|
81
|
+
whatever the table says.
|
|
68
82
|
- Fetch every CFP fact from the real page; never invent a deadline, page limit, or indexing status.
|
|
69
83
|
- Indexed + peer-reviewed is a gate, not a tiebreaker — a non-archival venue cannot win on charm.
|
|
70
84
|
- Don't hold a finished paper hostage to prestige; ship archival now, extend later.
|
|
@@ -49,7 +49,8 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
49
49
|
- **archival-weight** = (peer-reviewed? — required) × (indexed/archival? — required) × parent-venue
|
|
50
50
|
prestige (a bonus, not a gate). **Non-archival ⇒ archival-weight ≈ 0** — it is not a publication,
|
|
51
51
|
so it sinks to the bottom no matter how nice the CFP reads.
|
|
52
|
-
- **topic-fit** — how squarely the paper matches the CFP scope (a stretch fit raises reject risk)
|
|
52
|
+
- **topic-fit** — how squarely the paper matches the CFP scope (a stretch fit raises reject risk),
|
|
53
|
+
judged from the table's fit-per-finding column, not from the title.
|
|
53
54
|
- **accept-probability** — realistic odds given the paper's maturity and how selective the venue is.
|
|
54
55
|
- **deadline-feasibility** — can the paper (and artifact) be ready by the deadline? A great venue you
|
|
55
56
|
miss is a zero.
|
|
@@ -67,13 +68,26 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
67
68
|
## Output
|
|
68
69
|
|
|
69
70
|
1. **Comparison table** — one row per candidate: venue, parent, deadline (AoE + local), page limit,
|
|
70
|
-
type fit, **indexed? (Y/N + where)**, double-blind, remote, selectivity, computed rank
|
|
71
|
+
type fit, **indexed? (Y/N + where)**, double-blind, remote, selectivity, computed rank, and two
|
|
72
|
+
more:
|
|
73
|
+
- **fit per finding** — for each of the paper's two or three findings, the call's nearest topic
|
|
74
|
+
or sentence quoted word for word with its URL, or \`none\`;
|
|
75
|
+
- **desk pressure** — the last edition's submissions, acceptances and program days, or
|
|
76
|
+
\`first edition: unknown\`.
|
|
71
77
|
2. **Keep/switch recommendation** — the top-ranked venue with the one-line reason, and (if the paper
|
|
72
78
|
already has a target) an explicit **keep** or **switch** verdict against it. Note the intended
|
|
73
79
|
\`extend-paper\` upgrade target for later. After a **switch**, the paper's revision plan is for the
|
|
74
80
|
old cycle: say that it must be rewritten for the new one (\`paper-pipeline\`, "The revision plan").
|
|
81
|
+
3. **Scope letter** — a draft letter to the picked venue's organisers, at the contact the venue's
|
|
82
|
+
own page gives, to be sent before the paper is ported to the venue. It asks two things: whether
|
|
83
|
+
the weakest finding (a \`none\`, or the most distant quote) is in scope, and what the venue weighs
|
|
84
|
+
when it screens submissions. The author sends it; the reply is saved as a dated file in the
|
|
85
|
+
paper's \`submission/\` folder.
|
|
75
86
|
|
|
76
87
|
## Rules
|
|
88
|
+
- A table with no \`none\` is not a desk prediction: a call can match every finding and the venue
|
|
89
|
+
still desk-reject the paper on an emphasis its call never states. The scope letter goes out
|
|
90
|
+
whatever the table says.
|
|
77
91
|
- Fetch every CFP fact from the real page; never invent a deadline, page limit, or indexing status.
|
|
78
92
|
- Indexed + peer-reviewed is a gate, not a tiebreaker — a non-archival venue cannot win on charm.
|
|
79
93
|
- Don't hold a finished paper hostage to prestige; ship archival now, extend later.
|
|
@@ -113,7 +113,7 @@ it("1. the shipped data: at least one acmart venue is shipped (else the next che
|
|
|
113
113
|
// dictionaries diverged. Since the ACM venues extend the `acm-sigconf` family, only the family
|
|
114
114
|
// declares the template's packages, so this holds by construction; the check stays for any two
|
|
115
115
|
// standalone presets that name the same template. A template is its class AND the style it loads
|
|
116
|
-
// (`template_style`): NeurIPS's `article` + `neurips_2026` is not
|
|
116
|
+
// (`template_style`): NeurIPS's `article` + `neurips_2026` is not ACL's `article` + `acl`.
|
|
117
117
|
const styleOf = (v: string): string =>
|
|
118
118
|
parseTemplateStyle(presetOf(v).templateStyle ?? "")?.name ?? "";
|
|
119
119
|
const templateKey = (v: string): string =>
|
|
@@ -123,13 +123,13 @@ for (const v of venues.filter((x) => presetOf(x).extends === null)) {
|
|
|
123
123
|
const t = templateKey(v);
|
|
124
124
|
byTemplate.set(t, [...(byTemplate.get(t) ?? []), v]);
|
|
125
125
|
}
|
|
126
|
-
// Guards: the key tells
|
|
127
|
-
// held to
|
|
128
|
-
it("1. the shipped data: neurips-style and acl-latex are two templates: article + neurips_2026, article +
|
|
126
|
+
// Guards: the key tells one style family from another on the same class — else every article-based
|
|
127
|
+
// style would be held to ACL's list.
|
|
128
|
+
it("1. the shipped data: neurips-style and acl-latex are two templates: article + neurips_2026, article + acl", () => {
|
|
129
129
|
check(
|
|
130
|
-
"neurips-style and acl-latex are two templates: article + neurips_2026, article +
|
|
130
|
+
"neurips-style and acl-latex are two templates: article + neurips_2026, article + acl",
|
|
131
131
|
templateKey("neurips-style") === "article + neurips_2026" &&
|
|
132
|
-
templateKey("acl-latex") === "article +
|
|
132
|
+
templateKey("acl-latex") === "article + acl",
|
|
133
133
|
`${templateKey("neurips-style")} · ${templateKey("acl-latex")}`,
|
|
134
134
|
);
|
|
135
135
|
for (const [t, vs] of byTemplate)
|
|
@@ -505,15 +505,6 @@ describe("tex/template — the shipped ACM and ACL templates", () => {
|
|
|
505
505
|
])
|
|
506
506
|
expect(lint(paper(cls), FSE)).toEqual([]);
|
|
507
507
|
});
|
|
508
|
-
|
|
509
|
-
it("an ACL paper — article at 11pt, acl.sty as a package — passes realm", () => {
|
|
510
|
-
expect(
|
|
511
|
-
lint(paper("\\documentclass[11pt]{article}\n\\usepackage[review]{acl}"), {
|
|
512
|
-
extends: "paperlint:realm-2026",
|
|
513
|
-
kind: "long",
|
|
514
|
-
}),
|
|
515
|
-
).toEqual([]);
|
|
516
|
-
});
|
|
517
508
|
});
|
|
518
509
|
|
|
519
510
|
const PORTING = {
|
|
@@ -1562,16 +1553,22 @@ describe("tex/template — a style file the template loads (`template_style`): w
|
|
|
1562
1553
|
expect(lint(tex, NEURIPS, { extra })).toEqual([]);
|
|
1563
1554
|
});
|
|
1564
1555
|
|
|
1565
|
-
it("silent for a preset that names no style:
|
|
1556
|
+
it("silent for a preset that names no style: a project's own article takes any package", () => {
|
|
1557
|
+
const own = `${PAPER}/own.jsonc`;
|
|
1566
1558
|
expect(
|
|
1567
1559
|
lint(
|
|
1568
1560
|
paper(
|
|
1569
1561
|
"\\documentclass[11pt]{article}\n\\usepackage{neurips_2026}",
|
|
1570
1562
|
"Text.",
|
|
1571
1563
|
),
|
|
1564
|
+
{ extends: "./own.jsonc" },
|
|
1572
1565
|
{
|
|
1573
|
-
|
|
1574
|
-
|
|
1566
|
+
extra: {
|
|
1567
|
+
[own]: JSON.stringify({
|
|
1568
|
+
type: "family",
|
|
1569
|
+
template: "\\documentclass[11pt]{article}",
|
|
1570
|
+
}),
|
|
1571
|
+
},
|
|
1575
1572
|
},
|
|
1576
1573
|
),
|
|
1577
1574
|
).toEqual([]);
|