AI Slop Code Risk Monitor

EstrellaXD/Auto_Bangumi

SlopCodeMonitor badge for EstrellaXD/Auto_Bangumi Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

AutoBangumi - 全自动追番工具

24.9 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for EstrellaXD/Auto_Bangumi, a Python project with 8,316 GitHub stars. SynthScan examined 163,175 lines of code across 1072 source files, recording 2816 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 24.9 (Elevated 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.

24.9
Adjusted Signal
24.9
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
8.3K
Stars
Python
Language
163.2K
Lines of Code
1.1K
Files
2.8K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 39.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 9.5/100 · LOW

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

Agent Over-Engineering Ratio 67.5/100 · HIGH

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

PR Review Velocity Impact 69.8/100 · HIGH

Which changes need focused human review? 2816 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 1HIGH 27MEDIUM 475LOW 2313

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 2816 distinct pattern matches across 18 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.

Decorative Section Separators466 hits · 1752 pts
SeverityFileLineSnippetContext
MEDIUMbackend/src/test/test_searcher.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_searcher.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_searcher.py122# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_searcher.py124# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_searcher.py269# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_searcher.py271# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py17# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_api_bangumi.py58# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_api_bangumi.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_bangumi.py216# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py88# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py90# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py155# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py157# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py313# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_mcp_resources.py315# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_mcp_resources.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_mcp_resources.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_mcp_resources.py369# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_mcp_resources.py371# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_loops.py29# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_loops.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py245# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_loops.py247# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_health.py11# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/test_api_health.py13# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_api_health.py30# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/test_api_health.py32# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/conftest.py23# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/src/test/conftest.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py137# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py139# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py158# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py184# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py186# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py222# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py253# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py255# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py292# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/src/test/conftest.py294# ---------------------------------------------------------------------------COMMENT
406 more matches not shown…
Hyper-Verbose Identifiers1738 hits · 1566 pts
SeverityFileLineSnippetContext
LOW⚡backend/src/ab_sdk/testing.py161 def test_client_implements_core_protocol(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py164 def test_capabilities_are_declared(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py169 def test_declared_capabilities_have_methods(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py178 def test_auth_succeeds_and_logout_is_safe(self) -> None:CODE
LOWbackend/src/ab_sdk/testing.py190 def test_add_torrents_returns_accepted_result(self) -> None:CODE
LOWbackend/src/ab_sdk/testing.py203 def test_query_unknown_torrent_is_not_found(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py271 def test_target_name_is_relative_path_inside_torrent(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py278 def test_target_name_keeps_file_suffix(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py282 def test_target_name_is_deterministic(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py311 def test_send_episode_message_returns_true(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py315 def test_send_event_message_returns_true(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py319 def test_test_returns_success_and_message(self) -> None:CODE
LOW⚡backend/src/ab_sdk/testing.py324 def test_rejected_message_returns_false_without_raising(self) -> None:CODE
LOWbackend/src/ab_sdk/testing.py343 def test_url_template_has_one_keyword_placeholder(self) -> None:CODE
LOWbackend/src/ab_sdk/testing.py349 def test_parser_is_known_metadata_source(self) -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py37def test_pr_workflow_runs_for_every_pull_request() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py49def test_pr_workflow_expands_to_four_stable_fifteen_minute_checks() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py66def test_pr_jobs_use_unique_stack_and_work_directory_names() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py85def test_pr_commands_match_the_repository_entry_points() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py110def test_pr_dependencies_and_generated_outputs_are_cached() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py138def test_pr_browser_runs_have_zero_retries_and_fourteen_day_artifacts() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py160def test_nightly_is_non_pr_non_blocking_and_repeats_fresh_stacks() -> None:CODE
LOWbackend/src/test/test_e2e_workflow_contract.py196def test_readme_documents_local_operation_and_maintenance() -> None:CODE
LOW⚡backend/src/test/test_searcher.py63 def test_unsupported_site_raises(self):CODE
LOW⚡backend/src/test/test_searcher.py68 def test_keyword_sanitization(self):CODE
LOW⚡backend/src/test/test_searcher.py75 def test_multiple_keywords_joined(self):CODE
LOWbackend/src/test/test_searcher.py94 def test_uses_providers_declared_parser(self):CODE
LOWbackend/src/test/test_searcher.py106 def test_mikan_site_uses_declared_parser_not_hardcoded(self):CODE
LOWbackend/src/test/test_searcher.py205 async def test_keyword_keeps_season_but_drops_episode(self, title, keyword):CODE
LOWbackend/src/test/test_searcher.py229 def test_legacy_season_raw_drops_episode(self, season_raw, keyword):CODE
LOWbackend/src/test/test_searcher.py250 def test_supports_movie_without_season_fields(self):CODE
LOWbackend/src/test/test_searcher.py284 def test_reset_cache_clears_poster_cache(self):CODE
LOWbackend/src/test/test_searcher.py296 async def test_poster_cache_evicts_oldest_when_full(self, monkeypatch):CODE
LOWbackend/src/test/test_searcher.py318 async def test_search_result_uses_configured_tmdb_language(self, monkeypatch):CODE
LOWbackend/src/test/test_e2e_stack_contract.py34def test_compose_files_are_isolated_and_use_random_loopback_ports():CODE
LOWbackend/src/test/test_e2e_stack_contract.py59def test_support_service_images_are_pinned_and_dependency_free():CODE
LOWbackend/src/test/test_e2e_stack_contract.py72def test_qbittorrent_fixture_has_fixed_credentials_and_disables_peer_discovery():CODE
LOWbackend/src/test/test_e2e_stack_contract.py89def test_build_context_stages_dist_and_version_without_touching_source(tmp_path):CODE
LOWbackend/src/test/test_e2e_stack_contract.py128def test_build_inputs_ignore_tracked_files_deleted_in_the_worktree(CODE
LOWbackend/src/test/test_e2e_stack_contract.py145def test_build_command_uses_only_the_temporary_context(tmp_path):CODE
LOWbackend/src/test/test_e2e_stack_contract.py160def test_stack_builds_unique_compose_commands_and_environment(tmp_path):CODE
LOWbackend/src/test/test_e2e_stack_contract.py211def test_stack_parses_dynamic_compose_ports(output, expected):CODE
LOWbackend/src/test/test_e2e_stack_contract.py216def test_qb_runtime_contract_checks_credentials_and_deterministic_preferences():CODE
LOWbackend/src/test/test_e2e_stack_contract.py280def test_run_with_stack_always_stops_after_command_failure():CODE
LOWbackend/src/test/test_e2e_stack_contract.py307def test_run_with_stack_stops_after_start_failure():CODE
LOWbackend/src/test/test_e2e_stack_contract.py329def test_partial_compose_start_collects_before_teardown(tmp_path, monkeypatch):CODE
LOWbackend/src/test/test_e2e_stack_contract.py360def test_run_with_stack_handles_sigterm_and_restores_handlers(monkeypatch):CODE
LOWbackend/src/test/test_e2e_stack_contract.py410def test_artifact_redaction_removes_credentials_and_tokens():CODE
LOWbackend/src/test/test_e2e_stack_contract.py429def test_static_audit_reports_fixed_ports_floating_images_and_blind_waits(tmp_path):CODE
LOW⚡backend/src/test/test_api_bangumi.py65 def test_get_all_unauthorized(self, unauthed_client):CODE
LOW⚡backend/src/test/test_api_bangumi.py71 def test_get_by_id_unauthorized(self, unauthed_client):CODE
LOWbackend/src/test/test_api_bangumi.py155 def test_update_partial_body_rejected(self, authed_client):CODE
LOWbackend/src/test/test_tokenizer_resolver.py39def test_span_is_half_open_and_validated() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py50def test_resolution_is_independent_of_input_order() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py83def test_movie_rejects_ambiguous_number_as_title_without_masking_it() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py113def test_overlapping_shadowed_field_reports_conflict_without_extra_mask() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py139def test_partially_overlapping_same_field_does_not_mask_loser_only_text() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py156def test_different_fields_on_overlapping_exclusive_spans_are_rejected() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py179def test_shared_overlay_allows_explicit_transparent_overlap() -> None:CODE
LOWbackend/src/test/test_tokenizer_resolver.py204def test_shadowed_candidate_can_keep_its_span_in_title() -> None:CODE
1678 more matches not shown…
Unused Imports262 hits · 252 pts
SeverityFileLineSnippetContext
LOWbackend/scripts/benchmark_tokenizer.py9CODE
LOWbackend/src/ab_sdk/__init__.py8CODE
LOWbackend/src/ab_sdk/__init__.py9CODE
LOWbackend/src/ab_sdk/__init__.py10CODE
LOWbackend/src/ab_sdk/__init__.py10CODE
LOWbackend/src/ab_sdk/__init__.py11CODE
LOWbackend/src/ab_sdk/__init__.py11CODE
LOWbackend/src/ab_sdk/__init__.py11CODE
LOWbackend/src/ab_sdk/__init__.py12CODE
LOWbackend/src/ab_sdk/__init__.py12CODE
LOWbackend/src/ab_sdk/__init__.py12CODE
LOWbackend/src/ab_sdk/__init__.py12CODE
LOWbackend/src/ab_sdk/__init__.py13CODE
LOWbackend/src/test/test_e2e_workflow_contract.py3CODE
LOWbackend/src/test/test_searcher.py130CODE
LOWbackend/src/test/test_e2e_stack_contract.py3CODE
LOWbackend/src/test/test_tokenizer_resolver.py1CODE
LOWbackend/src/test/test_release_parser.py8CODE
LOWbackend/src/test/test_api_passkey.py3CODE
LOWbackend/src/test/test_api_passkey.py12CODE
LOWbackend/src/test/test_release_parser_golden.py8CODE
LOWbackend/src/test/test_release_parser_properties.py8CODE
LOWbackend/src/test/test_tokenizer_benchmark.py8CODE
LOWbackend/src/test/test_e2e_fixture_generation.py3CODE
LOWbackend/src/test/__init__.py1CODE
LOWbackend/src/test/test_tokenizer_trace.py1CODE
LOWbackend/src/test/test_config.py521CODE
LOWbackend/src/test/test_plugin_events_api.py34CODE
LOWbackend/src/test/test_mcp_security.py5CODE
LOWbackend/src/test/test_path_parser.py3CODE
LOWbackend/src/test/test_movie_parser.py1CODE
LOWbackend/src/test/test_download_client.py3CODE
LOWbackend/src/test/test_download_client.py13CODE
LOWbackend/src/test/test_download_client.py13CODE
LOWbackend/src/test/test_download_client.py14CODE
LOWbackend/src/test/test_api_search.py3CODE
LOWbackend/src/test/test_api_search.py3CODE
LOWbackend/src/test/test_api_rss.py11CODE
LOWbackend/src/test/test_api_rss.py11CODE
LOWbackend/src/test/test_api_rss.py11CODE
LOWbackend/src/test/test_api_rss.py11CODE
LOWbackend/src/test/test_rss_analyser_typed_identity.py1CODE
LOWbackend/src/test/e2e/runtime/conftest.py3CODE
LOW…rc/test/e2e/runtime/test_packaged_image_persistence.py3CODE
LOWbackend/src/test/e2e/downloader/conftest.py3CODE
LOW…nd/src/test/e2e/downloader/test_release_image_smoke.py3CODE
LOW…kend/src/test/e2e/downloader/test_qb_image_contract.py3CODE
LOWbackend/src/test/e2e/support/worker.py8CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/__init__.py3CODE
LOWbackend/src/test/e2e/support/runtime.py10CODE
LOWbackend/src/module/searcher/__init__.py1CODE
LOWbackend/src/module/searcher/__init__.py2CODE
LOWbackend/src/module/database/rss.py4CODE
LOWbackend/src/module/database/combine.py12CODE
202 more matches not shown…
Excessive Try-Catch Wrapping133 hits · 138 pts
SeverityFileLineSnippetContext
LOWplugins/codex-chatgpt/ab_llm_codex/adapter.py52 except Exception:CODE
LOWbackend/src/boot_overlay.py52 except Exception:CODE
LOWbackend/src/boot_overlay.py111 except Exception:CODE
LOWbackend/src/boot_overlay.py261 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py301 except Exception as exc: # noqa: BLE001 - 验签失败必须拒绝CODE
LOWbackend/src/boot_overlay.py314 except Exception: # noqa: BLE001CODE
LOWbackend/src/boot_overlay.py395 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py413 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py423 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py437 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py442 except Exception as exc:CODE
LOWbackend/src/boot_overlay.py454 except Exception as exc: # 绝不阻断启动CODE
MEDIUMbackend/src/boot_overlay.py451def main() -> int:CODE
LOWbackend/src/test/e2e/support/runtime.py73 except Exception as exc: # readiness probes intentionally tolerate racesCODE
LOWbackend/src/test/e2e/support/runtime.py275 except Exception:CODE
LOWbackend/src/module/searcher/searcher.py76 except Exception as e:CODE
LOWbackend/src/module/database/user.py131 except Exception as e:CODE
LOWbackend/src/module/database/rss.py132 except Exception as e:CODE
LOWbackend/src/module/database/rss.py146 except Exception as e:CODE
MEDIUMbackend/src/module/database/rss.py137def delete_all(self):CODE
LOWbackend/src/module/database/migrations.py1008 except Exception as e:CODE
LOWbackend/src/module/core/plugin_routes.py60 except Exception as e:CODE
LOWbackend/src/module/core/plugin_routes.py86 except Exception as e:CODE
LOWbackend/src/module/core/context.py281 except Exception:CODE
LOWbackend/src/module/core/context.py345 except Exception as e:CODE
LOWbackend/src/module/core/context.py377 except Exception as e:CODE
LOWbackend/src/module/core/context.py383 except Exception as e:CODE
LOWbackend/src/module/core/offset_scanner.py41 except Exception as e:CODE
LOWbackend/src/module/core/scheduler.py71 except Exception as e:CODE
LOWbackend/src/module/core/plugin_tasks.py61 except Exception as e:CODE
LOWbackend/src/module/core/plugin_tasks.py76 except Exception as e:CODE
LOWbackend/src/module/update/signing.py49 except Exception as exc: # noqa: BLE001 - 验签失败必须拒绝,不得放行CODE
LOWbackend/src/module/update/v4.py149 except Exception as e:CODE
LOWbackend/src/module/update/startup.py43 except Exception as e:CODE
LOWbackend/src/module/update/updater.py309 except Exception as exc: # 网络错误优雅降级CODE
LOWbackend/src/module/update/updater.py597 except Exception as exc: # noqa: BLE001 - 任何失败都要优雅返回CODE
LOWbackend/src/module/update/updater.py735 except Exception as exc: # noqa: BLE001CODE
LOWbackend/src/module/security/auth_strategy.py65 except Exception:CODE
LOWbackend/src/module/security/webauthn.py190 except Exception as e:CODE
LOWbackend/src/module/security/webauthn.py286 except Exception as e:CODE
LOWbackend/src/module/security/webauthn.py315 except Exception as e:CODE
LOWbackend/src/module/security/webauthn.py339 except Exception as e:CODE
LOWbackend/src/module/security/webauthn.py354 except Exception:CODE
LOW…s/builtin/media-server-refresh/media_server_refresh.py112 except Exception as e:CODE
LOW…end/src/module/plugins/builtin/rename/rename_plugin.py81 except Exception as e:CODE
LOWbackend/src/module/checker/checker.py89 except Exception as e:CODE
LOWbackend/src/module/notification/template.py32 except Exception:CODE
LOWbackend/src/module/notification/manager.py47 except Exception as e:CODE
LOWbackend/src/module/notification/manager.py86 except Exception as e:CODE
LOWbackend/src/module/notification/manager.py131 except Exception:CODE
LOWbackend/src/module/notification/manager.py180 except Exception as e:CODE
LOWbackend/src/module/notification/providers/webhook.py99 except Exception as e:CODE
LOWbackend/src/module/notification/providers/telegram.py73 except Exception as e:CODE
LOWbackend/src/module/notification/providers/pushover.py68 except Exception:CODE
LOWbackend/src/module/notification/providers/pushover.py71 except Exception as e:CODE
LOWbackend/src/module/notification/providers/discord.py68 except Exception as e:CODE
LOWbackend/src/module/notification/providers/gotify.py63 except Exception as e:CODE
LOWbackend/src/module/notification/providers/bark.py67 except Exception as e:CODE
LOW…ckend/src/module/notification/providers/server_chan.py57 except Exception as e:CODE
LOWbackend/src/module/notification/providers/wecom.py56 except Exception as e:CODE
73 more matches not shown…
Modern Structural Boilerplate125 hits · 125 pts
SeverityFileLineSnippetContext
LOWbackend/src/main.py25logger = logging.getLogger(__name__)CODE
LOWbackend/src/ab_sdk/downloader.py130 async def set_category(self, _hash, category) -> None: ...CODE
LOWbackend/src/ab_sdk/__init__.py17__all__ = [CODE
LOWbackend/src/test/test_version_check.py72def _set_schema(path, version: int) -> None:CODE
LOWbackend/src/test/e2e/support/__init__.py13__all__ = [CODE
LOWbackend/src/module/searcher/searcher.py14logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/user.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/rss.py8logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/aria2.py16logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/aria2.py123 async def set_category(self, gid: str, category: str) -> None:CODE
LOWbackend/src/module/database/aria2.py176 async def set_renamed_path(self, gid: str, old_path: str, new_path: str) -> None:CODE
LOWbackend/src/module/database/aria2.py193 async def set_rename_intent(self, gid: str, intent: Aria2RenameIntent) -> None:CODE
LOWbackend/src/module/database/combine.py26logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/bangumi.py15logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/bangumi.py60def _set_aliases_list(bangumi: Bangumi, aliases: list[str]) -> None:CODE
LOWbackend/src/module/database/torrent.py10logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/passkey.py16logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/llm_credential.py13logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/inbox.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/migrations.py29logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/database/migrations.py965def set_schema_version(conn: Connection, version: int) -> None:CODE
LOWbackend/src/module/database/movie.py11logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/plugin_routes.py20logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/__init__.py5__all__ = ["AppContext", "OffsetScanner", "PeriodicTask", "Scheduler"]CODE
LOWbackend/src/module/core/loops.py21logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/loops.py63async def update_check_tick(notifier: NotificationManager) -> None:CODE
LOWbackend/src/module/core/context.py41logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/offset_scanner.py14logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/scheduler.py11logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/core/plugin_tasks.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/signing.py16logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/auth.py10logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/v4.py29logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/startup.py8logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/updater.py41logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/update/updater.py202 def _set_progress(self, **kwargs) -> None:CODE
LOWbackend/src/module/update/version_check.py18logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/security/ip_allowlist.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/security/webauthn.py37logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/security/api.py16logger = logging.getLogger(__name__)CODE
LOW…odule/plugins/builtin/ingest-filters/ingest_filters.py15logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/checker/checker.py10logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/events.py36__all__ = [CODE
LOWbackend/src/module/notification/__init__.py18__all__ = [CODE
LOWbackend/src/module/notification/inbox.py20logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/template.py10logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/manager.py18logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/webhook.py14logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/telegram.py13logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/pushover.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/discord.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/__init__.py30__all__ = [CODE
LOWbackend/src/module/notification/providers/gotify.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/bark.py12logger = logging.getLogger(__name__)CODE
LOW…ckend/src/module/notification/providers/server_chan.py13logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/notification/providers/wecom.py12logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/network/request_contents.py11logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/network/request_url.py14logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/network/site/mikan.py3logger = logging.getLogger(__name__)CODE
LOWbackend/src/module/rss/metadata.py19logger = logging.getLogger(__name__)CODE
65 more matches not shown…
Empty Error Handlers13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHbackend/src/test/test_http_perf.py101except asyncio.CancelledError:CODE
HIGHbackend/src/test/test_auth_persistence.py365except asyncio.TimeoutError:CODE
HIGHbackend/src/module/core/context.py343except asyncio.CancelledError:CODE
HIGHbackend/src/module/core/scheduler.py77except asyncio.CancelledError:CODE
HIGHbackend/src/module/core/scheduler.py96except asyncio.CancelledError:CODE
HIGH…s/builtin/media-server-refresh/media_server_refresh.py81except asyncio.CancelledError:CODE
HIGHbackend/src/module/notification/providers/pushover.py68except Exception:CODE
HIGHbackend/src/module/plugin/bus.py100except asyncio.CancelledError:CODE
HIGH…ckend/src/module/downloader/client/aria2_downloader.py166except ValueError:CODE
HIGHbackend/src/module/manager/revision_saga.py163except ValueError:CODE
HIGHe2e/mock-upstream/server.py609except KeyboardInterrupt:CODE
HIGHe2e/port-proxy/server.py119except KeyboardInterrupt:CODE
HIGHe2e/fake-qb/server.py434except KeyboardInterrupt:CODE
Cross-Language Confusion8 hits · 55 pts
SeverityFileLineSnippetContext
HIGH⚡backend/src/test/test_issue_bugs.py374 # Simulates the corrupted state: [null] stored in DBCOMMENT
HIGH⚡backend/src/test/test_issue_bugs.py434 # Insert corrupted bangumi (title_raw=None, aliases=[null])COMMENT
HIGH⚡backend/src/test/test_issue_bugs.py375 bangumi.title_aliases = "[null]"CODE
HIGH⚡backend/src/test/test_issue_bugs.py379 bangumi.title_aliases = '[null, "valid_alias", null, "another"]'CODE
HIGH⚡backend/src/test/test_issue_bugs.py437 bangumi.title_aliases = "[null]"CODE
HIGHbackend/src/test/test_issue_bugs.py414 bangumi.title_aliases = "[null]"CODE
HIGHbackend/src/module/parser/analyser/providers/schema.py70 "title_en (string or null), title_zh (string or null), "STRING
HIGHbackend/src/module/parser/analyser/providers/schema.py71 "title_jp (string or null), season (integer), season_raw (string), "STRING
Deep Nesting40 hits · 40 pts
SeverityFileLineSnippetContext
LOWplugins/codex-chatgpt/ab_llm_codex/adapter.py184CODE
LOWbackend/src/test/test_plugin_sdk.py17CODE
LOWbackend/src/test/test_release_parser_properties.py107CODE
LOWbackend/src/test/test_plugin_cli.py43CODE
LOWbackend/src/test/test_download_session_reuse.py201CODE
LOWbackend/src/module/searcher/searcher.py84CODE
LOWbackend/src/module/database/migrations.py974CODE
LOWbackend/src/module/update/startup.py26CODE
LOWbackend/src/module/notification/providers/pushover.py49CODE
LOWbackend/src/module/network/request_contents.py15CODE
LOWbackend/src/module/rss/engine.py386CODE
LOWbackend/src/module/rss/analyser.py50CODE
LOWbackend/src/module/plugin/secrets.py72CODE
LOWbackend/src/module/plugin/manager.py211CODE
LOW…ckend/src/module/downloader/client/aria2_downloader.py370CODE
LOW…ckend/src/module/downloader/client/aria2_downloader.py728CODE
LOWbackend/src/module/parser/title_parser.py388CODE
LOWbackend/src/module/parser/analyser/torrent_parser.py142CODE
LOWbackend/src/module/parser/analyser/tmdb_parser.py287CODE
LOWbackend/src/module/parser/analyser/tokenizer/parser.py490CODE
LOWbackend/src/module/parser/analyser/tokenizer/parser.py707CODE
LOWbackend/src/module/parser/analyser/tokenizer/parser.py1061CODE
LOWbackend/src/module/parser/analyser/tokenizer/parser.py1634CODE
LOWbackend/src/module/parser/analyser/tokenizer/classic.py258CODE
LOWbackend/src/module/manager/torrent.py207CODE
LOWbackend/src/module/manager/renamer.py215CODE
LOWbackend/src/module/manager/renamer.py308CODE
LOWbackend/src/module/manager/renamer.py659CODE
LOWbackend/src/module/manager/renamer.py772CODE
LOWbackend/src/module/manager/collector.py132CODE
LOWbackend/src/module/manager/revision_saga.py415CODE
LOWbackend/src/module/api/config.py46CODE
LOWbackend/src/module/api/config.py149CODE
LOWbackend/src/module/api/log.py19CODE
LOWbackend/src/module/api/events.py265CODE
LOWbackend/src/module/conf/config.py21CODE
LOWbackend/src/module/conf/config.py120CODE
LOWe2e/port-proxy/server.py62CODE
LOWe2e/scripts/audit_sources.py34CODE
LOWe2e/scripts/stack.py335CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbackend/src/module/security/webauthn.py144 验证注册响应并创建 Passkey 对象 Args: username: 用户名 credential: 来自前端的 credential 响应 STRING
HIGHbackend/src/module/security/webauthn.py253 验证认证响应 Args: username: 用户名 credential: 来自前端的 credential 响应 passkeySTRING
HIGHbackend/src/module/security/webauthn.py293 验证可发现凭证的认证响应(无需用户名) Args: credential: 来自前端的 credential 响应 passkey: 通过 credentiSTRING
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbackend/src/test/test_api_bangumi.py0a stand-in database whose repos can be configured with asyncmocks.STRING
HIGHbackend/src/test/test_api_rss.py0a stand-in database whose repos can be configured with asyncmocks.STRING
HIGHbackend/src/test/test_api_bangumi_torrents.py0a stand-in database whose repos can be configured with asyncmocks.STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALbackend/src/test/test_update.py1121 app.state.ctx.notifier.send_event.assert_awaited_once()CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMbackend/scripts/pip-lock-version.sh14# Create a temporary requirements file using pip freezeCOMMENT
MEDIUMbackend/src/test/test_database.py360 # Create a semantically similar bangumi (same anime, group changed naming)COMMENT
MEDIUMbackend/src/test/test_rss_engine_new.py353 # Create a mock clientCOMMENT
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbackend/scripts/pip-lock-version.sh1#!/usr/bin/env bashCOMMENT
LOWbackend/src/ab_sdk/points.py41# ``/api/v1/plugins/<plugin-id>/``,强制登录鉴权COMMENT
LOWbackend/src/ab_sdk/points.py61#COMMENT
LOWbackend/src/module/update/__init__.py1# 不在包初始化时 import 子模块:module.conf 在构造 settings 之前要 importCOMMENT
LOWbackend/src/module/network/request_url.py301 # *same* instance in flight concurrently (see loops.py gatheringCOMMENT
LOWbackend/src/module/downloader/download_client.py101COMMENT
LOWscripts/dev.sh1#!/usr/bin/env bashCOMMENT
LOW.github/PULL_REQUEST_TEMPLATE/pull_request_template.md1## NewCOMMENT
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡backend/src/test/test_database_llm_credential.py13 account_label="user@example.com",CODE
LOW⚡backend/src/test/test_database_llm_credential.py21 assert loaded.account_label == "user@example.com"CODE
LOWwebui/src/components/basic/ab-select.vue54 :placeholder="placeholder"CODE
LOWwebui/src/components/basic/ab-input.vue68 :placeholder="placeholder"CODE
LOWwebui/src/components/basic/ab-tags-input.vue39 :placeholder="placeholder"CODE
LOWwebui/src/i18n/zh-CN.json792 "placeholder": "输入关键字搜索",CODE
LOWwebui/src/i18n/en.json792 "placeholder": "Type to search",CODE
Redundant / Tautological Comments3 hits · 5 pts
SeverityFileLineSnippetContext
LOW⚡backend/src/test/test_migration.py308 # Set version to current - second run should skipCOMMENT
LOWbackend/src/module/parser/analyser/offset_detector.py59 # Check if this season has virtual season breakpoints (detected from air date gaps)COMMENT
LOWbackend/src/module/api/setup.py252 # Check if host is reachable and is qBittorrentCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMbackend/src/test/test_mcp_tools.py321CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbackend/scripts/pip-lock-version.sh4# Usage:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbackend/src/module/parser/analyser/tokenizer/parser.py207CODE