From e109db95aebb5fee9b0913215208d8c29ba2010a Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Sun, 25 Oct 2026 03:28:09 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E9=97=B8=E5=9F=BA=E7=BA=BF):=20S13=20?= =?UTF-8?q?=E5=9F=BA=E7=BA=BF=E9=87=8D=E7=94=9F=E6=88=90=20234=20=E6=9D=A1?= =?UTF-8?q?=E2=80=94=E2=80=94=E6=B6=88=E5=8C=96=E8=BF=AD=E4=BB=A335?= =?UTF-8?q?=E5=8D=A1=E2=91=A1=E4=BB=A5=E6=9D=A5=E7=9A=84=E5=AD=98=E9=87=8F?= =?UTF-8?q?=E5=80=BA=E8=AE=A1=E6=95=B0=E6=BC=82=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gdstyle 把「文件|规则|消息全文」当身份,函数行数/分支数一变,老违规匹配不上即报 「基线外新违规」。迭代 35 卡② 合回后基线未刷新,此后任何代码域批都被同一批 12 项 假新增挡在合回前(本轮 golden README 小批实测复现)。经用户 2026-10-25 裁决按治标档 放行:人工跑 --refresh 重生成,键形态未改,S13 治本另由已写卡批次(稳定身份键+恶化判据) 处理。 --- tools/gdstyle_baseline.txt | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/tools/gdstyle_baseline.txt b/tools/gdstyle_baseline.txt index 04fb2633..a1907ed9 100644 --- a/tools/gdstyle_baseline.txt +++ b/tools/gdstyle_baseline.txt @@ -3,12 +3,12 @@ game/core/action_economy.gd|quality/max-class-variables|class has 18 variables (max 15) game/core/adventure_runner.gd|quality/max-branches|function '_apply_curio_pick' has 10 branches (max 8) game/core/adventure_runner.gd|quality/max-branches|function '_draw_curio_candidates' has 11 branches (max 8) -game/core/adventure_runner.gd|quality/max-branches|function 'resume_adventure' has 10 branches (max 8) -game/core/adventure_runner.gd|quality/max-class-variables|class has 43 variables (max 15) -game/core/adventure_runner.gd|quality/max-file-length|file is 1050 lines long (max 1000) +game/core/adventure_runner.gd|quality/max-branches|function 'resume_adventure' has 11 branches (max 8) +game/core/adventure_runner.gd|quality/max-class-variables|class has 42 variables (max 15) +game/core/adventure_runner.gd|quality/max-file-length|file is 1051 lines long (max 1000) game/core/adventure_runner.gd|quality/max-function-length|function '_draw_curio_candidates' is 85 lines long (max 50) -game/core/adventure_runner.gd|quality/max-function-length|function '_start_current_level' is 55 lines long (max 50) -game/core/adventure_runner.gd|quality/max-function-length|function 'resume_adventure' is 104 lines long (max 50) +game/core/adventure_runner.gd|quality/max-function-length|function '_start_current_level' is 53 lines long (max 50) +game/core/adventure_runner.gd|quality/max-function-length|function 'resume_adventure' is 108 lines long (max 50) game/core/adventure_runner.gd|quality/max-local-variables|function '_draw_curio_candidates' has 26 local variables (max 10) game/core/adventure_runner.gd|quality/max-local-variables|function 'resume_adventure' has 13 local variables (max 10) game/core/adventure_runner.gd|quality/max-public-methods|class has 23 public methods (max 20) @@ -45,11 +45,11 @@ game/core/board_generator.gd|quality/max-nesting-depth|function 'measure_inferab game/core/board_generator.gd|quality/max-parameters|function '_finalize' has 6 parameters (max 5) game/core/config_db.gd|quality/max-class-variables|class has 25 variables (max 15) game/core/config_db.gd|quality/max-public-methods|class has 44 public methods (max 20) -game/core/config_db_cross_validator.gd|quality/max-branches|function 'cross_validate' has 31 branches (max 8) -game/core/config_db_cross_validator.gd|quality/max-function-length|function 'cross_validate' is 159 lines long (max 50) -game/core/config_db_cross_validator.gd|quality/max-local-variables|function 'cross_validate' has 39 local variables (max 10) +game/core/config_db_cross_validator.gd|quality/max-branches|function 'cross_validate' has 21 branches (max 8) +game/core/config_db_cross_validator.gd|quality/max-function-length|function 'cross_validate' is 107 lines long (max 50) +game/core/config_db_cross_validator.gd|quality/max-local-variables|function 'cross_validate' has 24 local variables (max 10) game/core/config_db_cross_validator.gd|quality/max-local-variables|function 'validate_skill_pool_links' has 11 local variables (max 10) -game/core/config_db_cross_validator.gd|quality/max-nesting-depth|function 'cross_validate' has nesting depth 6 (max 4) +game/core/config_db_cross_validator.gd|quality/max-nesting-depth|function 'cross_validate' has nesting depth 5 (max 4) game/core/config_db_resolver.gd|quality/max-branches|function '_resolve_progress' has 16 branches (max 8) game/core/config_db_resolver.gd|quality/max-branches|function 'resolve_enemy_rowset' has 12 branches (max 8) game/core/config_db_resolver.gd|quality/max-function-length|function '_resolve_progress' is 52 lines long (max 50) @@ -71,9 +71,8 @@ game/core/effect_engine.gd|quality/max-nesting-depth|function '_cond_ok' has nes game/core/effect_engine.gd|quality/max-nesting-depth|function 'rebuild' has nesting depth 5 (max 4) game/core/effect_engine.gd|quality/max-returns|function '_cond_ok' has 19 return statements (max 6) game/core/effect_engine.gd|quality/no-else-return|unnecessary 'elif' after 'return' -game/core/level_runner.gd|quality/max-class-variables|class has 40 variables (max 15) -game/core/level_runner.gd|quality/max-file-length|file is 1013 lines long (max 1000) -game/core/level_runner.gd|quality/max-parameters|function 'start_level_external' has 8 parameters (max 5) +game/core/level_runner.gd|quality/max-class-variables|class has 38 variables (max 15) +game/core/level_runner.gd|quality/max-parameters|function 'start_level_external' has 7 parameters (max 5) game/core/level_runner.gd|quality/max-public-methods|class has 54 public methods (max 20) game/core/level_runner.gd|quality/max-returns|function '_enter_node' has 7 return statements (max 6) game/core/meta_progression.gd|quality/max-public-methods|class has 31 public methods (max 20) @@ -125,10 +124,6 @@ game/data/schemas/forge_table.gd|quality/max-local-variables|function 'validate' game/data/schemas/level_gen_params.gd|quality/max-branches|function 'validate' has 15 branches (max 8) game/data/schemas/level_gen_params.gd|quality/max-function-length|function 'validate' is 59 lines long (max 50) game/data/schemas/level_gen_params.gd|quality/max-local-variables|function 'validate' has 18 local variables (max 10) -game/data/schemas/level_table.gd|quality/max-branches|function '_validate_graph' has 21 branches (max 8) -game/data/schemas/level_table.gd|quality/max-branches|function '_validate_level_nodes' has 12 branches (max 8) -game/data/schemas/level_table.gd|quality/max-function-length|function '_validate_graph' is 99 lines long (max 50) -game/data/schemas/level_table.gd|quality/max-local-variables|function '_validate_graph' has 19 local variables (max 10) game/data/schemas/meta_table.gd|quality/max-branches|function 'validate' has 14 branches (max 8) game/data/schemas/meta_table.gd|quality/max-function-length|function 'validate' is 60 lines long (max 50) game/data/schemas/meta_table.gd|quality/max-local-variables|function 'validate' has 14 local variables (max 10) @@ -162,7 +157,7 @@ game/presentation/hud_presenter.gd|quality/max-parameters|function '_refresh_out game/presentation/hud_presenter.gd|quality/max-parameters|function 'refresh' has 8 parameters (max 5) game/presentation/hud_presenter.gd|quality/max-parameters|function 'tune_sim_report' has 10 parameters (max 5) game/presentation/main.gd|quality/max-class-variables|class has 49 variables (max 15) -game/presentation/main.gd|quality/max-file-length|file is 1509 lines long (max 1000) +game/presentation/main.gd|quality/max-file-length|file is 1507 lines long (max 1000) game/presentation/main.gd|quality/max-function-length|function '_build_ui' is 189 lines long (max 50) game/presentation/playtest_logger.gd|quality/no-debug-print|debug 'print()' call found game/presentation/treasure_interact_controller.gd|quality/max-local-variables|function 'inventory_projection' has 11 local variables (max 10)