@xgent-ai/skills 0.7.8 → 0.7.9

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.
Files changed (44) hide show
  1. package/README.md +8 -19
  2. package/bin/xgent-skills.js +23 -55
  3. package/dist/phoenix-diagram/VERSION.json +18 -18
  4. package/dist/phoenix-diagram/bundle/ENGINE.json +18 -18
  5. package/dist/phoenix-diagram/bundle/manifest.json +4 -4
  6. package/dist/phoenix-diagram/bundle/references/migration.md +1 -1
  7. package/dist/phoenix-diagram/bundle/scripts/phoenix-bootstrap.cjs +4 -103
  8. package/dist/phoenix-ui/THIRD-PARTY.json +1 -1
  9. package/dist/phoenix-ui/VERSION.json +19 -19
  10. package/dist/phoenix-ui/bundle/blobs/{567c3f42394f9aee9b048a001016a7ba9d8773d78027f8c995c379886634e719 → 0c95d5c7163bc162cca460e2297ab146e331fd279a738a2055643b45b161c706} +1 -1
  11. package/dist/phoenix-ui/bundle/blobs/{f077545caeb3ecb9f51a3f703a09736ca924869f4b4345c1b1ffbd9bf927a287 → 14bd6a733ce89fcd02bf6dcf0f91378625cb7739a0baaca9cb7611c332ac4580} +1 -1
  12. package/dist/phoenix-ui/bundle/blobs/{125bc7030d7f2ba789d7b1d5f474af34f8902b764e7bc351b98f1f6f55779929 → 14f329a7925311958685a16ba370c4997e924d909091e0977e5d32b3e64ecc4f} +1 -1
  13. package/dist/phoenix-ui/bundle/blobs/{8078b804bea630ed9c4ea07ec2f8ac92aba4128725860a66599eda90390d98f6 → 2b168c9ff212b8daea0d4334c94810458a683cde62f26b985855f8bf3f959db7} +1 -1
  14. package/dist/phoenix-ui/bundle/blobs/{00f4a6a630f31eb05fbdd5725e4a294233d24574bd70f4f32f4597d8256a7c1c → 2fbbc46784d2ab789675941ce81d91822ac00bd5c3e144d06743d0b8ccaccc90} +2 -17
  15. package/dist/phoenix-ui/bundle/blobs/{90f8b07ec12b78e633e306322cda58415aea70d8e0f9ff85bd439361c01dabe1 → 35913e9a7ac47f91c8af70867c71d938aa7f200b562c867fa6a43c4a6209ef61} +1 -1
  16. package/dist/phoenix-ui/bundle/blobs/{0e684572eb98d24b39cd70fa23e66c163178f5a11756dcf8a98fe2335636b33f → 3b62a4d253765fe0bdb180581cf493434d15de94e1b31470c573c0a21ece9e31} +1 -1
  17. package/dist/phoenix-ui/bundle/blobs/{68b454a99ba72c3b9b93ed96c4267847297169f6a5bf321b20e60d637c271068 → 557baa7f9ea3d863f40602f37a85e9af09f9120cfa0669b0b95539774e87b9dc} +1 -1
  18. package/dist/phoenix-ui/bundle/blobs/{c0a70ab2889e5c16e1f09249aefad948ce352c42cfe2b5afb758a4524e1b21b6 → 67fc771aa87556ecc8236c44e76251a41fa4e1809c6ad8c6a1f8eb9de91bb2d7} +1 -1
  19. package/dist/phoenix-ui/bundle/blobs/{88b150cb804bc141b80a5687a091f61b99627155c465a27adb88546ef615af92 → 6b3068f23e684f8566e7f4b069a5554624f479d57ff9073610a0917fe5b5e5af} +1 -1
  20. package/dist/phoenix-ui/bundle/blobs/{61450dbef64859e3136cd17ae3e997134d5df5721d96985c4e07367f38522129 → 6f600dfa082ed593159d3906d108baff9f4cb6bf90817a47429d613a95771d6f} +1 -1
  21. package/dist/phoenix-ui/bundle/blobs/{36310febe3e7bd4c9b21407603f2a04afefdc87b7821758bb47098b1b2876765 → 7bff2e1985a347235ef84b783f801eb3f5872d6e2a8d0278fc8c52c3cd1ac4a4} +1 -1
  22. package/dist/phoenix-ui/bundle/blobs/{e46d63e5f8a6ead1d44c8b6302a0c7247af8585b975ab5715518381777622ede → 821bda87cb9fc9f4349cf5243e18d7b4afc899ee884e33b16007ca3f1f5c9de1} +1 -1
  23. package/dist/phoenix-ui/bundle/blobs/{cadc2daefcf238aab981fa56388381d3d5ab9c0686bb9dd8187035c9933dfcee → 8291ff7c0eef14199f7d209cb8eb5e6643034c1923805b5c7023c93010d7af6e} +1 -1
  24. package/dist/phoenix-ui/bundle/blobs/{6b8d4c71355429a0b16bf367163fea46103a0a99b4e34f87608a39d85b1b980a → 94e595bc8239f72e0f5389f83aa022b18541839fb651d87b5933e89c92836a15} +1 -1
  25. package/dist/phoenix-ui/bundle/blobs/{55277fa15eb4bd2f09bf7bb24c4e79df417b06654b1e10f502c7928b192fd7cc → ba015e8aac17711d7dfbcfce3e8c92190af383af595b9ca58b7df2c0c30ba579} +1 -1
  26. package/dist/phoenix-ui/bundle/blobs/{3625c5c2750f117021232ce81c1e39ac5ef7c21445729327b88cf54dfc937df0 → fddd4bd853ad367d7f755477ee7c5ac3d0d3965c81c8a8e20eb83edc9cb7d43b} +1 -1
  27. package/dist/phoenix-ui/bundle/manifest.json +34 -34
  28. package/docs/phoenix-diagram.md +8 -6
  29. package/{skills/review-ui/references/phoenix-review.md → docs/phoenix-ui-review.md} +7 -12
  30. package/docs/phoenix-ui.md +17 -19
  31. package/package.json +2 -1
  32. package/skills/apply-ui-review/SKILL.md +1 -1
  33. package/skills/optimize-agents-md/SKILL.md +39 -21
  34. package/skills/optimize-agents-md/assets/coding-principles.md +78 -38
  35. package/skills/phoenix-diagram/ENGINE.json +18 -18
  36. package/skills/phoenix-diagram/references/migration.md +1 -1
  37. package/skills/phoenix-diagram/scripts/phoenix-bootstrap.cjs +4 -103
  38. package/skills/phoenix-ui/GENERATED.json +78 -78
  39. package/skills/phoenix-ui/SKILL.md +1 -1
  40. package/skills/phoenix-ui/scripts/ENGINE.json +19 -19
  41. package/skills/phoenix-ui/scripts/phoenix-bootstrap.cjs +2 -17
  42. package/skills/review-ui/SKILL.md +2 -1
  43. package/skills/xgent-init/SKILL.md +1 -1
  44. package/skills/review-ui/references/rules.v1.json +0 -1853
