Repository Analysis

ok-oldking/ok-wuthering-waves

鸣潮 后台自动战斗 自动刷声骸 一键日常 Automation for Wuthering Waves

11.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ok-oldking/ok-wuthering-waves, a Python project with 6,769 GitHub stars. SynthScan v2.0 examined 27,192 lines of code across 154 source files, recording 321 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 11.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

11.9
Adjusted Score
11.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.8K
Stars
Python
Language
27.2K
Lines of Code
154
Files
321
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 6LOW 315

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 321 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers158 hits · 144 pts
SeverityFileLineSnippetContext
LOWsetup.py24def find_packages_with_init_files(base_dir):CODE
LOWtests/TestKey.py37 def test_load_hotkey_skips_set_key_when_short_action_bar_visible(self):CODE
LOWtests/TestEnhanceEchoStatusBox.py65 def test_drop_search_box_covers_both_drop_templates(self):CODE
LOWtests/TestEnhanceEchoStatusBox.py80 def test_lock_search_box_covers_both_lock_templates(self):CODE
LOWtests/TestNightmareNestTask.py19 def test_capture_success_clears_combat_before_post_combat_waits(self):CODE
LOWtests/TestNightmareNestTask.py40 def test_unreachable_nest_is_cached_when_travel_does_not_enter_world(self):CODE
LOWtests/TestNightmareNestTask.py65 def test_find_nest_skips_cached_unreachable_row(self):CODE
LOWtests/TestNightmareNestTask.py94 def test_cache_key_ignores_small_ocr_position_jitter(self):CODE
LOWtests/TestDomainRecoveryLoop.py18 def test_method_has_retry_parameter_with_default(self):CODE
LOWtests/TestDomainRecoveryLoop.py26 def test_method_increments_retries(self):CODE
LOWtests/TestDomainRecoveryLoop.py38 def test_method_stops_when_retry_budget_exceeded(self):CODE
LOWtests/TestDomainRecoveryLoop.py62 def test_loop_unpacks_must_use_from_farm_in_domain(self):CODE
LOWtests/TestFarmEcho.py15 def test_find_boss_check_mark(self):CODE
LOWtests/TestBaseCombatTask.py38 def test_revive_search_boss_name_matches_game_language(self):CODE
LOWtests/TestBaseCombatTask.py53 def test_revive_flow_uses_language_aware_search_name(self):CODE
LOWtests/TestCustomCharLoader.py24 def test_loads_enabled_custom_char_class(self):CODE
LOWtests/TestCustomCharLoader.py40 def test_disabled_custom_char_uses_builtin_class(self):STRING
LOWtests/TestCustomCharLoader.py53 def test_remove_custom_char_code_deletes_file_and_uses_builtin_class(self):STRING
LOWtests/TestCustomCharLoader.py68 def test_failed_save_restores_previous_custom_code(self):STRING
LOWtests/TestCustomCharLoader.py84 def test_factory_replaces_old_char_when_active_class_changes(self):STRING
LOWtests/TestFeatureSet.py12 def test_template_larger_than_search_area_raises(self):CODE
LOWtests/TestScheduleSupport.py28 def test_selected_tasks_enable_schedule_support(self):CODE
LOWtests/TestScheduleSupport.py61 def test_tacet_task_run_handles_login_before_entering_world(self):CODE
LOWtests/TestScheduleSupport.py75 def test_multi_account_returns_to_main_before_switching_to_login(self):CODE
LOWtests/TestScheduleSupport.py93 def test_multi_account_switches_to_login_after_each_account_daily(self):CODE
LOWtests/TestScheduleSupport.py112 def test_multi_account_login_dropdown_timeout_is_not_silent(self):CODE
LOWtests/TestCombatCheck.py72 def test_lucilla_enables_target_box_short_combat_check_from_char_factory(self):CODE
LOWtests/TestCombatCheck.py98 def test_enter_combat_loads_chars_before_target_check(self):CODE
LOWtests/TestWaitLogin.py66 def test_transient_login_button_is_not_clicked(self):CODE
LOWtests/TestWaitLogin.py77 def test_persistent_login_button_is_clicked(self):CODE
LOWtests/TestWaitLogin.py86 def test_no_click_and_no_settle_when_phone_login_is_already_shown(self):CODE
LOWtests/TestWaitLogin.py97 def test_no_click_when_phone_login_appears_after_settle(self):CODE
LOWtests/TestMultiAccountDailyTask.py13 def test_account_dropdown_accepts_multiple_login_text_matches(self):CODE
LOWtests/TestMultiAccountDailyTask.py29 def test_account_name_normalization_groups_common_ocr_variants(self):CODE
LOWtests/TestMultiAccountDailyTask.py39 def test_click_account_list_selects_visible_third_account_after_first_two_are_done(self):CODE
LOWtests/TestChar.py1057 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py1063 def test_intro_does_not_switch_to_phrolova_during_liberation_lock(self):CODE
LOWtests/TestChar.py1067 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py93 def test_auto_combat_warms_char_features_only_once(self):CODE
LOWtests/TestChar.py105 def test_load_chars_reports_only_when_team_changes(self):CODE
LOWtests/TestChar.py158 def test_switch_priority_rules(self):CODE
LOWtests/TestChar.py160 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py234 def test_chisa_support_intro_records_buff_and_switches_immediately(self):CODE
LOWtests/TestChar.py263 def test_verina_heavy_attack_has_eight_second_interval(self):CODE
LOWtests/TestChar.py265 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py317 def test_chisa_support_liberation_records_buff_without_dps_sequence(self):CODE
LOWtests/TestChar.py352 def test_chisa_support_outro_does_not_invent_skill_buff(self):CODE
LOWtests/TestChar.py365 def test_chisa_dps_config_keeps_dps_rotation(self):CODE
LOWtests/TestChar.py385 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py417 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py454 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py467 def heavy_wait_highlight_down(self):CODE
LOWtests/TestChar.py503 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py524 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py547 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py572 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py597 def test_switch_priority_hooks(self):CODE
LOWtests/TestChar.py599 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
LOWtests/TestChar.py635 def test_intro_refresh_reselects_must_target_before_switch_key_is_sent(self):CODE
LOWtests/TestChar.py637 def time_elapsed_accounting_for_freeze(self, start, intro_motion_freeze=False):CODE
98 more matches not shown…
Deep Nesting64 hits · 64 pts
SeverityFileLineSnippetContext
LOWtests/TestScheduleSupport.py28CODE
LOW…ents/skills/ok-script-i18n/scripts/task_i18n_helper.py36CODE
LOWsrc/char/Changli.py62CODE
LOWsrc/char/Jinhsi.py82CODE
LOWsrc/char/Xigelika.py24CODE
LOWsrc/char/Cartethyia.py108CODE
LOWsrc/char/Cartethyia.py160CODE
LOWsrc/char/BaseChar.py353CODE
LOWsrc/char/BaseChar.py566CODE
LOWsrc/char/BaseChar.py919CODE
LOWsrc/char/Phrolova.py16CODE
LOWsrc/char/YangYangSp.py10CODE
LOWsrc/char/Zhezhi.py76CODE
LOWsrc/char/Aemeath.py138CODE
LOWsrc/char/Aemeath.py257CODE
LOWsrc/char/Augusta.py13CODE
LOWsrc/char/Carlotta.py115CODE
LOWsrc/char/Carlotta.py230CODE
LOWsrc/char/Mornye.py10CODE
LOWsrc/char/Mornye.py34CODE
LOWsrc/char/Camellya.py39CODE
LOWsrc/char/Camellya.py171CODE
LOWsrc/char/Camellya.py179CODE
LOWsrc/char/Luhesi.py29CODE
LOWsrc/char/Ciaccona.py26CODE
LOWsrc/char/Hiyuki.py37CODE
LOWsrc/char/Hiyuki.py84CODE
LOWsrc/char/Phoebe.py156CODE
LOWsrc/char/Phoebe.py179CODE
LOWsrc/char/Phoebe.py264CODE
LOWsrc/char/Zani.py44CODE
LOWsrc/char/Zani.py396CODE
LOWsrc/combat/CombatCheck.py133CODE
LOWsrc/combat/CombatCheck.py291CODE
LOWsrc/gui/CharacterCodeTab.py304CODE
LOWsrc/task/ChangeEchoTask.py48CODE
LOWsrc/task/AutoPickTask.py36CODE
LOWsrc/task/AutoRogueTask.py65CODE
LOWsrc/task/AutoRogueTask.py211CODE
LOWsrc/task/AutoRogueTask.py284CODE
LOWsrc/task/FiveToOneTask.py74CODE
LOWsrc/task/process_feature.py4CODE
LOWsrc/task/FarmMapTask.py179CODE
LOWsrc/task/DailyTask.py68CODE
LOWsrc/task/SkipBaseTask.py58CODE
LOWsrc/task/FarmEchoTask.py116CODE
LOWsrc/task/FarmEchoTask.py521CODE
LOWsrc/task/AutoCombatTask.py71CODE
LOWsrc/task/BaseCombatTask.py95CODE
LOWsrc/task/BaseCombatTask.py120CODE
LOWsrc/task/BaseCombatTask.py377CODE
LOWsrc/task/BaseCombatTask.py525CODE
LOWsrc/task/BaseCombatTask.py771CODE
LOWsrc/task/MouseResetTask.py36CODE
LOWsrc/task/GardenTask.py33CODE
LOWsrc/task/NightmareNestTask.py185CODE
LOWsrc/task/BaseWWTask.py154CODE
LOWsrc/task/BaseWWTask.py217CODE
LOWsrc/task/BaseWWTask.py300CODE
LOWsrc/task/BaseWWTask.py703CODE
4 more matches not shown…
Unused Imports51 hits · 51 pts
SeverityFileLineSnippetContext
LOWtests/TestFarmEcho.py4CODE
LOWtests/TestFarmEcho.py6CODE
LOWtests/TestEnchaneEcho.py1CODE
LOWtests/TestEnchaneEcho.py5CODE
LOWtests/TestEcho.py5CODE
LOWtests/TestCombatCheck.py1CODE
LOWtests/TestWorld.py5CODE
LOWtests/TestOCR.py1CODE
LOWtests/TestOCR.py4CODE
LOW.agents/skills/deploy/scripts/next_tag.py4CODE
LOWsrc/globals.py4CODE
LOWsrc/globals.py5CODE
LOWsrc/globals.py7CODE
LOWsrc/OnnxYolo8Detect.py1CODE
LOWsrc/OnnxYolo8Detect.py2CODE
LOWsrc/OnnxYolo8Detect.py3CODE
LOWsrc/char/Changli.py6CODE
LOWsrc/char/BaseChar.py5CODE
LOWsrc/char/BaseChar.py6CODE
LOWsrc/char/BaseChar.py8CODE
LOWsrc/char/Rebecca.py2CODE
LOWsrc/char/Phoebe.py7CODE
LOWsrc/char/Zani.py9CODE
LOWsrc/combat/CombatCheck.py6CODE
LOWsrc/combat/CombatCheck.py7CODE
LOWsrc/task/TacetTask.py4CODE
LOWsrc/task/ChangeEchoTask.py9CODE
LOWsrc/task/AutoPickTask.py5CODE
LOWsrc/task/AutoPickTask.py7CODE
LOWsrc/task/FiveToOneTask.py1CODE
LOWsrc/task/FiveToOneTask.py2CODE
LOWsrc/task/FiveToOneTask.py5CODE
LOWsrc/task/FiveToOneTask.py5CODE
LOWsrc/task/FarmMapTask.py1CODE
LOWsrc/task/FarmMapTask.py2CODE
LOWsrc/task/FarmMapTask.py4CODE
LOWsrc/task/FarmMapTask.py10CODE
LOWsrc/task/SimulationTask.py1CODE
LOWsrc/task/DailyTask.py7CODE
LOWsrc/task/SkipBaseTask.py1CODE
LOWsrc/task/SkipBaseTask.py6CODE
LOWsrc/task/WWOneTimeTask.py1CODE
LOWsrc/task/DomainTask.py1CODE
LOWsrc/task/AutoCombatTask.py7CODE
LOWsrc/task/BaseCombatTask.py13CODE
LOWsrc/task/AutoLoginTask.py4CODE
LOWsrc/task/BaseWWTask.py5CODE
LOWsrc/task/BaseWWTask.py9CODE
LOWsrc/task/BaseWWTask.py9CODE
LOWsrc/task/EnhanceEchoTask.py11CODE
LOWsrc/scene/WWScene.py1CODE
Excessive Try-Catch Wrapping28 hits · 30 pts
SeverityFileLineSnippetContext
LOWsrc/OpenVinoYolo8Detect.py38 except Exception:CODE
LOWsrc/OpenVinoYolo8Detect.py55 except Exception as e:CODE
LOWsrc/OpenVinoYolo8Detect.py142 except Exception as e:CODE
MEDIUMsrc/OpenVinoYolo8Detect.py131def detect(self, image, threshold=0.5, label=-1):CODE
LOWsrc/OnnxYolo8Detect.py79 except Exception as e:CODE
LOWsrc/OnnxYolo8Detect.py205 except Exception as e:CODE
LOWsrc/char/CustomCharLoader.py45 except Exception as e:CODE
LOWsrc/char/CustomCharLoader.py105 except Exception:CODE
LOWsrc/char/CustomCharLoader.py132 except Exception as e:CODE
LOWsrc/char/Linnai.py93 except Exception as e:CODE
LOWsrc/char/Linnai.py107 except Exception as e:CODE
MEDIUMsrc/char/Linnai.py88def find_target_status_in_box(self, box_name):CODE
LOWsrc/combat/CombatCheck.py183 except Exception as e:CODE
LOWsrc/gui/CharacterCodeTab.py337 except Exception as e:CODE
LOWsrc/gui/CharacterCodeTab.py488 except Exception as e:STRING
LOWsrc/task/ChangeEchoTask.py64 except Exception as e:CODE
LOWsrc/task/AutoRogueTask.py53 except Exception as e:CODE
LOWsrc/task/DailyTask.py97 except Exception as e:CODE
LOWsrc/task/DailyTask.py145 except Exception as e:CODE
LOWsrc/task/DailyTask.py189 except Exception:CODE
LOWsrc/task/FarmEchoTask.py109 except Exception as e:CODE
LOWsrc/task/FarmEchoTask.py195 except Exception as e:CODE
LOWsrc/task/FarmEchoTask.py225 except Exception as e:CODE
LOWsrc/task/FarmEchoTask.py382 except Exception:CODE
LOWsrc/task/AutoCombatTask.py42 except Exception as e:CODE
LOWsrc/task/BaseCombatTask.py216 except Exception as e:CODE
LOWsrc/task/MouseResetTask.py62 except Exception as e:CODE
LOWsrc/task/EnhanceEchoTask.py82 except Exception as e:CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOW.github/workflows/test.yml89 # Check if the previous command succeededCOMMENT
LOW.github/workflows/build.yml102 # Check if the previous command succeededCOMMENT
LOWsrc/OnnxYolo8Detect.py171 # Check if indices is not an empty tuple, which can happen if NMSBoxes returns nothing.COMMENT
LOWsrc/char/BaseChar.py752 # # Check if the connected co mponent touches the borderCOMMENT
LOWsrc/task/BaseCombatTask.py987 # Check if the contour is closed by checking if the start and end points are the sameCOMMENT
LOWsrc/task/BaseCombatTask.py994 # Check if the polygon is closed (has no gaps) and has a reasonable number of vertices for a ring.COMMENT
Decorative Section Separators2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsrc/char/Aemeath.py211 # ── 分支A:本轮已释放 lib1 但未释放 lib2,必须等待并释放 lib2 ───────COMMENT
MEDIUMsrc/char/Aemeath.py215 # ── 分支B:本轮既未释放 lib1 也未释放 lib2,尝试 8 秒 fallback ──────COMMENT
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1#COMMENT
LOWrequirements.txt21 # via pycawCOMMENT
LOWrequirements.txt41 # via onnxocr-ppocrv4COMMENT
LOWrequirements.txt61pyside6-fluent-widgets==1.8.3COMMENT
LOWsrc/char/BaseChar.py741 """判断共鸣回路是否已充满/可用。COMMENT
LOWsrc/task/AutoRogueTask.py341 # while time.time() - start < time_out:COMMENT
LOWsrc/task/AutoRogueTask.py361 # x_abs = abs(x - self.width_of_screen(x_offset))COMMENT
LOWsrc/task/FarmEchoTask.py561 area_i, mat_i = cv2.intersectConvexConvex(cnt.astype(np.float32), shifted.astype(np.float32))COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/task/BaseCombatTask.py953 # Define the color rangeCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/task/BaseWWTask.py1218 # This is more robust than checking individual R, G, B channels.COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/task/BaseWWTask.py345CODE
LOWsrc/task/BaseWWTask.py571CODE