paperlint 20.1.2 → 20.2.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/CLAUDE.md +5 -1
- package/dist/adapters/venue-corpus/index.d.ts +345 -0
- package/dist/adapters/venue-corpus/index.d.ts.map +1 -0
- package/dist/adapters/venue-corpus/index.js +205 -0
- package/dist/adapters/venue-corpus/index.js.map +1 -0
- package/dist/domain/licence.d.ts +51 -0
- package/dist/domain/licence.d.ts.map +1 -0
- package/dist/domain/licence.js +61 -0
- package/dist/domain/licence.js.map +1 -0
- package/dist/domain/venue-corpus.d.ts +120 -0
- package/dist/domain/venue-corpus.d.ts.map +1 -0
- package/dist/domain/venue-corpus.js +13 -0
- package/dist/domain/venue-corpus.js.map +1 -0
- package/dist/eslint-rules/CLAUDE.md.spec.d.ts.map +1 -1
- package/dist/eslint-rules/CLAUDE.md.spec.js +1 -0
- package/dist/eslint-rules/CLAUDE.md.spec.js.map +1 -1
- package/dist/ports/venue-corpus-codec.d.ts +11 -0
- package/dist/ports/venue-corpus-codec.d.ts.map +1 -0
- package/dist/ports/venue-corpus-codec.js +2 -0
- package/dist/ports/venue-corpus-codec.js.map +1 -0
- package/dist/skill-chunks/chunk-5KCU4WTN.js +108 -0
- package/dist/skill-chunks/{chunk-X4VKG4KT.js → chunk-6YEM4VDI.js} +11 -9
- package/dist/skill-chunks/{chunk-L3NJUJUP.js → chunk-CXAGKT44.js} +5 -3
- package/dist/skill-chunks/{chunk-6NU6CXUS.js → chunk-J5XYPERO.js} +12 -72
- package/dist/skill-chunks/{chunk-IREAROCV.js → chunk-Z5YMDZYW.js} +4 -0
- package/dist/skills/study-accepted-papers/scripts/corpus-licences-core.d.ts +54 -0
- package/dist/skills/study-accepted-papers/scripts/corpus-licences.d.ts +2 -0
- package/docs/design/venue-corpus.md +250 -0
- package/docs/venues.md +144 -21
- package/eslint-rules/CLAUDE.md +5 -1
- package/eslint-rules/CLAUDE.md.spec.ts +3 -0
- package/package.json +2 -1
- package/scripts/bundle-skills.ts +1 -0
- package/scripts/venue-corpus-schema.test.ts +39 -0
- package/scripts/venue-corpus-schema.ts +17 -0
- package/skills/argument-arc/scripts/headings.js +6 -4
- package/skills/cold-read-diff/scripts/cold-read.js +6 -4
- package/skills/paper-pipeline/scripts/extract-ref-facts.js +6 -5
- package/skills/pc-panel-review/scripts/prior-reviews.js +7 -5
- package/skills/study-accepted-papers/SKILL.md +28 -2
- package/skills/study-accepted-papers/SKILL.md.spec.ts +27 -1
- package/skills/study-accepted-papers/papers.schema.json +427 -0
- package/skills/study-accepted-papers/scripts/corpus-licences-core.js +180 -0
- package/skills/study-accepted-papers/scripts/corpus-licences-core.ts +302 -0
- package/skills/study-accepted-papers/scripts/corpus-licences.js +383 -0
- package/skills/study-accepted-papers/scripts/corpus-licences.test.ts +485 -0
- package/skills/study-accepted-papers/scripts/corpus-licences.ts +27 -0
- package/skills/verify-citations/scripts/bib-authors.js +6 -5
- package/skills/verify-citations/scripts/verify-cites.js +6 -5
- package/src/adapters/venue-corpus/index.test.ts +279 -0
- package/src/adapters/venue-corpus/index.ts +286 -0
- package/src/domain/licence.test.ts +122 -0
- package/src/domain/licence.ts +95 -0
- package/src/domain/venue-corpus.ts +130 -0
- package/src/ports/venue-corpus-codec.ts +11 -0
|
@@ -10,17 +10,18 @@ import {
|
|
|
10
10
|
bibliographyAt,
|
|
11
11
|
bibliographyUnreadWhy,
|
|
12
12
|
isMain
|
|
13
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
13
|
+
} from "../../../dist/skill-chunks/chunk-6YEM4VDI.js";
|
|
14
14
|
import {
|
|
15
15
|
latexReader,
|
|
16
16
|
sourcesCodec
|
|
17
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
18
|
-
import "../../../dist/skill-chunks/chunk-
|
|
17
|
+
} from "../../../dist/skill-chunks/chunk-CXAGKT44.js";
|
|
18
|
+
import "../../../dist/skill-chunks/chunk-J5XYPERO.js";
|
|
19
|
+
import "../../../dist/skill-chunks/chunk-C2G5EK7S.js";
|
|
20
|
+
import "../../../dist/skill-chunks/chunk-Z5YMDZYW.js";
|
|
19
21
|
import {
|
|
20
22
|
absolutePath,
|
|
21
23
|
nodeFiles
|
|
22
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
23
|
-
import "../../../dist/skill-chunks/chunk-C2G5EK7S.js";
|
|
24
|
+
} from "../../../dist/skill-chunks/chunk-5KCU4WTN.js";
|
|
24
25
|
import "../../../dist/skill-chunks/chunk-4MHEJ6FR.js";
|
|
25
26
|
import "../../../dist/skill-chunks/chunk-PJ4KNV4J.js";
|
|
26
27
|
|
|
@@ -5,22 +5,24 @@ import { dirname as __plDirname } from "node:path";
|
|
|
5
5
|
const require = __plCreateRequire(import.meta.url);
|
|
6
6
|
const __filename = __plFileURLToPath(import.meta.url);
|
|
7
7
|
const __dirname = __plDirname(__filename);
|
|
8
|
+
import {
|
|
9
|
+
fieldOf,
|
|
10
|
+
isRecord
|
|
11
|
+
} from "../../../dist/skill-chunks/chunk-J5XYPERO.js";
|
|
12
|
+
import "../../../dist/skill-chunks/chunk-C2G5EK7S.js";
|
|
8
13
|
import {
|
|
9
14
|
CONFIG_FILE,
|
|
10
15
|
ROOT_ONLY_KEYS,
|
|
11
16
|
SETTINGS_KEYS,
|
|
12
17
|
findProjectRoot
|
|
13
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
18
|
+
} from "../../../dist/skill-chunks/chunk-Z5YMDZYW.js";
|
|
14
19
|
import {
|
|
15
20
|
callerPath,
|
|
16
21
|
err,
|
|
17
|
-
fieldOf,
|
|
18
|
-
isRecord,
|
|
19
22
|
messageOf,
|
|
20
23
|
nodeFiles,
|
|
21
24
|
ok
|
|
22
|
-
} from "../../../dist/skill-chunks/chunk-
|
|
23
|
-
import "../../../dist/skill-chunks/chunk-C2G5EK7S.js";
|
|
25
|
+
} from "../../../dist/skill-chunks/chunk-5KCU4WTN.js";
|
|
24
26
|
import {
|
|
25
27
|
external_exports
|
|
26
28
|
} from "../../../dist/skill-chunks/chunk-4MHEJ6FR.js";
|
|
@@ -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:76bb88cdae7aef50 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
|
|
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), `MANIFEST.md` (sources, years, what was capped, the proxy and its base rate, the commands run), `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. |
|
|
@@ -138,6 +138,32 @@ scorecard: PIPELINE-STATUS.md#strong-accept-scorecard-m1m10
|
|
|
138
138
|
---
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
+
## The record before any PDF or text
|
|
142
|
+
|
|
143
|
+
The corpus keeps third-party papers, so what it may store is decided per copy, before anything is
|
|
144
|
+
downloaded or extracted. The record's fields are in `${CLAUDE_SKILL_DIR}/papers.schema.json`; the
|
|
145
|
+
script below refuses a record that breaks them, with the path of the field, and checks what a schema
|
|
146
|
+
cannot (unique keys, a paper's edition among the listed ones, a stored copy's `fetched_from`).
|
|
147
|
+
|
|
148
|
+
1. **A row per paper** in `papers.json`, with its ids, title, authors and abstract: metadata, kept
|
|
149
|
+
whatever the licence.
|
|
150
|
+
2. **A copy per version you find** (the published one, the arXiv preprint), each with the licence read
|
|
151
|
+
from the source `docs/venues.md` names for that kind of copy ("Where a copy's licence is read
|
|
152
|
+
from"): `read_from` is the page or API response, `read_on` the date. Never the licence line
|
|
153
|
+
printed inside a PDF: it can belong to another copy. No source gives it → `{ "id": "NOASSERTION" }`.
|
|
154
|
+
3. **Run** `node ${CLAUDE_SKILL_DIR}/scripts/corpus-licences.js <venue>`.
|
|
155
|
+
Exit 1: the record does not parse, or there is not exactly one; fix what it names and run it again. Exit 0: one line per paper
|
|
156
|
+
and kind (`text`, `pdf`).
|
|
157
|
+
4. **Store only on a `keep` line**: download from that copy to `pdf/<key>.pdf`, or extract to
|
|
158
|
+
`text/<key>.txt`, then add the kind to that copy's `stored` and set `fetched_from` to the URL the
|
|
159
|
+
bytes came from. On a `none` line store nothing of that kind: read the copy where it is, in a
|
|
160
|
+
scratch folder outside the repository, and keep only codes, short quotes and ids. A copy refused
|
|
161
|
+
only as "permits it only in a project declared non-commercial" may be stored when the author says
|
|
162
|
+
the project is non-commercial.
|
|
163
|
+
|
|
164
|
+
`corpus/record` and `corpus/licence` (not shipped yet) will hold what this step writes; until they
|
|
165
|
+
ship, the script is the only check of the record.
|
|
166
|
+
|
|
141
167
|
## Before any level: pin the venue's stated bar
|
|
142
168
|
|
|
143
169
|
`WebFetch` the current call for papers and, if separate, the reviewer guidelines. Capture in the
|
|
@@ -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
|
|
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), \`MANIFEST.md\` (sources, years, what was capped, the proxy and its base rate, the commands run), \`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. |
|
|
@@ -163,6 +163,32 @@ scorecard: PIPELINE-STATUS.md#strong-accept-scorecard-m1m10
|
|
|
163
163
|
---
|
|
164
164
|
\`\`\`
|
|
165
165
|
|
|
166
|
+
## The record before any PDF or text
|
|
167
|
+
|
|
168
|
+
The corpus keeps third-party papers, so what it may store is decided per copy, before anything is
|
|
169
|
+
downloaded or extracted. The record's fields are in \`\${CLAUDE_SKILL_DIR}/papers.schema.json\`; the
|
|
170
|
+
script below refuses a record that breaks them, with the path of the field, and checks what a schema
|
|
171
|
+
cannot (unique keys, a paper's edition among the listed ones, a stored copy's \`fetched_from\`).
|
|
172
|
+
|
|
173
|
+
1. **A row per paper** in \`papers.json\`, with its ids, title, authors and abstract: metadata, kept
|
|
174
|
+
whatever the licence.
|
|
175
|
+
2. **A copy per version you find** (the published one, the arXiv preprint), each with the licence read
|
|
176
|
+
from the source \`docs/venues.md\` names for that kind of copy ("Where a copy's licence is read
|
|
177
|
+
from"): \`read_from\` is the page or API response, \`read_on\` the date. Never the licence line
|
|
178
|
+
printed inside a PDF: it can belong to another copy. No source gives it → \`{ "id": "NOASSERTION" }\`.
|
|
179
|
+
3. **Run** \`node \${CLAUDE_SKILL_DIR}/scripts/corpus-licences.js <venue>\`.
|
|
180
|
+
Exit 1: the record does not parse, or there is not exactly one; fix what it names and run it again. Exit 0: one line per paper
|
|
181
|
+
and kind (\`text\`, \`pdf\`).
|
|
182
|
+
4. **Store only on a \`keep\` line**: download from that copy to \`pdf/<key>.pdf\`, or extract to
|
|
183
|
+
\`text/<key>.txt\`, then add the kind to that copy's \`stored\` and set \`fetched_from\` to the URL the
|
|
184
|
+
bytes came from. On a \`none\` line store nothing of that kind: read the copy where it is, in a
|
|
185
|
+
scratch folder outside the repository, and keep only codes, short quotes and ids. A copy refused
|
|
186
|
+
only as "permits it only in a project declared non-commercial" may be stored when the author says
|
|
187
|
+
the project is non-commercial.
|
|
188
|
+
|
|
189
|
+
\`corpus/record\` and \`corpus/licence\` (not shipped yet) will hold what this step writes; until they
|
|
190
|
+
ship, the script is the only check of the record.
|
|
191
|
+
|
|
166
192
|
## Before any level: pin the venue's stated bar
|
|
167
193
|
|
|
168
194
|
\`WebFetch\` the current call for papers and, if separate, the reviewer guidelines. Capture in the
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"venue": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1
|
|
8
|
+
},
|
|
9
|
+
"editions": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"edition": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"exclusiveMinimum": 0,
|
|
17
|
+
"maximum": 9007199254740991
|
|
18
|
+
},
|
|
19
|
+
"listed_from": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "uri"
|
|
22
|
+
},
|
|
23
|
+
"read_on": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "date",
|
|
26
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
27
|
+
},
|
|
28
|
+
"accepted": {
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"minimum": 0,
|
|
31
|
+
"maximum": 9007199254740991
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"edition",
|
|
36
|
+
"listed_from",
|
|
37
|
+
"read_on"
|
|
38
|
+
],
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"papers": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"oneOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"key": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
52
|
+
},
|
|
53
|
+
"title": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1
|
|
56
|
+
},
|
|
57
|
+
"authors": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"abstract": {
|
|
65
|
+
"type": [
|
|
66
|
+
"string",
|
|
67
|
+
"null"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"ids": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"doi": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"minLength": 1
|
|
76
|
+
},
|
|
77
|
+
"arxiv": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1
|
|
80
|
+
},
|
|
81
|
+
"dblp": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1
|
|
84
|
+
},
|
|
85
|
+
"s2": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1
|
|
88
|
+
},
|
|
89
|
+
"url": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"format": "uri"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
"copies": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"oneOf": [
|
|
100
|
+
{
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"version": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"enum": [
|
|
106
|
+
"published",
|
|
107
|
+
"accepted",
|
|
108
|
+
"preprint"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"url": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"format": "uri"
|
|
114
|
+
},
|
|
115
|
+
"licence": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"id": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"read_from": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"format": "uri"
|
|
124
|
+
},
|
|
125
|
+
"read_on": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"format": "date",
|
|
128
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"id"
|
|
133
|
+
],
|
|
134
|
+
"additionalProperties": false
|
|
135
|
+
},
|
|
136
|
+
"stored": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"enum": [
|
|
141
|
+
"text",
|
|
142
|
+
"pdf"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"fetched_from": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"format": "uri"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": [
|
|
152
|
+
"version",
|
|
153
|
+
"url",
|
|
154
|
+
"licence",
|
|
155
|
+
"stored"
|
|
156
|
+
],
|
|
157
|
+
"additionalProperties": false
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "object",
|
|
161
|
+
"properties": {
|
|
162
|
+
"version": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"const": "unknown"
|
|
165
|
+
},
|
|
166
|
+
"licence": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"properties": {
|
|
169
|
+
"id": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"const": "NOASSERTION"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": [
|
|
175
|
+
"id"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": false
|
|
178
|
+
},
|
|
179
|
+
"stored": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"enum": [
|
|
184
|
+
"text",
|
|
185
|
+
"pdf"
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"fetched_from": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"format": "uri"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"version",
|
|
196
|
+
"licence",
|
|
197
|
+
"stored"
|
|
198
|
+
],
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"group": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"enum": [
|
|
207
|
+
"accepted",
|
|
208
|
+
"award"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"edition": {
|
|
212
|
+
"type": "integer",
|
|
213
|
+
"exclusiveMinimum": 0,
|
|
214
|
+
"maximum": 9007199254740991
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"required": [
|
|
218
|
+
"key",
|
|
219
|
+
"title",
|
|
220
|
+
"ids",
|
|
221
|
+
"copies",
|
|
222
|
+
"group",
|
|
223
|
+
"edition"
|
|
224
|
+
],
|
|
225
|
+
"additionalProperties": {}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"key": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
233
|
+
},
|
|
234
|
+
"title": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"minLength": 1
|
|
237
|
+
},
|
|
238
|
+
"authors": {
|
|
239
|
+
"type": "array",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"minLength": 1
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"abstract": {
|
|
246
|
+
"type": [
|
|
247
|
+
"string",
|
|
248
|
+
"null"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"ids": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"doi": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"minLength": 1
|
|
257
|
+
},
|
|
258
|
+
"arxiv": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"minLength": 1
|
|
261
|
+
},
|
|
262
|
+
"dblp": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"minLength": 1
|
|
265
|
+
},
|
|
266
|
+
"s2": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"minLength": 1
|
|
269
|
+
},
|
|
270
|
+
"url": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"format": "uri"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"additionalProperties": false
|
|
276
|
+
},
|
|
277
|
+
"copies": {
|
|
278
|
+
"type": "array",
|
|
279
|
+
"items": {
|
|
280
|
+
"oneOf": [
|
|
281
|
+
{
|
|
282
|
+
"type": "object",
|
|
283
|
+
"properties": {
|
|
284
|
+
"version": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"enum": [
|
|
287
|
+
"published",
|
|
288
|
+
"accepted",
|
|
289
|
+
"preprint"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"url": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"format": "uri"
|
|
295
|
+
},
|
|
296
|
+
"licence": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"id": {
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
"read_from": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"format": "uri"
|
|
305
|
+
},
|
|
306
|
+
"read_on": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"format": "date",
|
|
309
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": [
|
|
313
|
+
"id"
|
|
314
|
+
],
|
|
315
|
+
"additionalProperties": false
|
|
316
|
+
},
|
|
317
|
+
"stored": {
|
|
318
|
+
"type": "array",
|
|
319
|
+
"items": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"enum": [
|
|
322
|
+
"text",
|
|
323
|
+
"pdf"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"fetched_from": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"format": "uri"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"version",
|
|
334
|
+
"url",
|
|
335
|
+
"licence",
|
|
336
|
+
"stored"
|
|
337
|
+
],
|
|
338
|
+
"additionalProperties": false
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"type": "object",
|
|
342
|
+
"properties": {
|
|
343
|
+
"version": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"const": "unknown"
|
|
346
|
+
},
|
|
347
|
+
"licence": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"id": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"const": "NOASSERTION"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"required": [
|
|
356
|
+
"id"
|
|
357
|
+
],
|
|
358
|
+
"additionalProperties": false
|
|
359
|
+
},
|
|
360
|
+
"stored": {
|
|
361
|
+
"type": "array",
|
|
362
|
+
"items": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"enum": [
|
|
365
|
+
"text",
|
|
366
|
+
"pdf"
|
|
367
|
+
]
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"fetched_from": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"format": "uri"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"required": [
|
|
376
|
+
"version",
|
|
377
|
+
"licence",
|
|
378
|
+
"stored"
|
|
379
|
+
],
|
|
380
|
+
"additionalProperties": false
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"group": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"const": "sister"
|
|
388
|
+
},
|
|
389
|
+
"venue": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"minLength": 1
|
|
392
|
+
},
|
|
393
|
+
"year": {
|
|
394
|
+
"type": "integer",
|
|
395
|
+
"exclusiveMinimum": 0,
|
|
396
|
+
"maximum": 9007199254740991
|
|
397
|
+
},
|
|
398
|
+
"listed_from": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"format": "uri"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"required": [
|
|
404
|
+
"key",
|
|
405
|
+
"title",
|
|
406
|
+
"ids",
|
|
407
|
+
"copies",
|
|
408
|
+
"group",
|
|
409
|
+
"venue",
|
|
410
|
+
"year",
|
|
411
|
+
"listed_from"
|
|
412
|
+
],
|
|
413
|
+
"additionalProperties": {}
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"required": [
|
|
420
|
+
"venue",
|
|
421
|
+
"editions",
|
|
422
|
+
"papers"
|
|
423
|
+
],
|
|
424
|
+
"additionalProperties": false,
|
|
425
|
+
"title": "A venue corpus's papers.json",
|
|
426
|
+
"description": "The record of a venue corpus, papers.json: one row per paper, every copy with its licence. This schema lists the fields; it cannot express that a key is unique, that a paper's edition is one of editions[].edition, or that a copy that stores a file names where it was fetched from. `node ${CLAUDE_SKILL_DIR}/scripts/corpus-licences.js <venue>` checks those and refuses a wrong record with the path of the field."
|
|
427
|
+
}
|