| { | |
| "task_id": "T34", | |
| "max_score": 20, | |
| "scoring_type": "keyword_group", | |
| "rules": { | |
| "bug1_cursor_loop": { | |
| "points": 5, | |
| "keywords": [ | |
| "cursor", | |
| "endselect", | |
| "into table", | |
| "select.*endselect", | |
| "游标", | |
| "SELECT...ENDSELECT", | |
| "cursor loop", | |
| "逐行", | |
| "单行" | |
| ] | |
| }, | |
| "bug2_n_plus_1": { | |
| "points": 5, | |
| "keywords": [ | |
| "n+1", | |
| "N+1", | |
| "嵌套select", | |
| "循环.*select", | |
| "内层查询", | |
| "nested select", | |
| "循环内查询", | |
| "嵌套查询" | |
| ] | |
| }, | |
| "bug3_qty_not_cleared": { | |
| "points": 5, | |
| "keywords": [ | |
| "lv_total_qty", | |
| "未清零", | |
| "clear.*qty", | |
| "累加.*错误", | |
| "初始化", | |
| "残留值", | |
| "carry over", | |
| "清零位置", | |
| "CLEAR lv_total_qty" | |
| ] | |
| }, | |
| "bug4_at_end_of": { | |
| "points": 5, | |
| "keywords": [ | |
| "at end of", | |
| "AT END OF", | |
| "排序.*不完整", | |
| "compound", | |
| "复合键", | |
| "分组.*错误", | |
| "仅按matnr排序", | |
| "排序字段不足", | |
| "bukrs.*belnr" | |
| ] | |
| } | |
| } | |
| } | |