AI Slop Code RIsk Monitor

OneDragon-Anything/ZenlessZoneZero-OneDragon

绝区零 一条龙 | 全自动 | 自动闪避 | 自动每日 | 自动空洞 | 支持手柄

10.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for OneDragon-Anything/ZenlessZoneZero-OneDragon, a Python project with 7,250 GitHub stars. SynthScan examined 266,935 lines of code across 2074 source files, recording 2245 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 10.3 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

10.3
Adjusted Signal
10.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
7.2K
Stars
Python
Language
266.9K
Lines of Code
2.1K
Files
2.2K
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 16.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 858 finding(s).

Hallucinated Dependency & Supply Chain Risk 10.5/100 · LOW

Are imports declared and package/API names verified? 633 finding(s).

Agent Over-Engineering Ratio 29.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1348 finding(s).

PR Review Velocity Impact 41.9/100 · MEDIUM

Which changes need focused human review? 2245 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 10HIGH 66MEDIUM 119LOW 2050

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2245 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers561 hits · 589 pts
SeverityFileLineSnippetContext
LOWtools/ci/update_redemption_code.py152 def update_redemption_codes_yml(self) -> bool:CODE
LOWtools/ci/update_contributors.py88def fetch_github_contributors(url: str) -> List[Dict[str, Any]]:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py28def find_zzz_od_mcp_server_process() -> psutil.Process | None:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py152def restart_zzz_od_mcp_server() -> str:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py174def get_zzz_od_mcp_server_status() -> str:CODE
LOWconfig/format.py53def fix_comment_spacing_before(content):CODE
LOWdeploy/generate_module_manifest.py67def collect_imports_from_file(py: Path, repo_root: Path) -> tuple[set[str], dict[str, set[str]]]:CODE
LOW.github/workflows/trusted-contributor-close-issue.yml50 async function getDefaultBranchCommitCount(owner, repo, author) {CODE
LOWsrc/zzz_od/operation/agent_template_matcher.py10def match_team_agent_template(CODE
LOWsrc/zzz_od/operation/battle/shiyu_defense.py99 def _check_in_battle_secondary(self, in_battle: bool) -> str | None:CODE
LOWsrc/zzz_od/operation/battle/lost_void.py114 def _check_in_battle_secondary(self, in_battle: bool) -> str | None:CODE
LOWsrc/zzz_od/operation/battle/base.py144 def _check_in_battle_secondary(self, in_battle: bool) -> str | None:CODE
LOWsrc/zzz_od/operation/battle/withered_domain.py161 def _check_in_battle_secondary(self, in_battle: bool) -> str | None:CODE
LOWsrc/zzz_od/operation/enter_game/enter_game.py216 def input_account_password_new(self) -> OperationRoundResult:CODE
LOWsrc/zzz_od/operation/enter_game/enter_game.py293 def input_account_password_intl(self) -> OperationRoundResult:CODE
LOWsrc/zzz_od/operation/enter_game/enter_game.py545 def check_enter_click_status_text(CODE
LOW…operation/compendium/compendium_choose_mission_type.py96 def choose_mission_type_by_agent(self) -> OperationRoundResult:CODE
LOWsrc/zzz_od/config/game_config.py181 def _migrate_legacy_gamepad_keys(self) -> None:CODE
LOWsrc/zzz_od/game_data/map_area.py82 def get_direction_to_target_area(self, current_area: MapArea, target_area: MapArea) -> int:CODE
LOWsrc/zzz_od/game_data/compendium.py173 def get_mission_type_list_data(self, tab_name: str, category_name: str) -> list[CompendiumMissionType]:CODE
LOWsrc/zzz_od/game_data/compendium.py204 def get_charge_plan_category_list(self) -> list[ConfigItem]:CODE
LOWsrc/zzz_od/game_data/compendium.py220 def get_charge_plan_mission_type_list(self, category_name: str) -> list[ConfigItem]:CODE
LOWsrc/zzz_od/game_data/compendium.py232 def get_charge_plan_mission_list(self, category_name: str, mission_type: str) -> list[ConfigItem]:CODE
LOWsrc/zzz_od/game_data/compendium.py244 def get_same_category_mission_type_list(self, mission_type_name: str) -> list[CompendiumMissionType] | None:CODE
LOWsrc/zzz_od/game_data/compendium.py256 def get_notorious_hunt_plan_mission_type_list(self, category_name: str) -> list[ConfigItem]:CODE
LOWsrc/zzz_od/game_data/compendium.py268 def get_hollow_zero_mission_name_list(self) -> list[str]:CODE
LOWsrc/zzz_od/game_data/compendium.py325 def get_coffee_config_list_by_day(self, day: int) -> list[ConfigItem]:CODE
LOWsrc/zzz_od/game_data/compendium.py331 def get_lost_void_mission_name_list(self) -> list[str]:CODE
LOWsrc/zzz_od/backend/operation_registry.py99def _annotation_json_serializable(annotation: 'Any') -> bool:CODE
LOWsrc/zzz_od/backend/config_router.py167def _charge_plan_item_from_dict(data: dict) -> object:CODE
LOWsrc/zzz_od/backend/config_router.py172def _charge_plan_validate_item(ctx: 'ZContext', item: object) -> str | None:CODE
LOWsrc/zzz_od/backend/config_router.py191def _notorious_hunt_get_config(CODE
LOW⚡src/zzz_od/backend/config_router.py204def _notorious_hunt_validate_item(ctx: 'ZContext', item: object) -> str | None:CODE
LOW⚡src/zzz_od/backend/config_router.py211def _standalone_app_get_config(CODE
LOW⚡src/zzz_od/backend/config_router.py217def _standalone_app_item_from_dict(data: dict) -> str:CODE
LOW⚡src/zzz_od/backend/config_router.py221def _standalone_app_validate_item(ctx: 'ZContext', item: str) -> str | None:CODE
LOWsrc/zzz_od/backend/backend_context.py934 def _get_shiyu_defense_config(self) -> 'ShiyuDefenseConfig | None':CODE
LOWsrc/zzz_od/backend/mcp/service_app.py127def make_get_predefined_teams(backend: ZzzBackendContext) -> Callable[[], PredefinedTeamListResult | dict]:CODE
LOWsrc/zzz_od/backend/mcp/prompts.py44def render_check_status_guide() -> str:CODE
LOWsrc/zzz_od/backend/mcp/prompts.py55def render_run_one_dragon_guide() -> str:STRING
LOWsrc/zzz_od/backend/mcp/prompts.py68def render_run_standalone_app_guide(app_id: str | None = None) -> str:STRING
LOWsrc/zzz_od/backend/mcp/prompts.py89def render_dev_validate_op_guide() -> str:STRING
LOWsrc/zzz_od/backend/http/service_routes.py37async def handle_game_predefined_teams(backend: ZzzBackendContext, _request: Request | None = None) -> Response:CODE
LOWsrc/zzz_od/backend/http/service_routes.py46async def handle_game_run_one_dragon(backend: ZzzBackendContext, request: Request | None = None) -> Response:CODE
LOWsrc/zzz_od/backend/http/service_routes.py79async def handle_game_run_standalone(backend: ZzzBackendContext, request: Request | None = None) -> Response:CODE
LOWsrc/zzz_od/backend/http/service_routes.py134async def handle_game_operations_describe(CODE
LOWsrc/zzz_od/backend/http/service_routes.py155async def handle_game_run_operation(CODE
LOWsrc/zzz_od/backend/http/service_routes.py245 async def _game_operations_describe(request: Request) -> Response:CODE
LOWsrc/zzz_od/controller/zzz_pc_controller.py202 def turn_vertical_by_distance(self, d: float):CODE
LOWsrc/zzz_od/auto_battle/auto_battle_utils.py17def _get_best_agent_for_moving(team_info: TeamInfo) -> AgentInfo | None:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_utils.py73def switch_to_best_agent_for_moving(ctx: ZContext, timeout_seconds: float = 5) -> None:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_utils.py139def check_battle_encounter_in_period(ctx: ZContext, total_check_seconds: float) -> bool:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py325 def init_battle_agent_context(CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py398 def _should_force_check_all_agents(self, screen_agent_list: List[Tuple[Agent | None, str | None]]) -> bool:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py520 def _check_agent_state_in_parallel(self, screen: MatLike, screenshot_time: float, agent_state_list: List[CheckAgentSCODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py826 def _force_reconstruct_agent_states(self, new_front_agent_name: str, update_time: float) -> List[StateRecord]:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py924def _debug_check_agent_in_parallel():CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py633 def _check_chain_attack_in_parallel(self, screen: MatLike, screenshot_time: float):CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py824 def _is_switch_backup_mark_black(part: MatLike) -> bool:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py840 def _is_switch_backup_gray_area_colorful(part: MatLike) -> bool:CODE
501 more matches not shown…
Unused Imports609 hits · 438 pts
SeverityFileLineSnippetContext
LOWtools/ci/sync_github_release_to_cnb.py1CODE
LOWtools/ci/build_test_branch.py1CODE
LOWdeploy/module_manifest.py4CODE
LOWdeploy/module_manifest.py5CODE
LOWdeploy/module_manifest.py6CODE
LOWdeploy/module_manifest.py7CODE
LOWdeploy/module_manifest.py8CODE
LOWdeploy/module_manifest.py9CODE
LOWdeploy/module_manifest.py10CODE
LOWdeploy/module_manifest.py11CODE
LOWdeploy/module_manifest.py12CODE
LOWdeploy/module_manifest.py13CODE
LOWdeploy/module_manifest.py14CODE
LOWdeploy/module_manifest.py15CODE
LOWdeploy/module_manifest.py16CODE
LOWdeploy/module_manifest.py17CODE
LOWdeploy/module_manifest.py18CODE
LOWdeploy/module_manifest.py19CODE
LOWdeploy/module_manifest.py20CODE
LOWdeploy/module_manifest.py21CODE
LOWdeploy/module_manifest.py22CODE
LOWdeploy/module_manifest.py23CODE
LOWdeploy/module_manifest.py24CODE
LOWdeploy/module_manifest.py25CODE
LOWdeploy/module_manifest.py26CODE
LOWdeploy/module_manifest.py27CODE
LOWdeploy/module_manifest.py28CODE
LOWdeploy/module_manifest.py29CODE
LOWdeploy/module_manifest.py30CODE
LOWdeploy/module_manifest.py31CODE
LOWdeploy/module_manifest.py32CODE
LOWdeploy/module_manifest.py33CODE
LOWdeploy/module_manifest.py34CODE
LOWdeploy/module_manifest.py35CODE
LOWdeploy/module_manifest.py36CODE
LOWdeploy/module_manifest.py37CODE
LOWdeploy/module_manifest.py38CODE
LOWdeploy/module_manifest.py39CODE
LOWdeploy/module_manifest.py40CODE
LOWdeploy/module_manifest.py41CODE
LOWdeploy/module_manifest.py42CODE
LOWdeploy/module_manifest.py43CODE
LOWdeploy/module_manifest.py44CODE
LOWdeploy/module_manifest.py45CODE
LOWdeploy/module_manifest.py46CODE
LOWdeploy/module_manifest.py47CODE
LOWdeploy/module_manifest.py48CODE
LOWdeploy/module_manifest.py49CODE
LOWdeploy/module_manifest.py50CODE
LOWdeploy/module_manifest.py51CODE
LOWdeploy/module_manifest.py52CODE
LOWdeploy/module_manifest.py53CODE
LOWdeploy/module_manifest.py55CODE
LOWdeploy/module_manifest.py56CODE
LOWdeploy/module_manifest.py57CODE
LOWdeploy/module_manifest.py58CODE
LOWdeploy/module_manifest.py59CODE
LOWdeploy/module_manifest.py60CODE
LOWdeploy/module_manifest.py61CODE
LOWdeploy/module_manifest.py62CODE
549 more matches not shown…
Excessive Try-Catch Wrapping374 hits · 392 pts
SeverityFileLineSnippetContext
LOWtools/manual_verification.py124 except Exception as e:CODE
LOWtools/ci/update_redemption_code.py50 except Exception as e:CODE
LOWtools/ci/update_redemption_code.py72 except Exception as e:CODE
LOWtools/ci/update_redemption_code.py103 except Exception as e:CODE
LOWtools/ci/update_redemption_code.py117 except Exception as e:CODE
LOWtools/ci/generate_install_manifest.py68 except Exception:CODE
LOWtools/ci/prepare_release_assets.py38 except Exception as e:CODE
LOWtools/ci/prepare_release_assets.py59 except Exception as e:CODE
LOWtools/ci/update_contributors.py75 except Exception as e:CODE
LOWtools/ci/update_contributors.py137 except Exception as api_error:CODE
LOWtools/ci/update_contributors.py154 except Exception as e:CODE
LOWtools/ci/update_contributors.py203 except Exception as e:CODE
LOWtools/ci/update_contributors.py260 except Exception as api_error:CODE
LOWtools/ci/update_contributors.py267 except Exception as e:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py117 except Exception as e:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py147 except Exception as e:CODE
LOWtools/mcp/daemon/zzz_od_daemon.py199 except Exception as e:CODE
LOWdeploy/generate_module_manifest.py85 except Exception as e:CODE
LOWservice/zzz_save_battle_class.py50 except Exception as e:CODE
LOWservice/zzz_data_model.py63 except Exception as e:CODE
MEDIUMservice/zzz_data_model.py32def get_battle_info():CODE
LOWservice/zzz_syn_battle_service.py54 except Exception as e:CODE
LOWservice/zzz_syn_battle_service.py69 except Exception as e:CODE
LOWsrc/zzz_od/operation/battle/shiyu_defense.py146 except Exception:CODE
LOWsrc/zzz_od/operation/battle/lost_void.py149 except Exception as e:CODE
LOWsrc/zzz_od/operation/compendium/notorious_hunt.py86 except Exception:CODE
MEDIUMsrc/zzz_od/operation/compendium/notorious_hunt.py83def init_for_notorious_hunt(self) -> OperationRoundResult:CODE
LOWsrc/zzz_od/context/zzz_context.py217 except Exception:CODE
MEDIUMsrc/zzz_od/context/zzz_context.py197def download_task() -> None:CODE
LOWsrc/zzz_od/game_data/map_area.py64 except Exception:CODE
LOWsrc/zzz_od/game_data/compendium.py147 except Exception:CODE
LOWsrc/zzz_od/game_data/compendium.py308 except Exception:CODE
LOWsrc/zzz_od/backend/operation_registry.py208 except Exception as e: # noqa: BLE001 单模块失败不中断CODE
LOWsrc/zzz_od/backend/operation_registry.py258 except Exception as e: # noqa: BLE001CODE
LOWsrc/zzz_od/backend/backend_context.py239 except Exception: # noqa: BLE001CODE
LOWsrc/zzz_od/backend/backend_context.py271 except Exception as e: # noqa: BLE001 execute 抛异常也兜住,避免卡 RUNNINGCODE
LOWsrc/zzz_od/backend/backend_context.py279 except Exception as e: # noqa: BLE001 兜底:refresh_config/run_application 等抛异常也固化,避免卡 RUNNINGCODE
LOWsrc/zzz_od/backend/backend_context.py567 except Exception as e: # noqa: BLE001 OCR/匹配/存盘异常兜底:不回写,返失败(存盘已成功的仍回传路径排障)CODE
LOWsrc/zzz_od/backend/backend_context.py642 except Exception as e: # noqa: BLE001 工具层兜底,不向 MCP 透传CODE
LOWsrc/zzz_od/backend/backend_context.py665 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/backend_context.py673 except Exception: # noqa: BLE001CODE
LOWsrc/zzz_od/backend/backend_context.py888 except Exception: # noqa: BLE001 应用列表用于展示,跳过异常名称CODE
LOWsrc/zzz_od/backend/backend_context.py892 except Exception: # noqa: BLE001 应用列表用于展示,跳过异常描述CODE
LOWsrc/zzz_od/backend/mcp/service_app.py35 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py79 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py122 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py139 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py156 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py174 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/service_app.py212 except Exception as e: # noqa: BLE001 工具层兜底(resolve/validate/_start 异常)CODE
LOWsrc/zzz_od/backend/mcp/app.py159 except Exception as e: # noqa: BLE001 工具层统一兜底,避免异常透传到 MCP 框架CODE
LOWsrc/zzz_od/backend/mcp/app.py174 except Exception as e: # noqa: BLE001 工具层统一兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py205 except Exception as e: # noqa: BLE001 工具层统一兜底,避免异常透传到 MCP 框架CODE
LOWsrc/zzz_od/backend/mcp/app.py253 except Exception as e: # noqa: BLE001 工具层统一兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py269 except Exception as e: # noqa: BLE001 工具层统一兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py285 except Exception as e: # noqa: BLE001 工具层兜底(BackendNotReadyError 等)CODE
LOWsrc/zzz_od/backend/mcp/app.py313 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py338 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py360 except Exception as e: # noqa: BLE001 工具层兜底CODE
LOWsrc/zzz_od/backend/mcp/app.py377 except Exception as e: # noqa: BLE001 工具层兜底CODE
314 more matches not shown…
Decorative Section Separators93 hits · 351 pts
SeverityFileLineSnippetContext
MEDIUM⚡config/auto_battle_state_handler/速切模板-般岳.sample.yml3# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/速切模板-般岳.sample.yml8# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/速切模板-般岳.sample.yml13# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/速切模板-般岳.sample.yml18# ============================================COMMENT
MEDIUMconfig/auto_battle_state_handler/速切模板-克拉蕾.sample.yml3# ── 机制要点(按官方技能说明核对)──────────────────────────────────────────COMMENT
MEDIUMconfig/auto_battle_state_handler/速切模板-克拉蕾.sample.yml18# ── 为什么这样编排有效 ────────────────────────────────────────────────────COMMENT
MEDIUMconfig/auto_battle_state_handler/速切模板-克拉蕾.sample.yml26# ── 分支顺序(同一层从上到下,先匹配先执行)──────────────────────────────COMMENT
MEDIUM⚡config/auto_battle_state_handler/站场模板-般岳.sample.yml3# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/站场模板-般岳.sample.yml8# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/站场模板-般岳.sample.yml14# ============================================COMMENT
MEDIUM⚡config/auto_battle_state_handler/站场模板-般岳.sample.yml19# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-地动山摇.sample.yml2# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-地动山摇.sample.yml6# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-地动山摇.sample.yml9# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-地动山摇.sample.yml13# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-地动山摇.sample.yml15# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相连招.sample.yml2# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相连招.sample.yml6# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相连招.sample.yml9# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相连招.sample.yml15# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-论道狮吼.sample.yml2# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-论道狮吼.sample.yml6# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-论道狮吼.sample.yml10# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-论道狮吼.sample.yml14# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相爆发.sample.yml2# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相爆发.sample.yml6# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相爆发.sample.yml10# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相爆发.sample.yml16# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-怒相爆发.sample.yml18# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-完整循环.sample.yml2# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-完整循环.sample.yml6# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-完整循环.sample.yml9# ============================================COMMENT
MEDIUM⚡config/auto_battle_operation/般岳-连招-完整循环.sample.yml15# ============================================COMMENT
MEDIUMdocs/develop/zzz/target_state_module_developer_guide.md195 # ========================COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md11#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md14#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md93#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md96#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md170#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md173#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md190#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md192#----------------------------------------------------------------------COMMENT
MEDIUM⚡skills/agent-auto-battle-config/SKILL.md219#----------------------------------------------------------------------COMMENT
MEDIUM⚡skills/agent-auto-battle-config/SKILL.md221#----------------------------------------------------------------------COMMENT
MEDIUM⚡skills/agent-auto-battle-config/SKILL.md230#----------------------------------------------------------------------COMMENT
MEDIUM⚡skills/agent-auto-battle-config/SKILL.md232#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md255#----------------------------------------------------------------------COMMENT
MEDIUMskills/agent-auto-battle-config/SKILL.md257#----------------------------------------------------------------------COMMENT
MEDIUM⚡…ui/view/battle_assistant/battle_assistant_interface.py283 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ui/view/battle_assistant/battle_assistant_interface.py285 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ui/view/battle_assistant/battle_assistant_interface.py298 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ui/view/battle_assistant/battle_assistant_interface.py300 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py76 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py78 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py110 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py112 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py225 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py227 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py249 # ------------------------------------------------------------------COMMENT
MEDIUM…ui/view/battle_assistant/battle_assistant_interface.py251 # ------------------------------------------------------------------COMMENT
33 more matches not shown…
Modern Structural Boilerplate245 hits · 270 pts
SeverityFileLineSnippetContext
LOWsrc/zzz_od/config/team_config.py41 def update_team(self, team_info: PredefinedTeamInfo) -> None:CODE
LOWsrc/zzz_od/config/team_config.py71 def update_team_members(self, team_name: str, members: list[Agent]) -> None:CODE
LOWsrc/zzz_od/auto_battle/auto_battle_custom_context.py17 def set_state(self, state_name_list: List[str], time_diff: float, time_diff_add: float, value: int, value_add: int) CODE
LOW⚡src/zzz_od/gui/app.py237 def _update_version(self, versions: tuple[str, str, str]) -> None:CODE
LOW…od/gui/app_setting/notorious_hunt_setting_interface.py263 def update_plan_list_display(self) -> None:CODE
LOW…gui/app_setting/drive_disc_dismantle_setting_flyout.py20 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOW…d/gui/app_setting/redemption_code_setting_interface.py72 def update_display(self, code: str, end_dt: int, readonly: bool = False, is_new: bool = False) -> None:CODE
LOW…d/gui/app_setting/redemption_code_setting_interface.py222 def _update_card_list(self) -> None:CODE
LOW…c/zzz_od/gui/app_setting/random_play_setting_flyout.py24 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOW…c/zzz_od/gui/app_setting/intel_board_setting_flyout.py24 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOW…c/zzz_od/gui/app_setting/intel_board_setting_flyout.py71 def _update_auto_battle_visibility(self) -> None:CODE
LOW…/zzz_od/gui/app_setting/daily_signin_setting_flyout.py19 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOW…/zzz_od/gui/app_setting/life_on_line_setting_flyout.py19 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOWsrc/zzz_od/gui/app_setting/coffee_setting_flyout.py18 def _setup_ui(self, layout: QVBoxLayout) -> None:CODE
LOW⚡src/zzz_od/gui/view/home/home_interface.py675 def _update_start_button_style_from_banner(self) -> None:CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py691 def _set_title_bar_home_mode(self, enable: bool) -> None:CODE
LOW⚡…ui/view/battle_assistant/battle_assistant_interface.py287 def _update_auto_battle_config_opts(self) -> None:CODE
LOW⚡…ui/view/battle_assistant/battle_assistant_interface.py302 def _update_dodge_way_opts(self) -> None:CODE
LOW…z_od/gui/view/battle_assistant/battle_state_display.py110 def set_update_display(self, to_update: bool) -> None:CODE
LOW…z_od/gui/view/battle_assistant/battle_state_display.py117 def _update_display(self) -> None:CODE
LOW…z_od/gui/view/battle_assistant/battle_state_display.py235 def set_update_display(self, to_update: bool) -> None:CODE
LOW…z_od/gui/view/battle_assistant/battle_state_display.py241 def _update_display(self) -> None:CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py271 def update_area_opt(self) -> None:CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py278 def _update_btn_display(self) -> None:CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py400 def _update_mini_map_display(self) -> None:CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py521 def _update_large_map_display(self) -> None:CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py572 def _update_pos_display(self) -> None:CODE
LOW…ui/view/world_patrol/world_patrol_setting_interface.py189 def _update_run_record_display(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py245 def update_area_opt(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py252 def _update_btn_display(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py303 def _update_tp_list(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py322 def _update_route_list(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py569 def _update_mini_map_display(self) -> None:CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py601 def _update_large_map_display(self) -> None:CODE
LOW…view/world_patrol/world_patrol_route_list_interface.py177 def update_area_opt(self) -> None:CODE
LOW…ui/view/devtools/agent_template_generator_interface.py182 def _set_agent_input_error(self, is_error: bool) -> None:CODE
LOW…ui/view/devtools/agent_template_generator_interface.py215 def _set_cards_enabled(self, enabled: bool) -> None:CODE
LOW⚡src/zzz_od/gui/view/devtools/template_card_widget.py69 def set_preview_image(self, image: MatLike | None) -> None:CODE
LOW⚡src/zzz_od/gui/view/devtools/template_card_widget.py76 def set_saved(self, saved: bool) -> None:CODE
LOW⚡src/zzz_od/gui/view/devtools/template_card_widget.py81 def set_buttons_enabled(self, enabled: bool) -> None:CODE
LOWsrc/zzz_od/gui/view/devtools/mcp_service_interface.py403 def _set_buttons_enabled(self, enabled: bool) -> None:CODE
LOW…/zzz_od/gui/view/devtools/operation_debug_interface.py94 def _update_auto_battle_config_opts(self) -> None:CODE
LOW…low_zero/withered_domain_challenge_config_interface.py186 def _update_whole_display(self) -> None:CODE
LOW…low_zero/withered_domain_challenge_config_interface.py240 def _update_existed_yml_options(self) -> None:CODE
LOW⚡…low_zero/withered_domain_challenge_config_interface.py254 def _update_auto_battle_opts(self) -> None:CODE
LOW⚡…low_zero/withered_domain_challenge_config_interface.py261 def _update_pathfinding_input_display(self) -> None:CODE
LOW⚡…low_zero/withered_domain_challenge_config_interface.py390 def _update_error_message(self, msg: str) -> None:CODE
LOW⚡…/view/hollow_zero/withered_domain_setting_interface.py163 def _update_run_record_display(self) -> None:CODE
LOW⚡…/view/hollow_zero/withered_domain_setting_interface.py172 def _update_mission_options(self) -> None:CODE
LOW⚡…/view/hollow_zero/withered_domain_setting_interface.py182 def _update_challenge_config_options(self) -> None:CODE
LOW…ew/hollow_zero/lost_void_challenge_config_interface.py196 def _update_whole_display(self) -> None:CODE
LOW…ew/hollow_zero/lost_void_challenge_config_interface.py283 def _update_existed_yml_options(self) -> None:CODE
LOW⚡…ew/hollow_zero/lost_void_challenge_config_interface.py383 def _update_error_message(self, msg: str) -> None:CODE
LOW…od/gui/view/hollow_zero/lost_void_setting_interface.py152 def _update_run_record_display(self) -> None:CODE
LOW⚡…od/gui/view/hollow_zero/lost_void_setting_interface.py164 def _update_mission_options(self) -> None:CODE
LOW⚡…od/gui/view/hollow_zero/lost_void_setting_interface.py174 def _update_challenge_config_options(self) -> None:CODE
LOWsrc/zzz_od/gui/view/one_dragon/charge_plan_interface.py522 def set_combat_simulation_double_reward_config(self, config: ChargePlanItem) -> None:CODE
LOW…/zzz_od/gui/view/installer/extend_install_interface.py64 def update_progress(self, progress: float, message: str) -> None:CODE
LOWsrc/zzz_od/hollow_zero/hollow_zero_challenge_config.py48 def update_module_name(self, value: str) -> None:CODE
LOW…od/application/notorious_hunt/notorious_hunt_config.py120 def update_plan(self, idx: int, plan: ChargePlanItem) -> None:CODE
185 more matches not shown…
Deep Nesting202 hits · 194 pts
SeverityFileLineSnippetContext
LOWtools/ci/sync_github_release_to_cnb.py198CODE
LOWtools/ci/update_redemption_code.py57CODE
LOWtools/ci/prepare_release_assets.py67CODE
LOWtools/ci/get_version.py6CODE
LOWtools/ci/update_contributors.py19CODE
LOWtools/ci/update_contributors.py88CODE
LOWtools/ci/update_contributors.py159CODE
LOWtools/ci/update_contributors.py208CODE
LOWdeploy/generate_module_manifest.py67CODE
LOWskills/agent-definition/collect_agent_state_hsv.py110CODE
LOWservice/zzz_syn_battle_service.py27CODE
LOWsrc/zzz_od/operation/restore_charge.py83CODE
LOWsrc/zzz_od/operation/battle/shiyu_defense.py99CODE
LOWsrc/zzz_od/operation/battle/lost_void.py114CODE
LOWsrc/zzz_od/operation/battle/withered_domain.py182CODE
LOWsrc/zzz_od/operation/enter_game/enter_game.py586CODE
LOWsrc/zzz_od/operation/compendium/notorious_hunt_move.py99CODE
LOWsrc/zzz_od/operation/compendium/notorious_hunt_move.py162CODE
LOWsrc/zzz_od/game_data/compendium.py244CODE
LOWsrc/zzz_od/game_data/compendium.py277CODE
LOWsrc/zzz_od/backend/operation_registry.py182CODE
LOWsrc/zzz_od/backend/config_router.py87CODE
LOWsrc/zzz_od/backend/backend_context.py210CODE
LOWsrc/zzz_od/backend/mcp/config_app.py119CODE
LOWsrc/zzz_od/backend/mcp/config_app.py121CODE
LOWsrc/zzz_od/auto_battle/auto_battle_target_context.py76CODE
LOWsrc/zzz_od/auto_battle/auto_battle_target_context.py119CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py50CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py66CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py336CODE
LOWsrc/zzz_od/auto_battle/auto_battle_agent_context.py863CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py633CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py709CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py862CODE
LOWsrc/zzz_od/auto_battle/auto_battle_context.py971CODE
LOWsrc/zzz_od/auto_battle/auto_battle_dodge_context.py77CODE
LOWsrc/zzz_od/auto_battle/auto_battle_dodge_context.py226CODE
LOWsrc/zzz_od/auto_battle/atomic_op/atomic_op_factory.py39CODE
LOWsrc/zzz_od/auto_battle/atomic_op/btn_common.py42CODE
LOW…zz_od/auto_battle/target_state/target_state_checker.py117CODE
LOW…_od/gui/app_setting/shiyu_defense_setting_interface.py67CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py213CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py244CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py292CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py479CODE
LOWsrc/zzz_od/gui/view/home/home_interface.py586CODE
LOW…z_od/gui/view/battle_assistant/battle_state_display.py84CODE
LOW…gui/view/world_patrol/route_operation_editor_dialog.py129CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py369CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py521CODE
LOW…ld_patrol/world_patrol_large_map_recorder_interface.py548CODE
LOW…/world_patrol/world_patrol_route_recorder_interface.py457CODE
LOWsrc/zzz_od/gui/view/devtools/mcp_service_interface.py224CODE
LOWsrc/zzz_od/hollow_zero/hollow_zero_data_service.py30CODE
LOWsrc/zzz_od/hollow_zero/hollow_zero_data_service.py78CODE
LOWsrc/zzz_od/hollow_zero/hollow_zero_data_service.py101CODE
LOWsrc/zzz_od/hollow_zero/hollow_runner.py296CODE
LOWsrc/zzz_od/hollow_zero/hollow_battle.py143CODE
LOWsrc/zzz_od/hollow_zero/event/resonium_utils.py45CODE
LOWsrc/zzz_od/hollow_zero/event/bamboo_merchant.py139CODE
142 more matches not shown…
Empty Error Handlers23 hits · 115 pts
SeverityFileLineSnippetContext
HIGHtools/ci/update_contributors.py57except:CODE
HIGHdeploy/generate_module_manifest.py127except ValueError:CODE
HIGH…zz_od/auto_battle/target_state/target_state_checker.py111except (ValueError, TypeError, AttributeError):CODE
HIGH…ld_patrol/world_patrol_large_map_recorder_interface.py588except Exception:CODE
HIGH…ld_patrol/world_patrol_large_map_recorder_interface.py602except Exception:CODE
HIGHsrc/zzz_od/hollow_zero/hollow_zero_challenge_config.py211except Exception:CODE
HIGHsrc/zzz_od/telemetry/telemetry_manager.py104except Exception:CODE
HIGH…on/hollow_zero/lost_void/lost_void_challenge_config.py332except Exception:CODE
HIGH…qt/view/devtools/devtools_template_helper_interface.py877except Exception:CODE
HIGHsrc/one_dragon_qt/overlay/utils/win32_utils.py199except Exception:CODE
HIGH…ne_dragon_qt/widgets/app_setting/app_setting_flyout.py76except RuntimeError:CODE
HIGH…on_qt/widgets/app_setting/app_notify_setting_flyout.py116except RuntimeError:CODE
HIGH…on_qt/widgets/setting_card/code_editor_setting_card.py315except json.JSONDecodeError:CODE
HIGHsrc/one_dragon/utils/cv2_utils.py64except OSError:CODE
HIGH…/base/operation/application/application_run_context.py574except Exception:CODE
HIGHsrc/one_dragon/base/config/yaml_operator.py117except Exception:CODE
HIGHsrc/one_dragon/base/conditional_operation/operator.py280except Exception: # run_async里有callback打印日志CODE
HIGHsrc/one_dragon/base/matcher/ocr/ocr_service.py76except ValueError:CODE
HIGHsrc/one_dragon/base/controller/pc_clipboard.py38except Exception:CODE
HIGHsrc/one_dragon/base/controller/pc_clipboard.py59except Exception:CODE
HIGHsrc/one_dragon/base/controller/pc_clipboard.py81except Exception:CODE
HIGHsrc/one_dragon/base/push/curl_generator.py131except (json.JSONDecodeError, TypeError) as e:CODE
HIGHsrc/one_dragon/base/push/curl_generator.py192except (json.JSONDecodeError, TypeError):CODE
Hallucination Indicators10 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py195 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.account)CODE
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py203 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.password)CODE
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py232 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.account)CODE
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py240 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.password)CODE
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py304 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.account)CODE
CRITICALsrc/zzz_od/operation/enter_game/enter_game.py312 self.ctx.controller.keyboard_controller.keyboard.type(self.ctx.game_account_config.password)CODE
CRITICAL…_od/application/hollow_zero/lost_void/lost_void_app.py419 self.ctx.lost_void.challenge_config.artifact_priority_in_battle.append(text)CODE
CRITICAL…hollow_zero/lost_void/operation/lost_void_run_level.py454 protected_rule_list = self.ctx.lost_void.challenge_config.artifact_priority.copy()CODE
CRITICAL…/lost_void/operation/interact/lost_void_choose_gear.py95 self.ctx.lost_void.challenge_config.artifact_priority_in_battle.append(text)CODE
CRITICAL…_od/application/redemption_code/redemption_code_app.py85 self.ctx.controller.keyboard_controller.keyboard.type(self.unused_code_list[self.code_idx])CODE
Cross-File Repetition19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHsrc/zzz_od/gui/view/installer/gamepad_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…ne_dragon_qt/widgets/install_card/base_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…/one_dragon_qt/widgets/install_card/uv_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…ne_dragon_qt/widgets/install_card/venv_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…ragon_qt/widgets/install_card/launcher_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…_dragon_qt/widgets/install_card/python_install_card.py0安装结束的回调,由子类自行实现 :param success: 是否成功 :param msg: 提示信息 :return:STRING
HIGH…/one_dragon_qt/widgets/install_card/uv_install_card.py0选择了本地文件之后的回调,由子类自行实现 :param file_path: 本地文件的路径 :return:STRING
HIGH…n_qt/widgets/install_card/wtih_existed_install_card.py0选择了本地文件之后的回调,由子类自行实现 :param file_path: 本地文件的路径 :return:STRING
HIGH…_dragon_qt/widgets/install_card/python_install_card.py0选择了本地文件之后的回调,由子类自行实现 :param file_path: 本地文件的路径 :return:STRING
HIGHsrc/one_dragon/base/push/channel/wx_pusher.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/work_weixin_app.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/we_plus_bot.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/fake.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/work_weixin_bot.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/webhook.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/smtp.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/feishu.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/dingding.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
HIGHsrc/one_dragon/base/push/channel/ai_botk.py0验证智能微秘书配置 args: config: 配置字典 returns: tuple[bool, str]: 验证是否通过、错误信息STRING
Docstring Block Structure14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHsrc/zzz_od/backend/operation_registry.py233按 ``<dotted module path>.<ClassName>`` 解析出 operation 类。 拆分(最后一个 ``.``)→ ``import_module`` + ``getattr`` → ``__modulSTRING
HIGHsrc/zzz_od/backend/backend_context.py169触发运行(单跑道)。op_factory 与 app_id 二选一,互斥校验。 - op 路径(op_factory):槽自管 start_running/execute/stop_running(open_game / STRING
HIGHsrc/zzz_od/backend/backend_context.py362将 RGB 截图以 BGR 写盘到 ``.debug/zzz_od_mcp/screenshot/``,返回绝对路径。 Args: image: backend ``capture`` / ``analyze`` STRING
HIGHsrc/zzz_od/backend/backend_context.py696点击游戏窗口内指定坐标(1080p 游戏空间,同源 screen_info pc_rect)。操作类。 坐标经控制器自动缩放到真实屏幕。坐标不在游戏窗口内时控制器返 False(不点击)。 Args: STRING
HIGHsrc/zzz_od/backend/backend_context.py721键盘按键:``press_time=0`` 短按(tap),``press_time>0`` 长按(press→保持→release)。操作类。 覆盖框架 ``btn_controller`` 能发的键:移动 ``w``/STRING
HIGHsrc/zzz_od/backend/backend_context.py748鼠标按住拖拽:从 (x1,y1) 拖到 (x2,y2),持续 duration 秒。操作类。 1080p 游戏空间坐标(同 screen_info ``pc_rect``)。覆盖刮刮卡刮开、八卦收集 来回拖STRING
HIGHsrc/zzz_od/backend/backend_context.py773向当前焦点输入框输入文本(账号/密码等)。操作类。 use_clipboard=None → 跟随 ``game_config.type_input_way``(同 ``EnterGame``); TrueSTRING
HIGHsrc/one_dragon/utils/plugin_module_loader.py69通过 spec_from_file_location 导入模块,自动处理中间包。 Args: file_path: .py 文件的绝对路径 module_name: dotted module naSTRING
HIGH…e/operation/application/application_factory_manager.py197从文件加载工厂类 每个工厂模块应只包含一个 ApplicationFactory 子类。 统一使用 spec_from_file_location 加载所有类型的插件。 对于 THIRD_PSTRING
HIGH…e/operation/application/application_factory_manager.py309在模块中查找工厂类 每个工厂模块应只包含一个 ApplicationFactory 子类。 实例化失败时异常会向上传播,由调用方记录到 failures。 Args: STRING
HIGH…/base/operation/application/application_run_context.py242 获取配置实例。 通过已注册的工厂获取指定参数的应用配置。 Args: app_id: 应用ID 为空时使用当前运行的 instance_iSTRING
HIGH…/base/operation/application/application_run_context.py279 获取运行记录实例。 通过已注册的工厂获取指定参数的应用运行记录。 Args: app_id: 应用ID 为空时使用当前运行的 instanSTRING
HIGH…agon/base/operation/application/application_factory.py113 获取配置实例。 使用缓存机制,如果配置已存在则返回缓存的配置,否则创建新的配置并缓存。 Args: instance_idx: 账号实例下标 STRING
HIGH…agon/base/operation/application/application_factory.py139 获取运行记录实例。 使用缓存机制,如果运行记录已存在则返回缓存的记录,否则创建新的记录并缓存。 Args: instance_idx: 账号实例下标 STRING
Cross-Language Confusion10 hits · 52 pts
SeverityFileLineSnippetContext
HIGHsrc/zzz_od/application/notify/notify_app.py35 self.ctx.push_service.push(CODE
HIGH…c/one_dragon_qt/view/setting/setting_push_interface.py247 ok, msg = self.ctx.push_service.push(CODE
HIGH…c/one_dragon_qt/view/setting/setting_push_interface.py266 ok, msg = self.ctx.push_service.push(CODE
HIGHsrc/one_dragon_qt/widgets/pivot_navi_interface.py76 qrouter.push(self.stacked_widget, current_widget.objectName())CODE
HIGHsrc/one_dragon_qt/widgets/pivot.py143 qrouter.push(self.stacked_widget, widget.objectName())CODE
HIGH…on_qt/widgets/setting_card/code_editor_setting_card.py267 cursor.setPosition(block.position() + min(4, block.length() - 1), cursor.MoveMode.KeepAnchor)CODE
HIGH…on_qt/widgets/setting_card/code_editor_setting_card.py542 # 关键字 (true, false, null)COMMENT
HIGHsrc/one_dragon/base/push/push_channel.py75 return self.push(config, title, combined, last_image, proxy_url)CODE
HIGHsrc/one_dragon/base/push/push_service.py160 ok, msg = channel.push(CODE
HIGHsrc/one_dragon/base/push/push_service.py185 any_ok, err_msg = channel.push(CODE
Over-Commented Block41 hits · 41 pts
SeverityFileLineSnippetContext
LOWconfig/auto_battle_state_handler/速切模板-般岳.sample.yml1template_name: "速切模板-般岳"COMMENT
LOWconfig/auto_battle_state_handler/支援攻击模板-特殊情况.sample.yml1# 需要特别处理的模板COMMENT
LOWconfig/auto_battle_state_handler/洛克茜-合轴决策.sample.yml1template_name: "洛克茜-合轴决策"COMMENT
LOWconfig/auto_battle_state_handler/速切模板-克拉蕾.sample.yml1# 克拉蕾·弗林特 速切模板(随仓库分发的默认配置)COMMENT
LOWconfig/auto_battle_state_handler/速切模板-克拉蕾.sample.yml21# * 铭刻里只跑「长按 E 全爆 + 普攻垫残痕」一个循环:每一轮长按 E 都把残痕清空,COMMENT
LOWconfig/auto_battle_state_handler/速切模板-洛克茜.sample.yml1template_name: "速切模板-洛克茜"COMMENT
LOWconfig/auto_battle_state_handler/速切模板-洛克茜.sample.yml21# * 终结技[葬夜安魂曲]发动后**额外给 1 点风能**。所以失衡期先放终结技、再长按,COMMENT
LOWconfig/auto_battle_state_handler/速切模板-洛克茜.sample.yml101 - operation_template: "洛克茜-普攻连段"COMMENT
LOWconfig/auto_battle_state_handler/洛克茜-黄光支援切入.sample.yml1template_name: "洛克茜-黄光支援切入"COMMENT
LOWconfig/auto_battle_state_handler/站场模板-般岳.sample.yml1template_name: "站场模板-般岳"COMMENT
LOWconfig/auto_battle/专属配队-艾莲.sample.yml401 operations:COMMENT
LOWconfig/auto_battle/全配队通用.sample.yml21# 支援COMMENT
LOWconfig/auto_battle_operation/克拉蕾-强化连段.sample.yml1# 克拉蕾-强化连段COMMENT
LOWconfig/auto_battle_operation/苍角-EA连击.sample.yml61 data: ["0.2"]COMMENT
LOWconfig/auto_battle_operation/般岳-连招-地动山摇.sample.yml1# 般岳-连招-地动山摇COMMENT
LOWconfig/auto_battle_operation/洛克茜-强化特殊技-攒满.sample.yml1# 洛克茜-强化特殊技-攒满COMMENT
LOWconfig/auto_battle_operation/般岳-连招-怒相连招.sample.yml1# 般岳-连招-怒相连招COMMENT
LOWconfig/auto_battle_operation/克拉蕾-铭刻循环.sample.yml1# 克拉蕾-铭刻循环COMMENT
LOWconfig/auto_battle_operation/洛克茜-闪避反击.sample.yml1# 洛克茜-闪避反击COMMENT
LOWconfig/auto_battle_operation/克拉蕾-普攻连段.sample.yml1# 克拉蕾-普攻连段COMMENT
LOWconfig/auto_battle_operation/般岳-连招-论道狮吼.sample.yml1# 般岳-连招-论道狮吼COMMENT
LOWconfig/auto_battle_operation/洛克茜-普攻连段.sample.yml1# 洛克茜-普攻连段COMMENT
LOWconfig/auto_battle_operation/般岳-连招-怒相爆发.sample.yml1# 般岳-连招-怒相爆发COMMENT
LOWconfig/auto_battle_operation/般岳-连招-完整循环.sample.yml1# 般岳-连招-完整循环COMMENT
LOWconfig/auto_battle_operation/克拉蕾-进入猩红铭刻.sample.yml1# 克拉蕾-进入猩红铭刻COMMENT
LOWconfig/auto_battle_operation/洛克茜-支援攻击.sample.yml1# 洛克茜-支援攻击COMMENT
LOWconfig/auto_battle_operation/克拉蕾-闪避反击.sample.yml1# 克拉蕾-闪避反击COMMENT
LOW.github/workflows/test-check.yml61 path: zzz-od-testCOMMENT
LOWsrc/zzz_od/operation/compendium/area_patrol.py81 self.ctx.controller.click(target_point)COMMENT
LOWsrc/zzz_od/hollow_zero/hollow_map/hollow_pathfinding.py81 if not next_entry.can_go: # 无法移动COMMENT
LOW…hollow_zero/lost_void/operation/lost_void_run_level.py561 self.stuck_state.stuck_times += 1COMMENT
LOWsrc/onnxocr/db_postprocess.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWsrc/onnxocr/rec_postprocess.py761COMMENT
LOWsrc/onnxocr/rec_postprocess.py781# result_list = []COMMENT
LOWsrc/onnxocr/rec_postprocess.py801# conf_list = [0]COMMENT
LOWsrc/onnxocr/rec_postprocess.py821# for _ in range(nsteps):COMMENT
LOWsrc/onnxocr/rec_postprocess.py841# length = out_lengthCOMMENT
LOWsrc/one_dragon_qt/widgets/zoomable_image_label.py521 # min_x = 0COMMENT
LOWsrc/one_dragon/base/cv_process/steps/step_ocr.py21COMMENT
LOWsrc/one_dragon/base/cv_process/steps/step_ocr.py41 # OCR optionsCOMMENT
LOWsrc/one_dragon/base/cv_process/steps/step_ocr.py61 # 'use_angle_cls': use_angle_cls,COMMENT
AI Structural Patterns33 hits · 32 pts
SeverityFileLineSnippetContext
LOWsrc/zzz_od/operation/compendium/area_patrol.py159CODE
LOWsrc/zzz_od/game_data/agent.py84CODE
LOWsrc/zzz_od/backend/backend_context.py570CODE
LOWsrc/zzz_od/backend/mcp/app.py209CODE
LOWsrc/zzz_od/hollow_zero/hollow_battle.py66CODE
LOW…z_od/application/shiyu_defense/shiyu_defense_battle.py59CODE
LOW…ation/commission_assistant/commission_assistant_app.py507CODE
LOWsrc/zzz_od/yolo/hollow_event_detector.py8CODE
LOWsrc/zzz_od/yolo/flash_classifier.py7CODE
LOWsrc/onnxocr/utils.py245CODE
LOWsrc/onnxocr/db_postprocess.py250CODE
LOWsrc/onnxocr/onnx_paddleocr.py70CODE
LOW…t/widgets/setting_card/password_switch_setting_card.py27CODE
LOW…idgets/setting_card/editable_combo_box_setting_card.py28CODE
LOW…ragon_qt/widgets/setting_card/spin_box_setting_card.py80CODE
LOW…ragon_qt/widgets/setting_card/spin_box_setting_card.py119CODE
LOW…_card/value_display_editable_combo_box_setting_card.py18CODE
LOWsrc/one_dragon/yolo/yolov8_onnx_cls.py142CODE
LOWsrc/one_dragon/base/operation/operation.py894CODE
LOWsrc/one_dragon/base/operation/operation.py1138CODE
LOWsrc/one_dragon/base/operation/operation.py1227CODE
LOWsrc/one_dragon/base/operation/operation.py1290CODE
LOWsrc/one_dragon/base/operation/operation_node.py72CODE
LOWsrc/one_dragon/base/operation/operation_node.py9CODE
LOWsrc/one_dragon/base/config/yaml_config.py10CODE
LOWsrc/one_dragon/base/web/zip_downloader.py31CODE
LOWsrc/one_dragon/base/web/common_downloader.py67CODE
LOW…ne_dragon/base/conditional_operation/state_cal_tree.py26CODE
LOWsrc/one_dragon/base/matcher/ocr/ocr_matcher.py31CODE
LOWsrc/one_dragon/base/matcher/ocr/onnx_ocr_matcher.py86CODE
LOWsrc/one_dragon/base/matcher/ocr/onnx_ocr_matcher.py209CODE
LOWsrc/one_dragon/base/screen/screen_utils.py229CODE
LOWsrc/one_dragon/base/screen/screen_area.py20CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…tools/large_map_recorder/large_map_recorder_wrapper.py27 # Initialize parent class with copied dataCOMMENT
MEDIUM…evtools/large_map_recorder/large_map_recorder_utils.py124 # Create a temporary WorldPatrolLargeMap to pass to LargeMapSnapshotCOMMENT
MEDIUM…evtools/large_map_recorder/large_map_recorder_utils.py199 # Create a temporary WorldPatrolLargeMap to pass to LargeMapSnapshotCOMMENT
MEDIUM…evtools/large_map_recorder/large_map_recorder_utils.py279 # Create a temporary WorldPatrolLargeMap to pass to LargeMapSnapshotCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/one_dragon_qt/app/directory_picker.py44 'placeholder': '选择安装路径...',CODE
LOWsrc/one_dragon_qt/app/directory_picker.py63 'placeholder': 'Select installation path...',CODE
LOWsrc/one_dragon_qt/app/directory_picker.py162 self.path_input.setPlaceholderText(self.translator.get_text('placeholder'))CODE
LOWsrc/one_dragon_qt/app/directory_picker.py373 self.path_input.setPlaceholderText(self.translator.get_text('placeholder'))CODE
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/develop/zzz/target_state_module_developer_guide.md157##### Step 1: 准备CV流水线 (如果需要)COMMENT
LOWdocs/develop/zzz/target_state_module_developer_guide.md161##### Step 2: 在数据定义中添加新状态COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…zz_od/auto_battle/target_state/target_state_checker.py34 def run_task(self, screen: MatLike, task: DetectionTask, debug_mode: bool = False) -> Tuple[CvPipelineContext, List[CODE