paperlint 20.9.0 → 20.10.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/package.json
CHANGED
package/scripts/test.test.ts
CHANGED
|
@@ -171,6 +171,7 @@ test("--changed: vitest runs only the unit tests the branch affects, on the SOUR
|
|
|
171
171
|
"--coverage.provider=v8",
|
|
172
172
|
"--coverage.reporter=text",
|
|
173
173
|
"--coverage.skipFull",
|
|
174
|
+
"--coverage.reportOnFailure",
|
|
174
175
|
],
|
|
175
176
|
nodeOptions: "--conditions=paperlint-source",
|
|
176
177
|
},
|
package/scripts/test.ts
CHANGED
|
@@ -84,6 +84,9 @@ function shardOf(arg: string): Shard | null {
|
|
|
84
84
|
* a threshold would turn a sound branch red. The gate stays CI's `coverage` job. It costs ~30 s
|
|
85
85
|
* (166 s against 135 s on 207 test files, measured 2026-11-09), and it shows a missed branch before
|
|
86
86
|
* CI does: twice on 2026-11-08 a full run failed on a branch this report names in seconds.
|
|
87
|
+
* `reportOnFailure`: vitest prints no coverage at all when any test fails, so one test that fails
|
|
88
|
+
* for the container alone (2026-11-25: `crop_quote` without PyMuPDF) hid the whole report, and the
|
|
89
|
+
* gaps it would have named reached CI (#690).
|
|
87
90
|
*/
|
|
88
91
|
const CHANGED = "--changed";
|
|
89
92
|
const CHANGED_VITEST = [
|
|
@@ -93,6 +96,7 @@ const CHANGED_VITEST = [
|
|
|
93
96
|
"--coverage.provider=v8",
|
|
94
97
|
"--coverage.reporter=text",
|
|
95
98
|
"--coverage.skipFull",
|
|
99
|
+
"--coverage.reportOnFailure",
|
|
96
100
|
] as const;
|
|
97
101
|
|
|
98
102
|
/** What the arguments say: the shard, `--changed` and the harness runner's own, or the argument that is no shard. */
|
|
@@ -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.
|