已开启
[Clean Code] 清理 Multicore 静态检查告警并收敛内部实现 #392
hedongdong创建于 13 天前
13 天前 关联了pull request:[Clean Code] 清理 Multicore 静态检查告警
hedongdong
10 天前 评论:
10 天前 评论:
mergeKey 工具名称 规则 工具规则名称 方法名 代码片段 问题描述 代码行 文件路径 责任田名称 负责人 告警类型 问题状态 问题级别 问题类型 延迟结束时间 语言 CWE 发现时间 修复类型 修复时间 子仓地址 详情链接 代码提交人 邮箱 开发人员
0256e95eb9e45f5f811b065360f41f45 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_PERGROUP_ANTIQUANT 4 Macros are not allowed to represent constants. 38 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0256e95eb9e45f5f811b065360f41f45?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
0555a481abe09f365d06e1e722bf7bfa clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MAX_TENSOR_DIMS = 4; constant 'MAX_TENSOR_DIMS' must be declared in some namespace 14 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0555a481abe09f365d06e1e722bf7bfa?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
05a27daf0ffa960f7c6592291ac3fb2e clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT8 2 Macros are not allowed to represent constants. 25 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/05a27daf0ffa960f7c6592291ac3fb2e?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
09e6524a771e6c590acc23a1854be82a fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*swiglu_grad_workspace*/, There must be 1 space between the block comment character and the comment content 102 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/09e6524a771e6c590acc23a1854be82a?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
0d3f50a133904e52355c7e101c510d2b clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_MSD_VECTOR_DEQUANT 2 Macros are not allowed to represent constants. 36 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0d3f50a133904e52355c7e101c510d2b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
0dd337aa1285d00cc97ce771c171b3ca clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_CUBE_ONLY 0 Macros are not allowed to represent constants. 45 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0dd337aa1285d00cc97ce771c171b3ca?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
0f432a1065e458fc6e245c85b04b2b3b fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*combine_size*/, There must be 1 space between the block comment character and the comment content 88 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0f432a1065e458fc6e245c85b04b2b3b?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
102b79a2608284b84c39c2ba3b7fb0c3 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER PublishDeviceReady() for (int64_t distance = 1; distance < ep; distance *= 2, ++round) { Do not use magic numbers.The number is 2 173 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/102b79a2608284b84c39c2ba3b7fb0c3?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
11f403be2b8a46cf570bc6abd7fec618 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() int64_t /*seq_size*/) { There must be 1 space between the block comment character and the comment content 100 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/11f403be2b8a46cf570bc6abd7fec618?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
121693bfb05a3a2a8eb655ffbd7b947f fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*dispatch_size*/, There must be 1 space between the block comment character and the comment content 77 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/121693bfb05a3a2a8eb655ffbd7b947f?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
14be163be726042c780a325cfa6ad7fa clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters HyperMegaMoeGrad() const std::array<const aclTensor *, 7> HyperMegaMoeGrad( function 'HyperMegaMoeGrad' exceeds recommended size/complexity thresholds 31 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/op_api/hyper_mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/14be163be726042c780a325cfa6ad7fa?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
14cfadc638153cf6b5a5462ea4744281 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t NUM_WORKERS_VECTOR = 48; constant 'NUM_WORKERS_VECTOR' must be declared in some namespace 19 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/14cfadc638153cf6b5a5462ea4744281?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
156f0f00fb92a2ca469087f5badd7b2b fixbotengine-cxx G.PRE.02-CPP 使用函数代替函数式宏 C_RULE_ID_USE_FUNCTION_INSTEAD_OF_MACRO #define SET_GMM_NO_QUANT_TPL_ARGS(kernel_type, dtype, trans_a, trans_b, aiv_aic_ratio) \ Use functions instead of function-like macros. 49 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/156f0f00fb92a2ca469087f5badd7b2b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
16cc8e46437712299979927a14d2cb5a fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class HyperMegaMoe : public OpDef { Keep C++ file names the same as the class name.The className is HyperMegaMoe ,the fileName is hyper_mega_moe_def 18 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/hyper_mega_moe_def.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/16cc8e46437712299979927a14d2cb5a?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
1701aafdace41323561223a8132e514d clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t INT32_T_SIZE = sizeof(int32_t); constant 'INT32_T_SIZE' must be declared in some namespace 38 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1701aafdace41323561223a8132e514d?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
18e25fcdb4b53cc60f5abb54b416009e fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class Result { Keep C++ file names the same as the class name.The className is Result ,the fileName is types 59 hyper_parallel/core/multicore/shmem/ccsrc/runtime/types.h check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/18e25fcdb4b53cc60f5abb54b416009e?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
199441ac27017cf2ed6a0a2a11e1f0aa clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace enum TaskAiCoreType : uint32_t { type 'TaskAiCoreType' must be declared in some namespace 46 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/199441ac27017cf2ed6a0a2a11e1f0aa?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
19de36190e4d18ff6de7b04690b7e70b clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace typedef uint32_t TaskId; type alias must be declared in some namespace 44 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/19de36190e4d18ff6de7b04690b7e70b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
1a0b88d54914f197846620db25a40502 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters put_mem_signal_kernel() extern "C" inline __aicore__ void put_mem_signal_kernel(GM_ADDR target, int64_t target_offset, GM_ADDR src, function 'put_mem_signal_kernel' exceeds recommended size/complexity thresholds 151 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1a0b88d54914f197846620db25a40502?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
1a0b88d54914f197846620db25a40502 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters put_mem_signal_kernel() extern "C" inline __aicore__ void put_mem_signal_kernel(GM_ADDR target, int64_t target_offset, GM_ADDR src, function 'put_mem_signal_kernel' exceeds recommended size/complexity thresholds 151 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1a0b88d54914f197846620db25a40502?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
1b41b32852e1500a39d89df755311ad7 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction initialize() std::memcpy(attributes.ip_port, options.effective_bootstrap_endpoint.data(), 函数'memcpy'为危险函数,建议使用对应的安全函数'memcpy_s'代替。 156 hyper_parallel/core/multicore/shmem/ccsrc/cann/host.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1b41b32852e1500a39d89df755311ad7?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
1d370b03830559eb0a60d256c78ee287 fixbotengine-cxx G.EXP.02-CPP 不要重复定义基本类型 C_RULE_ID_ALIAS_BASIC_TYPE typedef uint32_t TaskId; Do not abuse typedef or #define to set aliases for primitive types. 44 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1d370b03830559eb0a60d256c78ee287?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
1e0381b3bf0ba9abeb3eaeabef5ff570 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, PrivateUse1, m) { function 'TORCH_LIBRARY_IMPL' must be declared in some namespace 108 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1e0381b3bf0ba9abeb3eaeabef5ff570?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
20b3ea68fcdce2ea09bb3a6dda4f0825 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() int64_t /*rank_id*/, There must be 1 space between the block comment character and the comment content 96 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/20b3ea68fcdce2ea09bb3a6dda4f0825?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
21f6d71b593fa4660ab431ca30d0c7dc clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace hyper_mega_moe_grad() __global__ __aicore__ void hyper_mega_moe_grad( function 'hyper_mega_moe_grad' must be declared in some namespace 23 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/21f6d71b593fa4660ab431ca30d0c7dc?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
222483711bac304bd7fd25aa3de1128b cmetrics unsafe_function[C++] unsafe_function FormatTimestamp() std::snprintf(timestamp + length, sizeof(timestamp) - length, ".%03" PRId64, milliseconds); use the unsafe function: snprintf 123 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/222483711bac304bd7fd25aa3de1128b?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
224e43d81f256be35a438168726f0174 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*dispatch_size*/, There must be 1 space between the block comment character and the comment content 80 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/224e43d81f256be35a438168726f0174?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
22b1fab64e4676d32fab51ef57d51244 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log sys.stderr.write(f"[HP-MULTICORE-SOURCE-ERROR] {error}\n") recommended use logging module. function(sys.stderr.write) 263 hyper_parallel/core/multicore/_build/assemble_multicore_source.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/22b1fab64e4676d32fab51ef57d51244?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
23c1684657560eff87bd492a0fa49632 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace enum TaskType : uint32_t { type 'TaskType' must be declared in some namespace 53 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/23c1684657560eff87bd492a0fa49632?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
2633d88b6714d4accfec09d9e25904b7 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER WaitForDependency() if (GetBlockNumTime > 150) { Do not use magic numbers.The number is 150 331 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2633d88b6714d4accfec09d9e25904b7?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
26f7acaa721a1ea245b589581f2b0e21 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace hyper_mega_moe() __global__ __aicore__ void hyper_mega_moe( function 'hyper_mega_moe' must be declared in some namespace 23 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/26f7acaa721a1ea245b589581f2b0e21?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
28db32b173953068aa9994a31d72e325 clangTidy G.EXP.29-CPP 比较两个表达式时,左侧倾向于变化,右侧倾向于不变 huawei-const-on-left FinishLine() if (truncated && kLogLineCapacity > kTruncationMarker.size() + 2U) { the constant expression should be put on right of the comparison operator '>' 127 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/28db32b173953068aa9994a31d72e325?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
295356637be7b8b07e19193eafcc98cc clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t UINT32_T_SIZE = sizeof(uint32_t); constant 'UINT32_T_SIZE' must be declared in some namespace 37 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/295356637be7b8b07e19193eafcc98cc?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
29578271112b0ba46041f75fabb9e89a clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_FLOAT16 1 Macros are not allowed to represent constants. 24 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/29578271112b0ba46041f75fabb9e89a?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
2a30024041ef3686298abca9b7434704 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace PYBIND11_MODULE() PYBIND11_MODULE(hyper_parallel_shmem_torch, module) { function 'PYBIND11_MODULE' must be declared in some namespace 794 hyper_parallel/core/multicore/shmem/ccsrc/bindings/torch_bindings.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2a30024041ef3686298abca9b7434704?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
2bac1979d5e73543cddfa3cb5b638ceb fixbotengine-cxx G.FMT.10-CPP 函数的返回类型及修饰符与函数名同行 C_RULE_ID_FUNCTION__RETURNTYPE_QUALIFIER_NAME_ONELINE std::tuple<at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&> The return-type-of-the-function [std::tuple<at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&>] should be on the same line as the function-name [mega_moe_npu]. 23 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2bac1979d5e73543cddfa3cb5b638ceb?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
2bac1979d5e73543cddfa3cb5b638ceb fixbotengine-cxx G.FMT.10-CPP 函数的返回类型及修饰符与函数名同行 C_RULE_ID_FUNCTION__RETURNTYPE_QUALIFIER_NAME_ONELINE std::tuple<at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&> The return-type-of-the-function [std::tuple<at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&>] should be on the same line as the function-name [mega_moe_meta]. 71 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2bac1979d5e73543cddfa3cb5b638ceb?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
2c51188db10b34e244cc1dbfb06dcf6f fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() int64_t /*expert_num*/, There must be 1 space between the block comment character and the comment content 108 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2c51188db10b34e244cc1dbfb06dcf6f?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
2c63479cac8a1dbe104c5e00f075d19b clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters const std::array<const aclTensor *, 7> HyperMegaMoeGrad( function 'HyperMegaMoeGrad' exceeds recommended size/complexity thresholds 22 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/op_api/hyper_mega_moe_grad.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2c63479cac8a1dbe104c5e00f075d19b?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
2c78003609edfaefe4bae93d82802430 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteGroupedMatmul() cacheWriteThrough(tiling_data_addr, 220); Do not use magic numbers.The number is 220 197 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2c78003609edfaefe4bae93d82802430?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
2c9668443dee4194e3e5a74e2f44451a clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters WriteLine() void WriteLine(Level level, int32_t root_rank, const char *file, int line_number, const char *format, function 'WriteLine' exceeds recommended size/complexity thresholds 144 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2c9668443dee4194e3e5a74e2f44451a?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
2d4ba2cbf674a88115687538ff74e222 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() int64_t /*seq_size*/) { There must be 1 space between the block comment character and the comment content 110 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2d4ba2cbf674a88115687538ff74e222?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
2e204edd57f92fed685758e09572e420 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t EXP_TOKEN_COUNT_FLAG_CNT = UB_32B_ALIGN / sizeof(int32_t); // 8 constant 'EXP_TOKEN_COUNT_FLAG_CNT' must be declared in some namespace 34 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2e204edd57f92fed685758e09572e420?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
2f396c3e99ddc163b6afe1398544f199 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log main() print(f"Refreshing managed dependency cache: {source_dir}", file=sys.stderr) recommended use logging module. function(print) 74 hyper_parallel/core/multicore/_build/prepare_dependencies.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2f396c3e99ddc163b6afe1398544f199?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
2f396c3e99ddc163b6afe1398544f199 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log main() print(json.dumps(prepared, sort_keys=True)) recommended use logging module. function(print) 79 hyper_parallel/core/multicore/_build/prepare_dependencies.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2f396c3e99ddc163b6afe1398544f199?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
2ff526ccc57f9075039d7cf0cbff6371 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteSwiGluGrad() if (end - (start + current_seq_start) < 19) { Do not use magic numbers.The number is 19 131 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2ff526ccc57f9075039d7cf0cbff6371?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
301b5c32188b850584ba70349152ccec clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_NONE 0 Macros are not allowed to represent constants. 41 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/301b5c32188b850584ba70349152ccec?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
3355e44421df5df63a5aeaa838b61a06 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*w1_grad_tiling*/, There must be 1 space between the block comment character and the comment content 98 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3355e44421df5df63a5aeaa838b61a06?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
3429ccc897c7cd63fcc3e4827f3056dd cmetrics unsafe_function[C++] unsafe_function ParseActiveLevel() std::snprintf(output, sizeof(output), "[HP-SHMEM][rank -1][ERROR] %s [%s:%d] invalid %s=\"%s\", using ERROR", use the unsafe function: snprintf 188 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3429ccc897c7cd63fcc3e4827f3056dd?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
358d5ecfde8d470776a93da8fe401c9b clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MAX_GROUP_LIST = 512; constant 'MAX_GROUP_LIST' must be declared in some namespace 21 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/358d5ecfde8d470776a93da8fe401c9b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
3637523bfafb0c0c4f1a3854decd17bd clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters launch_all_gather() void launch_all_gather(uint32_t block_dim, void *stream, uint8_t *output, uint8_t *input, uint64_t local_bytes, function 'launch_all_gather' exceeds recommended size/complexity thresholds 164 hyper_parallel/core/multicore/shmem/ccsrc/ops/all_gather/kernel/all_gather_kernel.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3637523bfafb0c0c4f1a3854decd17bd?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
37164ebcbcec3edd71a42c89f0dcaecc clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, Meta, m) { function 'TORCH_LIBRARY_IMPL' could be put into anoynamous namespace or made static 123 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/37164ebcbcec3edd71a42c89f0dcaecc?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
3a1db395186244246572e2d025ff5a2c clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_PERGROUP_ANTIQUANT 4 Macros are not allowed to represent constants. 38 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3a1db395186244246572e2d025ff5a2c?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
3a43c84972bf866512404b0b1f8474f3 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*down_proj_tiling*/, There must be 1 space between the block comment character and the comment content 92 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3a43c84972bf866512404b0b1f8474f3?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
3afea06f02f0a2e8f2454c8e5b28ad77 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction FormatTimestamp() std::snprintf(timestamp + length, sizeof(timestamp) - length, ".%03" PRId64, milliseconds); 函数'snprintf'为危险函数,建议使用对应的安全函数'snprintf_s'代替。 123 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3afea06f02f0a2e8f2454c8e5b28ad77?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3afea06f02f0a2e8f2454c8e5b28ad77 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction FormatTimestamp() std::snprintf(timestamp, sizeof(timestamp), "0000-00-00-00:00:00.000"); 函数'snprintf'为危险函数,建议使用对应的安全函数'snprintf_s'代替。 116 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3afea06f02f0a2e8f2454c8e5b28ad77?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3afea06f02f0a2e8f2454c8e5b28ad77 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction FormatTimestamp() const int prefix_size = std::snprintf(output, sizeof(output), "[HP-SHMEM][rank %d][%s] %s [%s:%d] ", root_rank, 函数'snprintf'为危险函数,建议使用对应的安全函数'snprintf_s'代替。 150 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3afea06f02f0a2e8f2454c8e5b28ad77?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3afea06f02f0a2e8f2454c8e5b28ad77 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction FormatTimestamp() std::snprintf(output, sizeof(output), "[HP-SHMEM][rank -1][ERROR] %s [%s:%d] invalid %s=\"%s\", using ERROR", 函数'snprintf'为危险函数,建议使用对应的安全函数'snprintf_s'代替。 188 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3afea06f02f0a2e8f2454c8e5b28ad77?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3e622301fbe069db2ae72a3c9613166b fixbotengine-cxx G.PRE.02-CPP 使用函数代替函数式宏 C_RULE_ID_USE_FUNCTION_INSTEAD_OF_MACRO #define HP_SM_FAIL_INITIALIZATION(phase, root_rank, error) \ Use functions instead of function-like macros. 26 hyper_parallel/core/multicore/shmem/ccsrc/runtime/runtime.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3e622301fbe069db2ae72a3c9613166b?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3f0548e73c142cd030c9969af4efb908 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*dispatch_target_off*/, There must be 1 space between the block comment character and the comment content 74 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3f0548e73c142cd030c9969af4efb908?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
3f208e5faa564a55a943ed09b1e3a9bf fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*down_proj_weight*/, There must be 1 space between the block comment character and the comment content 82 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3f208e5faa564a55a943ed09b1e3a9bf?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
3fa8870c430b8af7430fc9d99c9b75fa clangTidy G.INC.07-CPP 按照合理的顺序包含头文件 huawei-include-order #include "aclnn_hyper_mega_moe.h" #includes are not sorted properly. Order-ref: standard library headers, OS library headers, and project-specific headers. And header corresponding to source file should be first or last. suggested order is '"hyper_mega_moe.h","aclnn_hyper_mega_moe.h"' 25 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/op_api/aclnn_hyper_mega_moe.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3fa8870c430b8af7430fc9d99c9b75fa?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
3fe6178199d98c1c635f1ab2abb41d52 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*group_list*/, There must be 1 space between the block comment character and the comment content 95 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3fe6178199d98c1c635f1ab2abb41d52?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
43160b9bd40fa8a607a7886ae4533ce9 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace isCycleProfileEnabled() __aicore__ inline bool isCycleProfileEnabled(__gm__ uint8_t *tiling) { function 'isCycleProfileEnabled' must be declared in some namespace 341 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/43160b9bd40fa8a607a7886ae4533ce9?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
43661618d584067d1da0d9b819f508e8 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct RuntimeHeader { type 'RuntimeHeader' must be declared in some namespace 130 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/43661618d584067d1da0d9b819f508e8?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
45f3fafb6b5346c71bdd28016fc12ecf clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t ATOMIC_ADD_VALUE_LEN = 8; constant 'ATOMIC_ADD_VALUE_LEN' must be declared in some namespace 23 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/45f3fafb6b5346c71bdd28016fc12ecf?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
463ae5601438cf3f3ba634e4661cbdc1 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER TilingFunc() if (runtimeBytes < 64 || runtimeBytes >= (1LL << 32) || eventBytes < 4096) { Do not use magic numbers.The number is 64 95 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/hyper_mega_moe_tiling.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/463ae5601438cf3f3ba634e4661cbdc1?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
46ac429676803327a5079341147c2df5 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace SyncFunc() __aicore__ inline void SyncFunc() { function 'SyncFunc' must be declared in some namespace 392 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/46ac429676803327a5079341147c2df5?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
477b64d3cea6244cbe2485d02ee5bc51 flake8 G.PSL.02 在datetime的使用过程中注意时区的影响,时区敏感的场景建议显式指定时区 DTZ005 _log_allocation_site() now = datetime.now() The use of `datetime.datetime.now()` without `tz` argument is not allowed. 84 hyper_parallel/core/multicore/shmem/_debug.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/477b64d3cea6244cbe2485d02ee5bc51?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
477ba6714e186f036e8209f1cb9b2da1 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function PYBIND11_MODULE() PYBIND11_MODULE(hyper_parallel_shmem_torch, module) { function 'PYBIND11_MODULE' could be put into anoynamous namespace or made static 794 hyper_parallel/core/multicore/shmem/ccsrc/bindings/torch_bindings.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/477ba6714e186f036e8209f1cb9b2da1?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
486e41569d090632482ccbd9d5eb5753 cmetrics unsafe_function[C++] unsafe_function initialize() std::memcpy(attributes.ip_port, options.effective_bootstrap_endpoint.data(), use the unsafe function: memcpy 156 hyper_parallel/core/multicore/shmem/ccsrc/cann/host.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/486e41569d090632482ccbd9d5eb5753?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
4bd23b426a9b4a545e0424c27526f23c clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_SPARSEM 2 Macros are not allowed to represent constants. 32 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4bd23b426a9b4a545e0424c27526f23c?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
4c91f5bdde551a04eba0d5904c685e70 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_FLOAT 0 Macros are not allowed to represent constants. 23 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4c91f5bdde551a04eba0d5904c685e70?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
4ce87bb5d692793460f0d2724264589d fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*gate*/, There must be 1 space between the block comment character and the comment content 85 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4ce87bb5d692793460f0d2724264589d?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
4d55e49de2e4451728f220be881ce1a7 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*runtime_config*/, There must be 1 space between the block comment character and the comment content 103 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4d55e49de2e4451728f220be881ce1a7?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
4dd95999cfb18a28b11e997a2f7b866a fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() int64_t /*rank_id*/, There must be 1 space between the block comment character and the comment content 106 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4dd95999cfb18a28b11e997a2f7b866a?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
4e19896a39178444aabaae7ce329ec2d clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace getTaskDesc() __aicore__ inline void getTaskDesc(__gm__ uint8_t *tiling, TaskDesc *tilingData, uint32_t index_size) { function 'getTaskDesc' must be declared in some namespace 176 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4e19896a39178444aabaae7ce329ec2d?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
50178b2ca9bc36857bb567a7ea8bc3a3 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_AIV_AIC_RATIO_1 1 Macros are not allowed to represent constants. 46 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/50178b2ca9bc36857bb567a7ea8bc3a3?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
50206e18917a3e6dc7568bb3207dc599 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*dy*/, There must be 1 space between the block comment character and the comment content 78 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/50206e18917a3e6dc7568bb3207dc599?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
51e783fa3c074f068f28fd02662b8ae4 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*dispatch_src_off*/, There must be 1 space between the block comment character and the comment content 79 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/51e783fa3c074f068f28fd02662b8ae4?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
55b431de343e06e1f5c8b2efe543a607 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace isRuntimeStorageValid() __aicore__ inline bool isRuntimeStorageValid(__gm__ uint8_t *tiling, uint64_t runtime_bytes, function 'isRuntimeStorageValid' must be declared in some namespace 358 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/55b431de343e06e1f5c8b2efe543a607?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
55dad7112dd4cb7f2150b4988806a653 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct EventDesc { type 'EventDesc' must be declared in some namespace 88 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/55dad7112dd4cb7f2150b4988806a653?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
5649d83d2a59a30b76b1430ecb500a3b fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*combine_target_off*/, There must be 1 space between the block comment character and the comment content 90 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5649d83d2a59a30b76b1430ecb500a3b?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
57b2bc74d319828ee4a18dde147507aa fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ProcessFast() if (this->worker_id_ % 2 == 0) { Do not use magic numbers.The number is 2 100 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/57b2bc74d319828ee4a18dde147507aa?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
592149b4a376a779ffe49321d4d55339 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t DATA_CACHE_LINE_SIZE = 64; constant 'DATA_CACHE_LINE_SIZE' must be declared in some namespace 33 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/592149b4a376a779ffe49321d4d55339?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
5a1949662022ece7d74ada3a5b90a51a clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct TensorDesc { type 'TensorDesc' must be declared in some namespace 75 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5a1949662022ece7d74ada3a5b90a51a?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
5b2fd535ddfe254c3a8f6ece54ef1e58 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*w2*/, There must be 1 space between the block comment character and the comment content 83 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5b2fd535ddfe254c3a8f6ece54ef1e58?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
5be87db31f9cc1d7d23d80265bcbebd7 CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction FinishLine() std::memcpy(line + length, kTruncationMarker.data(), kTruncationMarker.size()); 函数'memcpy'为危险函数,建议使用对应的安全函数'memcpy_s'代替。 129 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5be87db31f9cc1d7d23d80265bcbebd7?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
5bebbab5004977407ff93ad601a46da7 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT32 3 Macros are not allowed to represent constants. 26 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5bebbab5004977407ff93ad601a46da7?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
5bfbbc2f126f9d8668724261a71b8f3f clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_PERCHANNEL_ANTIQUANT 3 Macros are not allowed to represent constants. 37 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5bfbbc2f126f9d8668724261a71b8f3f?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
5ce8b3678f3c8cc5da9c433d186861b6 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteGroupedMatmul() cacheWriteThrough(tiling_data_addr, 250); Do not use magic numbers.The number is 250 177 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5ce8b3678f3c8cc5da9c433d186861b6?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
5d1dadb1c82735edbfd0cdb176b0ae06 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, Meta, m) { function 'TORCH_LIBRARY_IMPL' must be declared in some namespace 113 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5d1dadb1c82735edbfd0cdb176b0ae06?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
5e3d39fb55d7f922be1301e089dcb3c0 fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class KernelWorkerBase { Keep C++ file names the same as the class name.The className is KernelWorkerBase ,the fileName is worker_kernel 35 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5e3d39fb55d7f922be1301e089dcb3c0?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
5e7f3773561c2d9eded68422188d1972 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function hyper_mega_moe_grad() __global__ __aicore__ void hyper_mega_moe_grad( function 'hyper_mega_moe_grad' could be put into anoynamous namespace or made static 23 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5e7f3773561c2d9eded68422188d1972?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
5fcae35591c0295c121b9ae99b25fc17 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*profile_buffer*/, There must be 1 space between the block comment character and the comment content 95 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5fcae35591c0295c121b9ae99b25fc17?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙


hedongdong
10 天前 评论:
10 天前 评论:
r1.0.0
序号 mergeKey 工具名称 规则 工具规则名称 方法名 代码片段 问题描述 代码行 文件路径 责任田名称 负责人 告警类型 问题状态 问题级别 问题类型 延迟结束时间 语言 CWE 发现时间 修复类型 修复时间 子仓地址 详情链接 代码提交人 邮箱 开发人员
2 01ae60b27385606239b2724c0737507b pylint R0914 R0914 backward() def backward(ctx, grad_attention_out, grad_softmax_lse): # pylint: disable=unused-argument Too many local variables (21/15) 559 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/01ae60b27385606239b2724c0737507b?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
3 024b7b101a99b07c239e2583b68e5054 pylint G.CLS.02 子类重写父类的方法时,方法签名应该和被重写的方法一致 H3602 forward() def forward(ctx, # pylint: disable=too-many-arguments,too-many-locals,too-many-statements Variadics removed in overridden 'NpuSparseFlashMlaDFunction.forward' method 477 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/024b7b101a99b07c239e2583b68e5054?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
9 0bd59ad1f9d20cc0889b83a83c02ec55 pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 forward() def forward(ctx, # pylint: disable=too-many-arguments,too-many-locals,too-many-statements Too many arguments (22/10) 477 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/0bd59ad1f9d20cc0889b83a83c02ec55?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
40 3484f43b005344ba168901db2e656a0e pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 forward() ctx.save_for_backward(*[t for t in [ Do not use more than two clauses or clauses that has more than one line. 543 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/3484f43b005344ba168901db2e656a0e?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
75 7c84e58c39311105534608873e7c4f75 pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 forward() def forward(ctx, query, key, weights, sparse_count, Too many arguments (13/10) 442 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/7c84e58c39311105534608873e7c4f75?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
80 8087a45c998e82f9f8f849902b784878 pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 forward() def forward(ctx, query, key, weights, sparse_indices, attn_softmax_l1_norm, Too many arguments (14/10) 636 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/8087a45c998e82f9f8f849902b784878?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
83 858a4a4e5f3f28eef493040ee037cf02 pylint G.CLS.02 子类重写父类的方法时,方法签名应该和被重写的方法一致 H3602 forward() def forward(ctx, query, key, weights, sparse_count, Variadics removed in overridden 'NpuLightningIndexerDFunction.forward' method 442 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/858a4a4e5f3f28eef493040ee037cf02?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
85 890d1ab9e7d9d766f4e60672c48957a1 pylint G.CMT.03 公共函数的文档字符串写在函数声明(def function_name(param):)所在行的下一行,并向后缩进4个空格 C0118 npu_sparse_flash_mla_grad() def npu_sparse_flash_mla_grad(*args, **kwargs): Docstring for function is indented back by four spaces. 78 hyper_parallel/platform/mindspore/custom_ops/custom_ops.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/890d1ab9e7d9d766f4e60672c48957a1?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
90 8c573de5d85f16e15f52e59137c7817c pylint G.FNM.05 当函数返回值个数较多时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3405 backward() return (d_query, d_key, d_weights, Too many return values in a return statement (13/5) 678 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/8c573de5d85f16e15f52e59137c7817c?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
114 a8f03a1855a3b60307499ed1a83c62dc pylint G.CLS.02 子类重写父类的方法时,方法签名应该和被重写的方法一致 H3602 backward() def backward(ctx, grad_attention_out, grad_softmax_lse): # pylint: disable=unused-argument Variadics removed in overridden 'NpuSparseFlashMlaDFunction.backward' method 559 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/a8f03a1855a3b60307499ed1a83c62dc?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
134 c99cd374ea957204b53d5e884685c585 pylint R0914 R0914 npu_sparse_flash_mla_grad() def npu_sparse_flash_mla_grad( Too many local variables (25/15) 366 hyper_parallel/custom_ops/experimental/experimental_ops.py check_code/hyper_parallel/custom_ops/experimental liuchongming 00520407 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/c99cd374ea957204b53d5e884685c585?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
143 d3068209a6da4f268ffe2a8cebca2abe cmetrics huge_cca_cyclomatic_complexity[PYTHON] huge_cca_cyclomatic_complexity backward() def backward(ctx, grad_attention_out, grad_softmax_lse): # pylint: disable=unused-argument the cca cyclomatic complexity of the method {backward()} is 25, it is over 19 559 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 代码坏味道类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/d3068209a6da4f268ffe2a8cebca2abe?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
149 d84b802dd8196a4ffd6571b76829d9bd pylint G.CLS.02 子类重写父类的方法时,方法签名应该和被重写的方法一致 H3602 forward() def forward(ctx, query, key, weights, sparse_indices, attn_softmax_l1_norm, Variadics removed in overridden 'NpuSparseLightningIndexerKlLossGradDFunction.forward' method 636 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/d84b802dd8196a4ffd6571b76829d9bd?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
158 e6c13ec306a9450361775fe72c2105be pylint R0914 R0914 npu_sparse_flash_mla() def npu_sparse_flash_mla( Too many local variables (21/15) 284 hyper_parallel/custom_ops/experimental/experimental_ops.py check_code/hyper_parallel/custom_ops/experimental liuchongming 00520407 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/e6c13ec306a9450361775fe72c2105be?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
167 f273780034155dfddfdf0110fc3f16b9 pylint G.FNM.05 当函数返回值个数较多时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3405 backward() return (d_query, d_ori_kv, d_cmp_kv, Too many return values in a return statement (21/5) 597 hyper_parallel/platform/mindspore/custom_ops/custom_op_impl.py check_code/hyper_parallel/platform/mindspore/custom_ops liuchongming 00520407 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-14 15:22:37 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/337efecfa63c45909404cc3306b49063/defect/f273780034155dfddfdf0110fc3f16b9?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬


10 天前 修改了issue 的描述
hedongdong
9 天前 评论:
9 天前 评论:
5fee6461db63114ca5636737ee4f6ead clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters aclshmem_all_gather() aclError aclshmem_all_gather(aclrtStream stream, void *output, void *input, uint64_t local_bytes, int32_t root_rank, function 'aclshmem_all_gather' exceeds recommended size/complexity thresholds 43 hyper_parallel/core/multicore/shmem/ccsrc/ops/all_gather/host/all_gather.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/5fee6461db63114ca5636737ee4f6ead?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
608c37946308522f2de44549971dc8be clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace enum struct DynamicType : uint32_t { type 'DynamicType' must be declared in some namespace 94 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/608c37946308522f2de44549971dc8be?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
6368022e4b3920a7559601b947911cfa clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, PrivateUse1, m) { function 'TORCH_LIBRARY_IMPL' could be put into anoynamous namespace or made static 108 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6368022e4b3920a7559601b947911cfa?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
6665986579ec1a9cce3688520f105ce6 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct HyperMegaMoeGradParamsBase { type 'HyperMegaMoeGradParamsBase' must be declared in some namespace 19 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/op_api/aclnn_hyper_mega_moe_grad.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6665986579ec1a9cce3688520f105ce6?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
66f94868143ceee6e1241989157f0217 cmetrics unsafe_function[C++] unsafe_function WriteLine() const int prefix_size = std::snprintf(output, sizeof(output), "[HP-SHMEM][rank %d][%s] %s [%s:%d] ", root_rank, use the unsafe function: snprintf 150 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/66f94868143ceee6e1241989157f0217?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
6822ccc634885826f3b4bdfc2354bbb8 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_ANTIQUANT 2 Macros are not allowed to represent constants. 43 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6822ccc634885826f3b4bdfc2354bbb8?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
685442832d3bb229f7839c8cc2fa6a36 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct DynamicData { type 'DynamicData' must be declared in some namespace 99 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/685442832d3bb229f7839c8cc2fa6a36?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
699eaa8d8337315c9d4720bb8ac66887 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*combine_src_off*/, There must be 1 space between the block comment character and the comment content 91 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/699eaa8d8337315c9d4720bb8ac66887?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
69f01108257c15f9b381e4149cb50458 cmetrics unsafe_function[C++] unsafe_function WriteLine() const int message_size = std::vsnprintf(output + prefix_length, remaining, format, arguments); use the unsafe function: vsnprintf 158 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/69f01108257c15f9b381e4149cb50458?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
6bb742ff23843efe33cc1a8091a42712 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*profile_buffer*/, There must be 1 space between the block comment character and the comment content 105 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6bb742ff23843efe33cc1a8091a42712?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
6c5dd5efec32552d62411cf48df1437a clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters Init() __aicore__ inline void Init(GM_ADDR target, int64_t target_offset, GM_ADDR src, int64_t src_offset, int64_t size, function 'Init' exceeds recommended size/complexity thresholds 39 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6c5dd5efec32552d62411cf48df1437a?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
6c5dd5efec32552d62411cf48df1437a clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters Init() __aicore__ inline void Init(GM_ADDR target, int64_t target_offset, GM_ADDR src, int64_t src_offset, int64_t size, function 'Init' exceeds recommended size/complexity thresholds 39 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6c5dd5efec32552d62411cf48df1437a?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
6c845a7b7ca5b968f3e2ea7c50bff0a1 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_COUNT 1 Macros are not allowed to represent constants. 31 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6c845a7b7ca5b968f3e2ea7c50bff0a1?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
6cdd6309d7d0ab5d5ed6a0de282cd97f clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t INT64_T_SIZE = sizeof(int64_t); constant 'INT64_T_SIZE' must be declared in some namespace 39 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6cdd6309d7d0ab5d5ed6a0de282cd97f?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
70f20c88436f5962e50780698eba15c9 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace getDynamicData() __aicore__ inline void getDynamicData(__gm__ uint8_t *tiling, DynamicData *tilingData) { function 'getDynamicData' must be declared in some namespace 318 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/70f20c88436f5962e50780698eba15c9?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
742b2e2c5a1e7e7191618f36bf471aef clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT4 29 Macros are not allowed to represent constants. 28 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/742b2e2c5a1e7e7191618f36bf471aef?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
77560144471042cc3767d6eb6d40844a clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function hyper_mega_moe() __global__ __aicore__ void hyper_mega_moe( function 'hyper_mega_moe' could be put into anoynamous namespace or made static 23 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/77560144471042cc3767d6eb6d40844a?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
7758b6e1ce04b9958e5c0ccb1fef8168 fixbotengine-cxx G.CMT.04-CPP 不写空有格式的函数头注释 C_RULE_ID_FUNCTION_HEADER /** Empty function header comments with no content are forbidden. 37 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/op_api/aclnn_hyper_mega_moe.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7758b6e1ce04b9958e5c0ccb1fef8168?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
78120651c194a2568d4be07c878974c2 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteSwiGluGrad() cacheWriteThrough(tiling_data_addr, 10); Do not use magic numbers.The number is 10 134 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/78120651c194a2568d4be07c878974c2?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
785af81b4bff8ae28fe76ca55dafd1f4 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*swiglu_grad_tiling*/, There must be 1 space between the block comment character and the comment content 100 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/785af81b4bff8ae28fe76ca55dafd1f4?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
79d22e75c87bc6216f1dd163dbf37659 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*runtime_config*/, There must be 1 space between the block comment character and the comment content 93 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/79d22e75c87bc6216f1dd163dbf37659?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
7b866d22ff5983348fa6510027753388 fixbotengine-cxx G.OTH.01 删除无效或永不执行的代码(CPP) C_RULE_ID_CODE_IN_COMMENT TilingFunc() // OP_LOGE(context->GetNodeName(), "coreNum:%d", coreNum); Delete unused code segments. Do not comment them out. 35 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/hyper_mega_moe_grad_tiling.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7b866d22ff5983348fa6510027753388?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
7c14765b9fe8e38b37f8ced9fabb0fcf clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_ANTIQUANT 2 Macros are not allowed to represent constants. 43 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7c14765b9fe8e38b37f8ced9fabb0fcf?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
7cbbdab4257a4974f9e55f35de95e26b fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*swiglu_tiling*/, There must be 1 space between the block comment character and the comment content 91 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7cbbdab4257a4974f9e55f35de95e26b?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
7d7d4dff345ac436b9fba19dcfb84ccb clangTidy G.FUN.04-CPP 避免定义C风格的变参函数 huawei-no-c-style-param Line() void Line(Level level, int32_t root_rank, const char *file, int line, const char *format, ...) noexcept { Avoiding Defining Variable Parameter Functions in the C Style. 204 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7d7d4dff345ac436b9fba19dcfb84ccb?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
7d7f3a20bed3f293340c7ab8b3dbc1df clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters mega_moe_npu() mega_moe_npu( function 'mega_moe_npu' exceeds recommended size/complexity thresholds 24 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7d7f3a20bed3f293340c7ab8b3dbc1df?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
7e300c865c99711ef9bf037371919fbe clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MAX_OUTPUTS_PER_TASK = 4; constant 'MAX_OUTPUTS_PER_TASK' must be declared in some namespace 16 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7e300c865c99711ef9bf037371919fbe?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
7ed4ffb530f7f16a96ce9490169b316c fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() int64_t /*hidden_size*/, There must be 1 space between the block comment character and the comment content 99 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7ed4ffb530f7f16a96ce9490169b316c?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
7f89437bf4ec09a7cab1d8c8386b14a0 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() int64_t /*ep*/, There must be 1 space between the block comment character and the comment content 107 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/7f89437bf4ec09a7cab1d8c8386b14a0?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
805801490afef25bdae122dc88f7967a fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER WaitForDependency() if (GetBlockNumTime > 50) { Do not use magic numbers.The number is 50 309 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/805801490afef25bdae122dc88f7967a?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
86ff6bc44abf504f0f175686fb7bc128 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_BF16 27 Macros are not allowed to represent constants. 27 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/86ff6bc44abf504f0f175686fb7bc128?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
87b29f5d086a40e1bed7299f0de9dba7 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function inline __gm__ struct OpSystemRunCfg g_opSystemRunCfg { variable 'g_opSystemRunCfg' could be put into anoynamous namespace or made static 18 hyper_parallel/core/multicore/shmem/ccsrc/ops/all_gather/kernel/all_gather_kernel.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/87b29f5d086a40e1bed7299f0de9dba7?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
8aec5191dfb1b8007ebb33419f3f9567 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*gate_grad_tiling*/, There must be 1 space between the block comment character and the comment content 97 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8aec5191dfb1b8007ebb33419f3f9567?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
8b88e3b9ca979661711b3f59a31ea1e1 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_AIV_AIC_RATIO_2 2 Macros are not allowed to represent constants. 47 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8b88e3b9ca979661711b3f59a31ea1e1?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
8c0636aa9a09d36ec356601593e5d219 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*up_proj_tiling*/, There must be 1 space between the block comment character and the comment content 90 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8c0636aa9a09d36ec356601593e5d219?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
8c3a4f6ac098344c29e933ada7e23a51 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, Meta, m) { function 'TORCH_LIBRARY_IMPL' must be declared in some namespace 123 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8c3a4f6ac098344c29e933ada7e23a51?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
8dfd780ba0dc6d8aa1dbf6abf94e6d31 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*act_grad_tiling*/, There must be 1 space between the block comment character and the comment content 96 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8dfd780ba0dc6d8aa1dbf6abf94e6d31?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
8e7cfc701a3a686d7802d9c4e7a8921e fixbotengine-cxx G.PRE.02-CPP 使用函数代替函数式宏 C_RULE_ID_USE_FUNCTION_INSTEAD_OF_MACRO #define SET_GMM_NO_QUANT_TPL_ARGS(kernel_type, dtype, trans_a, trans_b, aiv_aic_ratio) \ Use functions instead of function-like macros. 49 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8e7cfc701a3a686d7802d9c4e7a8921e?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
8f403827fd419607861db7ae071dc797 fixbotengine-cxx G.FMT.10-CPP 函数的返回类型及修饰符与函数名同行 C_RULE_ID_FUNCTION__RETURNTYPE_QUALIFIER_NAME_ONELINE __attribute__((format(printf, 5, 6))) The qualifier-the-function should be on the same line as the function-name [Line]. 42 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.h check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8f403827fd419607861db7ae071dc797?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
8f64eda8d58f4d7aac56492c05c22aea CodeMars G.FUU.21 禁止使用内存操作类不安全函数 RiskyFunction WriteLine() const int message_size = std::vsnprintf(output + prefix_length, remaining, format, arguments); 函数'vsnprintf'为危险函数,建议使用对应的安全函数'vsnprintf_s'代替。 158 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 安全规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8f64eda8d58f4d7aac56492c05c22aea?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
8f73f38cccf53ee43739cc9e8a543190 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function TORCH_LIBRARY() TORCH_LIBRARY(hyper_parallel, m) { function 'TORCH_LIBRARY' could be put into anoynamous namespace or made static 14 hyper_parallel/core/multicore/torch/csrc/registration.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8f73f38cccf53ee43739cc9e8a543190?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
905a51f4df3b3a3bd7f7e460ff11c23f clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MIN_EVENT_CAPACITY = 1024; constant 'MIN_EVENT_CAPACITY' must be declared in some namespace 18 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/905a51f4df3b3a3bd7f7e460ff11c23f?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
91434f618fea26e969f9e05e3bf169e4 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_MSD_API_DEQUANT 1 Macros are not allowed to represent constants. 35 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/91434f618fea26e969f9e05e3bf169e4?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
93cc322f07c57a959c54028fd5167c78 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters Failure() void Failure(const char *file, int line, DfxOperation operation, DfxPhase phase, int32_t root_rank, function 'Failure' exceeds recommended size/complexity thresholds 216 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/93cc322f07c57a959c54028fd5167c78?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
962d26e28b40046f57a4b011aee12f07 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT8 2 Macros are not allowed to represent constants. 25 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/962d26e28b40046f57a4b011aee12f07?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
9775aa9778235f4440c3fc5f8dfa8c73 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT32 3 Macros are not allowed to represent constants. 26 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9775aa9778235f4440c3fc5f8dfa8c73?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
9797710c005de845c24b86367eac09ae clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct ReadyHandshakeMeta { type 'ReadyHandshakeMeta' must be declared in some namespace 126 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9797710c005de845c24b86367eac09ae?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
9923035fc202b65edc77d72930a2de53 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters const std::array<const aclTensor *, 5> HyperMegaMoe( function 'HyperMegaMoe' exceeds recommended size/complexity thresholds 22 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/op_api/hyper_mega_moe.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9923035fc202b65edc77d72930a2de53?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
996f5a395e6a802c1e297b9537c9f7be clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters extern void launch_all_gather(uint32_t block_dim, void *stream, uint8_t *output, uint8_t *input, uint64_t local_bytes, function 'launch_all_gather' exceeds recommended size/complexity thresholds 40 hyper_parallel/core/multicore/shmem/ccsrc/ops/all_gather/host/all_gather.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/996f5a395e6a802c1e297b9537c9f7be?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
999ab0bee8d49dbf0e059d1cc5b1a044 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t DISPATCH_TOKEN_UB_SIZE = 3 * 32; constant 'DISPATCH_TOKEN_UB_SIZE' must be declared in some namespace 35 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/999ab0bee8d49dbf0e059d1cc5b1a044?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
9a8f2031aa1561c0cf8886f34c21092b fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE Runtime::RecordLeak() AllocationRecord{allocation_id, allocation_base, allocation_bytes, /*alignment_bytes=*/0}); There must be 1 space between the block comment character and the comment content 293 hyper_parallel/core/multicore/shmem/ccsrc/runtime/runtime.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9a8f2031aa1561c0cf8886f34c21092b?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
9b1677a127006172d76d67320f8ca848 fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class KernelWorker : public KernelWorkerBase<KernelWorker> { Keep C++ file names the same as the class name.The className is KernelWorker ,the fileName is worker_kernel 24 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9b1677a127006172d76d67320f8ca848?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
9b1677a127006172d76d67320f8ca848 fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class KernelWorker : public KernelWorkerBase<KernelWorker> { Keep C++ file names the same as the class name.The className is KernelWorker ,the fileName is worker_kernel 25 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9b1677a127006172d76d67320f8ca848?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
9ec0a41241e6a41ad7a51af5e722f03a fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*combine_size*/, There must be 1 space between the block comment character and the comment content 92 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/9ec0a41241e6a41ad7a51af5e722f03a?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
a06e5e74dbd2053ba459aa7f109afe7b CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log _log_allocation_site() print(line, file=sys.stderr, flush=True) recommended use logging module. function(print) 91 hyper_parallel/core/multicore/shmem/_debug.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a06e5e74dbd2053ba459aa7f109afe7b?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
a0b8127432e6f76d009f660f8769e22d clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace struct TaskDesc { type 'TaskDesc' must be declared in some namespace 106 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a0b8127432e6f76d009f660f8769e22d?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
a0ca0ac2c6ec863a51bab6d7bf4840d8 fixbotengine-cxx G.CMT.02-CPP 代码注释置于对应代码的上方或右边 C_RULE_ID_COMMENT_LOCATION Runtime::RecordLeak() AllocationRecord{allocation_id, allocation_base, allocation_bytes, /*alignment_bytes=*/0}); Code comments are placed above or to the right of the corresponding code 293 hyper_parallel/core/multicore/shmem/ccsrc/runtime/runtime.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a0ca0ac2c6ec863a51bab6d7bf4840d8?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
a23ba21bb6be02d037c5da4a08d4004d fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*gmm_workspace*/, There must be 1 space between the block comment character and the comment content 89 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a23ba21bb6be02d037c5da4a08d4004d?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
a2b64adcd4d069dd4a9fea3a9286bf53 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t UB_32B_ALIGN = 32; constant 'UB_32B_ALIGN' must be declared in some namespace 32 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a2b64adcd4d069dd4a9fea3a9286bf53?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
a3c91b9e951f90181fecae6cbc13aea8 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, PrivateUse1, m) { function 'TORCH_LIBRARY_IMPL' could be put into anoynamous namespace or made static 118 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a3c91b9e951f90181fecae6cbc13aea8?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
a65c2c2d50f623597689adefc2b86216 clangTidy G.INC.07-CPP 按照合理的顺序包含头文件 huawei-include-order #include "hyper_mega_moe_tiling.h" #includes are not sorted properly. Order-ref: standard library headers, OS library headers, and project-specific headers. And header corresponding to source file should be first or last. suggested order is '"../op_kernel/hyper_mega_moe_tiling_key.h","hyper_mega_moe_tiling.h"' 19 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/hyper_mega_moe_tiling.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a65c2c2d50f623597689adefc2b86216?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
a702ac071301b9030a4461bc350ec1c3 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_AUTOTILING 5 Macros are not allowed to represent constants. 39 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a702ac071301b9030a4461bc350ec1c3?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
a7edc0d053ac7d47f99ebcccc687d321 clangTidy G.ENU.01-CPP 优先使用枚举类而不是普通枚举 huawei-no-use-unscoped-enum enum EventType : uint32_t { Use scoped enum first over unscoped enum. 65 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a7edc0d053ac7d47f99ebcccc687d321?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
a7f42ce0af0975eced1037c89993d15e fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*down_proj_glist*/, There must be 1 space between the block comment character and the comment content 83 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a7f42ce0af0975eced1037c89993d15e?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
a99b836a16aafc895d901ecebac48ebe clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_PERCHANNEL_ANTIQUANT 3 Macros are not allowed to represent constants. 37 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a99b836a16aafc895d901ecebac48ebe?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
aa1c942db3268e9d4e742eb23cbcce1b clangTidy G.EXP.03-CPP 使用using定义类型别名 huawei-use-using typedef uint32_t TaskId; use 'using' instead of 'typedef' 44 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/aa1c942db3268e9d4e742eb23cbcce1b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
aac02933636b131e166f7b0e159b95ec clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, PrivateUse1, m) { function 'TORCH_LIBRARY_IMPL' must be declared in some namespace 118 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/aac02933636b131e166f7b0e159b95ec?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
aada1bd6018951e26a75847141d71672 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*w2_grad_tiling*/, There must be 1 space between the block comment character and the comment content 99 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/aada1bd6018951e26a75847141d71672?defectIndex=1&allMergedRequest=false bj-wang wanghaoran19@huawei.com 王浩然
ac4f35fa3bb27b845469ad6294cc3076 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteSwiglu() cacheWriteThrough(tiling_data_addr, 10); Do not use magic numbers.The number is 10 119 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ac4f35fa3bb27b845469ad6294cc3076?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
acca4e76a51d000e6af8a7936a28e26a clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t PROFILE_DESC_INVALID_ID = 0xFFFFFFFF; constant 'PROFILE_DESC_INVALID_ID' must be declared in some namespace 42 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/acca4e76a51d000e6af8a7936a28e26a?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
ad1b98fadccc638533395a1a255b82b1 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_MSD_VECTOR_DEQUANT 2 Macros are not allowed to represent constants. 36 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ad1b98fadccc638533395a1a255b82b1?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
ad3f6da2678a3fcf0dea319a5c3f2ddd clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_AUTOTILING 5 Macros are not allowed to represent constants. 39 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ad3f6da2678a3fcf0dea319a5c3f2ddd?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b03f90edf4967d65884e755017b2c8d1 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters HyperMegaMoe() const std::array<const aclTensor *, 5> HyperMegaMoe( function 'HyperMegaMoe' exceeds recommended size/complexity thresholds 31 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_host/op_api/hyper_mega_moe.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b03f90edf4967d65884e755017b2c8d1?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
b1640f7ac14a178d348b5b58b703b9b9 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_COUNT 1 Macros are not allowed to represent constants. 31 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b1640f7ac14a178d348b5b58b703b9b9?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b16f9f98121f1d991d3bb26750de5506 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() int64_t /*ep*/, There must be 1 space between the block comment character and the comment content 97 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b16f9f98121f1d991d3bb26750de5506?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
b1fdc51faf05f7b70858f357b67aef06 fixbotengine-cxx G.PRE.02-CPP 使用函数代替函数式宏 C_RULE_ID_USE_FUNCTION_INSTEAD_OF_MACRO #define HP_SM_RECORD_FAILURE(operation, phase, root_rank, error) \ Use functions instead of function-like macros. 21 hyper_parallel/core/multicore/shmem/ccsrc/runtime/runtime.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b1fdc51faf05f7b70858f357b67aef06?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
b3292df70335607d914ad78f1b9b29e6 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_MSD 1 Macros are not allowed to represent constants. 42 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b3292df70335607d914ad78f1b9b29e6?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b3aff634350639eb53927875443b5b41 clangTidy G.ENU.01-CPP 优先使用枚举类而不是普通枚举 huawei-no-use-unscoped-enum enum TaskType : uint32_t { Use scoped enum first over unscoped enum. 53 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b3aff634350639eb53927875443b5b41?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b4193cc61312d7e6a419d779c4aade47 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace getEventDesc() __aicore__ inline void getEventDesc(__gm__ uint8_t *tiling, EventDesc *tilingData, uint32_t index_size) { function 'getEventDesc' must be declared in some namespace 278 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b4193cc61312d7e6a419d779c4aade47?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b4c8d4e4f924acdaa8dc0b28b97aca07 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters hyper_mega_moe_grad() __global__ __aicore__ void hyper_mega_moe_grad( function 'hyper_mega_moe_grad' exceeds recommended size/complexity thresholds 23 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b4c8d4e4f924acdaa8dc0b28b97aca07?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
b4dcd6590cb7341582bf35e59cb1ddc6 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_MSD 1 Macros are not allowed to represent constants. 42 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b4dcd6590cb7341582bf35e59cb1ddc6?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b57247df8ec8e19fd113f4b90c443b85 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*gmm_workspace*/, There must be 1 space between the block comment character and the comment content 101 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b57247df8ec8e19fd113f4b90c443b85?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
b607382420827ff35220efb612dbc90f fixbotengine-cxx G.EXP.38-CPP switch语句中至少有两个条件分支 C_RULE_SWITCH_BRANCH_CHECKER DataEngineName() switch (engine) { There are at least two conditional branches in the switch statement. 51 hyper_parallel/core/multicore/shmem/ccsrc/runtime/runtime.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b607382420827ff35220efb612dbc90f?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
b61915ea864ff70eeb622074a760792d clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_BF16 27 Macros are not allowed to represent constants. 27 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b61915ea864ff70eeb622074a760792d?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b64f68214b10cb2d4c566ef8203aa88b CodeMars G.EDV.05 调用外部可执行程序时建议使用绝对路径 BD_start_process_with_environment_path _readelf() result = subprocess.run( Using 'readelf' without specifying the full path relies on the environment's PATH variable to locate the executable. Please use the full path of 'readelf' instead. 112 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全规范建议类 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b64f68214b10cb2d4c566ef8203aa88b?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
b791a53c3bd2c04507c78bb722409345 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t EVENT_INVALID_ID = 0xFFFFFFFF; constant 'EVENT_INVALID_ID' must be declared in some namespace 41 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b791a53c3bd2c04507c78bb722409345?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
b7f7dcb3637c238481f963d7f7d79d8e fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() int64_t /*expert_num*/, There must be 1 space between the block comment character and the comment content 98 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b7f7dcb3637c238481f963d7f7d79d8e?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
b8ba222baef8ca3ea3bb32760cd8bc69 fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class StorageAssociations final { Keep C++ file names the same as the class name.The className is StorageAssociations ,the fileName is torch_bindings 264 hyper_parallel/core/multicore/shmem/ccsrc/bindings/torch_bindings.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/b8ba222baef8ca3ea3bb32760cd8bc69?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
ba3ede5b9376c55676ff12b25cd7c1cc clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace class PutMemSignalKernel { type 'PutMemSignalKernel' must be declared in some namespace 36 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ba3ede5b9376c55676ff12b25cd7c1cc?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
ba3ede5b9376c55676ff12b25cd7c1cc clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace class PutMemSignalKernel { type 'PutMemSignalKernel' must be declared in some namespace 36 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ba3ede5b9376c55676ff12b25cd7c1cc?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
baf135518cffcb8fd9366d181e6139db fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*all_event_counters*/, There must be 1 space between the block comment character and the comment content 104 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/baf135518cffcb8fd9366d181e6139db?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
bc3d45083534a0f3af1dbced6cb1ce13 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER WaitForDeviceReady() if (this->worker_id_ % 2 == 0) { Do not use magic numbers.The number is 2 187 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/bc3d45083534a0f3af1dbced6cb1ce13?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
bdf7747231b09884697ca921ebe9bd26 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*w1*/, There must be 1 space between the block comment character and the comment content 87 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/bdf7747231b09884697ca921ebe9bd26?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
be1dbe82222d60d497c252a993c9ffa7 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_AIV_AIC_RATIO_1 1 Macros are not allowed to represent constants. 46 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/be1dbe82222d60d497c252a993c9ffa7?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
bfd2bd237074f30e1a27308215dd4981 cmetrics redundant_code[C++] redundant_code TilingFunc() // OP_LOGE(context->GetNodeName(), "coreNum:%d", coreNum); redundant code, please delete it 35 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/hyper_mega_moe_grad_tiling.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/bfd2bd237074f30e1a27308215dd4981?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊


hedongdong
9 天前 评论:
9 天前 评论:
c08ed62afc261e5c90c6c4120c80312d clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_INT4 29 Macros are not allowed to represent constants. 28 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c08ed62afc261e5c90c6c4120c80312d?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
c12b7be888e73686d21841a38dd7a144 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*hidden*/, There must be 1 space between the block comment character and the comment content 81 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c12b7be888e73686d21841a38dd7a144?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
c41eae352d4fe4005f309cb00e0d25f9 fixbotengine-cxx G.CMT.04-CPP 不写空有格式的函数头注释 C_RULE_ID_FUNCTION_HEADER /** Empty function header comments with no content are forbidden. 50 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/op_api/aclnn_hyper_mega_moe_grad.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c41eae352d4fe4005f309cb00e0d25f9?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
c5a6d99ba70aa3c84f16c2bbed93639a fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*combine_target_off*/, There must be 1 space between the block comment character and the comment content 86 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c5a6d99ba70aa3c84f16c2bbed93639a?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
c727d4c7b7d3177e236a93d6d29df295 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_NONE 0 Macros are not allowed to represent constants. 34 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c727d4c7b7d3177e236a93d6d29df295?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
c73cc2041ef75084ef577ce2a885c2dc clangTidy G.ENU.01-CPP 优先使用枚举类而不是普通枚举 huawei-no-use-unscoped-enum enum TaskAiCoreType : uint32_t { Use scoped enum first over unscoped enum. 46 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c73cc2041ef75084ef577ce2a885c2dc?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
c7a815eab42259b196037a6e6e0d8338 fixbotengine-cxx G.EXP.38-CPP switch语句中至少有两个条件分支 C_RULE_SWITCH_BRANCH_CHECKER ToString() switch (engine) { There are at least two conditional branches in the switch statement. 115 hyper_parallel/core/multicore/shmem/ccsrc/bindings/torch_bindings.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c7a815eab42259b196037a6e6e0d8338?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
c9cb41505bc74c3779899798f7bfb029 fixbotengine-cxx G.EXP.38-CPP switch语句中至少有两个条件分支 C_RULE_SWITCH_BRANCH_CHECKER DataEngineMask() switch (data_engine) { There are at least two conditional branches in the switch statement. 97 hyper_parallel/core/multicore/shmem/ccsrc/cann/host.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c9cb41505bc74c3779899798f7bfb029?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
c9da59ee73c0867cdc00d46f3ed3c42c fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*dispatch_src*/, There must be 1 space between the block comment character and the comment content 75 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c9da59ee73c0867cdc00d46f3ed3c42c?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
cb24cb7f4e9ea53bfea7ab19c7786100 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*all_event_counters*/, There must be 1 space between the block comment character and the comment content 94 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cb24cb7f4e9ea53bfea7ab19c7786100?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
cc28992915d4a4147459f4a982519484 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace enum EventType : uint32_t { type 'EventType' must be declared in some namespace 65 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cc28992915d4a4147459f4a982519484?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
cd099c46f6dcf4f4e0af9a92f14e73f5 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace CopyGmSingleValueToUb() __aicore__ inline void CopyGmSingleValueToUb(GM_ADDR gm_addr, T *result) { function 'CopyGmSingleValueToUb' must be declared in some namespace 27 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cd099c46f6dcf4f4e0af9a92f14e73f5?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
cd099c46f6dcf4f4e0af9a92f14e73f5 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace CopyGmSingleValueToUb() __aicore__ inline void CopyGmSingleValueToUb(GM_ADDR gm_addr, T *result) { function 'CopyGmSingleValueToUb' must be declared in some namespace 27 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/put_mem_signal/put_mem_signal_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cd099c46f6dcf4f4e0af9a92f14e73f5?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
cf791e0068abe68e877bec9ec3123f0f fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER Init() for (uint32_t i = 0; i < 9; ++i) { Do not use magic numbers.The number is 9 78 hyper_parallel/core/multicore/ops/runtime/cycle_trace_recorder.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cf791e0068abe68e877bec9ec3123f0f?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
d098366f64c2a932423d1463e089608c clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace TORCH_LIBRARY() TORCH_LIBRARY(hyper_parallel, m) { function 'TORCH_LIBRARY' must be declared in some namespace 14 hyper_parallel/core/multicore/torch/csrc/registration.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d098366f64c2a932423d1463e089608c?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
d1ffa91e6adccb847c7bc77f24c4bb56 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters mega_moe_meta() mega_moe_meta( function 'mega_moe_meta' exceeds recommended size/complexity thresholds 72 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d1ffa91e6adccb847c7bc77f24c4bb56?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
d2362f3b6fa1224b3e2cf13e9930b0e6 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t NUM_WORKERS_CUBE = 24; constant 'NUM_WORKERS_CUBE' must be declared in some namespace 20 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d2362f3b6fa1224b3e2cf13e9930b0e6?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
d3ddd6c92cb9f0583634898e441d9c2c CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log main() print(json.dumps({"source_root": str(source_root)}, sort_keys=True)) recommended use logging module. function(print) 91 hyper_parallel/core/multicore/_build/assemble_multicore_source.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d3ddd6c92cb9f0583634898e441d9c2c?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
d4cf9a7abc12af839d48efad0c74b688 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_CUMSUM 0 Macros are not allowed to represent constants. 30 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d4cf9a7abc12af839d48efad0c74b688?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
d5ea4b84f622c5c71d84eadc44acc725 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER get_chunk() if (rebalance_tail && chunk_index == plan.chunk_count - 2) { Do not use magic numbers.The number is 2 77 hyper_parallel/core/multicore/shmem/ccsrc/data_plane/transfer_chunking.h check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d5ea4b84f622c5c71d84eadc44acc725?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
d8c3d869c8dc2f552952a2222c29c2fb fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*up_proj_weight*/, There must be 1 space between the block comment character and the comment content 78 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d8c3d869c8dc2f552952a2222c29c2fb?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
d95ef2b5c4a25a398cc0556c2191e1d6 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() int64_t /*hidden_size*/, There must be 1 space between the block comment character and the comment content 109 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d95ef2b5c4a25a398cc0556c2191e1d6?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
d9eaaf8c4668eee40eb010df36e319e2 clangTidy G.INC.12-CPP 对于cpp文件中不需要导出的变量、常量或函数,应使用匿名namespace封装或者使用static修饰 huawei-global-variable-and-function TORCH_LIBRARY_IMPL() TORCH_LIBRARY_IMPL(hyper_parallel, Meta, m) { function 'TORCH_LIBRARY_IMPL' could be put into anoynamous namespace or made static 113 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d9eaaf8c4668eee40eb010df36e319e2?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
da77f5e1d876999fa88302b488858c9e clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters mega_moe_grad_npu() BwdReturn mega_moe_grad_npu( function 'mega_moe_grad_npu' exceeds recommended size/complexity thresholds 23 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/da77f5e1d876999fa88302b488858c9e?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
db5a28868286371396f60b62a6f68f2c clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_AIV_AIC_RATIO_2 2 Macros are not allowed to represent constants. 47 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/db5a28868286371396f60b62a6f68f2c?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
dbe500ecd04ee1807d02a02ea6d21780 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log _write_result() print(f"RESULT_JSON={path}") recommended use logging module. function(print) 643 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/dbe500ecd04ee1807d02a02ea6d21780?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
dbe500ecd04ee1807d02a02ea6d21780 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log _write_result() print(json.dumps(result, sort_keys=True)) recommended use logging module. function(print) 644 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/dbe500ecd04ee1807d02a02ea6d21780?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
dce25323bbc5bd6cf13cf639fbe17a53 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log main() print(report_text, end="") recommended use logging module. function(print) 368 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/dce25323bbc5bd6cf13cf639fbe17a53?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
dd48c6aa141542f5faa5b30f7f1cf359 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER TilingFunc() if (runtimeBytes < 64 || runtimeBytes >= (1LL << 32) || eventBytes < 4096) { Do not use magic numbers.The number is 64 96 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/hyper_mega_moe_grad_tiling.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/dd48c6aa141542f5faa5b30f7f1cf359?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
dd8df917bd1a6f087a09e0eb82bd5545 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters mega_moe_grad_meta() BwdReturn mega_moe_grad_meta( function 'mega_moe_grad_meta' exceeds recommended size/complexity thresholds 75 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/dd8df917bd1a6f087a09e0eb82bd5545?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
e04ded87aa836221ad97c309bf57666e clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MAX_EXPERT_NUM_PER_RANK = 16; constant 'MAX_EXPERT_NUM_PER_RANK' must be declared in some namespace 22 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-11 16:12:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e04ded87aa836221ad97c309bf57666e?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
e0f67d00f880634752a75d72ac79662b clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_FLOAT 0 Macros are not allowed to represent constants. 23 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e0f67d00f880634752a75d72ac79662b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
e1873a4b48f1a52a50f0116be14a2a16 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_SPARSEM 2 Macros are not allowed to represent constants. 32 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e1873a4b48f1a52a50f0116be14a2a16?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
e6a04db12efbb91804c15787223c2945 clangTidy G.FUN.01-CPP 函数功能要单一 readability-function-size_parameters hyper_mega_moe() __global__ __aicore__ void hyper_mega_moe( function 'hyper_mega_moe' exceeds recommended size/complexity thresholds 23 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e6a04db12efbb91804c15787223c2945?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
e6b163968595db5655a81c48813c26a5 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t GROUP_LIST_CACHE_LINE_BYTES = 128; constant 'GROUP_LIST_CACHE_LINE_BYTES' must be declared in some namespace 25 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e6b163968595db5655a81c48813c26a5?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
e8f9bc37fa4c5bbd264fa962e6868475 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_GROUP_LIST_TYPE_CUMSUM 0 Macros are not allowed to represent constants. 30 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/e8f9bc37fa4c5bbd264fa962e6868475?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
eb8cf4ae6d4f6864fbb43031f7132ce6 CodeMars G.LOG.02 使用日志记录工具实现日志功能 BD_use_logging_tool_to_record_log sys.stderr.write(f"[HP-NATIVE-DEPENDENCY-ERROR] {error}\n") recommended use logging module. function(sys.stderr.write) 224 hyper_parallel/core/multicore/_build/prepare_dependencies.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 安全类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/eb8cf4ae6d4f6864fbb43031f7132ce6?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
ec042efe404cef2e86d8cbd7fe55dd42 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*combine_src_off*/, There must be 1 space between the block comment character and the comment content 87 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ec042efe404cef2e86d8cbd7fe55dd42?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
ecdf49e854f784dc745198c7852f8d39 cmetrics unsafe_function[C++] unsafe_function FormatTimestamp() std::snprintf(timestamp, sizeof(timestamp), "0000-00-00-00:00:00.000"); use the unsafe function: snprintf 116 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ecdf49e854f784dc745198c7852f8d39?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
edfe2f90444cb884de3cf2d1263c8c8b clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A16W8_KERNEL_TEMPLATE_NONE 0 Macros are not allowed to represent constants. 41 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/edfe2f90444cb884de3cf2d1263c8c8b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
ee9d502b6809216fdf51a07872c63ca6 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*up_proj_glist*/, There must be 1 space between the block comment character and the comment content 79 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ee9d502b6809216fdf51a07872c63ca6?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
f15bda6ce61b587e2b7bb3624e38a613 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_MSD_API_DEQUANT 1 Macros are not allowed to represent constants. 35 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f15bda6ce61b587e2b7bb3624e38a613?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
f1af8ef3b6f9d9581fc7ca1592d8c27f fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class AllocationRegistry final { Keep C++ file names the same as the class name.The className is AllocationRegistry ,the fileName is allocation 49 hyper_parallel/core/multicore/shmem/ccsrc/runtime/allocation.h check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f1af8ef3b6f9d9581fc7ca1592d8c27f?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
f58b4f28ca5301b52235fc2efd04da99 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_CUBE_ONLY 0 Macros are not allowed to represent constants. 45 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/hyper_mega_moe_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f58b4f28ca5301b52235fc2efd04da99?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
f5e4c2716e60e48220e5e2d5a5c24225 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ExecuteSwiglu() if (end - (start + current_seq_start) < 19) { Do not use magic numbers.The number is 19 116 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f5e4c2716e60e48220e5e2d5a5c24225?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
f6d408c8657f732acb2ddb93c721a174 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace constexpr uint32_t MAX_INPUTS_PER_TASK = 4; constant 'MAX_INPUTS_PER_TASK' must be declared in some namespace 15 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f6d408c8657f732acb2ddb93c721a174?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
f8c7f5a39ad57d2013ab042b47327a96 fixbotengine-cxx G.CNS.02 不要使用难以理解的字面量 C_RULE_ID_MAGICNUMBER ProcessProfiled() if (this->worker_id_ % 2 == 0) { Do not use magic numbers.The number is 2 132 hyper_parallel/core/multicore/ops/runtime/worker_kernel.h check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f8c7f5a39ad57d2013ab042b47327a96?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
fa988c6769b36086c71d954034931e80 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_meta() const at::Tensor& /*dispatch_src_off*/, There must be 1 space between the block comment character and the comment content 76 hyper_parallel/core/multicore/torch/csrc/mega_moe.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fa988c6769b36086c71d954034931e80?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
faafd9700587ffd22e789e37e704f490 fixbotengine-cxx G.CMT.01-CPP 注释符与注释内容间留有1个空格 C_RULE_ID_COMMENT_CONTENT_ADDSPASE mega_moe_grad_meta() const at::Tensor& /*dispatch_target_off*/, There must be 1 space between the block comment character and the comment content 77 hyper_parallel/core/multicore/torch/csrc/mega_moe_grad.cpp check_code/hyper_parallel/core/multicore/torch/csrc wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/faafd9700587ffd22e789e37e704f490?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
fadb6ee823d71fb9ce59282022a322a0 clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace getReadyHandshakeMeta() __aicore__ inline void getReadyHandshakeMeta(__gm__ uint8_t *tiling, ReadyHandshakeMeta *meta) { function 'getReadyHandshakeMeta' must be declared in some namespace 156 hyper_parallel/core/multicore/ops/runtime/runtime_config.hpp check_code/hyper_parallel/core/multicore/ops/runtime wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fadb6ee823d71fb9ce59282022a322a0?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
fb20f1caef7b4b2b3f96fb2fb27ec0d0 fixbotengine-cxx G.NAM.02-CPP C++文件名和类名保持一致 CPP_RULE_ID_FILE_NAME_SAME_AS_CLASS_NAME class HyperMegaMoeGrad : public OpDef { Keep C++ file names the same as the class name.The className is HyperMegaMoeGrad ,the fileName is hyper_mega_moe_grad_def 18 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_host/hyper_mega_moe_grad_def.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fb20f1caef7b4b2b3f96fb2fb27ec0d0?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
fc273e0a3a521f15761714a602bdf294 clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GMM_TPL_FLOAT16 1 Macros are not allowed to represent constants. 24 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fc273e0a3a521f15761714a602bdf294?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
fc8eb9e413474d80e22530c3ee5b778c clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace class KernelWorker : public KernelWorkerBase<KernelWorker> { type 'KernelWorker' must be declared in some namespace 25 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fc8eb9e413474d80e22530c3ee5b778c?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
fc8eb9e413474d80e22530c3ee5b778c clangTidy G.INC.11-CPP 使用命名空间来管理全局函数、全局常量和全局类型 huawei-global-declaration-must-in-namespace class KernelWorker : public KernelWorkerBase<KernelWorker> { type 'KernelWorker' must be declared in some namespace 24 hyper_parallel/core/multicore/ops/hyper_mega_moe/op_kernel/worker_kernel.cpp check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范建议类 待处理 一般 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fc8eb9e413474d80e22530c3ee5b778c?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
fd44621f45a6a51576c32c7b6260143c cmetrics unsafe_function[C++] unsafe_function FinishLine() std::memcpy(line + length, kTruncationMarker.data(), kTruncationMarker.size()); use the unsafe function: memcpy 129 hyper_parallel/core/multicore/shmem/ccsrc/runtime/log.cpp check_code/hyper_parallel/core/multicore/shmem/ccsrc wangyin 60090183 代码坏味道类 待处理 一般 正式问题 C++ 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fd44621f45a6a51576c32c7b6260143c?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
ff8d9c3dcee1a5b0a133e7224522290b clangTidy G.PRE.01-CPP 禁止使用宏来表示常量 huawei-macro-define-not-const #define GROUPED_MATMUL_A8W4_KERNEL_TEMPLATE_NONE 0 Macros are not allowed to represent constants. 34 hyper_parallel/core/multicore/ops/hyper_mega_moe_grad/op_kernel/hyper_mega_moe_grad_tiling_key.h check_code/hyper_parallel/core/multicore/ops/hyper_mega_moe_grad wangyin 60090183 通用规范规则类 待处理 严重 正式问题 C++ 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ff8d9c3dcee1a5b0a133e7224522290b?defectIndex=1&allMergedRequest=false Zhanghanbo zhanghanbo7@huawei.com 许兴磊
02069a412527884b9b71c31e2ac7127b pylint R0914 R0914 _parse_cycle_buffer() def _parse_cycle_buffer( Too many local variables (22/15) 850 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/02069a412527884b9b71c31e2ac7127b?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
02da42182b767669f9390b32cfea6ddf pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = [ Import "import importlib" should be placed after "__all__ = ['_load_native', '_torch_modules']" 46 hyper_parallel/core/multicore/shmem/_runtime.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/02da42182b767669f9390b32cfea6ddf?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
0303de2db83f982a426ae6f41eee4da2 pylint G.PSL.03 修改sys.path时注意避免模块重名问题 W1805 _register_native_module_path() _sys.path.insert(0, entry) Should not use insert(0, ...) to modify sys.path 72 hyper_parallel/core/multicore/shmem/__init__.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0303de2db83f982a426ae6f41eee4da2?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
059ddf12dacaccddea7a086c0779e324 pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 _optimizer_step() for name, tensor in _canonical_tensors( Do not use more than two clauses or clauses that has more than one line. 338 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/059ddf12dacaccddea7a086c0779e324?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
07ebacd6ded61c458ce5ef83db0b6b90 pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 mega_moe_grad() def mega_moe_grad( Too many arguments (34/10) 158 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-10 11:00:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/07ebacd6ded61c458ce5ef83db0b6b90?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
0adb41b6fa246cd798bfbc55ea51ce53 pylint G.FNM.07 建议妥善处理函数的返回值和异常 H3407 merge_vendors() _host_elf_abi_fingerprint(base_vendor / relative_path) The return value and exception of the function are not processed 315 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 通用规范规则类 待处理 一般 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/0adb41b6fa246cd798bfbc55ea51ce53?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
1386bf1c201f9d81fe435e2fafadeb40 pylint R0914 R0914 mega_moe_grad() def mega_moe_grad( Too many local variables (34/15) 158 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-10 11:00:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1386bf1c201f9d81fe435e2fafadeb40?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
13ce4a01f85e4104188159a755d0637e pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.core.dtensor.dtensor import DTensor Import "from hyper_parallel.core.dtensor.dtensor import DTensor" should be placed at the top of the module 44 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/13ce4a01f85e4104188159a755d0637e?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
14bed9b5f6a338b6cfbc1389aa8711cc pylint G.FNM.07 建议妥善处理函数的返回值和异常 H3407 allocate_runtime_config() runtime_config_serialized_size(capacity, event_capacity) The return value and exception of the function are not processed 94 hyper_parallel/core/multicore/scheduler/runtime.py check_code/hyper_parallel/core/multicore/scheduler wangyin 60090183 通用规范规则类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/14bed9b5f6a338b6cfbc1389aa8711cc?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
173ea2ce793db78ffe63456d584200bb pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 import torch # pylint: disable=forbidden-backend-import Import "import torch" should be placed at the top of the module 35 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/173ea2ce793db78ffe63456d584200bb?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
19412d714a3482914e00ef9000f88016 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["ProfilerAction", "mega_kernel_profile", "merge_chrome_traces", "schedule"] Import "from hyper_parallel.core.multicore.profiler.profiler import ProfilerAction, mega_kernel_profile, merge_chrome_traces, schedule" should be placed after "__all__ = ['ProfilerAction', 'mega_kernel_profile', 'merge_chrome_traces', 'schedule']" 24 hyper_parallel/core/multicore/profiler/__init__.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/19412d714a3482914e00ef9000f88016?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
1a4ebc0e7b60562ba63d4519b59ed3d2 pylint R0914 R0914 _launch_backward_kernel() def _launch_backward_kernel( Too many local variables (27/15) 183 hyper_parallel/core/multicore/modules/mega_moe/function.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1a4ebc0e7b60562ba63d4519b59ed3d2?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
1d1edd7aa4c06696bc0769125fe89eb0 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["merge_chrome_traces"] Import "import copy" should be placed after "__all__ = ['merge_chrome_traces']" 670 hyper_parallel/core/multicore/profiler/trace_merger.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/1d1edd7aa4c06696bc0769125fe89eb0?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
26096fb6fd667a35ef57f50797eab85f pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = [ Import "import threading" should be placed after "__all__ = ['acquire', 'release']" 165 hyper_parallel/core/multicore/shmem/_lifecycle.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/26096fb6fd667a35ef57f50797eab85f?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
2691b7665cdc63bae7b471518aca3def pylint R0914 R0914 merge_vendors() def merge_vendors( Too many local variables (19/15) 300 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2691b7665cdc63bae7b471518aca3def?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
28b18288c45ec448b47c31c2000fd78b pylint R0914 R0914 _align_invocation() def _align_invocation( Too many local variables (22/15) 404 hyper_parallel/core/multicore/profiler/trace_merger.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/28b18288c45ec448b47c31c2000fd78b?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
2c96a8c61c4b76c5da1e8f635c73c490 pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 _parse_cycle_buffer() for record in sorted( Do not use more than two clauses or clauses that has more than one line. 902 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/2c96a8c61c4b76c5da1e8f635c73c490?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
32541460c8612a8ed526bc522a397624 pylint R0914 R0914 mega_moe_grad_with_profile_buffer() def mega_moe_grad_with_profile_buffer( Too many local variables (35/15) 336 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/32541460c8612a8ed526bc522a397624?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
32a0460b266e085de65cdb8d6a191298 pylint R0914 R0914 _compare_tensor_maps() def _compare_tensor_maps( Too many local variables (24/15) 490 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/32a0460b266e085de65cdb8d6a191298?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
3447cb962c3baa24062736a42b813e52 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.components.optim import ( Import "from hyper_parallel.components.optim import Float16OptimizerWithFloat16Params" should be placed at the top of the module 41 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3447cb962c3baa24062736a42b813e52?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
3dac80d4279ccae4380532774c2d3f2a pylint R0914 R0914 main() def main(argv: list[str] | None = None) -> int: Too many local variables (19/15) 716 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3dac80d4279ccae4380532774c2d3f2a?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
3e04958db3813d8ee195ef59556a31a8 pylint R0914 R0914 _decode_cycle_records() def _decode_cycle_records( Too many local variables (20/15) 718 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3e04958db3813d8ee195ef59556a31a8?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
3fa4cbdbe781159143c7cc7242b5ca8f pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 mega_moe_grad_with_profile_buffer() def mega_moe_grad_with_profile_buffer( Too many arguments (35/10) 336 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3fa4cbdbe781159143c7cc7242b5ca8f?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
3fd8a87f86d18ceba207582eafee8bc2 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.core.multicore import MegaMoeExperts Import "from hyper_parallel.core.multicore import MegaMoeExperts" should be placed at the top of the module 46 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/3fd8a87f86d18ceba207582eafee8bc2?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
45d6abbeb6d1705f1308bd00ab6c4501 pylint R0914 R0914 mega_moe() def mega_moe( Too many local variables (27/15) 67 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-10 11:00:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/45d6abbeb6d1705f1308bd00ab6c4501?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
4892be1e9497d4fd72c5024c34ef7dbb pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["ProfilerAction", "mega_kernel_profile", "merge_chrome_traces", "schedule"] Import "from collections.abc import Callable" should be placed after "__all__ = ['ProfilerAction', 'mega_kernel_profile', 'merge_chrome_traces', 'schedule']" 34 hyper_parallel/core/multicore/profiler/profiler.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/4892be1e9497d4fd72c5024c34ef7dbb?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
506439b45120238cadbdb2756a230ca4 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["debug_state"] Import "import os" should be placed after "__all__ = ['debug_state']" 133 hyper_parallel/core/multicore/shmem/_debug.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/506439b45120238cadbdb2756a230ca4?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
50776ac9cd82191de77765043c176c04 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 import torch.distributed as dist # pylint: disable=forbidden-backend-import Import "import torch.distributed as dist" should be placed at the top of the module 36 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/50776ac9cd82191de77765043c176c04?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
547846e7ddca07d666399130377268b0 pylint G.FNM.07 建议妥善处理函数的返回值和异常 H3407 acquire() _describe_root(selected_group, dist) The return value and exception of the function are not processed 104 hyper_parallel/core/multicore/shmem/_lifecycle.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范规则类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/547846e7ddca07d666399130377268b0?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
579c5be5697fb5d1666f072361a6f03d pylint G.ERR.01 try代码块内只包含可能抛出异常的代码段 H0719 release() try: Should not place non-except statements (line 156) in try block 154 hyper_parallel/core/multicore/shmem/_lifecycle.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/579c5be5697fb5d1666f072361a6f03d?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
58d535c458940112f84312dd1cb6ecd4 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = [ Import "import operator" should be placed after "__all__ = ['all_gather', 'barrier', 'empty', 'free', 'get', 'host_barrier', 'put', 'signal', 'wait_signal']" 274 hyper_parallel/core/multicore/shmem/_api.py check_code/hyper_parallel/core/multicore/shmem wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-16 14:17:28 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/58d535c458940112f84312dd1cb6ecd4?defectIndex=1&allMergedRequest=false wang_ziqi wangziqi4@huawei.com 王子麒
63ae2435a630dae11f66cb963fc15f0c pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 active_specifications() if group.scope_key == scope_key Do not use more than two clauses or clauses that has more than one line. 114 hyper_parallel/core/multicore/modules/module.py check_code/hyper_parallel/core/multicore/modules wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/63ae2435a630dae11f66cb963fc15f0c?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
6b93527f5f28699feaa1e217d66d2d74 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.core.optimizer import get_hyper_optimizer Import "from hyper_parallel.core.optimizer import get_hyper_optimizer" should be placed at the top of the module 47 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6b93527f5f28699feaa1e217d66d2d74?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
6bec91a95856c0becd774d47ea617a4d pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 mega_moe_with_profile_buffer() def mega_moe_with_profile_buffer( Too many arguments (28/10) 242 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6bec91a95856c0becd774d47ea617a4d?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
6c25615f7b8f84bc18fcb94b8d0e3898 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = [] Import "from collections.abc import Callable, Mapping" should be placed after "__all__ = []" 41 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6c25615f7b8f84bc18fcb94b8d0e3898?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
6c25615f7b8f84bc18fcb94b8d0e3898 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = [] Import "from dataclasses import dataclass" should be placed after "__all__ = []" 32 hyper_parallel/core/multicore/modules/mega_moe/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/6c25615f7b8f84bc18fcb94b8d0e3898?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
708aac7357df6d0fc367a76f878f631c pylint G.CTL.03 避免在条件/循环控制语句中包含过多的条件 R0916 _check_capacity() if not isinstance(value, int) or isinstance(value, bool) or value < minimum or value % 16: Too many boolean expressions in if statement (4/3) 40 hyper_parallel/core/multicore/scheduler/runtime.py check_code/hyper_parallel/core/multicore/scheduler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/708aac7357df6d0fc367a76f878f631c?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
82547ee5353d56051bd7e555dbd14243 pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 _parse_cycle_buffer() def _parse_cycle_buffer( Too many arguments (12/10) 850 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/82547ee5353d56051bd7e555dbd14243?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
8731b7eb5f143e22eb385280a36f290f pylint R0914 R0914 backward() def backward(ctx: Any, grad_output: Any) -> tuple[Any, ...]: Too many local variables (24/15) 350 hyper_parallel/core/multicore/modules/mega_moe/function.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8731b7eb5f143e22eb385280a36f290f?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
873e734904a78eeebc94c7d1fe8d48a1 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.platform.torch.common import GroupedExperts Import "from hyper_parallel.platform.torch.common import GroupedExperts" should be placed at the top of the module 48 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/873e734904a78eeebc94c7d1fe8d48a1?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
8886ec9a796ddf20ca5aa70f626df6cf pylint G.FNM.07 建议妥善处理函数的返回值和异常 H3407 _measure_backend() _timed_step(workload) The return value and exception of the function are not processed 566 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范规则类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/8886ec9a796ddf20ca5aa70f626df6cf?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
89317eae797133478ae644ff7f2551ed pylint G.FNM.03 当函数参数个数较多且有相关性时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3403 mega_moe() def mega_moe( Too many arguments (27/10) 67 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-10 11:00:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/89317eae797133478ae644ff7f2551ed?defectIndex=1&allMergedRequest=false guangpengz zhangguangpeng2@huawei.com 许兴磊
90af773c0d5509138ed02ef83501be47 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["MegaMoeExperts", "profiler"] Import "from hyper_parallel.core.multicore import profiler" should be placed after "__all__ = ['MegaMoeExperts', 'profiler']" 20 hyper_parallel/core/multicore/__init__.py check_code/hyper_parallel/core/multicore wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/90af773c0d5509138ed02ef83501be47?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙


hedongdong
9 天前 评论:
9 天前 评论:
92ed9a3add813c3abf2f50a83dece5b8 pylint G.FNM.05 当函数返回值个数较多时,建议通过class/namedtuple/dataclass等具名形式进行封装 H3405 backward() return grad_input, grad_weight1, grad_weight2, None, None, None, None Too many return values in a return statement (7/5) 414 hyper_parallel/core/multicore/modules/mega_moe/function.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/92ed9a3add813c3abf2f50a83dece5b8?defectIndex=1&allMergedRequest=false feiran zhangfeiran2@huawei.com 张斐然
a9dc0f48b39554c209e4ad258d1d3a57 pylint R0914 R0914 mega_moe_with_profile_buffer() def mega_moe_with_profile_buffer( Too many local variables (28/15) 242 hyper_parallel/core/multicore/torch/ops.py check_code/hyper_parallel/core/multicore/torch wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/a9dc0f48b39554c209e4ad258d1d3a57?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
ab91886c56144476a9fe9b537aafd2ad pylint R0914 R0914 _load_invocations() def _load_invocations(mega_kernel_trace: Any) -> list[_InvocationTrace]: Too many local variables (16/15) 285 hyper_parallel/core/multicore/profiler/trace_merger.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ab91886c56144476a9fe9b537aafd2ad?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
afb1bfd15c4e6d315fb0dc63b0c3e717 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from qwen_moe_model import QwenMoeConfig, QwenMoeModel Import "from qwen_moe_model import QwenMoeConfig, QwenMoeModel" should be placed at the top of the module 38 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/afb1bfd15c4e6d315fb0dc63b0c3e717?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
c5037600509dc989bd92d0e8540e7eb2 pylint R0914 R0914 _decode_slot_records() def _decode_slot_records( Too many local variables (17/15) 682 hyper_parallel/core/multicore/profiler/profiling.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c5037600509dc989bd92d0e8540e7eb2?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
c51669937a388196aae8a5d359a7d4bf pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 import torch_npu Import "import torch_npu" should be placed at the top of the module 37 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/c51669937a388196aae8a5d359a7d4bf?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
cf0559410c7b0e459f09107ff1cc2c65 pylint R0914 R0914 main() def main() -> None: Too many local variables (17/15) 128 hyper_parallel/core/multicore/modules/mega_moe/forward/gen_runtime_data.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-11 16:12:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cf0559410c7b0e459f09107ff1cc2c65?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
cf0559410c7b0e459f09107ff1cc2c65 pylint R0914 R0914 main() def main() -> None: Too many local variables (21/15) 143 hyper_parallel/core/multicore/modules/mega_moe/backward/gen_runtime_data.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-11 16:12:07 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/cf0559410c7b0e459f09107ff1cc2c65?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
d68f7501d89928d378c20b8ea0e2c526 pylint R0914 R0914 forward() def forward( Too many local variables (22/15) 256 hyper_parallel/core/multicore/modules/mega_moe/function.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d68f7501d89928d378c20b8ea0e2c526?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
d8c9e734e38a5f8e03a061a089eb4524 pylint R0914 R0914 _build_trace() def _build_trace(self, invocations: list[_RawInvocation]) -> dict[str, Any]: Too many local variables (20/15) 435 hyper_parallel/core/multicore/profiler/profiler.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d8c9e734e38a5f8e03a061a089eb4524?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
d9c5653cfd8f1d0b428a234f324ae946 pylint G.FNM.07 建议妥善处理函数的返回值和异常 H3407 _normalize_inputs() _require_soc_payload(vendor_root, soc) The return value and exception of the function are not processed 228 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 通用规范规则类 待处理 一般 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/d9c5653cfd8f1d0b428a234f324ae946?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬
df4c53de5dcbab53ab86cafafe19fe9c pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel import SkipDTensorDispatch, init_device_mesh Import "from hyper_parallel import SkipDTensorDispatch, init_device_mesh" should be placed at the top of the module 40 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/df4c53de5dcbab53ab86cafafe19fe9c?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
ec596ebbef93a86c9138f921c1fab54b pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 _next_thread_id() if event.get("pid") == pid Do not use more than two clauses or clauses that has more than one line. 369 hyper_parallel/core/multicore/profiler/trace_merger.py check_code/hyper_parallel/core/multicore/profiler wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-17 02:17:50 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/ec596ebbef93a86c9138f921c1fab54b?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
f6e7dcc12979c00eba49b3b2d1a78a1c pylint R0914 R0914 build_mega_moe_plan() def build_mega_moe_plan(spec: MegaMoeSpec, device: Any) -> MegaMoePlan: Too many local variables (20/15) 156 hyper_parallel/core/multicore/modules/mega_moe/plan.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用类(非编程规范) 待处理 严重 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/f6e7dcc12979c00eba49b3b2d1a78a1c?defectIndex=1&allMergedRequest=false XianglongZeng zengxianglong1@huawei.com 曾祥龙
fa576f2f96e8e3ac68c45db339d8ecc3 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 __all__ = ["MegaMoeExperts"] Import "import math" should be placed after "__all__ = ['MegaMoeExperts']" 34 hyper_parallel/core/multicore/modules/mega_moe/module.py check_code/hyper_parallel/core/multicore/modules/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fa576f2f96e8e3ac68c45db339d8ecc3?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
fbec05a45bce8c9842dbb3ef0e0bb534 pylint G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 H2305 from hyper_parallel.core.expert_parallel.expert_parallel import ExpertParallel Import "from hyper_parallel.core.expert_parallel.expert_parallel import ExpertParallel" should be placed at the top of the module 45 hyper_parallel/core/multicore/examples/mega_moe/qwen_moe_benchmark.py check_code/hyper_parallel/core/multicore/examples/mega_moe wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-09 02:18:01 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fbec05a45bce8c9842dbb3ef0e0bb534?defectIndex=1&allMergedRequest=false feiranzhang zhangfeiran2@huawei.com 张斐然
fd9afbe7c357e1d0fc8e42daa65acb22 pylint G.EXP.04 推导式和生成器表达式仅用于简单的逻辑表达 W1803 _common_files() return { Do not use more than two clauses or clauses that has more than one line. 101 hyper_parallel/core/multicore/_build/merge_multicore_vendors.py check_code/hyper_parallel/core/multicore/_build wangyin 60090183 通用规范建议类 待处理 一般 正式问题 PYTHON 2026-09-07 10:29:36 https://clouddragon.huawei.com/codecheck/project/ge44d8d6612d54d568e3c74eeddc9a943/codecheck/task/yellow/73488617dc914c73a3cfb59129ab4419/defect/fd9afbe7c357e1d0fc8e42daa65acb22?defectIndex=1&allMergedRequest=false hedongdong hedongdong@huawei.com 贺冬冬


9 天前 修改了issue 的描述
9 天前 修改了issue 的描述
9 天前 修改了issue 的描述
Mmindspore-ci-bot
9 天前 关联了pull request:[mirror] mindspore-ai/hyper-parallel#857: [Clean Code] 清理 r1.0.0 custom_ops 静态检查告警
9 天前 关联了pull request:[mirror] mindspore-ai/hyper-parallel#857: [Clean Code] 清理 r1.0.0 custom_ops 静态检查告警
背景
Multicore 近期合入多项大改,原 PR #1436 基于旧代码和旧扫描表的整改已大面积失效。本轮将
multicore_master重建到最新upstream/master,再按 ISSUE 评论中所有 master 分支告警重新分析和修复。本轮分析口径
ISSUE 中除
r1.0.0外的 4 段 master 告警评论已完整拼接:mergeKey唯一记录 292 条,原始评论中有 14 条重复记录;为保持原始扫描可追溯性,分析表保留全部 306 条。已修复范围
using别名、include 顺序和匿名形参注释。std::copy_n和显式时间字符写入改善 SHMEM/runtime 缓冲区安全,保留原边界、NUL 终止和截断语义。建议屏蔽范围
.so,避免 ABI 来源混淆vsnprintf格式化核心snprintf_s契约约束
验证结果
8e65b4b2 fix(multicore): resolve current static analysis findings (#392)。autogit check通过,包含 pylint、lizard 和 agent catalog 检查。compileall、git diff --check通过。40 passed, 6 subtests passed。bash build.sh --multicore on --strict on --jobs 24 --clean通过,覆盖默认ascend910b、ascend910_93,SHMEM、Torch adapter、组件制品校验及 wheel 打包成功。关联 PR:#1436