网易云音乐命令行版本
This report presents the forensic synthetic code analysis of darknessomi/musicbox, a Python project with 9,825 GitHub stars. SynthScan v2.0 examined 10,349 lines of code across 44 source files, recording 113 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 11.8 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).
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.
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.
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.
The scanner identified 113 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/encrypt.py | 75 | def _cloudmusic_dll_encode_id(some_id: str) -> str: | CODE |
| LOW | NEMbox/menu.py | 409 | def space_key_event_in_search_result(self): | CODE |
| LOW | NEMbox/player.py | 231 | def _advance_on_playback_failure(self): | CODE |
| LOW | tests/test_player.py | 6 | def test_playing_id_is_none_without_current_song(): | CODE |
| LOW | tests/test_player.py | 19 | def test_mpv_switch_uses_ipc_pause_command(): | CODE |
| LOW | tests/test_player.py | 37 | def test_stale_playback_token_is_not_current(): | CODE |
| LOW | tests/test_player.py | 63 | def test_refresh_mpv_audio_info_stores_audio_quality_separately(): | CODE |
| LOW | tests/test_player.py | 114 | def test_advance_on_playback_failure_stops_for_single_song_queue(): | CODE |
| LOW | tests/test_player.py | 127 | def test_advance_on_playback_failure_stops_when_loop_wraps_to_same_song(): | CODE |
| LOW | tests/test_player.py | 146 | def test_advance_on_playback_failure_replays_when_next_song_differs(): | CODE |
| LOW | tests/test_player.py | 164 | def test_build_playinfo_rotates_quality_label(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 19 | def test_get_account_info_uses_current_account_endpoint(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 37 | def test_get_account_info_falls_back_to_legacy_w_endpoint(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 169 | def test_dj_radios_uses_current_hot_endpoint(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 200 | def test_logout_calls_eapi_logout_before_clearing_local(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 242 | def test_fetch_toplists_uses_api_toplist(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 256 | def test_toplists_property_caches_result(monkeypatch): | CODE |
| LOW | tests/test_api_endpoint_updates.py | 271 | def test_top_songlist_uses_dynamic_id(monkeypatch): | CODE |
| LOW | tests/test_audio_quality.py | 4 | def test_parse_song_url_hides_lossless_bitrate(): | CODE |
| LOW | tests/test_audio_quality.py | 21 | def test_parse_songs_keeps_duration_for_mpv_progress(): | CODE |
| LOW | tests/test_daemon.py | 35 | def test_acquire_lock_is_exclusive(runtime_paths): | CODE |
| LOW | tests/test_daemon.py | 47 | def test_tune_volume_persists_when_stopped(): | CODE |
| LOW | tests/test_daemon.py | 60 | def test_daemon_volume_delta_when_stopped(runtime_paths): | CODE |
| LOW | tests/test_daemon.py | 68 | def test_daemon_rpc_ping_status_and_shutdown(runtime_paths): | CODE |
| LOW | tests/test_ui_playinfo.py | 5 | def test_playinfo_song_start_accounts_for_long_quality_label(): | CODE |
| LOW | tests/test_osdlyrics.py | 6 | def test_stop_lyrics_process_skips_when_osdlyrics_disabled(): | CODE |
| LOW | tests/test_osdlyrics.py | 11 | def test_stop_lyrics_process_survives_dbus_failure(): | CODE |
| LOW | tests/test_ui_login_qr.py | 28 | def test_build_login_qr_does_not_render_url(monkeypatch): | CODE |
| LOW⚡ | tests/test_cli.py | 407 | def test_control_autostarts_daemon(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 416 | def test_daemon_not_running_no_autostart(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 424 | def test_volume_relative_params(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 432 | def test_volume_absolute_params(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 440 | def test_queue_clear_requires_confirmation(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 449 | def test_queue_clear_with_yes(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 542 | def test_play_dry_run_album_no_side_effect(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 550 | def test_play_dry_run_songs_no_side_effect(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 560 | def test_play_conflicting_flags_rejected(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 602 | def test_download_album_success(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 612 | def test_download_songs_success(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 621 | def test_download_playlist_success(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 630 | def test_download_conflicting_flags_rejected(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_cli.py | 640 | def test_download_all_fail_exit_nonzero(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 226 | def test_recommend_not_logged_in(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 233 | def test_recommend_songs_logged_in(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 250 | def test_auth_login_without_no_wait_fails(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 257 | def test_auth_login_check_success(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 268 | def test_auth_logout_requires_confirmation(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 275 | def test_auth_logout_with_yes(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 296 | def test_config_list_handles_bare_version(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 396 | def test_play_dry_run_has_no_side_effect(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 502 | def test_daemon_status_command(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 510 | def test_cli_entry_dispatches_from_main(monkeypatch): | CODE |
| LOW | tests/test_cli.py | 530 | def test_play_dry_run_artist_no_side_effect(monkeypatch, capsys): | CODE |
| LOW | tests/test_cli.py | 591 | def test_download_artist_success(monkeypatch, capsys): | CODE |
| LOW | tests/test_main.py | 13 | def test_version_command_does_not_initialize_menu(monkeypatch, capsys): | CODE |
| LOW | tests/test_main.py | 31 | def test_version_command_ignores_failed_latest_check(monkeypatch, capsys): | CODE |
| LOW⚡ | tests/test_menu_search.py | 4 | def test_prepare_search_items_handles_string_entries(): | CODE |
| LOW⚡ | tests/test_menu_search.py | 14 | def test_prepare_search_items_sets_origin_index_on_dict_entries(): | CODE |
| LOW⚡ | tests/test_menu_search.py | 22 | def test_item_search_text_includes_song_fields(): | CODE |
| LOW⚡ | tests/test_menu_search.py | 31 | def test_item_search_text_falls_back_to_string(): | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/ui.py | 283 | CODE | |
| LOW | NEMbox/ui.py | 393 | CODE | |
| LOW | NEMbox/api.py | 892 | CODE | |
| LOW | NEMbox/menu.py | 213 | CODE | |
| LOW | NEMbox/menu.py | 532 | CODE | |
| LOW | NEMbox/menu.py | 643 | CODE | |
| LOW | NEMbox/menu.py | 1061 | CODE | |
| LOW | NEMbox/menu.py | 1269 | CODE | |
| LOW | NEMbox/cli.py | 250 | CODE | |
| LOW | NEMbox/cli.py | 273 | CODE | |
| LOW | NEMbox/cli.py | 684 | CODE | |
| LOW | NEMbox/cli.py | 920 | CODE | |
| LOW | NEMbox/player.py | 246 | CODE | |
| LOW | NEMbox/player.py | 399 | CODE | |
| LOW | NEMbox/player.py | 466 | CODE | |
| LOW | NEMbox/player.py | 540 | CODE | |
| LOW | NEMbox/player.py | 807 | CODE | |
| LOW | NEMbox/player.py | 852 | CODE | |
| LOW | NEMbox/storage.py | 90 | CODE | |
| LOW | NEMbox/daemon.py | 95 | CODE | |
| LOW | NEMbox/daemon.py | 165 | CODE | |
| LOW | NEMbox/daemon.py | 321 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/osdlyrics.py | 150 | except Exception as e: | CODE |
| LOW | NEMbox/ui.py | 145 | except Exception as e: | CODE |
| LOW | NEMbox/ui.py | 361 | except Exception as e: | CODE |
| LOW | NEMbox/api.py | 383 | except Exception as e: | CODE |
| LOW | NEMbox/api.py | 422 | except Exception as e: | CODE |
| MEDIUM | NEMbox/api.py | 390 | def fetch_toplists(self): | CODE |
| LOW | NEMbox/menu.py | 292 | except Exception as e: | CODE |
| LOW | NEMbox/cli.py | 769 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 272 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 279 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 293 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 302 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 317 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 556 | except Exception: | CODE |
| LOW | NEMbox/player.py | 572 | except Exception as e: | CODE |
| LOW | NEMbox/player.py | 586 | except Exception as e: | CODE |
| LOW | NEMbox/daemon.py | 240 | except Exception as exc: # noqa: BLE001 — never let one request kill daemon | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/encrypt.py | 12 | __all__ = [ | CODE |
| LOW | NEMbox/kill_thread.py | 6 | __all__ = ["stop_thread"] | CODE |
| LOW | NEMbox/cmd_parser.py | 15 | __all__ = ["cmd_parser", "parse_keylist", "coroutine", "erase_coroutine"] | CODE |
| LOW | NEMbox/utils.py | 13 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/player.py | 621 | self.notify_copyright_issue() | COMMENT |
| LOW | tests/test_api.py | 1 | from NEMbox.api import NetEase, Parse | COMMENT |
| LOW | tests/test_api.py | 21 | # print(api.album(38721188)) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | NEMbox/player.py | 10 | CODE |