paperlint 16.8.0 → 17.1.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.
- package/CLAUDE.md +10 -2
- package/CONTRIBUTING.md +1 -1
- package/README.md +17 -14
- package/dist/adapters/latex/abstract.d.ts +7 -1
- package/dist/adapters/latex/abstract.d.ts.map +1 -1
- package/dist/adapters/latex/abstract.js +19 -4
- package/dist/adapters/latex/abstract.js.map +1 -1
- package/dist/adapters/latex/captions.d.ts +6 -5
- package/dist/adapters/latex/captions.d.ts.map +1 -1
- package/dist/adapters/latex/captions.js +14 -30
- package/dist/adapters/latex/captions.js.map +1 -1
- package/dist/adapters/latex/index.d.ts +1 -1
- package/dist/adapters/latex/index.d.ts.map +1 -1
- package/dist/adapters/latex/index.js +5 -2
- package/dist/adapters/latex/index.js.map +1 -1
- package/dist/adapters/latex/prose.d.ts +6 -0
- package/dist/adapters/latex/prose.d.ts.map +1 -1
- package/dist/adapters/latex/prose.js +18 -12
- package/dist/adapters/latex/prose.js.map +1 -1
- package/dist/cli.d.ts +6 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +16 -8
- package/dist/cli.js.map +1 -1
- package/dist/domain/register.d.ts +23 -1
- package/dist/domain/register.d.ts.map +1 -1
- package/dist/domain/register.js +37 -14
- package/dist/domain/register.js.map +1 -1
- package/dist/domain/term-definitions.d.ts +48 -0
- package/dist/domain/term-definitions.d.ts.map +1 -0
- package/dist/domain/term-definitions.js +228 -0
- package/dist/domain/term-definitions.js.map +1 -0
- package/dist/domain/tex-document.d.ts +11 -0
- package/dist/domain/tex-document.d.ts.map +1 -1
- package/dist/domain/tex-document.js.map +1 -1
- package/dist/eslint-rules/review-frontmatter.js +5 -5
- package/dist/eslint-rules/review-frontmatter.schema.json +15 -8
- package/dist/eslint-rules/sibling-frontmatter.d.ts.map +1 -1
- package/dist/folder-venue-rule.d.ts +1 -1
- package/dist/folder-venue-rule.d.ts.map +1 -1
- package/dist/folder-venue-rule.js +4 -2
- package/dist/folder-venue-rule.js.map +1 -1
- package/dist/hooks-notice.d.ts +3 -3
- package/dist/hooks-notice.d.ts.map +1 -1
- package/dist/hooks-notice.js +41 -8
- package/dist/hooks-notice.js.map +1 -1
- package/dist/link-skills.d.ts +5 -0
- package/dist/link-skills.d.ts.map +1 -1
- package/dist/link-skills.js +7 -0
- package/dist/link-skills.js.map +1 -1
- package/dist/ports/latex.d.ts +11 -1
- package/dist/ports/latex.d.ts.map +1 -1
- package/dist/presets.d.ts +21 -2
- package/dist/presets.d.ts.map +1 -1
- package/dist/presets.js +66 -17
- package/dist/presets.js.map +1 -1
- package/dist/readability.d.ts +12 -2
- package/dist/readability.d.ts.map +1 -1
- package/dist/readability.js +76 -3
- package/dist/readability.js.map +1 -1
- package/dist/register-bands.d.ts +16 -5
- package/dist/register-bands.d.ts.map +1 -1
- package/dist/register-bands.js +56 -17
- package/dist/register-bands.js.map +1 -1
- package/dist/skills/argument-arc/scripts/headings-core.d.ts +12 -0
- package/dist/skills/argument-arc/scripts/headings.d.ts +2 -0
- package/dist/skills/cold-read-diff/scripts/cold-read-core.d.ts +12 -0
- package/dist/skills/cold-read-diff/scripts/readers.d.ts +2 -1
- package/dist/term-definition-rules.d.ts +26 -0
- package/dist/term-definition-rules.d.ts.map +1 -0
- package/dist/term-definition-rules.js +137 -0
- package/dist/term-definition-rules.js.map +1 -0
- package/dist/tex-paper.d.ts +6 -0
- package/dist/tex-paper.d.ts.map +1 -1
- package/dist/tex-paper.js +10 -0
- package/dist/tex-paper.js.map +1 -1
- package/dist/tex-requirements.d.ts +2 -0
- package/dist/tex-requirements.d.ts.map +1 -1
- package/dist/tex-requirements.js +9 -0
- package/dist/tex-requirements.js.map +1 -1
- package/dist/tex-venue-rules.d.ts +3 -2
- package/dist/tex-venue-rules.d.ts.map +1 -1
- package/dist/tex-venue-rules.js +3 -2
- package/dist/tex-venue-rules.js.map +1 -1
- package/docs/configuration.md +2 -2
- package/{skills/paper-pipeline/references → docs/design}/acceptance-gate.md +50 -53
- package/docs/design/paper-pipeline-history.md +217 -0
- package/docs/design/skill-provenance.md +132 -0
- package/docs/design/study-modes.md +1 -1
- package/docs/design/verify-citations-history.md +135 -0
- package/docs/design/writing-exemplars.md +19 -0
- package/docs/install.md +7 -4
- package/docs/layout.md +5 -4
- package/docs/optional-rules.md +4 -0
- package/docs/osf-artifact.md +54 -0
- package/docs/pipeline.md +171 -0
- package/docs/render.md +82 -0
- package/docs/rules/paper/folder-venue-leftover.md +10 -7
- package/docs/rules/tex/contrast-frames.md +1 -2
- package/docs/rules/tex/max-caption-words.md +82 -0
- package/docs/rules/tex/max-paragraph-words.md +2 -2
- package/docs/rules/tex/negated-sentences.md +96 -0
- package/docs/rules/tex/term-before-definition.md +103 -0
- package/docs/rules/tex/term-defined-twice.md +62 -0
- package/docs/rules/tex/venue-leftover.md +13 -1
- package/docs/rules.md +23 -18
- package/docs/skills.md +16 -21
- package/docs/submission.md +14 -0
- package/docs/texlive-install-decision.md +1 -1
- package/docs/toolchain.md +11 -11
- package/eslint-rules/review-frontmatter.schema.json +15 -8
- package/eslint-rules/review-frontmatter.test.mjs +8 -5
- package/eslint-rules/review-frontmatter.ts +5 -5
- package/eslint.config.mjs +1 -5
- package/hooks/paper-status-gates.sh +21 -4
- package/hooks/paper-status-gates.test.ts +51 -0
- package/lib/skill-checks.test.mjs +2 -6
- package/lib/skill-trigger-cases.mjs +12 -97
- package/lib/skill-trigger-cases.test.ts +0 -6
- package/package.json +3 -1
- package/presets/acm-sigconf.md +1 -1
- package/presets/agenticdev.jsonc +5 -2
- package/presets/agenticdev.md +4 -2
- package/presets/aidc.jsonc +14 -1
- package/presets/aidc.md +3 -2
- package/presets/aisec.jsonc +9 -3
- package/presets/aisec.md +4 -1
- package/presets/ase.jsonc +145 -0
- package/presets/ase.md +178 -0
- package/presets/ccs.jsonc +87 -0
- package/presets/ccs.md +184 -0
- package/presets/icse.jsonc +100 -0
- package/presets/icse.md +126 -0
- package/presets/ieee-conference.md +1 -1
- package/presets/sp.jsonc +152 -0
- package/presets/sp.md +160 -0
- package/presets/venue-profile.schema.json +22 -3
- package/scripts/harness-api.frozen.json +0 -4
- package/scripts/pipeline.ts +481 -0
- package/skills/CLAUDE.md +2 -2
- package/skills/CLAUDE.md.spec.ts +26 -1
- package/skills/analyze-sibling-paper/SKILL.md +2 -20
- package/skills/analyze-sibling-paper/SKILL.md.spec.ts +9 -19
- package/skills/argument-arc/SKILL.md +32 -18
- package/skills/argument-arc/SKILL.md.spec.ts +43 -17
- package/skills/argument-arc/scripts/headings-core.js +46 -0
- package/skills/argument-arc/scripts/headings-core.ts +65 -0
- package/skills/argument-arc/scripts/headings.js +15 -0
- package/skills/argument-arc/scripts/headings.test.ts +105 -0
- package/skills/argument-arc/scripts/headings.ts +20 -0
- package/skills/build-benchmark/SKILL.md +1 -12
- package/skills/build-benchmark/SKILL.md.spec.ts +15 -11
- package/skills/build-label-page/SKILL.md.spec.ts +11 -0
- package/skills/camera-ready/SKILL.md +1 -8
- package/skills/camera-ready/SKILL.md.spec.ts +8 -7
- package/skills/cold-read-diff/SKILL.md +36 -25
- package/skills/cold-read-diff/SKILL.md.spec.ts +44 -24
- package/skills/cold-read-diff/scripts/cold-read-core.js +63 -6
- package/skills/cold-read-diff/scripts/cold-read-core.ts +81 -6
- package/skills/cold-read-diff/scripts/cold-read.js +1 -1
- package/skills/cold-read-diff/scripts/cold-read.test.ts +66 -0
- package/skills/cold-read-diff/scripts/cold-read.ts +1 -1
- package/skills/cold-read-diff/scripts/readers.js +2 -1
- package/skills/cold-read-diff/scripts/readers.ts +2 -1
- package/skills/draft-paper/SKILL.md +16 -29
- package/skills/draft-paper/SKILL.md.spec.ts +27 -28
- package/skills/extend-paper/SKILL.md +7 -16
- package/skills/extend-paper/SKILL.md.spec.ts +18 -15
- package/skills/find-venue/SKILL.md +11 -24
- package/skills/find-venue/SKILL.md.spec.ts +19 -23
- package/skills/harden-paper/SKILL.md +62 -290
- package/skills/harden-paper/SKILL.md.spec.ts +82 -304
- package/skills/harden-paper/harden-paper.harness.mjs +1 -2
- package/skills/jobs.ts +25 -0
- package/skills/label-agent-runs/SKILL.md.spec.ts +10 -0
- package/skills/map-prior-work/SKILL.md +5 -4
- package/skills/map-prior-work/SKILL.md.spec.ts +13 -3
- package/skills/paper-pipeline/SKILL.md +80 -278
- package/skills/paper-pipeline/SKILL.md.spec.ts +130 -276
- package/skills/paper-pipeline/description-language.eval.mjs +0 -22
- package/skills/paper-pipeline/framing-vs-vocabulary.eval.mjs +0 -29
- package/skills/paper-pipeline/paper-pipeline.harness.mjs +0 -16
- package/skills/paper-pipeline/pipeline-firing.eval.mjs +7 -29
- package/skills/paper-pipeline/pipeline-language.eval.mjs +0 -52
- package/skills/paper-pipeline/references/artifact-checklist.md +6 -1
- package/skills/paper-pipeline/references/body-vs-appendix.md +3 -4
- package/skills/paper-pipeline/references/pipeline-status-template.md +8 -10
- package/skills/paper-pipeline/references/review-ratchet.md +4 -7
- package/skills/paper-pipeline/references/venue-bar.md +1 -2
- package/skills/paper-pipeline/references/writing-craft.md +21 -281
- package/skills/paper-status/SKILL.md +17 -20
- package/skills/paper-status/SKILL.md.spec.ts +23 -19
- package/skills/pc-panel-review/SKILL.md +66 -93
- package/skills/pc-panel-review/SKILL.md.spec.ts +75 -92
- package/skills/plan-paper-timeline/SKILL.md +7 -29
- package/skills/plan-paper-timeline/SKILL.md.spec.ts +16 -28
- package/skills/plan-paper-timeline/plan-paper-timeline.effects.harness.mjs +2 -2
- package/skills/render-paper/check-render.sh +2 -2
- package/skills/render-paper/render-paper.harness.mjs +4 -20
- package/skills/research-ideate/SKILL.md +15 -32
- package/skills/research-ideate/SKILL.md.spec.ts +25 -31
- package/skills/rewrite-unclear/SKILL.md +15 -14
- package/skills/rewrite-unclear/SKILL.md.spec.ts +24 -15
- package/skills/rewrite-unclear/rewrite-unclear.eval.ts +2 -3
- package/skills/run-agent-grid/SKILL.md +3 -3
- package/skills/run-agent-grid/SKILL.md.spec.ts +10 -2
- package/skills/study-accepted-papers/SKILL.md +5 -5
- package/skills/study-accepted-papers/SKILL.md.spec.ts +27 -4
- package/skills/submit-paper/SKILL.md +37 -31
- package/skills/submit-paper/SKILL.md.spec.ts +46 -30
- package/skills/submit-paper/check-deanon.sh +1 -1
- package/skills/tighten-paper/SKILL.md +43 -68
- package/skills/tighten-paper/SKILL.md.spec.ts +51 -67
- package/skills/verify-citations/SKILL.md +18 -112
- package/skills/verify-citations/SKILL.md.spec.ts +27 -114
- package/src/adapters/latex/abstract.test.ts +42 -0
- package/src/adapters/latex/abstract.ts +23 -6
- package/src/adapters/latex/captions.test.ts +36 -38
- package/src/adapters/latex/captions.ts +16 -33
- package/src/adapters/latex/index.test.ts +11 -0
- package/src/adapters/latex/index.ts +5 -2
- package/src/adapters/latex/prose.ts +23 -11
- package/src/cli.ts +26 -5
- package/src/domain/register.test.ts +65 -0
- package/src/domain/register.ts +72 -16
- package/src/domain/term-definitions.test.ts +240 -0
- package/src/domain/term-definitions.ts +329 -0
- package/src/domain/tex-document.ts +12 -0
- package/src/domain/venue-name.test.ts +4 -4
- package/src/folder-venue-rule.test.ts +23 -2
- package/src/folder-venue-rule.ts +8 -8
- package/src/hooks-notice.test.ts +127 -0
- package/src/hooks-notice.ts +50 -10
- package/src/link-skills.ts +9 -0
- package/src/new-paper.test.ts +2 -2
- package/src/paper-settings-commands.test.ts +1 -1
- package/src/ports/latex.ts +11 -0
- package/src/preset-card-rule.test.ts +4 -0
- package/src/presets.test.ts +141 -4
- package/src/presets.ts +113 -22
- package/src/readability.test.ts +92 -0
- package/src/readability.ts +113 -5
- package/src/register-bands.test.ts +81 -1
- package/src/register-bands.ts +88 -23
- package/src/rule-cases.test.ts +122 -2
- package/src/term-definition-rules.test.ts +150 -0
- package/src/term-definition-rules.ts +189 -0
- package/src/tex-paper.test.ts +18 -1
- package/src/tex-paper.ts +11 -0
- package/src/tex-requirements.ts +15 -0
- package/src/tex-venue-rules.test.ts +45 -1
- package/src/tex-venue-rules.ts +8 -3
- package/src/venue-rules.test.ts +2 -2
- package/templates/paper/PIPELINE-STATUS.md +19 -19
- package/dist/paper-prose.d.ts +0 -17
- package/dist/paper-prose.d.ts.map +0 -1
- package/dist/paper-prose.js +0 -46
- package/dist/paper-prose.js.map +0 -1
- package/skills/grade-paper-writing/SKILL.md +0 -494
- package/skills/grade-paper-writing/SKILL.md.spec.ts +0 -501
- package/skills/grade-paper-writing/__snapshots__/prose-lint.test.ts.snap +0 -84
- package/skills/grade-paper-writing/fixtures/control_gopen.txt +0 -1
- package/skills/grade-paper-writing/fixtures/control_human_paper.txt +0 -1
- package/skills/grade-paper-writing/fixtures/rewrite.txt +0 -1
- package/skills/grade-paper-writing/fixtures/specimen.txt +0 -1
- package/skills/grade-paper-writing/fixtures/structure-checks.md +0 -22
- package/skills/grade-paper-writing/grade-paper-writing.eval.mjs +0 -19
- package/skills/grade-paper-writing/grade-paper-writing.harness.mjs +0 -23
- package/skills/grade-paper-writing/prose-lint.mjs +0 -602
- package/skills/grade-paper-writing/prose-lint.test.ts +0 -413
- package/skills/osf-artifact-upload/SKILL.md +0 -58
- package/skills/osf-artifact-upload/SKILL.md.spec.ts +0 -65
- package/skills/osf-artifact-upload/osf-artifact-upload.eval.mjs +0 -22
- package/skills/osf-artifact-upload/osf-artifact-upload.harness.ts +0 -102
- package/skills/paper-adversarial-review/SKILL.md +0 -100
- package/skills/paper-adversarial-review/SKILL.md.spec.ts +0 -107
- package/skills/paper-adversarial-review/paper-adversarial-review.eval.mjs +0 -19
- package/skills/paper-adversarial-review/paper-adversarial-review.harness.mjs +0 -24
- package/skills/paper-pipeline/grade-paper-writing-ablation.eval.mjs +0 -1274
- package/skills/paper-pipeline/references/credit-criteria.md +0 -69
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/README.md +0 -35
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/run_retext.mjs +0 -24
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/sentences.txt +0 -11
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/test_sentences.py +0 -25
- package/skills/paper-pipeline/references/occupancy-2026-08-06-prose-checkers.md +0 -538
- package/skills/paper-pipeline/references/occupancy-2026-08-06-reproducible-tooling.md +0 -431
- package/skills/paper-pipeline/references/occupancy-2026-08-06-staleness-and-orchestration.md +0 -592
- package/skills/paper-pipeline/repro/2026-08-08-parent-replication.mjs +0 -92
- package/skills/render-paper/SKILL.md +0 -123
- package/skills/render-paper/SKILL.md.spec.ts +0 -130
- package/skills/render-paper/render-paper.eval.mjs +0 -19
- package/skills/submission-portal/SKILL.md +0 -129
- package/skills/submission-portal/SKILL.md.spec.ts +0 -134
- package/skills/submission-portal/submission-portal.eval.mjs +0 -15
- package/skills/submission-portal/submission-portal.test.ts +0 -12
- package/skills/sweep-design-space/SKILL.md +0 -232
- package/skills/sweep-design-space/SKILL.md.spec.ts +0 -248
- package/skills/sweep-design-space/sweep-design-space.eval.mjs +0 -19
- package/skills/sweep-design-space/sweep-design-space.harness.mjs +0 -23
- package/src/paper-prose.test.ts +0 -78
- package/src/paper-prose.ts +0 -67
package/docs/render.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Building and looking at the paper
|
|
2
|
+
|
|
3
|
+
Three commands turn `paper.tex` into a PDF you can trust and pages you can read on a phone. None of
|
|
4
|
+
them judges the writing; they say whether the paper builds clean.
|
|
5
|
+
|
|
6
|
+
```sh
|
|
7
|
+
npx paperlint toolchain # TeX Live with the venue's packages, once
|
|
8
|
+
npx paperlint build papers/my-paper # the PDF and its facts
|
|
9
|
+
bash node_modules/paperlint/skills/render-paper/check-render.sh papers/my-paper # the render gate
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## The toolchain
|
|
13
|
+
|
|
14
|
+
`npx paperlint toolchain` installs TeX Live with exactly the packages the venue presets declare, and
|
|
15
|
+
banal (HotCRP's page-geometry script). `--check` reports what is missing and changes nothing. Where
|
|
16
|
+
it installs, what it needs and why: [toolchain.md](toolchain.md). The package list lives in the venue
|
|
17
|
+
presets (`presets/*.jsonc`, the `tex` block; `tex-base.jsonc` for every paper) and nowhere else: a
|
|
18
|
+
TeX Live without `libertine` builds an acmart paper green in Computer Modern, which is why the files
|
|
19
|
+
are checked, not the exit code.
|
|
20
|
+
|
|
21
|
+
## Compile
|
|
22
|
+
|
|
23
|
+
`npx paperlint build <paper-dir>` picks a TeX Live that has every package the venue declares,
|
|
24
|
+
runs pdflatex and bibtex until the references settle, fails on an undefined `\ref` or `\cite`
|
|
25
|
+
through `presets/tex/paper-guards.tex`, then measures the PDF into `_build/paper.facts.json` (fonts,
|
|
26
|
+
Type 3, the last page's column heights). It judges nothing; the lint rules read the facts file.
|
|
27
|
+
Without a terminal and without a qualifying TeX Live it stops with one line naming
|
|
28
|
+
`npx paperlint toolchain`.
|
|
29
|
+
|
|
30
|
+
## The render gate
|
|
31
|
+
|
|
32
|
+
An overfull box on page 9 (text or a table bleeding past the column into the margin) is invisible
|
|
33
|
+
on pages 1 and 2. LaTeX reports every one in the log, and `check-render.sh` turns them into an exit
|
|
34
|
+
code:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
bash node_modules/paperlint/skills/render-paper/check-render.sh <paper-dir> [texbasename=paper] [threshold_pt=5]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
It compiles, then exits 1 on any `Overfull \hbox` at or over the threshold, any `Overfull \vbox`,
|
|
41
|
+
or any undefined reference, citation or control sequence. It warns on a literal space inside
|
|
42
|
+
`\texttt{…}` (failure 6 below). A paper renders clean when it exits 0. The usual fixes:
|
|
43
|
+
|
|
44
|
+
- a long `\texttt{…}`, a literal command or a URL: `\seqsplit{}`, `\url{}` (breakable), a `p{width}`
|
|
45
|
+
table column instead of `l`, or `\small` / `\footnotesize` on the block;
|
|
46
|
+
- a wide table: `\small` and fixed-width `p{}` columns so cells wrap, or
|
|
47
|
+
`\resizebox{\columnwidth}{!}{…}`.
|
|
48
|
+
|
|
49
|
+
## Known failures
|
|
50
|
+
|
|
51
|
+
1. **`pdfTeX error (font expansion): auto expansion is only possible with scalable fonts`.** acmart
|
|
52
|
+
with microtype wants Libertine outlines. Add `\microtypesetup{expansion=false}` after
|
|
53
|
+
`\documentclass`.
|
|
54
|
+
2. **`Undefined control sequence \lesssim` / `\gtrsim`.** Add `\usepackage{amssymb}`, or write `\le` /
|
|
55
|
+
`\ge`.
|
|
56
|
+
3. **A bibliography in `\begin{filecontents*}[overwrite]{refs.bib}`** keeps the paper one file, and
|
|
57
|
+
overwrites `refs.bib` on every build: fix a citation inside the block, never in `refs.bib`.
|
|
58
|
+
Ignore the generated `refs.bib` in git so it cannot drift from the block.
|
|
59
|
+
4. **Double-blind.** ACM: `\documentclass[sigconf,review,anonymous]{acmart}`, author
|
|
60
|
+
`Anonymous Author(s)`. `anonymity/identity` checks the built PDF against the paper's `identity`.
|
|
61
|
+
5. **Build files in git.** Ignore `*.aux *.log *.out *.bbl *.blg`; keep `paper.pdf` only if you mean to.
|
|
62
|
+
6. **A shell command in `\texttt{}` breaks at its inner space** (`rm` ⏎ `-rf`). The break is legal, so
|
|
63
|
+
no overfull warning fires. Tie the command's tokens with `~` (`\texttt{rm~-rf~/}`) or wrap them in
|
|
64
|
+
`\mbox{}`; the space before an argument may stay breakable.
|
|
65
|
+
7. **The page count comes from the built PDF, not from a label in the `.aux`.** An `.aux` label
|
|
66
|
+
reflects the previous build's pagination. `format/page-limit` reads the body pages from the facts
|
|
67
|
+
file of the current build.
|
|
68
|
+
|
|
69
|
+
## Pages as images
|
|
70
|
+
|
|
71
|
+
Reading the pages needs [PyMuPDF](https://pymupdf.readthedocs.io/) (`pip install pymupdf`):
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
python3 -c "import fitz; d=fitz.open('paper.pdf'); \
|
|
75
|
+
[d[i].get_pixmap(dpi=200).save(f'p{i+1}.png') for i in range(d.page_count)]; \
|
|
76
|
+
print('rendered', d.page_count)"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
200 DPI reads on a phone; 150 is a quick preview, 300 a print check. Write the images outside the
|
|
80
|
+
repository. The render gate cannot see collisions inside a figure (a legend on an axis tick, TikZ
|
|
81
|
+
nodes overlapping), colour and legibility, or misaligned sub-figures: look at every page with a
|
|
82
|
+
figure.
|
|
@@ -14,8 +14,9 @@ ignored. `aisec-2026`, `aisec_2026` and `aisec2026` all name AISec; `overrealm`
|
|
|
14
14
|
name REALM. A venue name of several words (`ACM CCS`) counts only when its words stand in a row.
|
|
15
15
|
|
|
16
16
|
The venue names come from the preset registry: every shipped preset's label (`aisec`) and its `name`
|
|
17
|
-
and `aliases` (`AISec
|
|
18
|
-
|
|
17
|
+
and `aliases` (`AISec`), collected along `extends` — the same names `tex/venue-leftover` looks for in
|
|
18
|
+
the text. A venue with no shipped preset is not recognized. The names of the conference the paper's
|
|
19
|
+
venue is held at (its `parent`) are the paper's own.
|
|
19
20
|
|
|
20
21
|
## Why
|
|
21
22
|
|
|
@@ -41,14 +42,16 @@ papers/aisec-2026/PIPELINE-STATUS.md
|
|
|
41
42
|
paper/folder-venue-leftover
|
|
42
43
|
```
|
|
43
44
|
|
|
44
|
-
Named by an alias, the message says which: `papers/
|
|
45
|
-
`
|
|
45
|
+
Named by an alias, the message says which: `papers/emnlp-agents/` under `paperlint:aidc` names
|
|
46
|
+
`REALM («EMNLP»)`.
|
|
46
47
|
|
|
47
48
|
Passing:
|
|
48
49
|
|
|
49
50
|
- `papers/agent-rule-drift/` — names no venue;
|
|
50
51
|
- `papers/aidc-2026/` or `papers/acsac-2026/` under `paperlint:aidc` — the paper's own venue, by its
|
|
51
52
|
label or its alias;
|
|
53
|
+
- `papers/ase-agents/` under `paperlint:agenticdev` — the conference the workshop is held at
|
|
54
|
+
(`"parent": "paperlint:ase"`); under `paperlint:aidc` the same folder names ASE;
|
|
52
55
|
- `papers/overrealm-study/` — `realm` inside another word is that other word;
|
|
53
56
|
- any folder whose `paperlint.json` has no `extends` yet, or none at all;
|
|
54
57
|
- `papers/secure-acsac24/` under `paperlint:ieee-conference` — a bare template family names no venue.
|
|
@@ -59,11 +62,11 @@ No rule options. It reads each shipped preset's `name` and `aliases`, the fields
|
|
|
59
62
|
`tex/venue-leftover` reads too:
|
|
60
63
|
|
|
61
64
|
```jsonc
|
|
62
|
-
"aliases": ["AISec",
|
|
65
|
+
"aliases": ["AISec"],
|
|
66
|
+
"parent": "paperlint:ccs"
|
|
63
67
|
```
|
|
64
68
|
|
|
65
|
-
A name the paper's own chain also declares
|
|
66
|
-
reported.
|
|
69
|
+
A name the paper's own chain also declares, or its `parent` conference's, is never reported.
|
|
67
70
|
|
|
68
71
|
## What it does not check
|
|
69
72
|
|
|
@@ -87,8 +87,7 @@ source, and record them (`anchorOf` in `src/register-bands.ts` is the one way an
|
|
|
87
87
|
## What it does not check
|
|
88
88
|
|
|
89
89
|
Whether a given frame is needed. A frame is the right sentence where a reader would otherwise assume
|
|
90
|
-
the rejected alternative; the rule counts, and judging each one is
|
|
91
|
-
skill. It does not read a frame split over two sentences (_It is fast. Not exact._), a negation by
|
|
90
|
+
the rejected alternative; the rule counts, and judging each one is a reader's job. It does not read a frame split over two sentences (_It is fast. Not exact._), a negation by
|
|
92
91
|
synonym (_ignores_, _fails to_), or anything in the appendix.
|
|
93
92
|
|
|
94
93
|
## How to fix
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# tex/max-caption-words
|
|
2
|
+
|
|
3
|
+
**Level:** off by default · **Reads:** `paper.tex` and the files it includes
|
|
4
|
+
|
|
5
|
+
## What it catches
|
|
6
|
+
|
|
7
|
+
Two things, both a caption that is too long:
|
|
8
|
+
|
|
9
|
+
- a caption longer than `max` words (default 100, so a 101st word fires), reported at its `\caption`;
|
|
10
|
+
- a sentence of a caption longer than `maxSentence` words (default 40), reported at its start.
|
|
11
|
+
|
|
12
|
+
Captions sit in floats, outside the body every other prose rule reads, so without this rule nothing
|
|
13
|
+
counts their words. One rule with two options, as ESLint's `max-len` has `comments`: both findings
|
|
14
|
+
are a caption too long, and an author switches them off for the same reason.
|
|
15
|
+
|
|
16
|
+
## How it counts
|
|
17
|
+
|
|
18
|
+
- Every `\caption` a reader sees: its last mandatory argument, whatever optional argument
|
|
19
|
+
(`\caption[Short]{…}`), star or space comes before it. Not one in a comment, in `verbatim` or in a
|
|
20
|
+
macro's definition. A caption with no word is left out.
|
|
21
|
+
- Words and sentences as the body rules count them ([`tex/max-sentence-words`](max-sentence-words.md)):
|
|
22
|
+
a citation, a cross-reference or a formula is one word; a bold label ending in a stop
|
|
23
|
+
(`\textbf{Overview.}`) is a sentence of its own.
|
|
24
|
+
|
|
25
|
+
## Turning it on
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"rules": {
|
|
30
|
+
"tex/max-caption-words": ["warn", { "max": 100, "maxSentence": 40 }]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
No call for papers states a caption limit, so no venue preset carries the numbers. See
|
|
36
|
+
[optional rules](../../optional-rules.md).
|
|
37
|
+
|
|
38
|
+
## Why
|
|
39
|
+
|
|
40
|
+
A reader reads a caption in one pass with its figure. A caption that holds the method is a section
|
|
41
|
+
under a picture.
|
|
42
|
+
|
|
43
|
+
**Where 100 and 40 come from.** They are carried over unchanged from the prose counter this rule
|
|
44
|
+
replaced, where they were set from one paper's own four
|
|
45
|
+
captions. They are not calibrated on accepted papers. On the real-papers corpus (114 papers, the
|
|
46
|
+
files each build recorded spliced in), measured 2026-11-19 with this rule's counter:
|
|
47
|
+
|
|
48
|
+
| | captions over 100 words | caption sentences over 40 words |
|
|
49
|
+
| --------------------------- | ----------------------- | ------------------------------- |
|
|
50
|
+
| the 5 accepted ACSAC papers | 0 | 0 |
|
|
51
|
+
| all 114 papers | 42, in 22 papers | 108, in 34 papers |
|
|
52
|
+
|
|
53
|
+
With both checks, 39 of the 114 papers fire at least once; as a default the rule would speak on
|
|
54
|
+
about one paper in three, so it ships off.
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
```latex
|
|
59
|
+
\caption{Results. We ran each agent five times on every task, then ... (120 words)} % fires
|
|
60
|
+
\caption{Pass rate by model; error bars are 95\% intervals.} % passes
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Options / preset fields
|
|
64
|
+
|
|
65
|
+
- `max`: the largest caption, in words, that does not fire; default 100.
|
|
66
|
+
- `maxSentence`: the largest caption sentence, in words, that does not fire; default 40.
|
|
67
|
+
|
|
68
|
+
No preset field.
|
|
69
|
+
|
|
70
|
+
## What it does not check
|
|
71
|
+
|
|
72
|
+
- Whether a long caption is needed: a self-contained legend of a dense table. Suppress that one with
|
|
73
|
+
`% eslint-disable-next-line tex/max-caption-words`.
|
|
74
|
+
- A caption built by a macro (`\figcap{…}`), and text inside an included PDF figure.
|
|
75
|
+
- `\captionof` and `\subcaption`.
|
|
76
|
+
- An include the last build did not record: with no current `_build/sources.json`, the paper is
|
|
77
|
+
`paper.tex` alone.
|
|
78
|
+
|
|
79
|
+
## How to fix
|
|
80
|
+
|
|
81
|
+
Move the method into the body and keep in the caption what the figure shows; cut a long caption
|
|
82
|
+
sentence where a clause could stand alone.
|
|
@@ -29,8 +29,8 @@ or in one paper's own `paperlint.json`, for that paper alone. See
|
|
|
29
29
|
## Why
|
|
30
30
|
|
|
31
31
|
A reader sees a paragraph's length before reading a word. A page-long block is skimmed past, and what
|
|
32
|
-
the argument turns on in the middle of it is lost. 150 is the wall
|
|
33
|
-
|
|
32
|
+
the argument turns on in the middle of it is lost. 150 is the wall `writing-craft.md` names (its
|
|
33
|
+
"wall-of-text check"); it is a general default, not a venue's.
|
|
34
34
|
|
|
35
35
|
Measured with this rule's own counter on the accepted papers of `fixtures/accepted-papers/`
|
|
36
36
|
(p50 / p95 / p99 / max in words; one finding per paragraph over 150):
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# tex/negated-sentences
|
|
2
|
+
|
|
3
|
+
**Level:** off by default · **Reads:** `paper.tex` and the files it includes → `paperlint.json`
|
|
4
|
+
|
|
5
|
+
## What it catches
|
|
6
|
+
|
|
7
|
+
A body in which the share of sentences holding a negator runs outside the band the accepted papers
|
|
8
|
+
of its venue set. It is a share of the body's sentences, in percent, not a rate per words: a
|
|
9
|
+
sentence with two negators counts once. The negators are the list the earlier prose counter
|
|
10
|
+
used, whole words, case ignored:
|
|
11
|
+
|
|
12
|
+
> not, no, none, never, cannot, n't, neither, nor, without, fail to (fails to, failed to), unable
|
|
13
|
+
|
|
14
|
+
`n't` is matched where it ends a word (_don't_, _isn't_); the counter it came from wrote it as a
|
|
15
|
+
whole word and so never matched it.
|
|
16
|
+
|
|
17
|
+
Above or below the band it reports once, at the start of the body: the count, the share, the band
|
|
18
|
+
and the anchors' own range, and — above it — the first three sentences. A body under 2 000 words is
|
|
19
|
+
not judged, and neither is a paper whose preset records no negation for its anchors.
|
|
20
|
+
|
|
21
|
+
It reads the same body as [`tex/contrast-frames`](contrast-frames.md): from the start of the
|
|
22
|
+
document, the abstract included, to `\appendix` or the bibliography, includes spliced in; headings,
|
|
23
|
+
run-in headings, captions, tables, figures and code are not prose.
|
|
24
|
+
|
|
25
|
+
🔴 **A contrast frame is counted here too.** _X, not Y_ and _not X but Y_ hold a negator, so a
|
|
26
|
+
sentence with one adds to this share and to [`tex/contrast-frames`](contrast-frames.md). Turning
|
|
27
|
+
both on judges that sentence twice; read the two findings as one before rewriting.
|
|
28
|
+
|
|
29
|
+
## Turning it on
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"rules": { "tex/negated-sentences": "warn" }
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
It ships off: it is a writing measure, and what share of negation a paper needs is a judgement the
|
|
38
|
+
venue does not state. See [optional rules](../../optional-rules.md).
|
|
39
|
+
|
|
40
|
+
## Why
|
|
41
|
+
|
|
42
|
+
A paper that says what a thing is not, sentence after sentence, reads as an argument with an
|
|
43
|
+
absent opponent. Measured with this rule's counter on the LaTeX source, with each paper's includes
|
|
44
|
+
spliced from its recorded build (2026-11-19):
|
|
45
|
+
|
|
46
|
+
| paper | sentences | negated | share |
|
|
47
|
+
| ----------------------------------------- | --------: | ------: | ----: |
|
|
48
|
+
| `barovox-acsac24` (ACSAC 2024) | 400 | 21 | 5.3% |
|
|
49
|
+
| `rr-dataset-quality-acsac24` (ACSAC 2024) | 368 | 26 | 7.1% |
|
|
50
|
+
| `secure-acsac24` (ACSAC 2024) | 368 | 28 | 7.6% |
|
|
51
|
+
| `leaking-queries-acsac25` (ACSAC 2025) | 441 | 36 | 8.2% |
|
|
52
|
+
| `llm-splained-acsac25` (ACSAC 2025) | 454 | 81 | 17.8% |
|
|
53
|
+
| `agenticdev-acm26` (ours, ACM) | 171 | 63 | 36.8% |
|
|
54
|
+
|
|
55
|
+
Over the 106 arXiv preprints of `fixtures/arxiv-papers/` with more than 2 000 words of body, the
|
|
56
|
+
share runs from 2.6% to 38.7%, median 13.3%, and 26 of them stand above AIDC's band. The measure
|
|
57
|
+
separates a paper that argues by negation from the venue's accepted ones; whether a given paper
|
|
58
|
+
should change is the author's call.
|
|
59
|
+
|
|
60
|
+
## Examples
|
|
61
|
+
|
|
62
|
+
```latex
|
|
63
|
+
The gate does not parse the command; it never reads the operation. % negated
|
|
64
|
+
The gate matches the words of a command and blocks on a match. % not negated
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Options / preset fields
|
|
68
|
+
|
|
69
|
+
No rule options. The band is the preset's: each anchor in `register.anchors` records its body's
|
|
70
|
+
`sentences` and its `negated_sentences`, both or neither, beside the counts the other band rules read:
|
|
71
|
+
|
|
72
|
+
```jsonc
|
|
73
|
+
"register": {
|
|
74
|
+
"anchors": [
|
|
75
|
+
{ "paper": "barovox-acsac24", "words": 7670, "contrast_frames": 1, "claim_emphasis": 8,
|
|
76
|
+
"relation_markers": 31, "sentences": 400, "negated_sentences": 21 }
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
The band is the anchors' range of shares widened at each end by two Poisson standard deviations of
|
|
82
|
+
the anchor standing there, as for the other band rules. For `paperlint:aidc` the anchors are the five
|
|
83
|
+
accepted ACSAC papers above: their shares run **5.3–17.8%**, and the band is **3.0–21.8%**.
|
|
84
|
+
`src/register-bands.test.ts` re-measures every anchor that has a fixture. An anchor without the two
|
|
85
|
+
fields sets no band, so a preset written before this rule leaves it silent.
|
|
86
|
+
|
|
87
|
+
## What it does not check
|
|
88
|
+
|
|
89
|
+
Whether a negation is needed: a limitation, a threat to validity and a null result are negative by
|
|
90
|
+
nature. A negation by a word outside the list (_lacks_, _absent_, _ignores_, _nothing_), and anything
|
|
91
|
+
in the appendix, are not counted.
|
|
92
|
+
|
|
93
|
+
## How to fix
|
|
94
|
+
|
|
95
|
+
Say what a thing is and does, with the evidence; keep a negation where a reader would otherwise
|
|
96
|
+
assume the opposite. Check after a rewrite that no claim was softened or strengthened.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# tex/term-before-definition
|
|
2
|
+
|
|
3
|
+
**Level:** off by default · **Reads:** `paper.tex` and the files it includes
|
|
4
|
+
|
|
5
|
+
## What it catches
|
|
6
|
+
|
|
7
|
+
A term the body defines, used before that definition. A paper that sets a new word in italics where
|
|
8
|
+
it explains it (`a file the two readings disagree on is a \emph{witness}`) has marked the definition;
|
|
9
|
+
a reader who meets the word earlier meets it with no meaning. The rule reports once per term, at the
|
|
10
|
+
**first** earlier use, with the command and place of the definition and how many uses come before it.
|
|
11
|
+
|
|
12
|
+
When the rule is on and the body sets no term with the configured commands, it reports that once, at
|
|
13
|
+
the body's start: a rule that checks nothing must not look like a clean pass.
|
|
14
|
+
|
|
15
|
+
## What counts as a definition
|
|
16
|
+
|
|
17
|
+
A phrase set with a command in `commands` (default `\emph` alone) that:
|
|
18
|
+
|
|
19
|
+
- stands in the body, after the abstract and before `\appendix` or the bibliography;
|
|
20
|
+
- is not a run-in heading (`\emph{Scope.} …` opening a paragraph). A list item's label without a
|
|
21
|
+
stop (`\item \emph{Gate}: blocks …`) is a definition;
|
|
22
|
+
- is 1 to `maxWords` words (default 4);
|
|
23
|
+
- holds no digit and does not end on `.`, `:`, `;`, `,`, `!` or `?`;
|
|
24
|
+
- holds at least one word that is not a function word (a closed list of about 100 articles,
|
|
25
|
+
conjunctions, negations, quantifiers, modals, pronouns, prepositions and auxiliaries in
|
|
26
|
+
`src/domain/term-definitions.ts`: `\emph{not}` stresses a word, it defines none).
|
|
27
|
+
|
|
28
|
+
## What counts as a use
|
|
29
|
+
|
|
30
|
+
- The term in a sentence of the body: paragraphs, list items, footnotes; never a heading, a caption,
|
|
31
|
+
a float, a table, code or math.
|
|
32
|
+
- Whole words, case ignored, any spacing between the words of a multi-word term. A term written in
|
|
33
|
+
capitals (`CI`) keeps its case.
|
|
34
|
+
- The last word as written, with `s`, with `es`, `y` → `ies`, or — when it ends in `s` — without it.
|
|
35
|
+
- Not a use: one in the abstract (a summary read on its own), and one in the sentence that holds the
|
|
36
|
+
definition (`a file, which we call a \emph{witness}` defines once).
|
|
37
|
+
|
|
38
|
+
## Turning it on
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"rules": {
|
|
43
|
+
"tex/term-before-definition": [
|
|
44
|
+
"warn",
|
|
45
|
+
{ "commands": ["emph"], "maxWords": 4 }
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`warn` is the level to use: `error` makes the edit hook block, and on the papers below a share of
|
|
52
|
+
the findings are italics used for stress. See [optional rules](../../optional-rules.md).
|
|
53
|
+
|
|
54
|
+
## Why it is off by default
|
|
55
|
+
|
|
56
|
+
The rule is right only for a paper that marks its definitions with the commands it reads. On the
|
|
57
|
+
real-papers corpus (`fixtures/accepted-papers/`, `fixtures/arxiv-papers/`; 114 papers, each with the
|
|
58
|
+
files its build recorded spliced in), with the default options, measured 2026-11-19:
|
|
59
|
+
|
|
60
|
+
| | papers | findings |
|
|
61
|
+
| ------------------------------------------------------------------------ | --------- | -------- |
|
|
62
|
+
| a term used before its definition | 61 | 299 |
|
|
63
|
+
| a term defined twice ([`tex/term-defined-twice`](term-defined-twice.md)) | 40 | 176 |
|
|
64
|
+
| either | 64 of 114 | |
|
|
65
|
+
| no term set with `\emph` (the "checks nothing" notice) | 38 | 38 |
|
|
66
|
+
|
|
67
|
+
The findings were not judged one by one. A sample reads as a mix: real terms used early
|
|
68
|
+
(«bilateral trade», «simulation corpus») and words in italics for stress («below», «better»). Among
|
|
69
|
+
other people's papers, italics mostly stress a word or label an item; a paper that uses them to
|
|
70
|
+
define one is the paper this rule is for.
|
|
71
|
+
|
|
72
|
+
## Examples
|
|
73
|
+
|
|
74
|
+
```latex
|
|
75
|
+
A gate runs before every call. % fires: «gate» before its definition
|
|
76
|
+
...
|
|
77
|
+
A \emph{gate} is a check that blocks a call.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
```latex
|
|
81
|
+
A \emph{gate} is a check that blocks a call. % passes: defined, then used
|
|
82
|
+
The gate holds.
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Options / preset fields
|
|
86
|
+
|
|
87
|
+
- `commands`: the commands that mark a definition. Any of `emph`, `textit`, `textsl`, `textbf`,
|
|
88
|
+
`underline`, `uline`, `em`, `itshape`, `it`, `slshape`, `bfseries`, `bf`; default `["emph"]`.
|
|
89
|
+
- `maxWords`: the longest phrase read as a term; default 4.
|
|
90
|
+
|
|
91
|
+
No preset field.
|
|
92
|
+
|
|
93
|
+
## What it does not check
|
|
94
|
+
|
|
95
|
+
- A term defined in plain words without the marking command (`we call such a file a witness`).
|
|
96
|
+
- Whether an earlier use already explains itself (`eligible requirements, those that …`).
|
|
97
|
+
- Synonyms, hyphen variants, irregular plurals: `witnesses` is not `witness`.
|
|
98
|
+
- A term used only inside a macro (`\toolname`), a caption, a table or a heading.
|
|
99
|
+
- A dedicated definition macro such as `\defn{…}`: an unknown macro's argument is not read as prose.
|
|
100
|
+
|
|
101
|
+
## How to fix
|
|
102
|
+
|
|
103
|
+
Move the definition to the first use, or say at the first use in plain words what the term means.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# tex/term-defined-twice
|
|
2
|
+
|
|
3
|
+
**Level:** off by default · **Reads:** `paper.tex` and the files it includes
|
|
4
|
+
|
|
5
|
+
## What it catches
|
|
6
|
+
|
|
7
|
+
A term set as a definition a second time. A reader who sees a word marked as a definition again
|
|
8
|
+
wonders whether it names a new idea. The rule reports at each later definition and names where the
|
|
9
|
+
first one stands.
|
|
10
|
+
|
|
11
|
+
What a definition is — the commands, the word count, the filters, the abstract left out — is the same
|
|
12
|
+
as for [`tex/term-before-definition`](term-before-definition.md#what-counts-as-a-definition). Two
|
|
13
|
+
definitions are of one term when their text is the same, case ignored (a term written in capitals
|
|
14
|
+
keeps its case).
|
|
15
|
+
|
|
16
|
+
## Turning it on
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"rules": {
|
|
21
|
+
"tex/term-defined-twice": ["warn", { "commands": ["emph"], "maxWords": 4 }]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
It is a separate rule from `tex/term-before-definition` because an author may keep a definition in
|
|
27
|
+
the introduction and again in the method on purpose, and still want to know where a word comes before
|
|
28
|
+
its meaning. See [optional rules](../../optional-rules.md).
|
|
29
|
+
|
|
30
|
+
## Why it is off by default
|
|
31
|
+
|
|
32
|
+
On the real-papers corpus (114 papers), with the default options, it reports 176 findings in 40
|
|
33
|
+
papers (measured 2026-11-19; the table is on the
|
|
34
|
+
[`tex/term-before-definition` page](term-before-definition.md#why-it-is-off-by-default)). Italics
|
|
35
|
+
used for stress repeat as often as definitions do.
|
|
36
|
+
|
|
37
|
+
## Examples
|
|
38
|
+
|
|
39
|
+
```latex
|
|
40
|
+
A \emph{witness} is a file the two readings disagree on.
|
|
41
|
+
...
|
|
42
|
+
Each \emph{witness} is kept. % fires: defined again
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```latex
|
|
46
|
+
A \emph{witness} is a file the two readings disagree on.
|
|
47
|
+
...
|
|
48
|
+
Each witness is kept. % passes: later mentions in roman
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Options / preset fields
|
|
52
|
+
|
|
53
|
+
`commands` and `maxWords`, as for [`tex/term-before-definition`](term-before-definition.md#options--preset-fields). No preset field.
|
|
54
|
+
|
|
55
|
+
## What it does not check
|
|
56
|
+
|
|
57
|
+
Whether the second definition is a deliberate gloss followed by a full definition; a definition in
|
|
58
|
+
plain words; `witnesses` against `witness`.
|
|
59
|
+
|
|
60
|
+
## How to fix
|
|
61
|
+
|
|
62
|
+
Keep one definition and set later mentions in roman, or point back to the first one.
|
|
@@ -9,7 +9,8 @@ left over from an earlier submission: "Submission to VenueA 2026" in the author
|
|
|
9
9
|
now going to VenueB.
|
|
10
10
|
|
|
11
11
|
It only knows the venues paperlint ships a preset for, by each preset's `name` and `aliases`. A
|
|
12
|
-
venue with no preset is not recognized.
|
|
12
|
+
venue with no preset is not recognized. The names of the conference the paper's venue is held at
|
|
13
|
+
(its `parent`) are the paper's own, and never reported.
|
|
13
14
|
|
|
14
15
|
It reads the whole paper — `paper.tex` with the files it `\input`s, `\include`s or `\subfile`s
|
|
15
16
|
spliced in; a name found in an included file is reported at that include, with the file and line at
|
|
@@ -57,6 +58,17 @@ No rule options. It reads every shipped preset's `name` and `aliases`, collected
|
|
|
57
58
|
A name the paper's own chain also declares (two workshops of one parent conference) is never
|
|
58
59
|
reported.
|
|
59
60
|
|
|
61
|
+
```jsonc
|
|
62
|
+
"parent": "paperlint:ase"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
The conference a workshop is held at. Its `name` and `aliases`, and its own parent's, count as the
|
|
66
|
+
paper's own: under `paperlint:agenticdev`, whose parent is `paperlint:ase`, «a workshop of ASE 2026»
|
|
67
|
+
is silent; under `paperlint:aidc`, the same sentence reports «ASE» once, as ASE. A conference's names
|
|
68
|
+
belong to its own preset, not to each workshop's `aliases`, so another venue's paper that names it
|
|
69
|
+
is reported once, as that conference: «ACM CCS 2026» in an AIDC paper names ACM CCS, not AISec. A
|
|
70
|
+
`parent` that does not resolve to a venue preset, or parents that name each other, are refused.
|
|
71
|
+
|
|
60
72
|
```jsonc
|
|
61
73
|
"mentions": "with-year"
|
|
62
74
|
```
|