paperlint 20.3.0 → 20.5.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-plugin/plugin.json +1 -1
- package/dist/adapters/venue-corpus/index.d.ts +2 -2
- package/dist/adapters/venue-corpus/index.d.ts.map +1 -1
- package/dist/adapters/venue-corpus/index.js +15 -3
- package/dist/adapters/venue-corpus/index.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +51 -19
- package/dist/cli.js.map +1 -1
- package/dist/corpus-layout-rule.d.ts +11 -0
- package/dist/corpus-layout-rule.d.ts.map +1 -0
- package/dist/corpus-layout-rule.js +92 -0
- package/dist/corpus-layout-rule.js.map +1 -0
- package/dist/corpus-record-rule.d.ts.map +1 -1
- package/dist/corpus-record-rule.js +2 -1
- package/dist/corpus-record-rule.js.map +1 -1
- package/dist/domain/corpus-layout.d.ts +30 -0
- package/dist/domain/corpus-layout.d.ts.map +1 -0
- package/dist/domain/corpus-layout.js +101 -0
- package/dist/domain/corpus-layout.js.map +1 -0
- package/dist/domain/paper-layout.d.ts +3 -2
- package/dist/domain/paper-layout.d.ts.map +1 -1
- package/dist/domain/paper-layout.js +3 -2
- package/dist/domain/paper-layout.js.map +1 -1
- package/dist/domain/venue-corpus.d.ts +11 -2
- package/dist/domain/venue-corpus.d.ts.map +1 -1
- package/dist/domain/venue-corpus.js +16 -0
- package/dist/domain/venue-corpus.js.map +1 -1
- package/dist/paper-files.d.ts +11 -4
- package/dist/paper-files.d.ts.map +1 -1
- package/dist/paper-files.js +16 -2
- package/dist/paper-files.js.map +1 -1
- package/docs/design/venue-corpus.md +17 -16
- package/docs/layout.md +2 -2
- package/docs/rules/corpus/allowed-files-only.md +99 -0
- package/docs/rules/corpus/record.md +7 -3
- package/docs/rules.md +1 -0
- package/docs/venues.md +14 -7
- package/package.json +1 -1
- package/skills/study-accepted-papers/SKILL.md +2 -2
- package/skills/study-accepted-papers/SKILL.md.spec.ts +1 -1
- package/skills/study-accepted-papers/papers.schema.json +1 -0
- package/skills/study-accepted-papers/scripts/corpus-licences.js +21 -2
- package/skills/study-accepted-papers/scripts/corpus-licences.test.ts +1 -0
- package/src/adapters/venue-corpus/index.test.ts +22 -54
- package/src/adapters/venue-corpus/index.ts +15 -2
- package/src/adapters/venue-corpus/schema.test.ts +47 -0
- package/src/cli-e2e.test.mjs +2 -2
- package/src/cli.ts +64 -17
- package/src/corpus-layout-rule.test.ts +177 -0
- package/src/corpus-layout-rule.ts +145 -0
- package/src/corpus-record-rule.test.ts +16 -4
- package/src/corpus-record-rule.ts +2 -1
- package/src/domain/corpus-layout.test.ts +118 -0
- package/src/domain/corpus-layout.ts +159 -0
- package/src/domain/paper-layout.ts +3 -2
- package/src/domain/venue-corpus.test.ts +85 -0
- package/src/domain/venue-corpus.ts +27 -2
- package/src/layout-docs.test.ts +3 -1
- package/src/paper-files.ts +19 -3
- package/src/rule-cases.test.ts +20 -42
- package/src/unowned-file.test.ts +1 -1
|
@@ -77,22 +77,23 @@ pull requests that follow. It is the base for #302, #568, #356, #500, #215, #608
|
|
|
77
77
|
}
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
| field | values
|
|
81
|
-
| ------------------------- |
|
|
82
|
-
| `venue` | the corpus folder's name, which is the venue preset's series: the preset id without its year (`agent` for `paperlint:agent-2027`)
|
|
83
|
-
| `editions[]` | each edition of THIS venue the corpus covers: the year, the page that lists what it accepted, the date read; `accepted
|
|
84
|
-
| `editions[].capped` | what was left out of the edition and why (`"the research track only, 100 of 312"`), or `null`
|
|
85
|
-
| `editions[].
|
|
86
|
-
| `
|
|
87
|
-
| `
|
|
88
|
-
| `papers[].
|
|
89
|
-
| `papers[].
|
|
90
|
-
| `papers[].
|
|
91
|
-
| `papers[].
|
|
92
|
-
| `
|
|
93
|
-
| `copies[].
|
|
94
|
-
| `copies[].
|
|
95
|
-
| `copies[].
|
|
80
|
+
| field | values |
|
|
81
|
+
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
82
|
+
| `venue` | the corpus folder's name, which is the venue preset's series: the preset id without its year (`agent` for `paperlint:agent-2027`) |
|
|
83
|
+
| `editions[]` | each edition of THIS venue the corpus covers: the year, the page that lists what it accepted, the date read; `accepted`, the count of that page's rows (required) |
|
|
84
|
+
| `editions[].capped` | what was left out of the edition and why (`"the research track only, 100 of 312"`), or `null` |
|
|
85
|
+
| `editions[].accepted` | without `capped`, exactly this many of the edition's papers are listed (`accepted` and `award` rows, not `sister`); with `capped`, at most this many |
|
|
86
|
+
| `editions[].proxy` | `{ "what", "papers" }`: the stand-in for "strong accept" and how many papers it marks, or `null` |
|
|
87
|
+
| `rebuild` | the commands that regenerate the corpus, in order; `[]` when none was kept |
|
|
88
|
+
| `papers[].key` | unique in the file; names the stored files and the measurement rows |
|
|
89
|
+
| `papers[].group` | `accepted`, `award`, or `sister` (corpus 2: papers of another venue) |
|
|
90
|
+
| `papers[].edition` | for `accepted` and `award`: one of `editions[].edition` |
|
|
91
|
+
| `papers[].venue`, `.year` | for `sister`: the other venue and its year; `listed_from` on the row says where it was found |
|
|
92
|
+
| `papers[].ids` | any of `doi`, `arxiv`, `dblp`, `s2`, `url` (the paper's page on the listing, when nothing else identifies it); at least one |
|
|
93
|
+
| `copies[].version` | `published`, `accepted`, `preprint` (OpenAlex's `publishedVersion` / `acceptedVersion` / `submittedVersion`), or `unknown` |
|
|
94
|
+
| `copies[].licence` | `id`, `read_from` (the page or API response it was read from, never inferred), `read_on` |
|
|
95
|
+
| `copies[].fetched_from` | required when `stored` is not empty: the URL the stored bytes were downloaded from |
|
|
96
|
+
| `copies[].stored` | what of this copy is in the corpus: `[]`, `["text"]`, `["pdf"]` or both; `"text"` covers every text variant of the paper |
|
|
96
97
|
|
|
97
98
|
The top level, the edition, the copy and the licence objects are strict, so a misspelt key is an error.
|
|
98
99
|
A paper row keeps any further fields as they are: the consumer's scripts read about forty of them
|
package/docs/layout.md
CHANGED
|
@@ -15,7 +15,7 @@ flowchart TB
|
|
|
15
15
|
N["<b>paperlint new</b><br/>creates the paper folder<br/>checked from here on:<br/>every lint · paper/allowed-files-only<br/>every new file · hook paper-folder-layout"]
|
|
16
16
|
S1["<b>1 · idea</b><br/>research-ideate · map-prior-work<br/>analyze-sibling-paper<br/>writes: siblings/<br/>checked by: sibling/frontmatter"]
|
|
17
17
|
S2["<b>2 · venue</b><br/>find-venue · plan-paper-timeline<br/>study-accepted-papers, mode A or B<br/>writes: paperlint.json, a report in reviews/<br/>checked by: review/frontmatter"]
|
|
18
|
-
V[("<b>#lt;papers-root#gt;/venues/#lt;venue#gt;/</b><br/>beside the papers, not in one:<br/>the venue's accepted papers,<br/>shared by every paper aimed at it<br/>checked by: corpus/record")]
|
|
18
|
+
V[("<b>#lt;papers-root#gt;/venues/#lt;venue#gt;/</b><br/>beside the papers, not in one:<br/>the venue's accepted papers,<br/>shared by every paper aimed at it<br/>checked by: corpus/record,<br/>corpus/allowed-files-only")]
|
|
19
19
|
subgraph S3["3 · study: repro/#lt;id#gt;-#lt;slug#gt;/"]
|
|
20
20
|
direction TB
|
|
21
21
|
D["<b>design</b> · build-benchmark<br/>paperlint studies new<br/>writes: the study's folder, README.md,<br/>its row in repro/studies.json<br/>checked by: repro/allowed-files-only,<br/>repro/study-registered"]
|
|
@@ -103,7 +103,7 @@ Both are explained in [`venues.md`](venues.md).
|
|
|
103
103
|
|
|
104
104
|
| place | stage | written by | checked by |
|
|
105
105
|
| ------------------------------------ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
106
|
-
| `<papers-root>/venues/<venue>/` | 2 venue | `study-accepted-papers`, its first run for that venue (mode A, usually) | [`corpus/record`](rules/corpus/record.md) ([what
|
|
106
|
+
| `<papers-root>/venues/<venue>/` | 2 venue | `study-accepted-papers`, its first run for that venue (mode A, usually) | [`corpus/record`](rules/corpus/record.md), [`corpus/allowed-files-only`](rules/corpus/allowed-files-only.md) ([what they read](venues.md#what-checks-it)) |
|
|
107
107
|
| the paper folder's root | before 1 | `paperlint new`: the three files, and an empty `.gitkeep` folder for `reviews/`, `research/`, `figures/`, `versions/`, `submission/`, `repro/tools/`, `repro/data/` (`repro/` gets a stub index) | [`paper/allowed-files-only`](rules/paper/allowed-files-only.md); the hook `paper-folder-layout` refuses a new stray entry |
|
|
108
108
|
| `PIPELINE-STATUS.md` | every stage | `paperlint new`, then `paper-pipeline`, `paper-status`; `study-accepted-papers` (the scorecard) | `paper/stages`, `paper/source`, [`cycle/submitted-frozen`](rules/cycle/submitted-frozen.md) ([rules](rules.md)) |
|
|
109
109
|
| `paperlint.json` | before 1, then 2 | `paperlint new`; `find-venue` names the venue | `paperlint lint` refuses an unknown key; [`cycle/record`](rules/cycle/record.md) |
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# corpus/allowed-files-only
|
|
2
|
+
|
|
3
|
+
**Level:** error, on by default · **Reads:** the listing of each venue corpus's top · **Reported
|
|
4
|
+
on:** the corpus's `papers.json`, first line, once per stray entry; the project's root
|
|
5
|
+
`paperlint.json`, first line, once per corpus that stores copies without `papers.json`
|
|
6
|
+
|
|
7
|
+
## What it catches
|
|
8
|
+
|
|
9
|
+
A venue corpus, `<papers-root>/venues/<venue>/` ([`venues.md`](../../venues.md#the-corpus-of-accepted-papers)),
|
|
10
|
+
holds seven names and nothing else:
|
|
11
|
+
|
|
12
|
+
<!-- layout:begin — drawn from src/domain/corpus-layout.ts (CORPUS_LAYOUT_TREE); src/layout-docs.test.ts fails when this block differs -->
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
<papers-root>/venues/<venue>/
|
|
16
|
+
├── papers.json ← the record: every paper, each copy of it and its licence
|
|
17
|
+
├── MANIFEST.md ← optional: caveats only, the prose no field holds
|
|
18
|
+
├── measurements.json ← the codes of L0 and L1, one row per paper, by key
|
|
19
|
+
├── .gitignore ← optional: keeps the stored copies out of git
|
|
20
|
+
├── pdf/ ← pdf/<key>.pdf, when a copy's licence permits it
|
|
21
|
+
├── text/ ← text/<key>.txt and text/<key>.<variant>.txt
|
|
22
|
+
├── deep-reads/ ← deep-reads/<key>.md, one per paper read in full
|
|
23
|
+
└── sources/ ← the listing and call pages as they were read
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
<!-- layout:end -->
|
|
27
|
+
|
|
28
|
+
The rule reports:
|
|
29
|
+
|
|
30
|
+
- an entry at the top of a corpus that is not one of those names, file or folder, any extension
|
|
31
|
+
(`stray`), on the corpus's `papers.json`. A name of the list with the wrong kind (a folder named
|
|
32
|
+
`papers.json`, a file named `pdf`) is a stray too;
|
|
33
|
+
- a corpus that keeps `pdf/` or `text/` and has no `papers.json` (`unrecorded`). It has no file of
|
|
34
|
+
its own, so the finding is on the root `paperlint.json`, which `paperlint lint` lints only when a
|
|
35
|
+
papers root holds `venues/`: a project without a corpus lints exactly what it linted before;
|
|
36
|
+
- a file loose at the top of `venues/` (`loose`), on the root `paperlint.json` too. `venues/` holds one
|
|
37
|
+
folder per corpus, and `README.md`, `CLAUDE.md` or `AGENTS.md`; a file about one venue goes into
|
|
38
|
+
that corpus, and one that serves several (a script) goes out of `venues/`. A folder there is a
|
|
39
|
+
corpus, judged by the two findings above.
|
|
40
|
+
|
|
41
|
+
What the operating system and interpreters leave (`.DS_Store`, `Thumbs.db`, `__pycache__/`,
|
|
42
|
+
`node_modules/`: the names `paper/allowed-files-only` and `repro/allowed-files-only` never report)
|
|
43
|
+
is never reported here either.
|
|
44
|
+
|
|
45
|
+
## Why
|
|
46
|
+
|
|
47
|
+
A real consumer kept six corpora with five names for the paper list
|
|
48
|
+
([the design note](../../design/venue-corpus.md#measured-on-a-real-consumer-2026-11-24)). A reader of
|
|
49
|
+
a corpus, a person or `study-accepted-papers`, finds the record by its name; a list under another
|
|
50
|
+
name, a page saved beside it, or notes on one paper at the top are files nobody knows the meaning
|
|
51
|
+
of. A corpus that stores copies with no record is one where nobody can say what each file is a copy
|
|
52
|
+
of, or whether its licence lets the project keep it, and [`corpus/record`](record.md) has no file to
|
|
53
|
+
read. It is on by default because this holds for every corpus whatever the venue; it is silent in a
|
|
54
|
+
project with no `venues/`.
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
Failing: a note at the top of a corpus, and PDFs kept with no record.
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
papers/venues/agent/papers.json
|
|
62
|
+
1:1 error `venues/agent/notes.md` is not one of the names a venue corpus holds. Where it goes:
|
|
63
|
+
MANIFEST.md when it is a caveat about the whole corpus; deep-reads/<key>.md when it is
|
|
64
|
+
about one paper. corpus/allowed-files-only
|
|
65
|
+
|
|
66
|
+
paperlint.json
|
|
67
|
+
1:1 error `papers/venues/other/` stores copies in pdf/ or text/ and has no papers.json, so nothing
|
|
68
|
+
records which paper each file is a copy of, or under which licence it is kept.
|
|
69
|
+
corpus/allowed-files-only
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Passing: the seven names, the optional ones left out or not.
|
|
73
|
+
|
|
74
|
+
## Options / preset fields
|
|
75
|
+
|
|
76
|
+
No rule options. A project turns the rule off in its root `paperlint.json`:
|
|
77
|
+
|
|
78
|
+
```json
|
|
79
|
+
{ "rules": { "corpus/allowed-files-only": "off" } }
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## What it does not check
|
|
83
|
+
|
|
84
|
+
- Names inside `pdf/` and `text/` ([`corpus/record`](record.md)'s), and what is inside
|
|
85
|
+
`deep-reads/` and `sources/`.
|
|
86
|
+
- Entries directly in `venues/` that are not a corpus folder.
|
|
87
|
+
- The strays of a corpus with no `papers.json`: they are reported once the record is written.
|
|
88
|
+
- A corpus with no `papers.json` when the project has no root `paperlint.json`, or when
|
|
89
|
+
`paperlint lint` is given paths: only a run of the whole project lints the root file.
|
|
90
|
+
|
|
91
|
+
## How to fix
|
|
92
|
+
|
|
93
|
+
Each finding names its cure: a caveat into `MANIFEST.md` and notes on one paper into
|
|
94
|
+
`deep-reads/<key>.md`; a PDF or a text into `pdf/<key>.pdf` or `text/<key>.txt`, claimed by its copy
|
|
95
|
+
in `papers.json`; a list's rows into `papers.json` or `measurements.json`, and the list as it was
|
|
96
|
+
downloaded into `sources/`; a saved page into `sources/`; a script out of the corpus, into the
|
|
97
|
+
paper's `repro/tools/`, with the command that runs it in `papers.json`'s `rebuild`. A corpus with no
|
|
98
|
+
`papers.json`: write it (`study-accepted-papers` does; the fields are in its `papers.schema.json`),
|
|
99
|
+
or remove `pdf/` and `text/` and keep the papers' ids.
|
|
@@ -20,6 +20,9 @@ paper which copy every stored file is and under which licence, and how the corpu
|
|
|
20
20
|
- a copy whose `stored` names a kind whose file is not there (`missing`), at that `stored`;
|
|
21
21
|
- two copies of one paper that both store one kind (`twice`), at the second copy's `stored`: one
|
|
22
22
|
file is a copy of one version.
|
|
23
|
+
- an edition whose papers do not add up to its `accepted` (`unparsed`, at that `accepted`): without
|
|
24
|
+
`capped` the record lists every paper the edition accepted, winners included; with `capped` it
|
|
25
|
+
lists at most that many. A list copied in half is caught here, not by the schema.
|
|
23
26
|
|
|
24
27
|
A `papers.json` that is not JSON is not this rule's finding: ESLint reports it as a parse error on
|
|
25
28
|
its first line. A `paper.tex` or `PIPELINE-STATUS.md` kept in a corpus (an accepted paper's source)
|
|
@@ -94,13 +97,14 @@ paper.
|
|
|
94
97
|
|
|
95
98
|
## What it does not check
|
|
96
99
|
|
|
97
|
-
- A corpus folder with no `papers.json`: there is no file to report on.
|
|
98
|
-
`corpus/allowed-files-only` reports a corpus that stores files without one.
|
|
100
|
+
- A corpus folder with no `papers.json`: there is no file to report on.
|
|
101
|
+
[`corpus/allowed-files-only`](allowed-files-only.md) reports a corpus that stores files without one.
|
|
99
102
|
- Whether a stored copy's licence permits keeping it, or whether a licence was read at all: that is
|
|
100
103
|
the licence rule, planned and off by default.
|
|
101
104
|
- That a stored file is the copy it is attributed to; it checks that the attribution was recorded.
|
|
102
105
|
- Names in the corpus folder outside `pdf/` and `text/` (`deep-reads/`, `sources/`, a stray file),
|
|
103
|
-
and folders inside `pdf/` or `text/` beyond their names: the
|
|
106
|
+
and folders inside `pdf/` or `text/` beyond their names: the top of the corpus is
|
|
107
|
+
[`corpus/allowed-files-only`](allowed-files-only.md)'s.
|
|
104
108
|
- Hidden files in `pdf/` and `text/` (`.gitkeep`, `.DS_Store`): they are not copies.
|
|
105
109
|
- A corpus outside `<papers-root>/venues/`.
|
|
106
110
|
- `MANIFEST.md` (optional, caveats only) and `measurements.json`.
|
package/docs/rules.md
CHANGED
|
@@ -9,6 +9,7 @@ reads and when it fails. Errors fail `paperlint lint`; warnings print and do not
|
|
|
9
9
|
| `paper/source` | error | `PIPELINE-STATUS.md` | a declared stage has no frozen `.tex` beside its PDF (a commit hash does not count — squash and gc destroy it). Silent in a paper that keeps `cycles`: there [`versions/layout`](rules/versions/layout.md) holds each PDF to its source |
|
|
10
10
|
| [`study/declare-sample`](rules/study/declare-sample.md) | experimental; off unless a paper turns it on (`"error"`) | each study's `repro/<study>/prereg.json` | a study's pre-registration does not declare its `population` (what the claim is about, source, size), the `strata` and what each of its `screens` removed per stratum value, its `coverage` (share 0–1 or null with a reason, and the strata it cannot reach), or the `author_check` of the drawn units (a doubtful verdict needs a recorded `decision`); reported on `PIPELINE-STATUS.md`, once per problem — [page](rules/study/declare-sample.md) |
|
|
11
11
|
| [`cycle/record`](rules/cycle/record.md) | error | `paperlint.json` (`cycles`) | the paper's attempts at venues (`cycles`, one entry per attempt) hold one source's deadlines out of order (registration ≤ submission ≤ resubmission < notification < camera-ready), or copy a portal reading the venue's preset carries; reported on `PIPELINE-STATUS.md`. A record that does not parse — a bare date, two open cycles, an unknown key — is refused by `paperlint lint` itself before any rule runs, exit 2 — [page](rules/cycle/record.md) |
|
|
12
|
+
| [`corpus/allowed-files-only`](rules/corpus/allowed-files-only.md) | error | the listing of each venue corpus's top | a name at the top of a corpus outside `papers.json`, `MANIFEST.md`, `measurements.json`, `pdf/`, `text/`, `deep-reads/`, `sources/`, reported on its `papers.json`; a corpus with `pdf/` or `text/` and no `papers.json`, and a file loose in `venues/`, reported on the root `paperlint.json`. Off with `"corpus/allowed-files-only": "off"` in the root `paperlint.json` — [page](rules/corpus/allowed-files-only.md) |
|
|
12
13
|
| [`corpus/record`](rules/corpus/record.md) | error | a venue corpus's `papers.json` → its `pdf/` and `text/` listing | a field of `papers.json` breaks the record's schema, a stored file is claimed by no copy, a claimed file is missing, or two copies of a paper store one kind; reported in `papers.json` at the field. Off with `"corpus/record": "off"` in the root `paperlint.json` — [page](rules/corpus/record.md) |
|
|
13
14
|
| [`cycle/evidence`](rules/cycle/evidence.md) | error | `paperlint.json` (`cycles`) → the paper folder | a closed cycle (`accepted`, `rejected`, `withdrawn`) or a deadline's `override` names an `evidence` file — the decision mail, the reviews, the withdrawal note, the chairs' mail — that is not in the paper folder; reported on `PIPELINE-STATUS.md` — [page](rules/cycle/evidence.md) |
|
|
14
15
|
| [`cycle/port-done`](rules/cycle/port-done.md) | error | `paper.tex` → `paperlint.json` (`cycles`) → the preset's `template` | the current cycle still declares `"phase": "porting"` (which silences the venue's format rules) while the `\documentclass` is already the venue's template: the port is done, drop the phase — [page](rules/cycle/port-done.md) |
|
package/docs/venues.md
CHANGED
|
@@ -239,6 +239,10 @@ row, from a workshop's 2026 list:
|
|
|
239
239
|
}
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
+
The example shows one of the edition's 27 rows. `accepted` is the count of the listing page's rows
|
|
243
|
+
and is required: with `capped` null the record lists all 27 papers of 2026 (`accepted` and `award`
|
|
244
|
+
rows together), and `corpus/record` reports an edition whose rows do not add up to it.
|
|
245
|
+
|
|
242
246
|
The fields, their values and which are required are the JSON Schema
|
|
243
247
|
[`skills/study-accepted-papers/papers.schema.json`](../skills/study-accepted-papers/papers.schema.json),
|
|
244
248
|
generated from the parser (`src/adapters/venue-corpus/index.ts`; `npm run schema:venue-corpus`
|
|
@@ -319,19 +323,22 @@ whole site and none per paper. Where no source gives a copy's licence, it stays
|
|
|
319
323
|
`<papers-root>/venues/`: `paperlint lint` lints the file as JSON and reports, at the line of the field,
|
|
320
324
|
a field that breaks the record's schema, a stored file no copy claims, a claimed file that is
|
|
321
325
|
missing, and two copies of one paper storing one kind. A `papers.json` that is not JSON fails as a
|
|
322
|
-
parse error on its first line. A
|
|
323
|
-
`corpus/allowed-files-only` will report it. A project turns the rule off with
|
|
326
|
+
parse error on its first line. A project turns the rule off with
|
|
324
327
|
`{ "rules": { "corpus/record": "off" } }` in its root `paperlint.json`.
|
|
325
328
|
|
|
329
|
+
[`corpus/allowed-files-only`](rules/corpus/allowed-files-only.md), on by default, holds the names
|
|
330
|
+
above: an entry at the top of a corpus outside them is reported on its `papers.json`, with where it
|
|
331
|
+
goes, and a corpus that keeps `pdf/` or `text/` with no `papers.json` is reported on the project's
|
|
332
|
+
root `paperlint.json`.
|
|
333
|
+
|
|
326
334
|
Nothing in a corpus is a paper: a `paper.tex` kept there is an accepted paper's source, and no
|
|
327
335
|
paper rule judges it. The hook that refuses misplaced files acts only inside a paper folder.
|
|
328
336
|
|
|
329
|
-
|
|
337
|
+
One more rule of the family is planned for a later release, **not shipped yet**:
|
|
330
338
|
|
|
331
|
-
| rule
|
|
332
|
-
|
|
|
333
|
-
| `corpus/licence`
|
|
334
|
-
| `corpus/allowed-files-only` | a name in the corpus folder outside the names above, and a corpus that stores files with no `papers.json` |
|
|
339
|
+
| rule | will report |
|
|
340
|
+
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
341
|
+
| `corpus/licence` | a stored file whose copy's licence was not read, or does not permit that kind; planned off by default, for a project whose corpus others read |
|
|
335
342
|
|
|
336
343
|
Also checked: a corpus started **inside** a paper folder. A `venues/` or
|
|
337
344
|
`venue-corpus/` folder at a paper's root is reported, with this place as where it goes
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ context: fork
|
|
|
5
5
|
allowed-tools: [Read, Write, Edit, Grep, Glob, Bash, WebSearch, WebFetch, Agent]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
<!-- vigiles:sha256:
|
|
8
|
+
<!-- vigiles:sha256:e956f9144d8c9170 compiled from skills/study-accepted-papers/SKILL.md.spec.ts -->
|
|
9
9
|
|
|
10
10
|
# study-accepted-papers — what this venue rewards, measured on its own papers
|
|
11
11
|
|
|
@@ -108,7 +108,7 @@ as judgement, against the base rates of `references/base-rates.md`; simulated pa
|
|
|
108
108
|
|
|
109
109
|
| what | where | why there |
|
|
110
110
|
|---|---|---|
|
|
111
|
-
| **the venue corpus** | `<papers-root>/venues/<venue>/` (the papers directory from the project's `paperlint.json`; the folder is the preset's series) | **shared by every paper that targets the venue**, collected once and reused by every later mode. `papers.json` (one row per paper: winners `award`, ordinary `accepted`, corpus 2 `sister`; every copy with its licence; how the corpus was collected, in fields: each edition's `listed_from`, `read_on`, `capped` and `proxy`, and `rebuild`, the commands run), `MANIFEST.md` (optional: caveats only, the prose no field holds), `measurements.json` (L0/L1 codes keyed by the row's `key`), `pdf/<key>.pdf` and `text/<key>.txt` only as the licence step below permits, `deep-reads/<key>.md`, `sources/` (saved listing and call pages). No other name. |
|
|
111
|
+
| **the venue corpus** | `<papers-root>/venues/<venue>/` (the papers directory from the project's `paperlint.json`; the folder is the preset's series) | **shared by every paper that targets the venue**, collected once and reused by every later mode. `papers.json` (one row per paper: winners `award`, ordinary `accepted`, corpus 2 `sister`; every copy with its licence; how the corpus was collected, in fields: each edition's `listed_from`, `read_on`, `accepted` (the listing's row count), `capped` and `proxy`, and `rebuild`, the commands run), `MANIFEST.md` (optional: caveats only, the prose no field holds), `measurements.json` (L0/L1 codes keyed by the row's `key`), `pdf/<key>.pdf` and `text/<key>.txt` only as the licence step below permits, `deep-reads/<key>.md`, `sources/` (saved listing and call pages). No other name. |
|
|
112
112
|
| **the scorecard** | the section **"Strong-accept scorecard (M1–M10)"** of the paper's `PIPELINE-STATUS.md` | a row per mechanism: status (pass / partial / fail), evidence (`file:line`), owner, plan or "accept ceiling". **The only place the verdicts live**; update it there. |
|
|
113
113
|
| **the reasoning** | `<paper>/reviews/<YYYY-MM-DD>-study-accepted-<venue>-<mode>.md` | a dated report per run, with frontmatter (below). It keeps the reasoning, the selection and the per-mechanism argument, and **points to the scorecard section; it never copies the table**. |
|
|
114
114
|
| **the stage** | the SETUP row with id `venuebar` in `PIPELINE-STATUS.md` (the id is kept for existing scorecards) | status, date, the mode and depth run, and a link to the report. One row, updated by every mode. |
|
|
@@ -133,7 +133,7 @@ as judgement, against the base rates of \`references/base-rates.md\`; simulated
|
|
|
133
133
|
|
|
134
134
|
| what | where | why there |
|
|
135
135
|
|---|---|---|
|
|
136
|
-
| **the venue corpus** | \`<papers-root>/venues/<venue>/\` (the papers directory from the project's \`paperlint.json\`; the folder is the preset's series) | **shared by every paper that targets the venue**, collected once and reused by every later mode. \`papers.json\` (one row per paper: winners \`award\`, ordinary \`accepted\`, corpus 2 \`sister\`; every copy with its licence; how the corpus was collected, in fields: each edition's \`listed_from\`, \`read_on\`, \`capped\` and \`proxy\`, and \`rebuild\`, the commands run), \`MANIFEST.md\` (optional: caveats only, the prose no field holds), \`measurements.json\` (L0/L1 codes keyed by the row's \`key\`), \`pdf/<key>.pdf\` and \`text/<key>.txt\` only as the licence step below permits, \`deep-reads/<key>.md\`, \`sources/\` (saved listing and call pages). No other name. |
|
|
136
|
+
| **the venue corpus** | \`<papers-root>/venues/<venue>/\` (the papers directory from the project's \`paperlint.json\`; the folder is the preset's series) | **shared by every paper that targets the venue**, collected once and reused by every later mode. \`papers.json\` (one row per paper: winners \`award\`, ordinary \`accepted\`, corpus 2 \`sister\`; every copy with its licence; how the corpus was collected, in fields: each edition's \`listed_from\`, \`read_on\`, \`accepted\` (the listing's row count), \`capped\` and \`proxy\`, and \`rebuild\`, the commands run), \`MANIFEST.md\` (optional: caveats only, the prose no field holds), \`measurements.json\` (L0/L1 codes keyed by the row's \`key\`), \`pdf/<key>.pdf\` and \`text/<key>.txt\` only as the licence step below permits, \`deep-reads/<key>.md\`, \`sources/\` (saved listing and call pages). No other name. |
|
|
137
137
|
| **the scorecard** | the section **"Strong-accept scorecard (M1–M10)"** of the paper's \`PIPELINE-STATUS.md\` | a row per mechanism: status (pass / partial / fail), evidence (\`file:line\`), owner, plan or "accept ceiling". **The only place the verdicts live**; update it there. |
|
|
138
138
|
| **the reasoning** | \`<paper>/reviews/<YYYY-MM-DD>-study-accepted-<venue>-<mode>.md\` | a dated report per run, with frontmatter (below). It keeps the reasoning, the selection and the per-mechanism argument, and **points to the scorecard section; it never copies the table**. |
|
|
139
139
|
| **the stage** | the SETUP row with id \`venuebar\` in \`PIPELINE-STATUS.md\` (the id is kept for existing scorecards) | status, date, the mode and depth run, and a link to the report. One row, updated by every mode. |
|
|
@@ -62,6 +62,15 @@ var PAPER_ID_KINDS = ["doi", "arxiv", "dblp", "s2", "url"];
|
|
|
62
62
|
var KEY_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]*$/u;
|
|
63
63
|
var pathText = (path) => path.length === 0 ? "(top)" : path.join(".");
|
|
64
64
|
var problemsText = (problems) => `${CORPUS_RECORD}: ${problems.map((p) => `${pathText(p.path)}: ${p.message}`).join("; ")}`;
|
|
65
|
+
var editionCountIssue = (edition2, papers) => {
|
|
66
|
+
const listed = papers.filter(
|
|
67
|
+
(p) => p.group !== "sister" && p.edition === edition2.edition
|
|
68
|
+
).length;
|
|
69
|
+
const tally = `${String(listed)} papers of ${String(edition2.edition)} are listed`;
|
|
70
|
+
if (edition2.capped === null)
|
|
71
|
+
return listed === edition2.accepted ? null : `${tally} and ${String(edition2.accepted)} were accepted: list them all, or say in capped what was left out`;
|
|
72
|
+
return listed > edition2.accepted ? `${tally}, more than the ${String(edition2.accepted)} it accepted` : null;
|
|
73
|
+
};
|
|
65
74
|
|
|
66
75
|
// src/adapters/venue-corpus/index.ts
|
|
67
76
|
var words = external_exports.string().min(1);
|
|
@@ -164,7 +173,7 @@ var edition = external_exports.strictObject({
|
|
|
164
173
|
edition: year,
|
|
165
174
|
listed_from: webUrl,
|
|
166
175
|
read_on: date,
|
|
167
|
-
accepted: count
|
|
176
|
+
accepted: count,
|
|
168
177
|
capped: words.nullable(),
|
|
169
178
|
proxy: proxy.nullable()
|
|
170
179
|
});
|
|
@@ -199,7 +208,17 @@ var record = external_exports.strictObject({
|
|
|
199
208
|
editions: external_exports.array(edition),
|
|
200
209
|
papers: external_exports.array(paper),
|
|
201
210
|
rebuild: external_exports.array(words)
|
|
202
|
-
}).superRefine(consistent)
|
|
211
|
+
}).superRefine(consistent).superRefine((r, ctx) => {
|
|
212
|
+
r.editions.forEach((e, i) => {
|
|
213
|
+
const message = editionCountIssue(e, r.papers);
|
|
214
|
+
if (message !== null)
|
|
215
|
+
ctx.addIssue({
|
|
216
|
+
code: "custom",
|
|
217
|
+
path: ["editions", i, "accepted"],
|
|
218
|
+
message
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
});
|
|
203
222
|
function jsonOf(text) {
|
|
204
223
|
try {
|
|
205
224
|
return JSON.parse(text);
|
|
@@ -3,22 +3,13 @@
|
|
|
3
3
|
* parses to itself with a paper row's extra fields kept, and every way a file can fail to be one is
|
|
4
4
|
* refused with the zod path of each problem.
|
|
5
5
|
*/
|
|
6
|
-
import { readFileSync } from "node:fs";
|
|
7
|
-
import { dirname, join } from "node:path";
|
|
8
|
-
import { fileURLToPath } from "node:url";
|
|
9
6
|
import { describe, expect, it } from "vitest";
|
|
10
|
-
import { z } from "zod";
|
|
11
7
|
import {
|
|
12
8
|
problemsText,
|
|
13
9
|
type Paper,
|
|
14
10
|
type VenueCorpus,
|
|
15
11
|
} from "../../domain/venue-corpus.ts";
|
|
16
|
-
import {
|
|
17
|
-
SCHEMA_FILE,
|
|
18
|
-
venueCorpusCodec,
|
|
19
|
-
venueCorpusJsonSchema,
|
|
20
|
-
venueCorpusSchemaText,
|
|
21
|
-
} from "./index.ts";
|
|
12
|
+
import { venueCorpusCodec } from "./index.ts";
|
|
22
13
|
|
|
23
14
|
const parse = venueCorpusCodec.parse;
|
|
24
15
|
|
|
@@ -51,9 +42,9 @@ const EDITION = {
|
|
|
51
42
|
edition: 2026,
|
|
52
43
|
listed_from: "https://conf.researchr.org/home/icse-2026/agent-2026",
|
|
53
44
|
read_on: "2026-11-03",
|
|
54
|
-
accepted:
|
|
45
|
+
accepted: 1,
|
|
55
46
|
capped: null,
|
|
56
|
-
proxy: { what: "distinguished-paper award", papers:
|
|
47
|
+
proxy: { what: "distinguished-paper award", papers: 1 },
|
|
57
48
|
} as const;
|
|
58
49
|
|
|
59
50
|
const RECORD = {
|
|
@@ -96,7 +87,7 @@ describe("parsing a papers.json", () => {
|
|
|
96
87
|
});
|
|
97
88
|
|
|
98
89
|
it("a sister paper names its venue, year and where it was found; an unknown copy stores under NOASSERTION", () => {
|
|
99
|
-
const { edition, ...rest } = PAPER;
|
|
90
|
+
const { edition, ...rest } = { ...PAPER, key: "nlbse-2025-07" };
|
|
100
91
|
const sister: Paper = {
|
|
101
92
|
...rest,
|
|
102
93
|
group: "sister",
|
|
@@ -113,7 +104,7 @@ describe("parsing a papers.json", () => {
|
|
|
113
104
|
},
|
|
114
105
|
],
|
|
115
106
|
};
|
|
116
|
-
const record: VenueCorpus = { ...RECORD, papers: [sister] };
|
|
107
|
+
const record: VenueCorpus = { ...RECORD, papers: [PAPER, sister] };
|
|
117
108
|
// Guards: the sister shape and the unknown-origin copy are both representable.
|
|
118
109
|
expect([edition, parse(text(record))]).toEqual([
|
|
119
110
|
2026,
|
|
@@ -150,8 +141,13 @@ describe("a copy whose licence was never read", () => {
|
|
|
150
141
|
const facts = {
|
|
151
142
|
...RECORD,
|
|
152
143
|
editions: [
|
|
153
|
-
|
|
154
|
-
{
|
|
144
|
+
EDITION,
|
|
145
|
+
{
|
|
146
|
+
...EDITION,
|
|
147
|
+
edition: 2025,
|
|
148
|
+
capped: "the research track only, 100 of 312",
|
|
149
|
+
proxy: null,
|
|
150
|
+
},
|
|
155
151
|
],
|
|
156
152
|
rebuild: [],
|
|
157
153
|
};
|
|
@@ -175,7 +171,7 @@ const REFUSED: readonly (readonly [string, string, string])[] = [
|
|
|
175
171
|
[
|
|
176
172
|
"🔴 a key two papers share",
|
|
177
173
|
text({ ...RECORD, papers: [PAPER, { ...PAPER, title: "Other" }] }),
|
|
178
|
-
'papers.1.key: "2026-01" is the key of papers.0 too',
|
|
174
|
+
'papers.1.key: "2026-01" is the key of papers.0 too; editions.0.accepted: 2 papers of 2026 are listed and 1 were accepted: list them all, or say in capped what was left out',
|
|
179
175
|
],
|
|
180
176
|
[
|
|
181
177
|
"a misspelt key at the top level",
|
|
@@ -225,7 +221,7 @@ const REFUSED: readonly (readonly [string, string, string])[] = [
|
|
|
225
221
|
[
|
|
226
222
|
"a paper of an edition the record does not list",
|
|
227
223
|
withPaper({ ...PAPER, edition: 2025 }),
|
|
228
|
-
"papers.0.edition: 2025 is not one of editions[].edition (2026)",
|
|
224
|
+
"papers.0.edition: 2025 is not one of editions[].edition (2026); editions.0.accepted: 0 papers of 2026 are listed and 1 were accepted: list them all, or say in capped what was left out",
|
|
229
225
|
],
|
|
230
226
|
[
|
|
231
227
|
"an edition listed twice",
|
|
@@ -254,14 +250,19 @@ const REFUSED: readonly (readonly [string, string, string])[] = [
|
|
|
254
250
|
"papers.0.key: a letter or digit, then letters, digits, '_' or '-'",
|
|
255
251
|
],
|
|
256
252
|
[
|
|
257
|
-
"🔴 an edition that leaves out what was capped, and a proxy marking -1 papers",
|
|
253
|
+
"🔴 an edition that leaves out how many it accepted and what was capped, and a proxy marking -1 papers",
|
|
258
254
|
text({
|
|
259
255
|
...RECORD,
|
|
260
256
|
editions: [
|
|
261
|
-
{
|
|
257
|
+
{
|
|
258
|
+
...EDITION,
|
|
259
|
+
accepted: undefined,
|
|
260
|
+
capped: undefined,
|
|
261
|
+
proxy: { what: "award", papers: -1 },
|
|
262
|
+
},
|
|
262
263
|
],
|
|
263
264
|
}),
|
|
264
|
-
"editions.0.capped: Invalid input: expected string, received undefined; editions.0.proxy.papers: Too small: expected number to be >=0",
|
|
265
|
+
"editions.0.accepted: Invalid input: expected number, received undefined; editions.0.capped: Invalid input: expected string, received undefined; editions.0.proxy.papers: Too small: expected number to be >=0",
|
|
265
266
|
],
|
|
266
267
|
[
|
|
267
268
|
"🔴 a record without its rebuild commands",
|
|
@@ -302,36 +303,3 @@ describe("refusing what is not a papers.json", () => {
|
|
|
302
303
|
);
|
|
303
304
|
});
|
|
304
305
|
});
|
|
305
|
-
|
|
306
|
-
describe("venueCorpusJsonSchema — the shipped schema file", () => {
|
|
307
|
-
const SHIPPED = join(
|
|
308
|
-
dirname(fileURLToPath(import.meta.url)),
|
|
309
|
-
"../../../",
|
|
310
|
-
SCHEMA_FILE,
|
|
311
|
-
);
|
|
312
|
-
|
|
313
|
-
it("🔴 is the generated schema, byte for byte", () => {
|
|
314
|
-
// Guards: the schema the skill points at never drifts from the parser that judges the record.
|
|
315
|
-
expect(
|
|
316
|
-
readFileSync(SHIPPED, "utf8"),
|
|
317
|
-
`${SCHEMA_FILE} is stale: regenerate it with \`npm run schema:venue-corpus\``,
|
|
318
|
-
).toBe(venueCorpusSchemaText());
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
it("🔴 says the parser checks what a schema cannot, and names the record's fields", () => {
|
|
322
|
-
const schema = z
|
|
323
|
-
.looseObject({
|
|
324
|
-
description: z.string(),
|
|
325
|
-
properties: z.looseObject({}),
|
|
326
|
-
})
|
|
327
|
-
.parse(venueCorpusJsonSchema());
|
|
328
|
-
expect(schema.description).toContain("papers.json");
|
|
329
|
-
expect(schema.description).toContain("corpus-licences.js");
|
|
330
|
-
expect(Object.keys(schema.properties)).toEqual([
|
|
331
|
-
"venue",
|
|
332
|
-
"editions",
|
|
333
|
-
"papers",
|
|
334
|
-
"rebuild",
|
|
335
|
-
]);
|
|
336
|
-
});
|
|
337
|
-
});
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
PAPER_ID_KINDS,
|
|
22
22
|
type Copy,
|
|
23
23
|
type Edition,
|
|
24
|
+
editionCountIssue,
|
|
24
25
|
type Licence,
|
|
25
26
|
type ParsedCorpus,
|
|
26
27
|
type Paper,
|
|
@@ -172,7 +173,7 @@ const edition = z.strictObject({
|
|
|
172
173
|
edition: year,
|
|
173
174
|
listed_from: webUrl,
|
|
174
175
|
read_on: date,
|
|
175
|
-
accepted: count
|
|
176
|
+
accepted: count,
|
|
176
177
|
capped: words.nullable(),
|
|
177
178
|
proxy: proxy.nullable(),
|
|
178
179
|
});
|
|
@@ -215,7 +216,19 @@ const record = z
|
|
|
215
216
|
papers: z.array(paper),
|
|
216
217
|
rebuild: z.array(words),
|
|
217
218
|
})
|
|
218
|
-
.superRefine(consistent)
|
|
219
|
+
.superRefine(consistent)
|
|
220
|
+
.superRefine((r, ctx) => {
|
|
221
|
+
// Each edition's papers add up to what it accepted (the domain decides how).
|
|
222
|
+
r.editions.forEach((e, i) => {
|
|
223
|
+
const message = editionCountIssue(e, r.papers);
|
|
224
|
+
if (message !== null)
|
|
225
|
+
ctx.addIssue({
|
|
226
|
+
code: "custom",
|
|
227
|
+
path: ["editions", i, "accepted"],
|
|
228
|
+
message,
|
|
229
|
+
});
|
|
230
|
+
});
|
|
231
|
+
});
|
|
219
232
|
|
|
220
233
|
// ── the schemas ARE the domain's types (as in the study registry's adapter) ──────────────────
|
|
221
234
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The JSON Schema `study-accepted-papers` ships for `papers.json`: generated from the parser, so the
|
|
3
|
+
* fields an editor or a skill reads are the ones the record is judged by.
|
|
4
|
+
*/
|
|
5
|
+
import { readFileSync } from "node:fs";
|
|
6
|
+
import { dirname, join } from "node:path";
|
|
7
|
+
import { fileURLToPath } from "node:url";
|
|
8
|
+
import { describe, expect, it } from "vitest";
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
import {
|
|
11
|
+
SCHEMA_FILE,
|
|
12
|
+
venueCorpusJsonSchema,
|
|
13
|
+
venueCorpusSchemaText,
|
|
14
|
+
} from "./index.ts";
|
|
15
|
+
|
|
16
|
+
describe("venueCorpusJsonSchema — the shipped schema file", () => {
|
|
17
|
+
const SHIPPED = join(
|
|
18
|
+
dirname(fileURLToPath(import.meta.url)),
|
|
19
|
+
"../../../",
|
|
20
|
+
SCHEMA_FILE,
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
it("🔴 is the generated schema, byte for byte", () => {
|
|
24
|
+
// Guards: the schema the skill points at never drifts from the parser that judges the record.
|
|
25
|
+
expect(
|
|
26
|
+
readFileSync(SHIPPED, "utf8"),
|
|
27
|
+
`${SCHEMA_FILE} is stale: regenerate it with \`npm run schema:venue-corpus\``,
|
|
28
|
+
).toBe(venueCorpusSchemaText());
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it("🔴 says the parser checks what a schema cannot, and names the record's fields", () => {
|
|
32
|
+
const schema = z
|
|
33
|
+
.looseObject({
|
|
34
|
+
description: z.string(),
|
|
35
|
+
properties: z.looseObject({}),
|
|
36
|
+
})
|
|
37
|
+
.parse(venueCorpusJsonSchema());
|
|
38
|
+
expect(schema.description).toContain("papers.json");
|
|
39
|
+
expect(schema.description).toContain("corpus-licences.js");
|
|
40
|
+
expect(Object.keys(schema.properties)).toEqual([
|
|
41
|
+
"venue",
|
|
42
|
+
"editions",
|
|
43
|
+
"papers",
|
|
44
|
+
"rebuild",
|
|
45
|
+
]);
|
|
46
|
+
});
|
|
47
|
+
});
|
package/src/cli-e2e.test.mjs
CHANGED
|
@@ -180,11 +180,11 @@ it("config is assembled, and consumer data gets through", async () => {
|
|
|
180
180
|
const ruleBlocks = (c) => c.filter((b) => Array.isArray(b.files));
|
|
181
181
|
check(
|
|
182
182
|
"without a LaTeX language the config still gets built — a corpus with no .tex is not a reason to refuse",
|
|
183
|
-
Array.isArray(cfg) && ruleBlocks(cfg).length ===
|
|
183
|
+
Array.isArray(cfg) && ruleBlocks(cfg).length === 5,
|
|
184
184
|
);
|
|
185
185
|
check(
|
|
186
186
|
"with a LaTeX language two blocks are added: paper.tex, and the files it includes",
|
|
187
|
-
ruleBlocks(buildConfig({}, {})).length ===
|
|
187
|
+
ruleBlocks(buildConfig({}, {})).length === 7,
|
|
188
188
|
);
|
|
189
189
|
check(
|
|
190
190
|
"🔴 the project's paper TEMPLATE directory is ignored — flat config does not skip dot-directories",
|