Merged
chore: 补充 HPTG2@ops-math common 分类规则 op_math_proto_extend.h #7279
songkai111Add on 6 days ago
chore: 补充 HPTG2@ops-math common 分类规则 op_math_proto_extend.h #7279
Merged
songkai111Add on 6 days ago
Total: 1 files changed+1-0
@@ -465,6 +465,7 @@ HPTG2@ops-math:
465 - ops/ops-math/common/inc/op_api/aclnn_check.h465 - ops/ops-math/common/inc/op_api/aclnn_check.h
466 - ops/ops-math/common/inc/op_api/level2_base_math.h466 - ops/ops-math/common/inc/op_api/level2_base_math.h
467 - ops/ops-math/experimental/math/reduce_mean_with_count/tests/ut/common/tiling_case_executor.cpp467 - ops/ops-math/experimental/math/reduce_mean_with_count/tests/ut/common/tiling_case_executor.cpp
468+ - ops/ops-math/common/inc/op_graph/op_math_proto_extend.h
atomgit-bot
atomgit-botatomgit-bot6 days ago

🟡 Medium Priority

变更行(classify_rule.yaml:468)在 HPTG2@ops-math 分组下新增 - ops/ops-math/common/inc/op_graph/op_math_proto_extend.h,但同一分组的 src.release.style 列表第 445 行早已存在完全相同的路径。

证据链:

  1. 第 439 行 HPTG2@ops-math: → 第 441 行 release: → 第 442 行 style: → 第 445 行已有 - ops/ops-math/common/inc/op_graph/op_math_proto_extend.h;
  2. 第 455 行 unrelease: → 第 456 行 test_code: → 新增第 468 行为同一路径;
  3. 全文检索该文件名只命中这两处,且均在同一 HPTG2@ops-math 分组内。

影响与失败模式:release 与 unrelease 在语义上互斥(交付件 vs 非交付件),同一文件路径同时出现在两个桶中会产生归类冲突。下游按该规则做文件分类/交付统计/门禁检查时,命中结果取决于匹配实现(先匹配 release 则新增行是纯冗余死配置;先匹配 unrelease 则把一个 public 的 op_graph 图原型扩展头当作非交付 test_code,从交付件清单/交付侧门禁中被剔除,导致该头文件的规范与交付检查漏检)。此外新增行被放进 test_code(test_code 桶内其余条目多为 tests/examples/build.sh 等非交付内容),与文件本身作为交付头文件的属性不符。

建议:删除第 468 行新增的重复条目(该文件已在第 445 行的 release.style 中登记)。若确实需要补充到其他分组/桶位,请先确认正确目标位置并避免同一路径在 release 与 unrelease 中重复出现。

likedislike
Incorrect?
468 non_delivery: null469 non_delivery: null
469 open_source: null470 open_source: null
470 471