@@ -1,1853 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "ruleVersion": "1.0.0",
4
- "contractHashes": {
5
- "skills/review-ui/references/report-contract.md": "989f2618bf56c5a65eefa7cc59c0a1c91103106411843d13874145873242b083",
6
- "skills/review-ui/references/judge.md": "0b7f31a6fb7405723fec363a79e411c60fe540e9641ea787600a8ea6abcbfad5",
7
- "skills/review-ui/references/target-and-capture.md": "cf973f39db932564bfa7f7cdffa4bd0c82072bacb8276f119476d6db19b33cf3",
8
- "skills/apply-ui-review/references/record-contract.md": "ac99a2fc1028e66326ff37040c7be957c1e537b9bed061a6129d7debefa63308"
9
- },
10
- "parameters": {
11
- "dimensionMaxima": [
12
- "3",
13
- "3",
14
- "3",
15
- "1"
16
- ],
17
- "defaultThreshold": "8",
18
- "confirmationMargin": "0.5",
19
- "plateauWindow": 3,
20
- "minimumBestGrowth": "1.0",
21
- "maxRefactorsPerScope": 1
22
- },
23
- "verdictOrder": [
24
- "需补证",
25
- "通过验收",
26
- "需用户裁定",
27
- "需要修改"
28
- ],
29
- "applicability": {
30
- "globalScore": [
31
- "full round",
32
- "complete evidence",
33
- "all units judged",
34
- "minimum unit score"
35
- ],
36
- "confirmation": [
37
- "preliminary full pass",
38
- "no P0/P1 gating gaps",
39
- "minimum unit score < threshold + 0.5",
40
- "same materials; fresh reviewer; per-unit whole-review minimum; gap union"
41
- ],
42
- "globalPlateau": [
43
- "current score below threshold",
44
- "at least three valid complete full rounds in same target baseline",
45
- "historical best grows less than 1.0 from two valid rounds earlier"
46
- ],
47
- "stubbornGap": [
48
- "P0-P2 only",
49
- "attempted before a present/regressed assessment, or two consecutive partial assessments each preceded by an attempt",
50
- "unknown legacy attempt history is not zero"
51
- ],
52
- "stagnation": [
53
- "warning remains warning without recorded refactor",
54
- "recorded refactor plus warning becomes stagnation",
55
- "unknown legacy refactor count is not zero"
56
- ],
57
- "reviewerStatusMerge": [
58
- "one old gap judged by several reviewers of the same packet keeps the earliest status in reviewerStatusPrecedence",
59
- "an open or unverified status from any reviewer beats a closing one (gap union)"
60
- ],
61
- "priorDisposition": [
62
- "only repair records since the gap's last independent judgement",
63
- "a later record in the same round replaces that round's earlier disposition for the gap",
64
- "attempted: some round's final disposition is 已修改待评审",
65
- "latest: the most recent round's final disposition; 不采纳 with a reassessed open gap, or 待决定/阻塞, is pending",
66
- "attempted and latest are evaluated independently"
67
- ]
68
- },
69
- "waiver": {
70
- "verdict": "用户豁免通过",
71
- "appendOnly": true,
72
- "preserveScoreAndGaps": true
73
- },
74
- "dispositions": [
75
- "已修改待评审",
76
- "不采纳",
77
- "待决定",
78
- "阻塞",
79
- "未处理"
80
- ],
81
- "gapStatuses": [
82
- "已解决",
83
- "部分解决",
84
- "仍存在",
85
- "回归",
86
- "待核实",
87
- "不再适用",
88
- "本轮未复核"
89
- ],
90
- "reviewerStatusPrecedence": [
91
- "回归",
92
- "仍存在",
93
- "部分解决",
94
- "待核实",
95
- "已解决",
96
- "不再适用"
97
- ],
98
- "scoringCases": [
99
- {
100
- "name": "minimum-not-average",
101
- "input": {
102
- "full": true,
103
- "evidenceComplete": true,
104
- "unitScores": [
105
- "9",
106
- "7"
107
- ],
108
- "threshold": "8",
109
- "gatingGaps": false,
110
- "confirmed": false,
111
- "previousFullScores": []
112
- },
113
- "expected": {
114
- "score": "7",
115
- "historicalBest": "7",
116
- "confirmationRequired": false,
117
- "globalPlateau": false
118
- }
119
- },
120
- {
121
- "name": "confirmation-window",
122
- "input": {
123
- "full": true,
124
- "evidenceComplete": true,
125
- "unitScores": [
126
- "8.2",
127
- "8.3"
128
- ],
129
- "threshold": "8",
130
- "gatingGaps": false,
131
- "confirmed": false,
132
- "previousFullScores": []
133
- },
134
- "expected": {
135
- "score": "8.2",
136
- "historicalBest": "8.2",
137
- "confirmationRequired": true,
138
- "globalPlateau": false
139
- }
140
- },
141
- {
142
- "name": "confirmation-open-upper-boundary",
143
- "input": {
144
- "full": true,
145
- "evidenceComplete": true,
146
- "unitScores": [
147
- "8.5"
148
- ],
149
- "threshold": "8",
150
- "gatingGaps": false,
151
- "confirmed": false,
152
- "previousFullScores": []
153
- },
154
- "expected": {
155
- "score": "8.5",
156
- "historicalBest": "8.5",
157
- "confirmationRequired": false,
158
- "globalPlateau": false
159
- }
160
- },
161
- {
162
- "name": "confirmation-raw-decimal-boundary",
163
- "input": {
164
- "full": true,
165
- "evidenceComplete": true,
166
- "unitScores": [
167
- "8.499999999999999999999999999999999999"
168
- ],
169
- "threshold": "8",
170
- "gatingGaps": false,
171
- "confirmed": false,
172
- "previousFullScores": []
173
- },
174
- "expected": {
175
- "score": "8.499999999999999999999999999999999999",
176
- "historicalBest": "8.499999999999999999999999999999999999",
177
- "confirmationRequired": true,
178
- "globalPlateau": false
179
- }
180
- },
181
- {
182
- "name": "maximum-threshold-needs-confirmation",
183
- "input": {
184
- "full": true,
185
- "evidenceComplete": true,
186
- "unitScores": [
187
- "10"
188
- ],
189
- "threshold": "10",
190
- "gatingGaps": false,
191
- "confirmed": false,
192
- "previousFullScores": []
193
- },
194
- "expected": {
195
- "score": "10",
196
- "historicalBest": "10",
197
- "confirmationRequired": true,
198
- "globalPlateau": false
199
- }
200
- },
201
- {
202
- "name": "gating-gap-prevents-preliminary-pass",
203
- "input": {
204
- "full": true,
205
- "evidenceComplete": true,
206
- "unitScores": [
207
- "8.2"
208
- ],
209
- "threshold": "8",
210
- "gatingGaps": true,
211
- "confirmed": false,
212
- "previousFullScores": []
213
- },
214
- "expected": {
215
- "score": "8.2",
216
- "historicalBest": "8.2",
217
- "confirmationRequired": false,
218
- "globalPlateau": false
219
- }
220
- },
221
- {
222
- "name": "confirmation-lower-score",
223
- "input": {
224
- "full": true,
225
- "evidenceComplete": true,
226
- "unitScores": [
227
- "7.8"
228
- ],
229
- "threshold": "8",
230
- "gatingGaps": false,
231
- "confirmed": true,
232
- "previousFullScores": []
233
- },
234
- "expected": {
235
- "score": "7.8",
236
- "historicalBest": "7.8",
237
- "confirmationRequired": false,
238
- "globalPlateau": false
239
- }
240
- },
241
- {
242
- "name": "missing-unit-is-unknown",
243
- "input": {
244
- "full": true,
245
- "evidenceComplete": true,
246
- "unitScores": [
247
- "9",
248
- null
249
- ],
250
- "threshold": "8",
251
- "gatingGaps": false,
252
- "confirmed": false,
253
- "previousFullScores": []
254
- },
255
- "expected": {
256
- "score": null,
257
- "historicalBest": null,
258
- "confirmationRequired": false,
259
- "globalPlateau": false
260
- }
261
- },
262
- {
263
- "name": "missing-capture-excludes-round",
264
- "input": {
265
- "full": true,
266
- "evidenceComplete": false,
267
- "unitScores": [
268
- "6.8"
269
- ],
270
- "threshold": "8",
271
- "gatingGaps": false,
272
- "confirmed": false,
273
- "previousFullScores": [
274
- "6",
275
- "6.5"
276
- ]
277
- },
278
- "expected": {
279
- "score": null,
280
- "historicalBest": "6.5",
281
- "confirmationRequired": false,
282
- "globalPlateau": false
283
- }
284
- },
285
- {
286
- "name": "scoped-round-excludes-window",
287
- "input": {
288
- "full": false,
289
- "evidenceComplete": true,
290
- "unitScores": [
291
- "9"
292
- ],
293
- "threshold": "8",
294
- "gatingGaps": false,
295
- "confirmed": false,
296
- "previousFullScores": [
297
- "6",
298
- "6.5"
299
- ]
300
- },
301
- "expected": {
302
- "score": null,
303
- "historicalBest": "6.5",
304
- "confirmationRequired": false,
305
- "globalPlateau": false
306
- }
307
- },
308
- {
309
- "name": "three-full-round-plateau",
310
- "input": {
311
- "full": true,
312
- "evidenceComplete": true,
313
- "unitScores": [
314
- "6.8"
315
- ],
316
- "threshold": "8",
317
- "gatingGaps": false,
318
- "confirmed": false,
319
- "previousFullScores": [
320
- "6",
321
- "6.5"
322
- ]
323
- },
324
- "expected": {
325
- "score": "6.8",
326
- "historicalBest": "6.8",
327
- "confirmationRequired": false,
328
- "globalPlateau": true
329
- }
330
- },
331
- {
332
- "name": "exact-one-point-growth",
333
- "input": {
334
- "full": true,
335
- "evidenceComplete": true,
336
- "unitScores": [
337
- "7"
338
- ],
339
- "threshold": "8",
340
- "gatingGaps": false,
341
- "confirmed": false,
342
- "previousFullScores": [
343
- "6",
344
- "6.5"
345
- ]
346
- },
347
- "expected": {
348
- "score": "7",
349
- "historicalBest": "7",
350
- "confirmationRequired": false,
351
- "globalPlateau": false
352
- }
353
- },
354
- {
355
- "name": "decimal-one-point-growth",
356
- "input": {
357
- "full": true,
358
- "evidenceComplete": true,
359
- "unitScores": [
360
- "4.1"
361
- ],
362
- "threshold": "8",
363
- "gatingGaps": false,
364
- "confirmed": false,
365
- "previousFullScores": [
366
- "3.1",
367
- "3.6"
368
- ]
369
- },
370
- "expected": {
371
- "score": "4.1",
372
- "historicalBest": "4.1",
373
- "confirmationRequired": false,
374
- "globalPlateau": false
375
- }
376
- },
377
- {
378
- "name": "prior-high-best-does-not-exempt-plateau",
379
- "input": {
380
- "full": true,
381
- "evidenceComplete": true,
382
- "unitScores": [
383
- "7.6"
384
- ],
385
- "threshold": "8",
386
- "gatingGaps": false,
387
- "confirmed": false,
388
- "previousFullScores": [
389
- "8.2",
390
- "7.5"
391
- ]
392
- },
393
- "expected": {
394
- "score": "7.6",
395
- "historicalBest": "8.2",
396
- "confirmationRequired": false,
397
- "globalPlateau": true
398
- }
399
- },
400
- {
401
- "name": "two-rounds-do-not-warn",
402
- "input": {
403
- "full": true,
404
- "evidenceComplete": true,
405
- "unitScores": [
406
- "6.8"
407
- ],
408
- "threshold": "8",
409
- "gatingGaps": false,
410
- "confirmed": false,
411
- "previousFullScores": [
412
- "6.5"
413
- ]
414
- },
415
- "expected": {
416
- "score": "6.8",
417
- "historicalBest": "6.8",
418
- "confirmationRequired": false,
419
- "globalPlateau": false
420
- }
421
- }
422
- ],
423
- "adjudicationCases": [
424
- {
425
- "name": "missing-capture-wins-over-score",
426
- "input": {
427
- "scores": {
428
- "full": true,
429
- "evidenceComplete": false,
430
- "unitScores": [
431
- "9"
432
- ],
433
- "threshold": "8",
434
- "gatingGaps": false,
435
- "confirmed": false,
436
- "previousFullScores": []
437
- },
438
- "gaps": [],
439
- "globalRefactor": "not_recorded"
440
- },
441
- "expected": {
442
- "verdict": "需补证",
443
- "scoring": {
444
- "score": null,
445
- "historicalBest": null,
446
- "confirmationRequired": false,
447
- "globalPlateau": false
448
- },
449
- "warnings": [],
450
- "pendingDecisions": []
451
- }
452
- },
453
- {
454
- "name": "missing-unit-wins-over-gating",
455
- "input": {
456
- "scores": {
457
- "full": true,
458
- "evidenceComplete": true,
459
- "unitScores": [
460
- "9",
461
- null
462
- ],
463
- "threshold": "8",
464
- "gatingGaps": false,
465
- "confirmed": false,
466
- "previousFullScores": []
467
- },
468
- "gaps": [
469
- {
470
- "id": "UI-01",
471
- "unitId": "U1",
472
- "severity": "P1",
473
- "assessments": [
474
- {
475
- "status": "仍存在",
476
- "priorDisposition": {
477
- "attempted": false,
478
- "latest": null
479
- }
480
- }
481
- ],
482
- "inScope": true,
483
- "pendingDecision": false,
484
- "refactor": "not_recorded",
485
- "recaptured": false
486
- }
487
- ],
488
- "globalRefactor": "not_recorded"
489
- },
490
- "expected": {
491
- "verdict": "需补证",
492
- "scoring": {
493
- "score": null,
494
- "historicalBest": null,
495
- "confirmationRequired": false,
496
- "globalPlateau": false
497
- },
498
- "warnings": [],
499
- "pendingDecisions": []
500
- }
501
- },
502
- {
503
- "name": "scoped-high-score-needs-full-round",
504
- "input": {
505
- "scores": {
506
- "full": false,
507
- "evidenceComplete": true,
508
- "unitScores": [
509
- "9"
510
- ],
511
- "threshold": "8",
512
- "gatingGaps": false,
513
- "confirmed": false,
514
- "previousFullScores": []
515
- },
516
- "gaps": [],
517
- "globalRefactor": "not_recorded"
518
- },
519
- "expected": {
520
- "verdict": "需补证",
521
- "scoring": {
522
- "score": null,
523
- "historicalBest": null,
524
- "confirmationRequired": false,
525
- "globalPlateau": false
526
- },
527
- "warnings": [],
528
- "pendingDecisions": []
529
- }
530
- },
531
- {
532
- "name": "p0-p1-suppresses-pass-and-confirmation",
533
- "input": {
534
- "scores": {
535
- "full": true,
536
- "evidenceComplete": true,
537
- "unitScores": [
538
- "8.2"
539
- ],
540
- "threshold": "8",
541
- "gatingGaps": false,
542
- "confirmed": false,
543
- "previousFullScores": []
544
- },
545
- "gaps": [
546
- {
547
- "id": "UI-01",
548
- "unitId": "U1",
549
- "severity": "P1",
550
- "assessments": [
551
- {
552
- "status": "仍存在",
553
- "priorDisposition": {
554
- "attempted": false,
555
- "latest": null
556
- }
557
- }
558
- ],
559
- "inScope": true,
560
- "pendingDecision": false,
561
- "refactor": "not_recorded",
562
- "recaptured": false
563
- }
564
- ],
565
- "globalRefactor": "not_recorded"
566
- },
567
- "expected": {
568
- "verdict": "需要修改",
569
- "scoring": {
570
- "score": "8.2",
571
- "historicalBest": "8.2",
572
- "confirmationRequired": false,
573
- "globalPlateau": false
574
- },
575
- "warnings": [],
576
- "pendingDecisions": []
577
- }
578
- },
579
- {
580
- "name": "p2-p3-do-not-block-full-pass",
581
- "input": {
582
- "scores": {
583
- "full": true,
584
- "evidenceComplete": true,
585
- "unitScores": [
586
- "8.5"
587
- ],
588
- "threshold": "8",
589
- "gatingGaps": false,
590
- "confirmed": false,
591
- "previousFullScores": []
592
- },
593
- "gaps": [
594
- {
595
- "id": "UI-01",
596
- "unitId": "U1",
597
- "severity": "P2",
598
- "assessments": [
599
- {
600
- "status": "仍存在",
601
- "priorDisposition": {
602
- "attempted": false,
603
- "latest": null
604
- }
605
- }
606
- ],
607
- "inScope": true,
608
- "pendingDecision": true,
609
- "refactor": "not_recorded",
610
- "recaptured": false
611
- }
612
- ],
613
- "globalRefactor": "not_recorded"
614
- },
615
- "expected": {
616
- "verdict": "通过验收",
617
- "scoring": {
618
- "score": "8.5",
619
- "historicalBest": "8.5",
620
- "confirmationRequired": false,
621
- "globalPlateau": false
622
- },
623
- "warnings": [],
624
- "pendingDecisions": [
625
- "UI-01"
626
- ]
627
- }
628
- },
629
- {
630
- "name": "confirmation-required-is-not-a-verdict",
631
- "input": {
632
- "scores": {
633
- "full": true,
634
- "evidenceComplete": true,
635
- "unitScores": [
636
- "8.2"
637
- ],
638
- "threshold": "8",
639
- "gatingGaps": false,
640
- "confirmed": false,
641
- "previousFullScores": []
642
- },
643
- "gaps": [],
644
- "globalRefactor": "not_recorded"
645
- },
646
- "expected": {
647
- "verdict": null,
648
- "scoring": {
649
- "score": "8.2",
650
- "historicalBest": "8.2",
651
- "confirmationRequired": true,
652
- "globalPlateau": false
653
- },
654
- "warnings": [],
655
- "pendingDecisions": []
656
- }
657
- },
658
- {
659
- "name": "confirmation-lower-score-needs-modification",
660
- "input": {
661
- "scores": {
662
- "full": true,
663
- "evidenceComplete": true,
664
- "unitScores": [
665
- "7.8"
666
- ],
667
- "threshold": "8",
668
- "gatingGaps": false,
669
- "confirmed": true,
670
- "previousFullScores": []
671
- },
672
- "gaps": [
673
- {
674
- "id": "UI-01",
675
- "unitId": "U1",
676
- "severity": "P2",
677
- "assessments": [
678
- {
679
- "status": "仍存在",
680
- "priorDisposition": {
681
- "attempted": false,
682
- "latest": null
683
- }
684
- }
685
- ],
686
- "inScope": true,
687
- "pendingDecision": false,
688
- "refactor": "not_recorded",
689
- "recaptured": false
690
- }
691
- ],
692
- "globalRefactor": "not_recorded"
693
- },
694
- "expected": {
695
- "verdict": "需要修改",
696
- "scoring": {
697
- "score": "7.8",
698
- "historicalBest": "7.8",
699
- "confirmationRequired": false,
700
- "globalPlateau": false
701
- },
702
- "warnings": [],
703
- "pendingDecisions": []
704
- }
705
- },
706
- {
707
- "name": "all-gating-gaps-pending-at-threshold",
708
- "input": {
709
- "scores": {
710
- "full": true,
711
- "evidenceComplete": true,
712
- "unitScores": [
713
- "8.2"
714
- ],
715
- "threshold": "8",
716
- "gatingGaps": false,
717
- "confirmed": false,
718
- "previousFullScores": []
719
- },
720
- "gaps": [
721
- {
722
- "id": "UI-01",
723
- "unitId": "U1",
724
- "severity": "P1",
725
- "assessments": [
726
- {
727
- "status": "仍存在",
728
- "priorDisposition": {
729
- "attempted": false,
730
- "latest": null
731
- }
732
- }
733
- ],
734
- "inScope": true,
735
- "pendingDecision": true,
736
- "refactor": "not_recorded",
737
- "recaptured": false
738
- }
739
- ],
740
- "globalRefactor": "not_recorded"
741
- },
742
- "expected": {
743
- "verdict": "需用户裁定",
744
- "scoring": {
745
- "score": "8.2",
746
- "historicalBest": "8.2",
747
- "confirmationRequired": false,
748
- "globalPlateau": false
749
- },
750
- "warnings": [],
751
- "pendingDecisions": [
752
- "UI-01"
753
- ]
754
- }
755
- },
756
- {
757
- "name": "low-score-without-repairable-gaps",
758
- "input": {
759
- "scores": {
760
- "full": true,
761
- "evidenceComplete": true,
762
- "unitScores": [
763
- "7.8"
764
- ],
765
- "threshold": "8",
766
- "gatingGaps": false,
767
- "confirmed": false,
768
- "previousFullScores": []
769
- },
770
- "gaps": [
771
- {
772
- "id": "UI-01",
773
- "unitId": "U1",
774
- "severity": "P2",
775
- "assessments": [
776
- {
777
- "status": "仍存在",
778
- "priorDisposition": {
779
- "attempted": false,
780
- "latest": null
781
- }
782
- }
783
- ],
784
- "inScope": true,
785
- "pendingDecision": true,
786
- "refactor": "not_recorded",
787
- "recaptured": false
788
- }
789
- ],
790
- "globalRefactor": "not_recorded"
791
- },
792
- "expected": {
793
- "verdict": "需用户裁定",
794
- "scoring": {
795
- "score": "7.8",
796
- "historicalBest": "7.8",
797
- "confirmationRequired": false,
798
- "globalPlateau": false
799
- },
800
- "warnings": [],
801
- "pendingDecisions": [
802
- "UI-01"
803
- ]
804
- }
805
- },
806
- {
807
- "name": "low-score-with-repairable-gap",
808
- "input": {
809
- "scores": {
810
- "full": true,
811
- "evidenceComplete": true,
812
- "unitScores": [
813
- "7.8"
814
- ],
815
- "threshold": "8",
816
- "gatingGaps": false,
817
- "confirmed": false,
818
- "previousFullScores": []
819
- },
820
- "gaps": [
821
- {
822
- "id": "UI-01",
823
- "unitId": "U1",
824
- "severity": "P2",
825
- "assessments": [
826
- {
827
- "status": "仍存在",
828
- "priorDisposition": {
829
- "attempted": false,
830
- "latest": null
831
- }
832
- }
833
- ],
834
- "inScope": true,
835
- "pendingDecision": false,
836
- "refactor": "not_recorded",
837
- "recaptured": false
838
- }
839
- ],
840
- "globalRefactor": "not_recorded"
841
- },
842
- "expected": {
843
- "verdict": "需要修改",
844
- "scoring": {
845
- "score": "7.8",
846
- "historicalBest": "7.8",
847
- "confirmationRequired": false,
848
- "globalPlateau": false
849
- },
850
- "warnings": [],
851
- "pendingDecisions": []
852
- }
853
- },
854
- {
855
- "name": "declined-but-assessed-present-is-pending",
856
- "input": {
857
- "scores": {
858
- "full": true,
859
- "evidenceComplete": true,
860
- "unitScores": [
861
- "7.8"
862
- ],
863
- "threshold": "8",
864
- "gatingGaps": false,
865
- "confirmed": false,
866
- "previousFullScores": []
867
- },
868
- "gaps": [
869
- {
870
- "id": "UI-01",
871
- "unitId": "U1",
872
- "severity": "P2",
873
- "assessments": [
874
- {
875
- "status": "仍存在",
876
- "priorDisposition": {
877
- "attempted": false,
878
- "latest": "不采纳"
879
- }
880
- }
881
- ],
882
- "inScope": true,
883
- "pendingDecision": false,
884
- "refactor": "not_recorded",
885
- "recaptured": false
886
- }
887
- ],
888
- "globalRefactor": "not_recorded"
889
- },
890
- "expected": {
891
- "verdict": "需用户裁定",
892
- "scoring": {
893
- "score": "7.8",
894
- "historicalBest": "7.8",
895
- "confirmationRequired": false,
896
- "globalPlateau": false
897
- },
898
- "warnings": [],
899
- "pendingDecisions": [
900
- "UI-01"
901
- ]
902
- }
903
- },
904
- {
905
- "name": "attempt-and-later-decline-are-evaluated-independently",
906
- "input": {
907
- "scores": {
908
- "full": true,
909
- "evidenceComplete": true,
910
- "unitScores": [
911
- "7.8"
912
- ],
913
- "threshold": "8",
914
- "gatingGaps": false,
915
- "confirmed": false,
916
- "previousFullScores": []
917
- },
918
- "gaps": [
919
- {
920
- "id": "UI-01",
921
- "unitId": "U1",
922
- "severity": "P2",
923
- "assessments": [
924
- {
925
- "status": "仍存在",
926
- "priorDisposition": {
927
- "attempted": true,
928
- "latest": "不采纳"
929
- }
930
- }
931
- ],
932
- "inScope": true,
933
- "pendingDecision": false,
934
- "refactor": "not_recorded",
935
- "recaptured": false
936
- }
937
- ],
938
- "globalRefactor": "not_recorded"
939
- },
940
- "expected": {
941
- "verdict": "需用户裁定",
942
- "scoring": {
943
- "score": "7.8",
944
- "historicalBest": "7.8",
945
- "confirmationRequired": false,
946
- "globalPlateau": false
947
- },
948
- "warnings": [
949
- {
950
- "scope": {
951
- "kind": "gap",
952
- "gapId": "UI-01",
953
- "unitId": "U1"
954
- },
955
- "state": "停滞预警"
956
- }
957
- ],
958
- "pendingDecisions": [
959
- "UI-01"
960
- ]
961
- }
962
- },
963
- {
964
- "name": "pending-state-persists-across-untreated-round",
965
- "input": {
966
- "scores": {
967
- "full": true,
968
- "evidenceComplete": true,
969
- "unitScores": [
970
- "7.8"
971
- ],
972
- "threshold": "8",
973
- "gatingGaps": false,
974
- "confirmed": false,
975
- "previousFullScores": []
976
- },
977
- "gaps": [
978
- {
979
- "id": "UI-01",
980
- "unitId": "U1",
981
- "severity": "P2",
982
- "assessments": [
983
- {
984
- "status": "仍存在",
985
- "priorDisposition": {
986
- "attempted": false,
987
- "latest": "未处理"
988
- }
989
- }
990
- ],
991
- "inScope": true,
992
- "pendingDecision": true,
993
- "refactor": "not_recorded",
994
- "recaptured": false
995
- }
996
- ],
997
- "globalRefactor": "not_recorded"
998
- },
999
- "expected": {
1000
- "verdict": "需用户裁定",
1001
- "scoring": {
1002
- "score": "7.8",
1003
- "historicalBest": "7.8",
1004
- "confirmationRequired": false,
1005
- "globalPlateau": false
1006
- },
1007
- "warnings": [],
1008
- "pendingDecisions": [
1009
- "UI-01"
1010
- ]
1011
- }
1012
- },
1013
- {
1014
- "name": "resolved-gap-clears-pending-state",
1015
- "input": {
1016
- "scores": {
1017
- "full": true,
1018
- "evidenceComplete": true,
1019
- "unitScores": [
1020
- "8.5"
1021
- ],
1022
- "threshold": "8",
1023
- "gatingGaps": false,
1024
- "confirmed": false,
1025
- "previousFullScores": []
1026
- },
1027
- "gaps": [
1028
- {
1029
- "id": "UI-01",
1030
- "unitId": "U1",
1031
- "severity": "P2",
1032
- "assessments": [
1033
- {
1034
- "status": "已解决",
1035
- "priorDisposition": {
1036
- "attempted": false,
1037
- "latest": null
1038
- }
1039
- }
1040
- ],
1041
- "inScope": true,
1042
- "pendingDecision": true,
1043
- "refactor": "not_recorded",
1044
- "recaptured": false
1045
- }
1046
- ],
1047
- "globalRefactor": "not_recorded"
1048
- },
1049
- "expected": {
1050
- "verdict": "通过验收",
1051
- "scoring": {
1052
- "score": "8.5",
1053
- "historicalBest": "8.5",
1054
- "confirmationRequired": false,
1055
- "globalPlateau": false
1056
- },
1057
- "warnings": [],
1058
- "pendingDecisions": []
1059
- }
1060
- },
1061
- {
1062
- "name": "recaptured-unverified-gating-gap-needs-evidence",
1063
- "input": {
1064
- "scores": {
1065
- "full": true,
1066
- "evidenceComplete": true,
1067
- "unitScores": [
1068
- "9"
1069
- ],
1070
- "threshold": "8",
1071
- "gatingGaps": false,
1072
- "confirmed": false,
1073
- "previousFullScores": []
1074
- },
1075
- "gaps": [
1076
- {
1077
- "id": "UI-01",
1078
- "unitId": "U1",
1079
- "severity": "P1",
1080
- "assessments": [
1081
- {
1082
- "status": "待核实",
1083
- "priorDisposition": {
1084
- "attempted": false,
1085
- "latest": null
1086
- }
1087
- }
1088
- ],
1089
- "inScope": true,
1090
- "pendingDecision": false,
1091
- "refactor": "not_recorded",
1092
- "recaptured": true
1093
- }
1094
- ],
1095
- "globalRefactor": "not_recorded"
1096
- },
1097
- "expected": {
1098
- "verdict": "需补证",
1099
- "scoring": {
1100
- "score": "9",
1101
- "historicalBest": "9",
1102
- "confirmationRequired": false,
1103
- "globalPlateau": false
1104
- },
1105
- "warnings": [],
1106
- "pendingDecisions": []
1107
- }
1108
- },
1109
- {
1110
- "name": "actual-modification-plus-present-warns",
1111
- "input": {
1112
- "scores": {
1113
- "full": true,
1114
- "evidenceComplete": true,
1115
- "unitScores": [
1116
- "7.8"
1117
- ],
1118
- "threshold": "8",
1119
- "gatingGaps": false,
1120
- "confirmed": false,
1121
- "previousFullScores": []
1122
- },
1123
- "gaps": [
1124
- {
1125
- "id": "UI-01",
1126
- "unitId": "U1",
1127
- "severity": "P2",
1128
- "assessments": [
1129
- {
1130
- "status": "仍存在",
1131
- "priorDisposition": {
1132
- "attempted": true,
1133
- "latest": "已修改待评审"
1134
- }
1135
- }
1136
- ],
1137
- "inScope": true,
1138
- "pendingDecision": false,
1139
- "refactor": "not_recorded",
1140
- "recaptured": false
1141
- }
1142
- ],
1143
- "globalRefactor": "not_recorded"
1144
- },
1145
- "expected": {
1146
- "verdict": "需要修改",
1147
- "scoring": {
1148
- "score": "7.8",
1149
- "historicalBest": "7.8",
1150
- "confirmationRequired": false,
1151
- "globalPlateau": false
1152
- },
1153
- "warnings": [
1154
- {
1155
- "scope": {
1156
- "kind": "gap",
1157
- "gapId": "UI-01",
1158
- "unitId": "U1"
1159
- },
1160
- "state": "停滞预警"
1161
- }
1162
- ],
1163
- "pendingDecisions": []
1164
- }
1165
- },
1166
- {
1167
- "name": "unattempted-gap-does-not-warn",
1168
- "input": {
1169
- "scores": {
1170
- "full": true,
1171
- "evidenceComplete": true,
1172
- "unitScores": [
1173
- "7.8"
1174
- ],
1175
- "threshold": "8",
1176
- "gatingGaps": false,
1177
- "confirmed": false,
1178
- "previousFullScores": []
1179
- },
1180
- "gaps": [
1181
- {
1182
- "id": "UI-01",
1183
- "unitId": "U1",
1184
- "severity": "P2",
1185
- "assessments": [
1186
- {
1187
- "status": "仍存在",
1188
- "priorDisposition": {
1189
- "attempted": false,
1190
- "latest": "未处理"
1191
- }
1192
- }
1193
- ],
1194
- "inScope": true,
1195
- "pendingDecision": false,
1196
- "refactor": "not_recorded",
1197
- "recaptured": false
1198
- }
1199
- ],
1200
- "globalRefactor": "not_recorded"
1201
- },
1202
- "expected": {
1203
- "verdict": "需要修改",
1204
- "scoring": {
1205
- "score": "7.8",
1206
- "historicalBest": "7.8",
1207
- "confirmationRequired": false,
1208
- "globalPlateau": false
1209
- },
1210
- "warnings": [],
1211
- "pendingDecisions": []
1212
- }
1213
- },
1214
- {
1215
- "name": "two-modified-partial-assessments-warn",
1216
- "input": {
1217
- "scores": {
1218
- "full": true,
1219
- "evidenceComplete": true,
1220
- "unitScores": [
1221
- "7.8"
1222
- ],
1223
- "threshold": "8",
1224
- "gatingGaps": false,
1225
- "confirmed": false,
1226
- "previousFullScores": []
1227
- },
1228
- "gaps": [
1229
- {
1230
- "id": "UI-01",
1231
- "unitId": "U1",
1232
- "severity": "P2",
1233
- "assessments": [
1234
- {
1235
- "status": "部分解决",
1236
- "priorDisposition": {
1237
- "attempted": true,
1238
- "latest": "已修改待评审"
1239
- }
1240
- },
1241
- {
1242
- "status": "部分解决",
1243
- "priorDisposition": {
1244
- "attempted": true,
1245
- "latest": "已修改待评审"
1246
- }
1247
- }
1248
- ],
1249
- "inScope": true,
1250
- "pendingDecision": false,
1251
- "refactor": "not_recorded",
1252
- "recaptured": false
1253
- }
1254
- ],
1255
- "globalRefactor": "not_recorded"
1256
- },
1257
- "expected": {
1258
- "verdict": "需要修改",
1259
- "scoring": {
1260
- "score": "7.8",
1261
- "historicalBest": "7.8",
1262
- "confirmationRequired": false,
1263
- "globalPlateau": false
1264
- },
1265
- "warnings": [
1266
- {
1267
- "scope": {
1268
- "kind": "gap",
1269
- "gapId": "UI-01",
1270
- "unitId": "U1"
1271
- },
1272
- "state": "停滞预警"
1273
- }
1274
- ],
1275
- "pendingDecisions": []
1276
- }
1277
- },
1278
- {
1279
- "name": "one-unmodified-partial-assessment-does-not-warn",
1280
- "input": {
1281
- "scores": {
1282
- "full": true,
1283
- "evidenceComplete": true,
1284
- "unitScores": [
1285
- "7.8"
1286
- ],
1287
- "threshold": "8",
1288
- "gatingGaps": false,
1289
- "confirmed": false,
1290
- "previousFullScores": []
1291
- },
1292
- "gaps": [
1293
- {
1294
- "id": "UI-01",
1295
- "unitId": "U1",
1296
- "severity": "P2",
1297
- "assessments": [
1298
- {
1299
- "status": "部分解决",
1300
- "priorDisposition": {
1301
- "attempted": false,
1302
- "latest": "未处理"
1303
- }
1304
- },
1305
- {
1306
- "status": "部分解决",
1307
- "priorDisposition": {
1308
- "attempted": true,
1309
- "latest": "已修改待评审"
1310
- }
1311
- }
1312
- ],
1313
- "inScope": true,
1314
- "pendingDecision": false,
1315
- "refactor": "not_recorded",
1316
- "recaptured": false
1317
- }
1318
- ],
1319
- "globalRefactor": "not_recorded"
1320
- },
1321
- "expected": {
1322
- "verdict": "需要修改",
1323
- "scoring": {
1324
- "score": "7.8",
1325
- "historicalBest": "7.8",
1326
- "confirmationRequired": false,
1327
- "globalPlateau": false
1328
- },
1329
- "warnings": [],
1330
- "pendingDecisions": []
1331
- }
1332
- },
1333
- {
1334
- "name": "p3-modification-is-not-stubborn",
1335
- "input": {
1336
- "scores": {
1337
- "full": true,
1338
- "evidenceComplete": true,
1339
- "unitScores": [
1340
- "7.8"
1341
- ],
1342
- "threshold": "8",
1343
- "gatingGaps": false,
1344
- "confirmed": false,
1345
- "previousFullScores": []
1346
- },
1347
- "gaps": [
1348
- {
1349
- "id": "UI-01",
1350
- "unitId": "U1",
1351
- "severity": "P3",
1352
- "assessments": [
1353
- {
1354
- "status": "仍存在",
1355
- "priorDisposition": {
1356
- "attempted": true,
1357
- "latest": "已修改待评审"
1358
- }
1359
- }
1360
- ],
1361
- "inScope": true,
1362
- "pendingDecision": false,
1363
- "refactor": "not_recorded",
1364
- "recaptured": false
1365
- }
1366
- ],
1367
- "globalRefactor": "not_recorded"
1368
- },
1369
- "expected": {
1370
- "verdict": "需要修改",
1371
- "scoring": {
1372
- "score": "7.8",
1373
- "historicalBest": "7.8",
1374
- "confirmationRequired": false,
1375
- "globalPlateau": false
1376
- },
1377
- "warnings": [],
1378
- "pendingDecisions": []
1379
- }
1380
- },
1381
- {
1382
- "name": "not-reviewed-does-not-invent-an-attempt",
1383
- "input": {
1384
- "scores": {
1385
- "full": true,
1386
- "evidenceComplete": true,
1387
- "unitScores": [
1388
- "7.8"
1389
- ],
1390
- "threshold": "8",
1391
- "gatingGaps": false,
1392
- "confirmed": false,
1393
- "previousFullScores": []
1394
- },
1395
- "gaps": [
1396
- {
1397
- "id": "UI-01",
1398
- "unitId": "U1",
1399
- "severity": "P2",
1400
- "assessments": [
1401
- {
1402
- "status": "本轮未复核",
1403
- "priorDisposition": {
1404
- "attempted": true,
1405
- "latest": "已修改待评审"
1406
- }
1407
- }
1408
- ],
1409
- "inScope": true,
1410
- "pendingDecision": false,
1411
- "refactor": "not_recorded",
1412
- "recaptured": false
1413
- }
1414
- ],
1415
- "globalRefactor": "not_recorded"
1416
- },
1417
- "expected": {
1418
- "verdict": "需要修改",
1419
- "scoring": {
1420
- "score": "7.8",
1421
- "historicalBest": "7.8",
1422
- "confirmationRequired": false,
1423
- "globalPlateau": false
1424
- },
1425
- "warnings": [],
1426
- "pendingDecisions": []
1427
- }
1428
- },
1429
- {
1430
- "name": "recorded-gap-refactor-plus-warning-stalls",
1431
- "input": {
1432
- "scores": {
1433
- "full": true,
1434
- "evidenceComplete": true,
1435
- "unitScores": [
1436
- "7.8"
1437
- ],
1438
- "threshold": "8",
1439
- "gatingGaps": false,
1440
- "confirmed": false,
1441
- "previousFullScores": []
1442
- },
1443
- "gaps": [
1444
- {
1445
- "id": "UI-01",
1446
- "unitId": "U1",
1447
- "severity": "P2",
1448
- "assessments": [
1449
- {
1450
- "status": "仍存在",
1451
- "priorDisposition": {
1452
- "attempted": true,
1453
- "latest": "已修改待评审"
1454
- }
1455
- }
1456
- ],
1457
- "inScope": true,
1458
- "pendingDecision": false,
1459
- "refactor": "recorded",
1460
- "recaptured": false
1461
- }
1462
- ],
1463
- "globalRefactor": "not_recorded"
1464
- },
1465
- "expected": {
1466
- "verdict": "需用户裁定",
1467
- "scoring": {
1468
- "score": "7.8",
1469
- "historicalBest": "7.8",
1470
- "confirmationRequired": false,
1471
- "globalPlateau": false
1472
- },
1473
- "warnings": [
1474
- {
1475
- "scope": {
1476
- "kind": "gap",
1477
- "gapId": "UI-01",
1478
- "unitId": "U1"
1479
- },
1480
- "state": "停滞"
1481
- }
1482
- ],
1483
- "pendingDecisions": [
1484
- "UI-01"
1485
- ]
1486
- }
1487
- },
1488
- {
1489
- "name": "p2-stall-still-does-not-block-high-score",
1490
- "input": {
1491
- "scores": {
1492
- "full": true,
1493
- "evidenceComplete": true,
1494
- "unitScores": [
1495
- "8.5"
1496
- ],
1497
- "threshold": "8",
1498
- "gatingGaps": false,
1499
- "confirmed": false,
1500
- "previousFullScores": []
1501
- },
1502
- "gaps": [
1503
- {
1504
- "id": "UI-01",
1505
- "unitId": "U1",
1506
- "severity": "P2",
1507
- "assessments": [
1508
- {
1509
- "status": "仍存在",
1510
- "priorDisposition": {
1511
- "attempted": true,
1512
- "latest": "已修改待评审"
1513
- }
1514
- }
1515
- ],
1516
- "inScope": true,
1517
- "pendingDecision": false,
1518
- "refactor": "recorded",
1519
- "recaptured": false
1520
- }
1521
- ],
1522
- "globalRefactor": "not_recorded"
1523
- },
1524
- "expected": {
1525
- "verdict": "通过验收",
1526
- "scoring": {
1527
- "score": "8.5",
1528
- "historicalBest": "8.5",
1529
- "confirmationRequired": false,
1530
- "globalPlateau": false
1531
- },
1532
- "warnings": [
1533
- {
1534
- "scope": {
1535
- "kind": "gap",
1536
- "gapId": "UI-01",
1537
- "unitId": "U1"
1538
- },
1539
- "state": "停滞"
1540
- }
1541
- ],
1542
- "pendingDecisions": [
1543
- "UI-01"
1544
- ]
1545
- }
1546
- },
1547
- {
1548
- "name": "global-warning-without-refactor-remains-warning",
1549
- "input": {
1550
- "scores": {
1551
- "full": true,
1552
- "evidenceComplete": true,
1553
- "unitScores": [
1554
- "6.8"
1555
- ],
1556
- "threshold": "8",
1557
- "gatingGaps": false,
1558
- "confirmed": false,
1559
- "previousFullScores": [
1560
- "6",
1561
- "6.5"
1562
- ]
1563
- },
1564
- "gaps": [
1565
- {
1566
- "id": "UI-01",
1567
- "unitId": "U1",
1568
- "severity": "P2",
1569
- "assessments": [
1570
- {
1571
- "status": "仍存在",
1572
- "priorDisposition": {
1573
- "attempted": false,
1574
- "latest": null
1575
- }
1576
- }
1577
- ],
1578
- "inScope": true,
1579
- "pendingDecision": false,
1580
- "refactor": "not_recorded",
1581
- "recaptured": false
1582
- }
1583
- ],
1584
- "globalRefactor": "not_recorded"
1585
- },
1586
- "expected": {
1587
- "verdict": "需要修改",
1588
- "scoring": {
1589
- "score": "6.8",
1590
- "historicalBest": "6.8",
1591
- "confirmationRequired": false,
1592
- "globalPlateau": true
1593
- },
1594
- "warnings": [
1595
- {
1596
- "scope": {
1597
- "kind": "global"
1598
- },
1599
- "state": "停滞预警"
1600
- }
1601
- ],
1602
- "pendingDecisions": []
1603
- }
1604
- },
1605
- {
1606
- "name": "global-recorded-refactor-plus-warning-stalls",
1607
- "input": {
1608
- "scores": {
1609
- "full": true,
1610
- "evidenceComplete": true,
1611
- "unitScores": [
1612
- "6.8"
1613
- ],
1614
- "threshold": "8",
1615
- "gatingGaps": false,
1616
- "confirmed": false,
1617
- "previousFullScores": [
1618
- "6",
1619
- "6.5"
1620
- ]
1621
- },
1622
- "gaps": [
1623
- {
1624
- "id": "UI-01",
1625
- "unitId": "U1",
1626
- "severity": "P2",
1627
- "assessments": [
1628
- {
1629
- "status": "仍存在",
1630
- "priorDisposition": {
1631
- "attempted": false,
1632
- "latest": null
1633
- }
1634
- }
1635
- ],
1636
- "inScope": true,
1637
- "pendingDecision": false,
1638
- "refactor": "not_recorded",
1639
- "recaptured": false
1640
- }
1641
- ],
1642
- "globalRefactor": "recorded"
1643
- },
1644
- "expected": {
1645
- "verdict": "需用户裁定",
1646
- "scoring": {
1647
- "score": "6.8",
1648
- "historicalBest": "6.8",
1649
- "confirmationRequired": false,
1650
- "globalPlateau": true
1651
- },
1652
- "warnings": [
1653
- {
1654
- "scope": {
1655
- "kind": "global"
1656
- },
1657
- "state": "停滞"
1658
- }
1659
- ],
1660
- "pendingDecisions": []
1661
- }
1662
- },
1663
- {
1664
- "name": "unknown-legacy-global-refactor-is-not-zero",
1665
- "input": {
1666
- "scores": {
1667
- "full": true,
1668
- "evidenceComplete": true,
1669
- "unitScores": [
1670
- "6.8"
1671
- ],
1672
- "threshold": "8",
1673
- "gatingGaps": false,
1674
- "confirmed": false,
1675
- "previousFullScores": [
1676
- "6",
1677
- "6.5"
1678
- ]
1679
- },
1680
- "gaps": [
1681
- {
1682
- "id": "UI-01",
1683
- "unitId": "U1",
1684
- "severity": "P2",
1685
- "assessments": [
1686
- {
1687
- "status": "仍存在",
1688
- "priorDisposition": {
1689
- "attempted": false,
1690
- "latest": null
1691
- }
1692
- }
1693
- ],
1694
- "inScope": true,
1695
- "pendingDecision": false,
1696
- "refactor": "not_recorded",
1697
- "recaptured": false
1698
- }
1699
- ],
1700
- "globalRefactor": "unknown"
1701
- },
1702
- "error": "global refactor history is unknown"
1703
- },
1704
- {
1705
- "name": "unknown-legacy-gap-refactor-is-not-zero",
1706
- "input": {
1707
- "scores": {
1708
- "full": true,
1709
- "evidenceComplete": true,
1710
- "unitScores": [
1711
- "7.8"
1712
- ],
1713
- "threshold": "8",
1714
- "gatingGaps": false,
1715
- "confirmed": false,
1716
- "previousFullScores": []
1717
- },
1718
- "gaps": [
1719
- {
1720
- "id": "UI-01",
1721
- "unitId": "U1",
1722
- "severity": "P2",
1723
- "assessments": [
1724
- {
1725
- "status": "仍存在",
1726
- "priorDisposition": {
1727
- "attempted": true,
1728
- "latest": "已修改待评审"
1729
- }
1730
- }
1731
- ],
1732
- "inScope": true,
1733
- "pendingDecision": false,
1734
- "refactor": "unknown",
1735
- "recaptured": false
1736
- }
1737
- ],
1738
- "globalRefactor": "not_recorded"
1739
- },
1740
- "error": "gap refactor history is unknown"
1741
- },
1742
- {
1743
- "name": "unknown-legacy-attempt-is-not-zero",
1744
- "input": {
1745
- "scores": {
1746
- "full": true,
1747
- "evidenceComplete": true,
1748
- "unitScores": [
1749
- "7.8"
1750
- ],
1751
- "threshold": "8",
1752
- "gatingGaps": false,
1753
- "confirmed": false,
1754
- "previousFullScores": []
1755
- },
1756
- "gaps": [
1757
- {
1758
- "id": "UI-01",
1759
- "unitId": "U1",
1760
- "severity": "P2",
1761
- "assessments": [
1762
- {
1763
- "status": "仍存在",
1764
- "priorDisposition": {
1765
- "attempted": false,
1766
- "latest": null
1767
- },
1768
- "dispositionUnknown": true
1769
- }
1770
- ],
1771
- "inScope": true,
1772
- "pendingDecision": false,
1773
- "refactor": "not_recorded",
1774
- "recaptured": false
1775
- }
1776
- ],
1777
- "globalRefactor": "not_recorded"
1778
- },
1779
- "error": "gap attempt history is unknown"
1780
- },
1781
- {
1782
- "name": "scoped-unreviewed-round-does-not-reset-consecutive-partials",
1783
- "input": {
1784
- "scores": {
1785
- "full": true,
1786
- "evidenceComplete": true,
1787
- "unitScores": [
1788
- "7.8"
1789
- ],
1790
- "threshold": "8",
1791
- "gatingGaps": false,
1792
- "confirmed": false,
1793
- "previousFullScores": []
1794
- },
1795
- "gaps": [
1796
- {
1797
- "id": "UI-01",
1798
- "unitId": "U1",
1799
- "severity": "P2",
1800
- "assessments": [
1801
- {
1802
- "status": "部分解决",
1803
- "priorDisposition": {
1804
- "attempted": true,
1805
- "latest": "已修改待评审"
1806
- }
1807
- },
1808
- {
1809
- "status": "本轮未复核",
1810
- "priorDisposition": {
1811
- "attempted": false,
1812
- "latest": "未处理"
1813
- }
1814
- },
1815
- {
1816
- "status": "部分解决",
1817
- "priorDisposition": {
1818
- "attempted": true,
1819
- "latest": "已修改待评审"
1820
- }
1821
- }
1822
- ],
1823
- "inScope": true,
1824
- "pendingDecision": false,
1825
- "refactor": "not_recorded",
1826
- "recaptured": false
1827
- }
1828
- ],
1829
- "globalRefactor": "not_recorded"
1830
- },
1831
- "expected": {
1832
- "verdict": "需要修改",
1833
- "scoring": {
1834
- "score": "7.8",
1835
- "historicalBest": "7.8",
1836
- "confirmationRequired": false,
1837
- "globalPlateau": false
1838
- },
1839
- "warnings": [
1840
- {
1841
- "scope": {
1842
- "kind": "gap",
1843
- "gapId": "UI-01",
1844
- "unitId": "U1"
1845
- },
1846
- "state": "停滞预警"
1847
- }
1848
- ],
1849
- "pendingDecisions": []
1850
- }
1851
- }
1852
- ]
1853
- }