静态检测修复日志

本文件记录依据 CANN_pypto-gym_全量导出(未解决)_20260629112325.xlsx 对 pypto-gym 仓库进行的静态规范问题修复记录。

问题总数:144 条;涉及文件:35 个。 豁免规则:transformers 目录豁免(本次无命中);kernel 函数 + 超大函数/深度/圈复杂度豁免(本次无命中)。

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add/quant_grouped_matmul_inplace_add.py
  • 问题行号:132
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / whitespace before ':'
  • 处理结果:【已修复】
  • 处理原因:切片':'前去空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add/quant_grouped_matmul_inplace_add.py
  • 问题行号:135
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / whitespace before ':'
  • 处理结果:【已修复】
  • 处理原因:切片':'前去空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add/quant_grouped_matmul_inplace_add.py
  • 问题行号:140
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / whitespace before ':'
  • 处理结果:【已修复】
  • 处理原因:切片':'前去空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/matmul/quant_grouped_matmul_inplace_add/quant_grouped_matmul_inplace_add.py
  • 问题行号:143
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / whitespace before ':'
  • 处理结果:【已修复】
  • 处理原因:切片':'前去空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v2_lite_chat
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v2_lite_chat/init.py
  • 问题行号:115
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / whitespace before ':'
  • 处理结果:【已修复】
  • 处理原因:切片':'前去空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/llada2_moe_grouped_gemm_impl.py
  • 问题行号:75
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/llada2_moe_grouped_gemm_impl.py
  • 问题行号:76
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/llada2_moe_grouped_gemm_impl.py
  • 问题行号:78
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/llada2_moe_grouped_gemm_impl.py
  • 问题行号:79
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/llada2_moe_grouped_gemm_impl.py
  • 问题行号:80
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:57
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:105
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:151
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:196
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:242
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:290
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:342
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:378
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:414
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:456
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InterleaveRope/interleave_rope_impl.py
  • 问题行号:458
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn/gqa_decode_attn_impl.py
  • 问题行号:104
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn/gqa_decode_attn_impl.py
  • 问题行号:105
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn/gqa_decode_attn_impl.py
  • 问题行号:106
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn/gqa_decode_attn_impl.py
  • 问题行号:107
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/gqa_decode_attn/gqa_decode_attn_impl.py
  • 问题行号:108
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:27
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:28
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:29
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:30
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:31
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:32
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:33
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:36
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_score/flash_attention_score_impl.py
  • 问题行号:37
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:78
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:78
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:79
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:79
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:80
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:80
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:81
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:81
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:82
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:82
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:84
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:84
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:85
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:85
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:193
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:193
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:196
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:196
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:197
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:197
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息 / multiple spaces after ':'
  • 处理结果:【已修复】
  • 处理原因:类型注解/字典':'后多空格改为单空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_post
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_post/mhc_post_impl.py
  • 问题行号:0
  • 原始问题:OAT.3 许可证头 / License Header Invalid: InvalidLicense
  • 处理结果:【跳过】
  • 处理原因:许可证头格式与仓库其他未报告文件字节级一致,OAT.3误报,无需修改

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/attention/BSA/FWD
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/attention/BSA/FWD/bsa_fwd_impl.py
  • 问题行号:0
  • 原始问题:OAT.3 许可证头 / License Header Invalid: InvalidLicense
  • 处理结果:【跳过】
  • 处理原因:许可证头格式与仓库其他未报告文件字节级一致,OAT.3误报,无需修改

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/init.py
  • 问题行号:19
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .attn_softmax.attn_softmax_impl import attn_softmax_wrapper as attn_softmax" should be placed at the top of the module(huawei-wrong-import-position)
  • 处理结果:【已修复】
  • 处理原因:导入语句移至全局变量声明之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gemma4_31b_it/init.py
  • 问题行号:20
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .gqa_decode_attn.gqa_decode_attn_impl import gqa_decode_attn_wrapper as gqa_decode_attn" should be placed at the top of the module(huawei-wrong-import-position)
  • 处理结果:【已修复】
  • 处理原因:导入语句移至全局变量声明之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/gutenocr_3b/rms_norm
  • 文件名称:src/pypto_gym/ops/pypto_tensor/gutenocr_3b/rms_norm/rms_norm_impl.py
  • 问题行号:41
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "import logging" should be placed after "all = ['rms_norm_pto_native', 'PYPTO_AVAILABLE', 'PYPTO_KERNEL_AVAILABLE']"(huawei-wrong-import-position)
  • 处理结果:【跳过】
  • 处理原因:import logging已在文件顶部(L12),__all__在L41,导入位置符合G.FMT.05规则,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/llada2_moe
  • 文件名称:src/pypto_gym/ops/pypto_tensor/llada2_moe/init.py
  • 问题行号:18
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .llada2_moe_grouped_gemm_impl import llada2_moe_grouped_gemm as grouped_gemm" should be placed at the top of the module(huawei-wrong-import-position)
  • 处理结果:【已修复】
  • 处理原因:导入语句移至全局变量声明之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/phi_3_mini_4k_instruct/rms_norm
  • 文件名称:src/pypto_gym/ops/pypto_tensor/phi_3_mini_4k_instruct/rms_norm/init.py
  • 问题行号:15
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .rms_norm_impl import rms_norm_pto, rms_norm_pypto, rms_norm_wrapper" should be placed after "all = ['rms_norm_pto', 'rms_norm_pypto', 'rms_norm_wrapper']"(huawei-wrong-import-position)
  • 处理结果:【跳过】
  • 处理原因:导入已在__all__之前(L13 vs L15),符合G.FMT.05规则,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/init.py
  • 问题行号:30
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .gated_delta_rule.gated_delta_rule_impl import gated_delta_rule_wrapper" should be placed at the top of the module(huawei-wrong-import-position)
  • 处理结果:【已修复】
  • 处理原因:导入语句移至全局变量声明之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/init.py
  • 问题行号:31
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from .gated_delta_rule.gated_delta_rule_impl import gated_delta_rule_wrapper" should be placed at the top of the module(huawei-wrong-import-position)
  • 处理结果:【已修复】
  • 处理原因:导入语句移至全局变量声明之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:279
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from typing import Optional, Tuple" should be placed after "all = ['gated_delta_rule_wrapper']"(huawei-wrong-import-position)
  • 处理结果:【跳过】
  • 处理原因:from typing import Optional, Tuple在文件顶部(L37),__all__在L279,导入位置正确,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:279
  • 原始问题:G.FMT.05 导入部分(imports)应该置于模块注释和文档字符串之后,模块全局变量和常量声明之前 / Import "from typing import Optional, Tuple" should be placed after "all = ['gated_delta_rule_wrapper']"(huawei-wrong-import-position)
  • 处理结果:【跳过】
  • 处理原因:from typing import Optional, Tuple在文件顶部(L37),__all__在L279,导入位置正确,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/mla_prolog_mxfp_quant_v3
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/mla_prolog_mxfp_quant_v3/mla_prolog_mxfp_quant_impl.py
  • 问题行号:378
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/mla_prolog_mxfp_quant_v3
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/mla_prolog_mxfp_quant_v3/mla_prolog_mxfp_quant_impl.py
  • 问题行号:576
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InplaceAddRmsNorm
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InplaceAddRmsNorm/inplace_add_rms_norm_impl.py
  • 问题行号:71
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/InplaceAddRmsNorm
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/InplaceAddRmsNorm/inplace_add_rms_norm_impl.py
  • 问题行号:72
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre/mhc_pre_impl.py
  • 问题行号:186
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【跳过】
  • 处理原因:该行为注释行(# ───...),无算术操作符,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre/mhc_pre_impl.py
  • 问题行号:187
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【跳过】
  • 处理原因:该行为注释行(# Step 4: Split...),无算术操作符,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre/mhc_pre_impl.py
  • 问题行号:289
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【跳过】
  • 处理原因:该行为注释行(# 3. 从 bias 中切片...),无算术操作符,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre/mhc_pre_impl.py
  • 问题行号:290
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【跳过】
  • 处理原因:该行N = x.shape[1]无算术操作符,lint误报

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn/mhc_sinkhorn_impl.py
  • 问题行号:46
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn/mhc_sinkhorn_impl.py
  • 问题行号:50
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn/mhc_sinkhorn_impl.py
  • 问题行号:53
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn/mhc_sinkhorn_impl.py
  • 问题行号:56
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_sinkhorn/mhc_sinkhorn_impl.py
  • 问题行号:77
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:365
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:369
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:457
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:458
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:480
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:481
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:492
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:494
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:504
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:505
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:508
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:510
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_quant_v4_impl.py
  • 问题行号:571
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:272
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:276
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:382
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:383
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:385
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:398
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/mla_prolog_v4_impl.py
  • 问题行号:399
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compress_flash_attention_impl.py
  • 问题行号:190
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compress_flash_attention_impl.py
  • 问题行号:191
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compress_flash_attention_impl.py
  • 问题行号:193
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:430
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:431
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:634
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:635
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:120
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:130
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:136
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:141
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:143
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:149
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:163
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:164
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:190
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:194
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:195
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:232
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:243
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:255
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:256
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:284
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:289
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/hc_pre_impl.py
  • 问题行号:290
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--算术操作符 / missing whitespace around arithmetic operator
  • 处理结果:【已修复】
  • 处理原因:算术操作符两侧加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_mha_grad
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/ops_transformer/flash_attention_mha_grad/flash_attention_mha_grad_impl_a3.py
  • 问题行号:50
  • 原始问题:G.FMT.04 用空格突出关键字和重要信息--分隔符 / missing whitespace after ':'
  • 处理结果:【已修复】
  • 处理原因:字典':'后加空格

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:tests/ops/gemma4_31b_it
  • 文件名称:tests/ops/gemma4_31b_it/test_gqa_decode_attn.py
  • 问题行号:54
  • 原始问题:G.FMT.02 行宽不超过120个字符 / Line too long (121/120)(line-too-long)
  • 处理结果:【已修复】
  • 处理原因:import行超长(121字符),改为括号换行

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v2_lite_chat/mla_prolog
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v2_lite_chat/mla_prolog/mla_prolog.py
  • 问题行号:26
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from dataclasses import dataclass, field" should be placed before "import torch"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v32_exp
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v32_exp/lightning_indexer_quant_impl.py
  • 问题行号:29
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from dataclasses import dataclass" should be placed before "import torch"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/common.py
  • 问题行号:21
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from typing import Tuple" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/lightning_indexer_prolog_quant_v4_impl.py
  • 问题行号:27
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "import math" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/lightning_indexer_prolog_quant_v4_impl.py
  • 问题行号:31
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from dataclasses import dataclass" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:15
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from dataclasses import dataclass" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compressor_impl.py
  • 问题行号:16
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from typing import List" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/moe_finalize_routing_v2
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/moe_finalize_routing_v2/moe_finalize_routing_v2_impl.py
  • 问题行号:14
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from typing import Optional" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/moe_finalize_routing_v2
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/moe_finalize_routing_v2/moe_finalize_routing_v2_impl.py
  • 问题行号:15
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "import sys" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre
  • 文件名称:src/pypto_gym/ops/pypto_tensor/experimental/vector/mhc_pre/mhc_pre_impl.py
  • 问题行号:28
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from typing import Tuple" should be placed before "import pypto"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/glm_v4_5
  • 文件名称:src/pypto_gym/ops/pypto_tensor/glm_v4_5/glm_ffn_shared_expert_quant_impl.py
  • 问题行号:26
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / third party import "from torch._subclasses.fake_tensor import FakeTensor" should be placed before "from .glm_ffn_common_interface import symmetric_quantization_per_token, dequant_dynamic, swiglu"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/glm_v4_5
  • 文件名称:src/pypto_gym/ops/pypto_tensor/glm_v4_5/glm_ffn_shared_expert_quant_impl.py
  • 问题行号:27
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / third party import "from torch._dynamo import allow_in_graph" should be placed before "from .glm_ffn_common_interface import symmetric_quantization_per_token, dequant_dynamic, swiglu"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/glm_v4_5
  • 文件名称:src/pypto_gym/ops/pypto_tensor/glm_v4_5/glm_ffn_shared_expert_quant_impl.py
  • 问题行号:28
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / third party import "import pypto" should be placed before "from .glm_ffn_common_interface import symmetric_quantization_per_token, dequant_dynamic, swiglu"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/glm_v4_5
  • 文件名称:src/pypto_gym/ops/pypto_tensor/glm_v4_5/glm_attention_fusion_impl.py
  • 问题行号:23
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / third party import "import pytest" should be placed before "from .utils.golden import attn_golden"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/spatial_ssrl_3b/rope
  • 文件名称:src/pypto_gym/ops/pypto_tensor/spatial_ssrl_3b/rope/rope_impl.py
  • 问题行号:25
  • 原始问题:G.FMT.07 导入部分(imports)应该按照标准库、第三方库、应用程序自定义模块的顺序排列导入 / standard import "from typing import Tuple, List" should be placed before "import torch"(wrong-import-order)
  • 处理结果:【已修复】
  • 处理原因:标准库导入移至第三方库/自定义模块导入之前

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/deepseek_v4
  • 文件名称:src/pypto_gym/ops/pypto_tensor/deepseek_v4/compress_flash_attention_impl.py
  • 问题行号:208
  • 原始问题:G.NAM.04 避免在无关的标识符或无关的概念之间重用名字, 避免因重名而导致的意外赋值和错误引用 / Redefining built-in 'sum'c128_decode_impl(redefined-builtin)
  • 处理结果:【已修复】
  • 处理原因:变量sum重命名为sum_exp,避免重定义内置函数

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_5_9b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:1
  • 原始问题:G.CMT.06 文件头注释应该包含版权许可信息 / Missing file header comments(header-copyright)
  • 处理结果:【已修复】
  • 处理原因:SPDX格式许可证头替换为CANN标准格式许可证头

静态检测修复记录 - 2026-06-29 04:18:06

  • 文件路径:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule
  • 文件名称:src/pypto_gym/ops/pypto_tensor/qwen3_6_27b/gated_delta_rule/gated_delta_rule_impl.py
  • 问题行号:1
  • 原始问题:G.CMT.06 文件头注释应该包含版权许可信息 / Missing file header comments(header-copyright)
  • 处理结果:【已修复】
  • 处理原因:SPDX格式许可证头替换为CANN标准格式许可证头