①tools/gdstyle_baseline.txt: 删48消解键(battle_orchestrator函数级20+damage_controller9+grant_segment8+adventure_runner3+combat_segment2+settlement_table schema2+treasure_interact_controller2+config_db_cross_validator1+level_runner1)+收紧14键(宿主类变量50→38/行数1302→1037按钉定版现值——iter40在案读数1036系合回前值,合并带入+1行按现值登记;adventure_runner类变量42→28;level_runner38→30与public-methods54→50;board_view45→32;unit_container81→68与局部17→16;reward_economy roll_board54→52;enemy_table三键;skill_table两键)+零新增;执行=用户令子Agent,refresh全量重生成被骤降守卫拦(168<216×0.9)且--force会连level_map_screen 21→22抬升违「只降不升」——转闸件write_baseline手工合并(当前扫描∩旧基线,带数值取min),写前后断言全过,文件头注随闸件现行序列化器同步 ②game/tests/.gates/baseline.json未动: 红行与在册指纹8467b4588a20逐字节一致(static_scan.log实算复核吻合),不失配无需换代 ③复核: 检查模式exit=1红集恰=level_map_screen max-class-variables一条,基线外新违规0(battle_fx_host/reward_grant/settlement拆段零新键) ④账面: 待办清单波0条目完成整删(执行时点=迭代40合回+批后收尾落地后用户发令)+深拆批条目宿主基线读数随重锚同步(50/1302→38/1037);roadmap当前位「开工前固定动作波0」句改已执行销号
176 lines
14 KiB
Plaintext
176 lines
14 KiB
Plaintext
# gdstyle 存量基线(S13)——键每行一条;只记基线不记豁免理由。
|
||
# 键形态(稳定身份键,计数漂移不换键):函数级带数条目=文件|规则|函数名;类级/文件级带数条目
|
||
# (class variables/public methods/file length)=文件|规则;无数字条目=文件|规则|消息全文(裸键)。
|
||
# 带数条目行格式「键 = 数值」,数值=消息剥掉 (max N) 段后首个整数;无数字条目裸键。
|
||
# 判定=键不在基线红(NEW)、同键数值较登记值恶化红(WORSENED)、改小/持平不红。
|
||
# 重生成=人工专用:python tools/gdstyle_gate.py --refresh(禁清基线换绿;改规则口径/工具升级须随批
|
||
# 重生成;新键数较旧基线少逾 10% 须加 --force 显式确认)。
|
||
game/core/action_economy.gd|quality/max-class-variables = 18
|
||
game/core/adventure_runner.gd|quality/max-class-variables = 28
|
||
game/core/battle_orchestrator.gd|quality/max-class-variables = 38
|
||
game/core/battle_orchestrator.gd|quality/max-file-length = 1037
|
||
game/core/board_generator.gd|quality/max-branches|measure_inferability = 12
|
||
game/core/board_generator.gd|quality/max-function-length|_attempt = 51
|
||
game/core/board_generator.gd|quality/max-function-length|generate = 62
|
||
game/core/board_generator.gd|quality/max-function-length|measure_inferability = 64
|
||
game/core/board_generator.gd|quality/max-local-variables|generate = 14
|
||
game/core/board_generator.gd|quality/max-local-variables|measure_inferability = 13
|
||
game/core/board_generator.gd|quality/max-nesting-depth|measure_inferability = 5
|
||
game/core/board_generator.gd|quality/max-parameters|_finalize = 6
|
||
game/core/config_db.gd|quality/max-class-variables = 25
|
||
game/core/config_db.gd|quality/max-public-methods = 44
|
||
game/core/config_db_cross_validator.gd|quality/max-branches|cross_validate = 21
|
||
game/core/config_db_cross_validator.gd|quality/max-function-length|cross_validate = 107
|
||
game/core/config_db_cross_validator.gd|quality/max-local-variables|cross_validate = 24
|
||
game/core/config_db_cross_validator.gd|quality/max-nesting-depth|cross_validate = 5
|
||
game/core/config_db_resolver.gd|quality/max-branches|_resolve_progress = 16
|
||
game/core/config_db_resolver.gd|quality/max-branches|resolve_enemy_rowset = 12
|
||
game/core/config_db_resolver.gd|quality/max-function-length|_resolve_progress = 52
|
||
game/core/config_db_resolver.gd|quality/max-local-variables|_resolve_progress = 11
|
||
game/core/effect_engine.gd|quality/max-branches|validate_trigger_row = 14
|
||
game/core/effect_engine.gd|quality/max-function-length|_cond_ok = 52
|
||
game/core/effect_engine.gd|quality/max-function-length|rebuild = 55
|
||
game/core/effect_engine.gd|quality/max-local-variables|validate_trigger_row = 11
|
||
game/core/effect_engine.gd|quality/max-nesting-depth|_cond_ok = 5
|
||
game/core/effect_engine.gd|quality/max-nesting-depth|rebuild = 5
|
||
game/core/effect_engine.gd|quality/max-returns|_cond_ok = 19
|
||
game/core/effect_engine.gd|quality/no-else-return|unnecessary 'elif' after 'return'
|
||
game/core/level_runner.gd|quality/max-class-variables = 30
|
||
game/core/level_runner.gd|quality/max-public-methods = 50
|
||
game/core/level_runner.gd|quality/max-returns|_enter_node = 7
|
||
game/core/meta_progression.gd|quality/max-public-methods = 31
|
||
game/core/meta_progression.gd|quality/max-returns|tree_can_buy = 8
|
||
game/core/minesweeper_rules.gd|quality/max-function-length|_do_dig = 53
|
||
game/core/node_map_generator.gd|quality/max-branches|_assign_types = 11
|
||
game/core/node_map_generator.gd|quality/max-branches|check_params = 12
|
||
game/core/node_map_generator.gd|quality/max-branches|validate_output = 34
|
||
game/core/node_map_generator.gd|quality/max-function-length|validate_output = 132
|
||
game/core/node_map_generator.gd|quality/max-local-variables|_add_forks = 12
|
||
game/core/node_map_generator.gd|quality/max-local-variables|_build = 15
|
||
game/core/node_map_generator.gd|quality/max-local-variables|validate_output = 22
|
||
game/core/node_map_generator.gd|quality/max-nesting-depth|_check_fork_rules = 5
|
||
game/core/node_map_generator.gd|quality/max-returns|validate_output = 7
|
||
game/core/reward_economy.gd|quality/max-function-length|roll_board = 52
|
||
game/core/reward_economy.gd|quality/max-local-variables|_skewed_cell_rows = 13
|
||
game/core/reward_economy.gd|quality/max-local-variables|roll_board = 11
|
||
game/core/save_manager.gd|quality/max-public-methods = 52
|
||
game/core/save_manager.gd|quality/max-returns|_peek_summary_at = 7
|
||
game/core/save_manager.gd|quality/max-returns|load_from_disk = 8
|
||
game/core/status_container.gd|quality/max-nesting-depth|apply_effect = 5
|
||
game/core/status_container.gd|quality/max-parameters|_new_instance = 7
|
||
game/core/status_container.gd|quality/max-returns|apply_effect = 9
|
||
game/core/treasure_items.gd|quality/max-branches|validate_use = 11
|
||
game/core/treasure_items.gd|quality/max-nesting-depth|validate_use = 5
|
||
game/core/unit_container.gd|quality/max-function-length|spawn = 68
|
||
game/core/unit_container.gd|quality/max-local-variables|spawn = 16
|
||
game/core/unit_container.gd|quality/max-parameters|spawn = 10
|
||
game/data/schemas/adventure_table.gd|quality/max-class-variables = 44
|
||
game/data/schemas/board_gen_table.gd|quality/max-branches|validate = 20
|
||
game/data/schemas/board_gen_table.gd|quality/max-function-length|validate = 67
|
||
game/data/schemas/board_gen_table.gd|quality/max-local-variables|validate = 16
|
||
game/data/schemas/enemy_table.gd|quality/max-branches|validate = 30
|
||
game/data/schemas/enemy_table.gd|quality/max-function-length|validate = 110
|
||
game/data/schemas/enemy_table.gd|quality/max-local-variables|validate = 28
|
||
game/data/schemas/forge_table.gd|quality/max-branches|validate = 30
|
||
game/data/schemas/forge_table.gd|quality/max-function-length|validate = 95
|
||
game/data/schemas/forge_table.gd|quality/max-local-variables|validate = 20
|
||
game/data/schemas/level_gen_params.gd|quality/max-branches|validate = 15
|
||
game/data/schemas/level_gen_params.gd|quality/max-function-length|validate = 59
|
||
game/data/schemas/level_gen_params.gd|quality/max-local-variables|validate = 18
|
||
game/data/schemas/meta_table.gd|quality/max-branches|validate = 14
|
||
game/data/schemas/meta_table.gd|quality/max-function-length|validate = 60
|
||
game/data/schemas/meta_table.gd|quality/max-local-variables|validate = 14
|
||
game/data/schemas/meta_tree_table.gd|quality/max-branches|validate = 26
|
||
game/data/schemas/meta_tree_table.gd|quality/max-function-length|validate = 86
|
||
game/data/schemas/meta_tree_table.gd|quality/max-local-variables|validate = 13
|
||
game/data/schemas/meta_tree_table.gd|quality/max-nesting-depth|validate = 5
|
||
game/data/schemas/reward_table.gd|quality/max-branches|validate = 30
|
||
game/data/schemas/reward_table.gd|quality/max-function-length|validate = 99
|
||
game/data/schemas/reward_table.gd|quality/max-local-variables|validate = 20
|
||
game/data/schemas/skill_table.gd|quality/max-branches|validate = 26
|
||
game/data/schemas/skill_table.gd|quality/max-function-length|validate = 76
|
||
game/data/schemas/status_effect_table.gd|quality/max-branches|validate = 12
|
||
game/data/schemas/treasure_item_table.gd|quality/max-branches|validate = 44
|
||
game/data/schemas/treasure_item_table.gd|quality/max-function-length|validate = 147
|
||
game/data/schemas/treasure_item_table.gd|quality/max-local-variables|validate = 26
|
||
game/data/schemas/treasure_item_table.gd|quality/max-nesting-depth|validate = 6
|
||
game/data/schemas/variation_table.gd|quality/max-branches|validate = 20
|
||
game/data/schemas/variation_table.gd|quality/max-function-length|validate = 58
|
||
game/presentation/battle_narrator.gd|quality/max-returns|bonus_card_text = 9
|
||
game/presentation/camp_flow_context.gd|quality/max-parameters|_init = 12
|
||
game/presentation/curio_flow_context.gd|quality/max-class-variables = 16
|
||
game/presentation/curio_flow_context.gd|quality/max-parameters|_init = 16
|
||
game/presentation/curio_interact_controller.gd|quality/max-class-variables = 18
|
||
game/presentation/hud_presenter.gd|quality/max-parameters|_refresh_out_of_battle = 6
|
||
game/presentation/hud_presenter.gd|quality/max-parameters|refresh = 8
|
||
game/presentation/hud_presenter.gd|quality/max-parameters|tune_sim_report = 10
|
||
game/presentation/main.gd|quality/max-class-variables = 49
|
||
game/presentation/playtest_logger.gd|quality/no-debug-print|debug 'print()' call found
|
||
game/presentation/tune_sim_controller.gd|quality/await-in-loop|'await' used inside a loop
|
||
game/presentation/tune_sim_controller.gd|quality/max-local-variables|run = 11
|
||
game/presentation/tune_sim_controller.gd|quality/no-debug-print|debug 'print()' call found
|
||
game/presentation/ui_assembler.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/ui_assembler.gd|quality/max-function-length|build_start_overlay = 83
|
||
game/presentation/ui_assembler.gd|quality/max-local-variables|build_start_overlay = 16
|
||
game/presentation/views/ap_bar_view.gd|quality/max-function-length|_init = 69
|
||
game/presentation/views/battle_end_overlay.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/battle_end_overlay.gd|quality/max-class-variables = 20
|
||
game/presentation/views/battle_end_overlay.gd|quality/max-function-length|_init = 81
|
||
game/presentation/views/battle_end_overlay.gd|quality/max-parameters|open_victory = 8
|
||
game/presentation/views/battle_log_view.gd|quality/max-branches|_format_row = 9
|
||
game/presentation/views/battle_log_view.gd|quality/max-function-length|_format_row = 68
|
||
game/presentation/views/battle_log_view.gd|quality/max-local-variables|_format_row = 21
|
||
game/presentation/views/battle_log_view.gd|quality/max-returns|_format_row = 13
|
||
game/presentation/views/battle_stage_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/battle_stage_view.gd|quality/max-function-length|_init = 97
|
||
game/presentation/views/battle_stage_view.gd|quality/max-returns|_enemy_portrait_tex = 9
|
||
game/presentation/views/board_cell_unit.gd|quality/max-branches|_draw = 29
|
||
game/presentation/views/board_cell_unit.gd|quality/max-class-variables = 31
|
||
game/presentation/views/board_cell_unit.gd|quality/max-function-length|_draw = 147
|
||
game/presentation/views/board_cell_unit.gd|quality/max-local-variables|_draw = 19
|
||
game/presentation/views/board_fx_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/board_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/board_view.gd|quality/max-branches|_paint_cell = 24
|
||
game/presentation/views/board_view.gd|quality/max-class-variables = 32
|
||
game/presentation/views/board_view.gd|quality/max-function-length|_paint_cell = 139
|
||
game/presentation/views/board_view.gd|quality/max-local-variables|_paint_cell = 22
|
||
game/presentation/views/board_view.gd|quality/max-public-methods = 27
|
||
game/presentation/views/board_zone_view.gd|quality/max-function-length|_init = 59
|
||
game/presentation/views/camp_overlay_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-class-variables = 19
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_init = 149
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_rebuild_forge = 72
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_rebuild_tree = 61
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|refresh_camp = 61
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_init = 28
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_rebuild_forge = 20
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_rebuild_tree = 21
|
||
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|refresh_camp = 17
|
||
game/presentation/views/curio_pick_overlay.gd|quality/max-function-length|_init = 52
|
||
game/presentation/views/curio_pick_overlay.gd|quality/max-returns|_icon_for_id = 7
|
||
game/presentation/views/debug_overlay.gd|quality/max-class-variables = 17
|
||
game/presentation/views/debug_overlay.gd|quality/max-function-length|_build = 124
|
||
game/presentation/views/debug_overlay.gd|quality/max-local-variables|_build = 22
|
||
game/presentation/views/hero_info_panel_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/hero_info_panel_view.gd|quality/max-function-length|_init = 74
|
||
game/presentation/views/hero_info_panel_view.gd|quality/max-function-length|set_treasure_inventory = 57
|
||
game/presentation/views/hero_info_panel_view.gd|quality/max-local-variables|set_treasure_inventory = 13
|
||
game/presentation/views/legend_overlay.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/level_map_screen.gd|quality/max-branches|_draw_graph = 9
|
||
game/presentation/views/level_map_screen.gd|quality/max-class-variables = 21
|
||
game/presentation/views/level_map_screen.gd|quality/max-function-length|_draw_graph = 78
|
||
game/presentation/views/level_map_screen.gd|quality/max-function-length|_init = 135
|
||
game/presentation/views/level_map_screen.gd|quality/max-local-variables|_draw_graph = 27
|
||
game/presentation/views/level_map_screen.gd|quality/max-local-variables|_init = 21
|
||
game/presentation/views/settings_overlay.gd|quality/max-function-length|_build = 77
|
||
game/presentation/views/settings_overlay.gd|quality/max-local-variables|_build = 13
|
||
game/presentation/views/standee_body.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
|
||
game/presentation/views/standee_body.gd|quality/max-class-variables = 29
|
||
game/presentation/views/standee_body.gd|quality/max-function-length|_draw = 84
|
||
game/presentation/views/standee_body.gd|quality/max-local-variables|_draw = 26
|
||
game/presentation/views/ui_kit.gd|quality/max-local-variables|beams_rect = 13
|
||
game/presentation/views/ui_kit.gd|quality/max-parameters|_init = 6
|
||
game/presentation/views/ui_kit.gd|quality/max-parameters|bcard = 6
|
||
game/presentation/views/ui_kit.gd|quality/max-parameters|modal_shell = 6
|
||
game/presentation/views/ui_kit.gd|quality/max-public-methods = 26
|