Skip to content

Commit 90ecc7b

Browse files
chore(validation): record the full corpus run (#102)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2fcb395 commit 90ecc7b

2 files changed

Lines changed: 53 additions & 53 deletions

File tree

‎benchmarks/thresholds.json‎

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -127,130 +127,130 @@
127127
}
128128
},
129129
"lastFullRun": {
130-
"date": "2026-11-06",
131-
"commit": "dcc9f320",
132-
"repositories": 557,
133-
"findings": 3208,
130+
"date": "2026-11-15",
131+
"commit": "2fcb395",
132+
"repositories": 1638,
133+
"findings": 10715,
134134
"precision": 1,
135135
"recall": 1,
136136
"perDetector": {
137137
"android": {
138-
"truePositives": 10,
138+
"truePositives": 89,
139139
"falsePositives": 0,
140140
"falseNegatives": 0
141141
},
142142
"ci-images": {
143-
"truePositives": 13,
143+
"truePositives": 64,
144144
"falsePositives": 0,
145145
"falseNegatives": 0
146146
},
147147
"container": {
148-
"truePositives": 368,
148+
"truePositives": 1468,
149149
"falsePositives": 0,
150150
"falseNegatives": 0
151151
},
152152
"cpp": {
153-
"truePositives": 19,
153+
"truePositives": 276,
154154
"falsePositives": 0,
155155
"falseNegatives": 0
156156
},
157157
"dart": {
158-
"truePositives": 8,
158+
"truePositives": 140,
159159
"falsePositives": 0,
160160
"falseNegatives": 0
161161
},
162162
"database": {
163-
"truePositives": 20,
163+
"truePositives": 61,
164164
"falsePositives": 0,
165165
"falseNegatives": 0
166166
},
167167
"deno": {
168-
"truePositives": 0,
168+
"truePositives": 71,
169169
"falsePositives": 0,
170170
"falseNegatives": 0
171171
},
172172
"dotnet": {
173-
"truePositives": 304,
173+
"truePositives": 595,
174174
"falsePositives": 0,
175175
"falseNegatives": 0
176176
},
177177
"elixir": {
178-
"truePositives": 0,
178+
"truePositives": 86,
179179
"falsePositives": 0,
180180
"falseNegatives": 0
181181
},
182182
"github-actions": {
183-
"truePositives": 1262,
183+
"truePositives": 4658,
184184
"falsePositives": 0,
185185
"falseNegatives": 0
186186
},
187187
"go": {
188-
"truePositives": 111,
188+
"truePositives": 169,
189189
"falsePositives": 0,
190190
"falseNegatives": 0
191191
},
192192
"java": {
193-
"truePositives": 61,
193+
"truePositives": 74,
194194
"falsePositives": 0,
195195
"falseNegatives": 0
196196
},
197197
"kubernetes": {
198-
"truePositives": 80,
198+
"truePositives": 186,
199199
"falsePositives": 0,
200200
"falseNegatives": 0
201201
},
202202
"nodejs": {
203-
"truePositives": 349,
203+
"truePositives": 824,
204204
"falsePositives": 0,
205205
"falseNegatives": 0
206206
},
207207
"npm": {
208-
"truePositives": 108,
208+
"truePositives": 161,
209209
"falsePositives": 0,
210210
"falseNegatives": 0
211211
},
212212
"php": {
213-
"truePositives": 5,
213+
"truePositives": 72,
214214
"falsePositives": 0,
215215
"falseNegatives": 0
216216
},
217217
"python": {
218-
"truePositives": 135,
218+
"truePositives": 238,
219219
"falsePositives": 0,
220220
"falseNegatives": 0
221221
},
222222
"ruby": {
223-
"truePositives": 24,
223+
"truePositives": 296,
224224
"falsePositives": 0,
225225
"falseNegatives": 0
226226
},
227227
"rust": {
228-
"truePositives": 63,
228+
"truePositives": 131,
229229
"falsePositives": 0,
230230
"falseNegatives": 0
231231
},
232232
"scala": {
233-
"truePositives": 2,
233+
"truePositives": 77,
234234
"falsePositives": 0,
235235
"falseNegatives": 0
236236
},
237237
"serverless": {
238-
"truePositives": 168,
238+
"truePositives": 195,
239239
"falsePositives": 0,
240240
"falseNegatives": 0
241241
},
242242
"shell": {
243-
"truePositives": 12,
243+
"truePositives": 210,
244244
"falsePositives": 0,
245245
"falseNegatives": 0
246246
},
247247
"swift": {
248-
"truePositives": 20,
248+
"truePositives": 75,
249249
"falsePositives": 0,
250250
"falseNegatives": 0
251251
},
252252
"terraform": {
253-
"truePositives": 66,
253+
"truePositives": 499,
254254
"falsePositives": 0,
255255
"falseNegatives": 0
256256
}

‎docs/VALIDATION.md‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -265,34 +265,34 @@ Moved to [Differential testing: Differential testing against Pluto](validation/d
265265
Precision is true positives over true positives plus false positives; recall is true positives over true positives plus false negatives. Both come from the last full corpus run recorded in [`benchmarks/thresholds.json`](../benchmarks/thresholds.json), so a reader can regenerate every number: run `npm run record:corpus-run`, then `npm run build:coverage`. The table below is generated; a test fails when it drifts from the recorded run. `nodejs` is the Node.js runtime rules served by the npm detector. A dash means the last full run did not score that detector.
266266

267267
<!-- accuracy-tables:start -->
268-
Measured on 557 pinned repositories at commit `dcc9f320` on 2026-11-06. Regenerate with `npm run build:coverage` after `npm run record:corpus-run`.
268+
Measured on 1638 pinned repositories at commit `2fcb395` on 2026-11-15. Regenerate with `npm run build:coverage` after `npm run record:corpus-run`.
269269

270270
| Detector | Maturity | True positives | False positives | False negatives | Precision | Recall |
271271
| --- | --- | --- | --- | --- | --- | --- |
272-
| android | Supported | 10 | 0 | 0 | 1.000 | 1.000 |
273-
| ci-images | Supported | 13 | 0 | 0 | 1.000 | 1.000 |
274-
| container | Supported | 368 | 0 | 0 | 1.000 | 1.000 |
275-
| cpp | Supported | 19 | 0 | 0 | 1.000 | 1.000 |
276-
| dart | Supported | 8 | 0 | 0 | 1.000 | 1.000 |
277-
| database | Supported | 20 | 0 | 0 | 1.000 | 1.000 |
278-
| deno | Supported | 0 | 0 | 0 | n/a | n/a |
279-
| dotnet | Supported | 304 | 0 | 0 | 1.000 | 1.000 |
280-
| elixir | Supported | 0 | 0 | 0 | n/a | n/a |
281-
| github-actions | Supported | 1262 | 0 | 0 | 1.000 | 1.000 |
282-
| go | Supported | 111 | 0 | 0 | 1.000 | 1.000 |
283-
| java | Supported | 61 | 0 | 0 | 1.000 | 1.000 |
284-
| kubernetes | Supported | 80 | 0 | 0 | 1.000 | 1.000 |
285-
| nodejs | Supported | 349 | 0 | 0 | 1.000 | 1.000 |
286-
| npm | Supported | 108 | 0 | 0 | 1.000 | 1.000 |
287-
| php | Supported | 5 | 0 | 0 | 1.000 | 1.000 |
288-
| python | Supported | 135 | 0 | 0 | 1.000 | 1.000 |
289-
| ruby | Supported | 24 | 0 | 0 | 1.000 | 1.000 |
290-
| rust | Supported | 63 | 0 | 0 | 1.000 | 1.000 |
291-
| scala | Supported | 2 | 0 | 0 | 1.000 | 1.000 |
292-
| serverless | Supported | 168 | 0 | 0 | 1.000 | 1.000 |
293-
| shell | Beta | 12 | 0 | 0 | 1.000 | 1.000 |
294-
| swift | Supported | 20 | 0 | 0 | 1.000 | 1.000 |
295-
| terraform | Supported | 66 | 0 | 0 | 1.000 | 1.000 |
272+
| android | Supported | 89 | 0 | 0 | 1.000 | 1.000 |
273+
| ci-images | Supported | 64 | 0 | 0 | 1.000 | 1.000 |
274+
| container | Supported | 1468 | 0 | 0 | 1.000 | 1.000 |
275+
| cpp | Supported | 276 | 0 | 0 | 1.000 | 1.000 |
276+
| dart | Supported | 140 | 0 | 0 | 1.000 | 1.000 |
277+
| database | Supported | 61 | 0 | 0 | 1.000 | 1.000 |
278+
| deno | Supported | 71 | 0 | 0 | 1.000 | 1.000 |
279+
| dotnet | Supported | 595 | 0 | 0 | 1.000 | 1.000 |
280+
| elixir | Supported | 86 | 0 | 0 | 1.000 | 1.000 |
281+
| github-actions | Supported | 4658 | 0 | 0 | 1.000 | 1.000 |
282+
| go | Supported | 169 | 0 | 0 | 1.000 | 1.000 |
283+
| java | Supported | 74 | 0 | 0 | 1.000 | 1.000 |
284+
| kubernetes | Supported | 186 | 0 | 0 | 1.000 | 1.000 |
285+
| nodejs | Supported | 824 | 0 | 0 | 1.000 | 1.000 |
286+
| npm | Supported | 161 | 0 | 0 | 1.000 | 1.000 |
287+
| php | Supported | 72 | 0 | 0 | 1.000 | 1.000 |
288+
| python | Supported | 238 | 0 | 0 | 1.000 | 1.000 |
289+
| ruby | Supported | 296 | 0 | 0 | 1.000 | 1.000 |
290+
| rust | Supported | 131 | 0 | 0 | 1.000 | 1.000 |
291+
| scala | Supported | 77 | 0 | 0 | 1.000 | 1.000 |
292+
| serverless | Supported | 195 | 0 | 0 | 1.000 | 1.000 |
293+
| shell | Beta | 210 | 0 | 0 | 1.000 | 1.000 |
294+
| swift | Supported | 75 | 0 | 0 | 1.000 | 1.000 |
295+
| terraform | Supported | 499 | 0 | 0 | 1.000 | 1.000 |
296296
<!-- accuracy-tables:end -->
297297

298298
## Mutation testing baseline

0 commit comments

Comments
 (0)