paperlint 18.3.1 → 18.3.2
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 +1 -1
- package/presets/agent-2027.jsonc +33 -0
- package/src/presets.test.ts +23 -0
package/package.json
CHANGED
package/presets/agent-2027.jsonc
CHANGED
|
@@ -45,6 +45,39 @@
|
|
|
45
45
|
// «Submission link» on the call's page: HotCRP.
|
|
46
46
|
"portal": { "kind": "hotcrp", "url": "https://icse2027-agent.hotcrp.com" },
|
|
47
47
|
|
|
48
|
+
// The form's own fields, read 2026-11-20 with an author's token from
|
|
49
|
+
// https://icse2027-agent.hotcrp.com/api/searchcompletion (HTTP 200). Verbatim, the completions
|
|
50
|
+
// that name the form's fields:
|
|
51
|
+
// «has:SubTyp»
|
|
52
|
+
// «SubTyp:"Full paper (up to 8 pages, including references)"»
|
|
53
|
+
// «SubTyp:"Short paper (up to 5 pages, including references)"»
|
|
54
|
+
// «has:Att» «Att:{comparator}» «Att:{filename}»
|
|
55
|
+
// No `topic:` completion, so the form offers no topics. `SubTyp`'s label and that it is required
|
|
56
|
+
// come from the portal: a dry run of `paperlint submission new` answered «Submission Type: Entry
|
|
57
|
+
// required to complete submission». `Att` is a file field: has/comparator/filename are exactly the
|
|
58
|
+
// search examples of HotCRP's attachments option
|
|
59
|
+
// (https://github.com/kohler/hotcrp/blob/master/src/options/o_attachments.php, `search_examples`,
|
|
60
|
+
// read 2026-11-20), so its kind is `attachments`; paperlint sends no files, and the command says it
|
|
61
|
+
// stays on the site. The completions carry no title for it, so it has no `label`, and the portal's
|
|
62
|
+
// answer named only Submission Type, so it is not marked required.
|
|
63
|
+
"submission_fields": {
|
|
64
|
+
"source": "portal",
|
|
65
|
+
"url": "https://icse2027-agent.hotcrp.com/api/searchcompletion",
|
|
66
|
+
"read": "2026-11-20",
|
|
67
|
+
"fields": {
|
|
68
|
+
"SubTyp": {
|
|
69
|
+
"kind": "choice",
|
|
70
|
+
"required": true,
|
|
71
|
+
"label": "Submission Type",
|
|
72
|
+
"options": [
|
|
73
|
+
"Full paper (up to 8 pages, including references)",
|
|
74
|
+
"Short paper (up to 5 pages, including references)",
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
"Att": { "kind": "attachments" },
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
|
|
48
81
|
// The portal's reading (2026-11-08): `"sub":1795262399` on https://icse2027-agent.hotcrp.com/deadlines,
|
|
49
82
|
// shown as «Saturday Nov 21, 2026, 6:59:59 AM EST» = 2026-11-21T11:59:59Z = the end of 20 Nov AoE,
|
|
50
83
|
// the call's extended date. Extended from `"sub":1794657599`, «Saturday Nov 14, 2026, 6:59:59 AM
|
package/src/presets.test.ts
CHANGED
|
@@ -92,6 +92,29 @@ describe("shipped presets", () => {
|
|
|
92
92
|
url: "https://conf.researchr.org/home/ase-2026/agenticdev-2026",
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
+
|
|
96
|
+
it("paperlint:agent-2027 records its HotCRP form: a required Submission Type and the attachments field", () => {
|
|
97
|
+
const r = resolve("paperlint:agent-2027");
|
|
98
|
+
expect(r.ok).toBe(true);
|
|
99
|
+
if (!r.ok) return;
|
|
100
|
+
expect(r.value.submissionFields).toEqual({
|
|
101
|
+
source: "portal",
|
|
102
|
+
url: "https://icse2027-agent.hotcrp.com/api/searchcompletion",
|
|
103
|
+
read: "2026-11-20",
|
|
104
|
+
fields: {
|
|
105
|
+
SubTyp: {
|
|
106
|
+
kind: "choice",
|
|
107
|
+
required: true,
|
|
108
|
+
label: "Submission Type",
|
|
109
|
+
options: [
|
|
110
|
+
"Full paper (up to 8 pages, including references)",
|
|
111
|
+
"Short paper (up to 5 pages, including references)",
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
Att: { kind: "attachments", required: false, label: null },
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
});
|
|
95
118
|
});
|
|
96
119
|
|
|
97
120
|
describe("shipped presets: paperlint:msr-2027", () => {
|