chore: 工具迁入正式工程 + 工程 README + 根目录草稿报告入 ignore
- eip4-poc/tools/{s3_rewriter,loadtest} → tools/(P4 改写器种子与压测 harness 随工程演进,PoC 冻结)
- 新增工程 README(模块图/纪律/常用命令/自举说明)
- 根目录 parity-reports/ 为 CLI 默认输出草稿,入 .gitignore(正式报告在 platform-parity/parity-reports/)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
499
tools/s3_rewriter/corpus/index.json
Normal file
499
tools/s3_rewriter/corpus/index.json
Normal file
@@ -0,0 +1,499 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"filename": "001_FULL_AUTO_addButton_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "单字段加按钮",
|
||||
"name": "addButton_01"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"filename": "002_FULL_AUTO_addButton_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "多字段加按钮",
|
||||
"name": "addButton_02"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"filename": "003_FULL_AUTO_addButton_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton+setVisible 混合",
|
||||
"name": "addButton_03"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"filename": "004_FULL_AUTO_addButton_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton 带多参数",
|
||||
"name": "addButton_04"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"filename": "005_FULL_AUTO_addButton_05.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton 单引号字段名",
|
||||
"name": "addButton_05"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"filename": "006_FULL_AUTO_addButton_06.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton + getValue 联动",
|
||||
"name": "addButton_06"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"filename": "007_FULL_AUTO_addButton_07.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton + setCaption",
|
||||
"name": "addButton_07"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"filename": "008_FULL_AUTO_addButton_08.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "中间变量 addButton(变量内联)",
|
||||
"name": "addButton_08"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"filename": "009_FULL_AUTO_addButton_09.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton + setEnabled",
|
||||
"name": "addButton_09"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"filename": "010_FULL_AUTO_addButton_10.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "addButton 嵌套 if",
|
||||
"name": "addButton_10"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"filename": "011_FULL_AUTO_getValue_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue 单用",
|
||||
"name": "getValue_01"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"filename": "012_FULL_AUTO_getValue_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue 多字段",
|
||||
"name": "getValue_02"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"filename": "013_FULL_AUTO_getValue_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue 条件分支",
|
||||
"name": "getValue_03"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"filename": "014_FULL_AUTO_getValue_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue + setValue",
|
||||
"name": "getValue_04"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"filename": "015_FULL_AUTO_getValue_05.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue 变量内联",
|
||||
"name": "getValue_05"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"filename": "016_FULL_AUTO_getValue_06.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue + Notification",
|
||||
"name": "getValue_06"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"filename": "017_FULL_AUTO_getValue_07.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getValue 链式比较",
|
||||
"name": "getValue_07"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"filename": "018_FULL_AUTO_setFilter_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter 基本",
|
||||
"name": "setFilter_01"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"filename": "019_FULL_AUTO_setFilter_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter 多条件",
|
||||
"name": "setFilter_02"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"filename": "020_FULL_AUTO_setFilter_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "removeAllItems 基本",
|
||||
"name": "setFilter_03"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"filename": "021_FULL_AUTO_setFilter_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter + removeAllItems",
|
||||
"name": "setFilter_04"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"filename": "022_PARTIAL_setFilter_05.groovy",
|
||||
"expected_label": "PARTIAL",
|
||||
"description": "getContainerDataSource 裸取后用中间变量调用 setFilter(ds 不是字段句柄,内联不覆盖)",
|
||||
"name": "setFilter_05"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"filename": "023_FULL_AUTO_setFilter_06.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "中间变量 setFilter",
|
||||
"name": "setFilter_06"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"filename": "024_FULL_AUTO_setFilter_07.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter + getValue",
|
||||
"name": "setFilter_07"
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"filename": "025_FULL_AUTO_setFilter_08.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "removeAllItems + addButton",
|
||||
"name": "setFilter_08"
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"filename": "026_FULL_AUTO_getContainerDataSource_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getContainerDataSource 单独使用",
|
||||
"name": "getContainerDataSource_01"
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"filename": "027_FULL_AUTO_setFilter_09.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter 动态参数",
|
||||
"name": "setFilter_09"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"filename": "028_FULL_AUTO_setFilter_10.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "多字段 setFilter",
|
||||
"name": "setFilter_10"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"filename": "029_FULL_AUTO_removeAllItems_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "removeAllItems 在条件内",
|
||||
"name": "removeAllItems_01"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"filename": "030_FULL_AUTO_removeAllItems_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "removeAllItems + setVisible",
|
||||
"name": "removeAllItems_02"
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"filename": "031_FULL_AUTO_setFilter_11.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter 字符串拼接",
|
||||
"name": "setFilter_11"
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"filename": "032_FULL_AUTO_setFilter_12.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setFilter 变量内联后改写",
|
||||
"name": "setFilter_12"
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"filename": "033_FULL_AUTO_setReadOnly_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "group.setReadOnly 基本",
|
||||
"name": "setReadOnly_01"
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"filename": "034_FULL_AUTO_setReadOnly_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "group.setReadOnly 条件",
|
||||
"name": "setReadOnly_02"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"filename": "035_FULL_AUTO_setReadOnly_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "group.setReadOnly + setVisible",
|
||||
"name": "setReadOnly_03"
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"filename": "036_FULL_AUTO_setReadOnly_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "field.setReadOnly 单字段",
|
||||
"name": "setReadOnly_04"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"filename": "037_FULL_AUTO_setReadOnly_05.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "group + field 混合 setReadOnly",
|
||||
"name": "setReadOnly_05"
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"filename": "038_FULL_AUTO_getDisplay_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getDisplay 基本",
|
||||
"name": "getDisplay_01"
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"filename": "039_FULL_AUTO_getDisplay_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getDisplay + getValue",
|
||||
"name": "getDisplay_02"
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"filename": "040_FULL_AUTO_getDisplay_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getDisplay 条件逻辑",
|
||||
"name": "getDisplay_03"
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"filename": "041_FULL_AUTO_getDisplay_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "getDisplay 变量内联",
|
||||
"name": "getDisplay_04"
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"filename": "042_FULL_AUTO_setVisible_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setVisible 基本",
|
||||
"name": "setVisible_01"
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"filename": "043_FULL_AUTO_setVisible_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setVisible 多字段",
|
||||
"name": "setVisible_02"
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"filename": "044_FULL_AUTO_setVisible_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setVisible + setRequired",
|
||||
"name": "setVisible_03"
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"filename": "045_PARTIAL_setVisible_04.groovy",
|
||||
"expected_label": "PARTIAL",
|
||||
"description": "setVisible 循环(字段名为变量 fn,正则无法匹配字面量,余留待人工)",
|
||||
"name": "setVisible_04"
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"filename": "046_FULL_AUTO_setCaption_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setCaption 基本",
|
||||
"name": "setCaption_01"
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"filename": "047_FULL_AUTO_setCaption_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setCaption 动态标题",
|
||||
"name": "setCaption_02"
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"filename": "048_FULL_AUTO_setCaption_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "setCaption + setEnabled",
|
||||
"name": "setCaption_03"
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"filename": "049_FULL_AUTO_notification_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "Notification.show 基本",
|
||||
"name": "notification_01"
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"filename": "050_FULL_AUTO_notification_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "Notification.show 动态消息",
|
||||
"name": "notification_02"
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"filename": "051_FULL_AUTO_notification_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "Notification.show + getValue",
|
||||
"name": "notification_03"
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"filename": "052_FULL_AUTO_mixed_01.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "复杂多模式混合",
|
||||
"name": "mixed_01"
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"filename": "053_FULL_AUTO_mixed_02.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "变量内联+多规则",
|
||||
"name": "mixed_02"
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"filename": "054_FULL_AUTO_mixed_03.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "数据源+显隐联动",
|
||||
"name": "mixed_03"
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"filename": "055_FULL_AUTO_mixed_04.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "嵌套条件多字段控制",
|
||||
"name": "mixed_04"
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"filename": "056_FULL_AUTO_mixed_05.groovy",
|
||||
"expected_label": "FULL_AUTO",
|
||||
"description": "多变量内联+复合改写",
|
||||
"name": "mixed_05"
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"filename": "057_PARTIAL_partial_01.groovy",
|
||||
"expected_label": "PARTIAL",
|
||||
"description": "PARTIAL: 含不在规则表内的方法",
|
||||
"name": "partial_01"
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"filename": "058_PARTIAL_partial_02.groovy",
|
||||
"expected_label": "PARTIAL",
|
||||
"description": "PARTIAL: 含自定义组件方法",
|
||||
"name": "partial_02"
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"filename": "059_PARTIAL_partial_03.groovy",
|
||||
"expected_label": "PARTIAL",
|
||||
"description": "PARTIAL: addComponent 不在规则",
|
||||
"name": "partial_03"
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"filename": "060_HARD_hard_01.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: new Window",
|
||||
"name": "hard_01"
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"filename": "061_HARD_hard_02.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: new Button",
|
||||
"name": "hard_02"
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"filename": "062_HARD_hard_03.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: new ComboBox",
|
||||
"name": "hard_03"
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"filename": "063_HARD_hard_04.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: showConfirmDialog",
|
||||
"name": "hard_04"
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"filename": "064_HARD_hard_05.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: UI.getCurrent",
|
||||
"name": "hard_05"
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"filename": "065_HARD_hard_06.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: new TextField 动态",
|
||||
"name": "hard_06"
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"filename": "066_HARD_hard_07.groovy",
|
||||
"expected_label": "HARD",
|
||||
"description": "HARD: new Window + setFilter 混合(整条转人工)",
|
||||
"name": "hard_07"
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"filename": "067_NO_S3_no_s3_01.groovy",
|
||||
"expected_label": "NO_S3",
|
||||
"description": "NO_S3: 纯行级表达式 S1",
|
||||
"name": "no_s3_01"
|
||||
},
|
||||
{
|
||||
"id": 68,
|
||||
"filename": "068_NO_S3_no_s3_02.groovy",
|
||||
"expected_label": "NO_S3",
|
||||
"description": "NO_S3: enableButton S2 形态",
|
||||
"name": "no_s3_02"
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"filename": "069_NO_S3_no_s3_03.groovy",
|
||||
"expected_label": "NO_S3",
|
||||
"description": "NO_S3: setFieldVisible S2 形态",
|
||||
"name": "no_s3_03"
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"filename": "070_NO_S3_no_s3_04.groovy",
|
||||
"expected_label": "NO_S3",
|
||||
"description": "NO_S3: 纯数值计算",
|
||||
"name": "no_s3_04"
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"filename": "071_NO_S3_no_s3_05.groovy",
|
||||
"expected_label": "NO_S3",
|
||||
"description": "NO_S3: S2 辅助函数调用",
|
||||
"name": "no_s3_05"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user