Repository Analysis

jxxghp/MoviePilot

NAS媒体库自动化管理工具

21.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jxxghp/MoviePilot, a Python project with 11,653 GitHub stars. SynthScan v2.0 examined 562,253 lines of code across 1824 source files, recording 11584 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 21.4 places this repository in the Moderate 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).

21.4
Adjusted Score
21.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
11.7K
Stars
Python
Language
562.3K
Lines of Code
1.8K
Files
11.6K
Pattern Hits
2026-08-29
Scan Date
0.12
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 28HIGH 187MEDIUM 76LOW 11293

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 11584 distinct pattern matches across 18 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 Identifiers8349 hits · 7836 pts
SeverityFileLineSnippetContext
LOWdatabase/versions/d5e6f7a8b9c0_2_2_8.py24def _fix_episode_priority_type(bind, table_name: str) -> None:CODE
LOWdatabase/versions/7c1a2b3d4e5f_2_2_9.py25def _add_json_column_if_missing(table_name: str, column_name: str) -> None:CODE
LOWdatabase/versions/f6d8b0c2e4a7_3_0_17.py308def _normalize_legacy_planning_states() -> None:CODE
LOWdatabase/versions/f6d8b0c2e4a7_3_0_17.py441def _checkpoint_steps_complete(row: dict[str, Any]) -> bool:CODE
LOWdatabase/versions/f6d8b0c2e4a7_3_0_17.py634def _reconcile_execution_states() -> None:CODE
LOWdatabase/versions/5f2a9c1e7b4d_3_0_12.py58def _backfill_declared_metadata() -> None:CODE
LOWdatabase/versions/7f5c1d2e3a4b_3_0_3.py92def _make_src_storage_required(inspector: sa.Inspector) -> None:CODE
LOWdatabase/versions/a9d4f2c7e6b1_3_0_18.py147def _repair_user_config_unique() -> None:CODE
LOWdatabase/versions/a9d4f2c7e6b1_3_0_18.py243def _drop_user_config_foreign_key() -> None:CODE
LOWdatabase/versions/a9d4f2c7e6b1_3_0_18.py297def _normalize_duplicate_names() -> None:CODE
LOWdatabase/versions/8a4c7e1d2f90_3_0_2.py120def _normalize_existing_sources(table_name: str) -> None:CODE
LOWdatabase/versions/8a4c7e1d2f90_3_0_2.py140def _clear_invalid_or_partial_identity(table_name: str) -> None:CODE
LOWdatabase/versions/8a4c7e1d2f90_3_0_2.py169def _backfill_prefixed_media_id(table_name: str, columns: set[str]) -> None:CODE
LOWdatabase/versions/8a4c7e1d2f90_3_0_2.py331def _ensure_identity_constraints() -> None:CODE
LOWdatabase/versions/8a4c7e1d2f90_3_0_2.py350def _drop_identity_constraints() -> None:CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py182def _repair_unique_constraints(CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py295def _validate_or_recreate_empty_table(CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py532def _create_or_repair_step_table() -> None:CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py608def _create_or_repair_receipt_table() -> None:CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py650def _backfill_legacy_review_steps() -> None:CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py792def _mark_downgrade_uncertain() -> None:CODE
LOWdatabase/versions/b1e7d3f5a9c2_3_0_13.py36def _repair_task_id_constraint() -> None:CODE
LOWdatabase/versions/b1e7d3f5a9c2_3_0_13.py58def _repair_state_created_index() -> None:CODE
LOWdatabase/versions/b1e7d3f5a9c2_3_0_13.py81def _backfill_admission_state() -> None:CODE
LOWdatabase/versions/e3d9f4b7c806_3_0_4.py50def _validate_or_recreate_table() -> None:CODE
LOWdatabase/versions/e3d9f4b7c806_3_0_4.py91def _repair_storage_path_index() -> None:CODE
LOWdatabase/versions/a946dae52526_2_2_1.py39def migrate_postgresql_userid(connection):CODE
LOWapp/command.py34def _finish_command_processing_status(status: Optional[dict], user_id: Optional[str] = None) -> None:CODE
LOWapp/command.py165 def __init_commands_background(self, pid: Optional[str] = None) -> None:CODE
LOWapp/command.py234 def __trigger_register_commands_event(self) -> tuple[Optional[Event], dict]:CODE
LOWapp/__init__.py14def _configure_free_threaded_windows_native_dependencies() -> None:CODE
LOWapp/__init__.py29def _filter_third_party_startup_warnings() -> None:CODE
LOWapp/factory.py46def _get_http_exception_message(detail: Any) -> str:CODE
LOWapp/factory.py58def _localize_exception_message(request: Request, message: str) -> str:CODE
LOWapp/factory.py82def _native_ai_error_response(CODE
LOWapp/factory.py125def _mcp_jsonrpc_error_response(CODE
LOWapp/factory.py143def _protocol_validation_error_response(CODE
LOWapp/factory.py193async def localized_http_exception_handler(CODE
LOWapp/factory.py237async def persistence_unavailable_handler(CODE
LOWapp/factory.py252async def localized_validation_exception_handler(CODE
LOWapp/factory.py285async def localized_unhandled_exception_handler(CODE
LOWapp/factory.py362 async def locale_context_middleware(CODE
LOWapp/cli.py251def _mark_prepared_update_failed(message: str) -> None:CODE
LOWapp/cli.py284def _apply_prepared_release_update() -> bool:CODE
LOWapp/cli.py352def _resolve_auto_update_targets(mode: str) -> Optional[str]:CODE
LOWapp/cli.py417def _ensure_frontend_not_running_alone(timeout: int) -> None:CODE
LOWapp/cli.py750def _wait_until_backend_ready(runtime: Dict[str, Any], timeout: int) -> Dict[str, Any]:CODE
LOWapp/cli.py768def _wait_until_frontend_ready(runtime: Dict[str, Any], timeout: int) -> Dict[str, Any]:CODE
LOWapp/cli.py885def _installed_frontend_version() -> Optional[str]:CODE
LOWapp/main.py5def _prepare_direct_execution_import_path() -> None:CODE
LOWapp/monitor/dispatcher.py78 def is_transfer_candidate_path(self, file_path: Path) -> bool:CODE
LOWapp/monitor/monitor.py362 def __abort_interrupted_startup(self) -> None:CODE
LOWapp/monitor/monitor.py803 def __collect_compensation_files(self, mon_path: Path) -> Optional[List[Tuple[Path, float, int]]]:CODE
LOWapp/monitor/watcher.py321 def _expand_added_directories(self, changes: set[tuple[Change, str]]) -> set[tuple[Change, str]]:CODE
LOWapp/monitor/syslimits.py73def get_system_optimization_tips() -> List[str]:CODE
LOWapp/doctor/checks.py243def _process_name_and_command(process: psutil.Process) -> tuple[str, str]:CODE
LOWapp/doctor/checks.py255def _is_expected_port_process(name: str, process: psutil.Process) -> bool:CODE
LOWapp/doctor/checks.py302def _is_moviepilot_backend_payload(payload: Any) -> bool:CODE
LOWapp/doctor/checks.py678def _check_processes_and_ports(runner: DoctorRunnerProtocol) -> None:CODE
LOWapp/doctor/checks.py772def _check_postgresql_database(runner: DoctorRunnerProtocol) -> None:CODE
8289 more matches not shown…
Excessive Try-Catch Wrapping1537 hits · 1507 pts
SeverityFileLineSnippetContext
LOWdatabase/versions/e2dbe1421fa4_2_0_3.py68 except Exception as e:CODE
LOWdatabase/versions/ecf3c693fdf3_2_0_5.py42 except Exception as e:CODE
LOWdatabase/versions/5b3355c964bb_2_2_0.py85 except Exception as e:STRING
LOWdatabase/versions/5b3355c964bb_2_2_0.py112 except Exception as e:STRING
LOWdatabase/versions/a946dae52526_2_2_1.py73 except Exception as e:STRING
LOWapp/command.py228 except Exception as e:CODE
LOWapp/command.py428 except Exception as err:CODE
LOWapp/cli.py917 except Exception as error:CODE
LOWapp/cli.py928 except Exception as error:CODE
LOWapp/cli.py944 except Exception as error:CODE
LOWapp/cli.py967 except Exception as error:CODE
LOWapp/cli.py987 except Exception:CODE
MEDIUMapp/cli.py225def _git_current_branch() -> Optional[str]:CODE
LOWapp/monitor/dispatcher.py115 except Exception as err:CODE
LOWapp/monitor/dispatcher.py397 except Exception as e:CODE
LOWapp/monitor/dispatcher.py424 except Exception as err:CODE
LOWapp/monitor/monitor.py431 except Exception as e:CODE
LOWapp/monitor/monitor.py488 except Exception as e:CODE
LOWapp/monitor/monitor.py676 except Exception as e:CODE
LOWapp/monitor/monitor.py749 except Exception:CODE
LOWapp/monitor/monitor.py917 except Exception as e:CODE
LOWapp/monitor/monitor.py1012 except Exception as err:CODE
LOWapp/monitor/monitor.py1025 except Exception as err:CODE
LOWapp/monitor/monitor.py1120 except Exception as err:CODE
LOWapp/monitor/monitor.py1133 except Exception as err:CODE
LOWapp/monitor/recovery.py194 except Exception as err:CODE
LOWapp/monitor/recovery.py215 except Exception as err:CODE
LOWapp/monitor/recovery.py231 except Exception as err:CODE
LOWapp/monitor/poller.py159 except Exception as e:CODE
LOWapp/monitor/poller.py261 except Exception as e:CODE
LOWapp/monitor/poller.py282 except Exception as e:CODE
LOWapp/monitor/watcher.py194 except Exception as err:CODE
LOWapp/monitor/watcher.py278 except Exception as err:CODE
LOWapp/monitor/watcher.py478 except Exception as err:CODE
LOWapp/monitor/syslimits.py25 except Exception as err:CODE
LOWapp/monitor/syslimits.py58 except Exception as e:CODE
LOWapp/monitor/syslimits.py65 except Exception as e:CODE
LOWapp/monitor/syslimits.py67 except Exception as e:CODE
LOWapp/monitor/snapshot.py58 except Exception as e:CODE
LOWapp/monitor/snapshot.py78 except Exception as e:CODE
LOWapp/monitor/snapshot.py105 except Exception as e:CODE
LOWapp/doctor/runner.py49 except Exception as err:CODE
LOWapp/runtime/execution.py163 except Exception as error:CODE
LOWapp/runtime/tasks.py133 except Exception as caught:CODE
LOWapp/runtime/config.py1053 except Exception as e:CODE
LOWapp/runtime/config.py1289 except Exception as err:CODE
LOWapp/runtime/config.py1333 except Exception as e:CODE
LOWapp/runtime/gc.py81 except Exception as e:CODE
LOWapp/runtime/log.py202 except Exception as err:CODE
LOWapp/runtime/log.py256 except Exception as err:CODE
LOWapp/runtime/log.py270 except Exception as err:CODE
LOWapp/runtime/log.py644 except Exception:CODE
LOWapp/runtime/events.py241 except Exception as e:CODE
LOWapp/runtime/events.py286 except Exception as e:CODE
LOWapp/runtime/events.py432 except Exception as err:CODE
LOWapp/runtime/coalesce.py209 except Exception as exc: # noqa: BLE001 - 基础设施不能因消费者异常崩溃CODE
LOWapp/runtime/state.py194 except Exception as e:CODE
LOWapp/runtime/state.py224 except Exception as e:CODE
LOWapp/runtime/state.py262 except Exception as err:CODE
LOWapp/runtime/state.py282 except Exception as err:CODE
1477 more matches not shown…
Cross-File Repetition124 hits · 620 pts
SeverityFileLineSnippetContext
HIGHdatabase/versions/e8b1c4d7a2f9_2_2_18.py0{ 'title': '{{ title_year }}' '{% if season_episode %} {{ season_episode }}{% endif %} 已入库', 'text': '{% if vote_averageSTRING
HIGHdatabase/versions/89d24811e894_2_1_4.py0{ 'title': '{{ title_year }}' '{% if season_episode %} {{ season_episode }}{% endif %} 已入库', 'text': '{% if vote_averageSTRING
HIGHtests/test_database_migration_startup.py0{ 'title': '{{ title_year }}' '{% if season_episode %} {{ season_episode }}{% endif %} 已入库', 'text': '{% if vote_averageSTRING
HIGHdatabase/versions/e8b1c4d7a2f9_2_2_18.py0{ 'title': '{{ title_year }}' '{% if download_episodes %} {{ season_fmt }} {{ download_episodes }}{% else %}{{ season_epSTRING
HIGHdatabase/versions/89d24811e894_2_1_4.py0{ 'title': '{{ title_year }}' '{% if download_episodes %} {{ season_fmt }} {{ download_episodes }}{% else %}{{ season_epSTRING
HIGHtests/test_database_migration_startup.py0{ 'title': '{{ title_year }}' '{% if download_episodes %} {{ season_fmt }} {{ download_episodes }}{% else %}{{ season_epSTRING
HIGHdatabase/versions/e8b1c4d7a2f9_2_2_18.py0{ 'title': '{{ title_year }}{% if track_number %} #{{ track_number }}{% endif %}' '{% if season_episode %} {{ season_epiSTRING
HIGHdatabase/versions/4dadad1d161a_3_0_0.py0{ 'title': '{{ title_year }}{% if track_number %} #{{ track_number }}{% endif %}' '{% if season_episode %} {{ season_epiSTRING
HIGHtests/test_notification_template_render.py0{ 'title': '{{ title_year }}{% if track_number %} #{{ track_number }}{% endif %}' '{% if season_episode %} {{ season_epiSTRING
HIGHapp/chain/_messaging.py0发送媒体信息选择列表 :param message: 消息体 :param medias: 媒体列表 :return: 成功或失败STRING
HIGHapp/modules/telegram/module.py0发送媒体信息选择列表 :param message: 消息体 :param medias: 媒体列表 :return: 成功或失败STRING
HIGHapp/modules/synologychat/__init__.py0发送媒体信息选择列表 :param message: 消息体 :param medias: 媒体列表 :return: 成功或失败STRING
HIGHapp/chain/_messaging.py0发送种子信息选择列表 :param message: 消息体 :param torrents: 种子列表 :return: 成功或失败STRING
HIGHapp/modules/telegram/module.py0发送种子信息选择列表 :param message: 消息体 :param torrents: 种子列表 :return: 成功或失败STRING
HIGHapp/modules/synologychat/__init__.py0发送种子信息选择列表 :param message: 消息体 :param torrents: 种子列表 :return: 成功或失败STRING
HIGHapp/chain/scraping.py0获取nfo文件内容文本 :param meta: 元数据 :param mediainfo: 媒体信息 :param season: 季号 :param episode: 集号STRING
HIGHapp/modules/themoviedb/scraper.py0获取nfo文件内容文本 :param meta: 元数据 :param mediainfo: 媒体信息 :param season: 季号 :param episode: 集号STRING
HIGHapp/modules/themoviedb/__init__.py0获取nfo文件内容文本 :param meta: 元数据 :param mediainfo: 媒体信息 :param season: 季号 :param episode: 集号STRING
HIGHapp/chain/base.py0补充抓取媒体信息图片 :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/modules/themoviedb/__init__.py0补充抓取媒体信息图片 :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/modules/douban/__init__.py0补充抓取媒体信息图片 :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/chain/base.py0补充抓取媒体信息图片(异步版本) :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/modules/themoviedb/__init__.py0补充抓取媒体信息图片(异步版本) :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/modules/douban/__init__.py0补充抓取媒体信息图片(异步版本) :param mediainfo: 识别的媒体信息 :return: 更新后的媒体信息STRING
HIGHapp/chain/base.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/modules/jellyfin/__init__.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/modules/trimemedia/module.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/modules/emby/__init__.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/modules/plex/__init__.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/modules/zspace/__init__.py0解析webhook报文体 :param body: 请求体 :param form: 请求表单 :param args: 请求参数 :return: 字典,解析为消息时需要包含:title、text、imageSTRING
HIGHapp/chain/base.py0搜索人物信息 :param name: 人物名称 :param media_source: 请求级搜索数据源 :return: 人物信息列表STRING
HIGHapp/modules/themoviedb/__init__.py0搜索人物信息 :param name: 人物名称 :param media_source: 请求级搜索数据源 :return: 人物信息列表STRING
HIGHapp/modules/douban/__init__.py0搜索人物信息 :param name: 人物名称 :param media_source: 请求级搜索数据源 :return: 人物信息列表STRING
HIGHapp/chain/base.py0获取下载器种子列表 :param status: 种子状态 :param hashs: 种子hash :param downloader: 下载器 :param include_all_tags: 是否包含未打内置标签的下载任务 :retuSTRING
HIGHapp/modules/qbittorrent/__init__.py0获取下载器种子列表 :param status: 种子状态 :param hashs: 种子hash :param downloader: 下载器 :param include_all_tags: 是否包含未打内置标签的下载任务 :retuSTRING
HIGHapp/modules/rtorrent/__init__.py0获取下载器种子列表 :param status: 种子状态 :param hashs: 种子hash :param downloader: 下载器 :param include_all_tags: 是否包含未打内置标签的下载任务 :retuSTRING
HIGHapp/modules/transmission/__init__.py0获取下载器种子列表 :param status: 种子状态 :param hashs: 种子hash :param downloader: 下载器 :param include_all_tags: 是否包含未打内置标签的下载任务 :retuSTRING
HIGHapp/chain/base.py0删除下载器种子 :param hashs: 种子hash :param delete_file: 是否删除文件 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/qbittorrent/__init__.py0删除下载器种子 :param hashs: 种子hash :param delete_file: 是否删除文件 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/rtorrent/__init__.py0删除下载器种子 :param hashs: 种子hash :param delete_file: 是否删除文件 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/transmission/__init__.py0删除下载器种子 :param hashs: 种子hash :param delete_file: 是否删除文件 :param downloader: 下载器 :return: boolSTRING
HIGHapp/chain/base.py0开始下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/qbittorrent/__init__.py0开始下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/rtorrent/__init__.py0开始下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/transmission/__init__.py0开始下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/chain/base.py0停止下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/qbittorrent/__init__.py0停止下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/rtorrent/__init__.py0停止下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/transmission/__init__.py0停止下载 :param hashs: 种子hash :param downloader: 下载器 :return: boolSTRING
HIGHapp/chain/base.py0设置种子标签 :param hashs: 种子hash :param tags: 标签列表 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/qbittorrent/__init__.py0设置种子标签 :param hashs: 种子hash :param tags: 标签列表 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/rtorrent/__init__.py0设置种子标签 :param hashs: 种子hash :param tags: 标签列表 :param downloader: 下载器 :return: boolSTRING
HIGHapp/modules/transmission/__init__.py0设置种子标签 :param hashs: 种子hash :param tags: 标签列表 :param downloader: 下载器 :return: boolSTRING
HIGHapp/chain/base.py0修改下载任务属性。 :param hash_string: 种子hash :param downloader: 下载器 :param download_limit: 下载限速,单位 kb/s :param upload_limit: 上传限STRING
HIGHapp/modules/qbittorrent/__init__.py0修改下载任务属性。 :param hash_string: 种子hash :param downloader: 下载器 :param download_limit: 下载限速,单位 kb/s :param upload_limit: 上传限STRING
HIGHapp/modules/transmission/__init__.py0修改下载任务属性。 :param hash_string: 种子hash :param downloader: 下载器 :param download_limit: 下载限速,单位 kb/s :param upload_limit: 上传限STRING
HIGHapp/chain/base.py0查询下载任务tracker列表。 :param hash_string: 种子hash :param downloader: 下载器 :return: 下载器名称到tracker列表的映射STRING
HIGHapp/modules/qbittorrent/__init__.py0查询下载任务tracker列表。 :param hash_string: 种子hash :param downloader: 下载器 :return: 下载器名称到tracker列表的映射STRING
HIGHapp/modules/transmission/__init__.py0查询下载任务tracker列表。 :param hash_string: 种子hash :param downloader: 下载器 :return: 下载器名称到tracker列表的映射STRING
HIGHapp/chain/base.py0判断媒体文件是否存在 :param mediainfo: 识别的媒体信息 :param itemid: 媒体服务器itemid :param server: 媒体服务器名称 :return: 如不存在返回none,存在时返回信息,包括每季已STRING
64 more matches not shown…
Deep Nesting638 hits · 535 pts
SeverityFileLineSnippetContext
LOWdatabase/versions/e2dbe1421fa4_2_0_3.py20CODE
LOWdatabase/versions/3891a5e722a1_2_1_7.py21CODE
LOWdatabase/versions/e5c7a9b1d3f6_3_0_16.py863CODE
LOWapp/command.py165CODE
LOWapp/command.py293CODE
LOWapp/monitor/dispatcher.py96CODE
LOWapp/monitor/monitor.py370CODE
LOWapp/monitor/monitor.py435CODE
LOWapp/monitor/monitor.py491CODE
LOWapp/monitor/monitor.py604CODE
LOWapp/monitor/monitor.py803CODE
LOWapp/monitor/poller.py82CODE
LOWapp/monitor/poller.py220CODE
LOWapp/monitor/watcher.py353CODE
LOWapp/monitor/syslimits.py41CODE
LOWapp/runtime/config.py817CODE
LOWapp/runtime/config.py1014CODE
LOWapp/runtime/log.py634CODE
LOWapp/runtime/log.py224CODE
LOWapp/runtime/log.py323CODE
LOWapp/runtime/log.py408CODE
LOWapp/runtime/log.py501CODE
LOWapp/runtime/events.py477CODE
LOWapp/runtime/events.py782CODE
LOWapp/runtime/events.py831CODE
LOWapp/runtime/events.py845CODE
LOWapp/runtime/localization.py45CODE
LOWapp/runtime/state.py173CODE
LOWapp/runtime/compat/diagnostics.py144CODE
LOWapp/runtime/compat/resource_imports.py61CODE
LOWapp/runtime/compat/resource_imports.py104CODE
LOWapp/runtime/capabilities/runtime.py255CODE
LOWapp/runtime/capabilities/runtime.py338CODE
LOWapp/runtime/capabilities/runtime.py473CODE
LOWapp/runtime/capabilities/runtime.py660CODE
LOWapp/runtime/capabilities/runtime.py899CODE
LOWapp/runtime/capabilities/runtime.py1012CODE
LOWapp/runtime/capabilities/runtime.py1129CODE
LOWapp/runtime/capabilities/runtime.py1242CODE
LOWapp/runtime/observability/__init__.py96CODE
LOWapp/runtime/observability/__init__.py99CODE
LOWapp/runtime/extensions/module_manager.py156CODE
LOWapp/runtime/extensions/plugin_manager.py378CODE
LOWapp/runtime/extensions/plugin_manager.py470CODE
LOWapp/runtime/extensions/plugin_manager.py500CODE
LOWapp/runtime/extensions/plugin_manager.py728CODE
LOWapp/runtime/extensions/plugin_manager.py776CODE
LOWapp/runtime/extensions/plugin_manager.py799CODE
LOWapp/runtime/extensions/plugin/sync.py37CODE
LOWapp/runtime/extensions/plugin/monitor.py163CODE
LOWapp/runtime/extensions/plugin/paths.py118CODE
LOWapp/runtime/extensions/plugin/tools.py33CODE
LOWapp/runtime/extensions/plugin/loader.py44CODE
LOWapp/runtime/extensions/plugin/loader.py192CODE
LOWapp/runtime/extensions/plugin/lifecycle.py93CODE
LOWapp/runtime/extensions/plugin/lifecycle.py264CODE
LOWapp/runtime/extensions/plugin/admission.py60CODE
LOWapp/runtime/extensions/plugin/projection.py53CODE
LOWapp/runtime/extensions/plugin/projection.py83CODE
LOWapp/runtime/extensions/plugin/projection.py105CODE
578 more matches not shown…
Unused Imports497 hits · 468 pts
SeverityFileLineSnippetContext
LOWdatabase/versions/610bb05ddeef_2_1_2.py8CODE
LOWdatabase/versions/610bb05ddeef_2_1_2.py12CODE
LOWdatabase/versions/ca5461f314f2_2_1_0.py8CODE
LOWdatabase/versions/ecf3c693fdf3_2_0_5.py8CODE
LOWdatabase/versions/0fb94bf69b38_2_0_2.py8CODE
LOWdatabase/versions/3891a5e722a1_2_1_7.py11CODE
LOWdatabase/versions/4666ce24a443_2_1_8.py8CODE
LOWdatabase/versions/55390f1f77c1_2_0_9.py8CODE
LOWdatabase/versions/4b544f5d3b07_2_1_3.py8CODE
LOWdatabase/versions/4b544f5d3b07_2_1_3.py12CODE
LOWdatabase/versions/eaf9cbc49027_2_0_7.py8CODE
LOWdatabase/versions/bf28a012734c_2_0_8.py8CODE
LOWapp/doctor/runner.py1CODE
LOWapp/doctor/formatters.py1CODE
LOWapp/doctor/models.py1CODE
LOWapp/doctor/checks.py1CODE
LOWapp/runtime/tasks.py3CODE
LOWapp/runtime/log.py1CODE
LOWapp/runtime/events.py32CODE
LOWapp/runtime/stop.py3CODE
LOWapp/runtime/webpush.py3CODE
LOWapp/runtime/loop.py3CODE
LOWapp/runtime/settings.py3CODE
LOWapp/runtime/resources.py3CODE
LOWapp/runtime/correlation.py3CODE
LOWapp/runtime/dependencies.py3CODE
LOWapp/runtime/native_dependencies.py3CODE
LOWapp/runtime/compat/resource_imports.py3CODE
LOWapp/runtime/capabilities/registry.py1CODE
LOWapp/runtime/capabilities/__init__.py3CODE
LOWapp/runtime/capabilities/runtime.py1CODE
LOWapp/runtime/capabilities/model.py1CODE
LOWapp/runtime/observability/__init__.py3CODE
LOWapp/runtime/extensions/module_manager.py1CODE
LOWapp/runtime/extensions/resource.py3CODE
LOWapp/runtime/extensions/host_module_adapter.py1CODE
LOWapp/runtime/extensions/module/dispatcher.py3CODE
LOWapp/runtime/extensions/module/contracts.py3CODE
LOWapp/runtime/extensions/module/quality.py3CODE
LOWapp/runtime/extensions/plugin/catalog.py3CODE
LOWapp/runtime/extensions/plugin/sync.py3CODE
LOWapp/runtime/extensions/plugin/system.py3CODE
LOWapp/runtime/extensions/plugin/metadata.py3CODE
LOWapp/runtime/extensions/plugin/monitor.py3CODE
LOWapp/runtime/extensions/plugin/paths.py3CODE
LOWapp/runtime/extensions/plugin/tools.py3CODE
LOWapp/runtime/extensions/plugin/loader.py3CODE
LOWapp/runtime/extensions/plugin/lifecycle.py3CODE
LOWapp/runtime/extensions/plugin/storage.py3CODE
LOWapp/runtime/extensions/plugin/admission.py3CODE
LOWapp/runtime/extensions/plugin/clone.py3CODE
LOWapp/runtime/event/registry.py3CODE
LOWapp/runtime/event/dispatch.py3CODE
LOWapp/runtime/event/contracts.py3CODE
LOWapp/runtime/event/errors.py3CODE
LOWapp/runtime/event/binding.py3CODE
LOWapp/runtime/event/snapshot.py3CODE
LOWapp/chain/recommend.py3CODE
LOWapp/chain/listenbrainz.py5CODE
LOWapp/chain/listenbrainz.py5CODE
437 more matches not shown…
Hallucination Indicators28 hits · 330 pts
SeverityFileLineSnippetContext
CRITICALapp/modules/feishu/feishu.py1373 response = self._api_client.cardkit.v1.card_element.content(CODE
CRITICALapp/modules/feishu/feishu.py1595 response = self._api_client.im.v1.file.get(CODE
CRITICALapp/modules/feishu/feishu.py1609 response = self._api_client.im.v1.message_resource.get(CODE
CRITICALapp/modules/feishu/feishu.py1265 response = self._api_client.cardkit.v1.card.create(CODE
CRITICALapp/modules/feishu/feishu.py1403 response = self._api_client.cardkit.v1.card.settings(CODE
CRITICALapp/modules/feishu/feishu.py1445 response = self._api_client.im.v1.message.create(request)CODE
CRITICALapp/modules/feishu/feishu.py1491 response = self._api_client.im.v1.message.reply(request)CODE
CRITICALapp/modules/feishu/feishu.py1531 response = self._api_client.im.v1.image.create(CODE
CRITICALapp/modules/feishu/feishu.py1565 response = self._api_client.im.v1.file.create(CODE
CRITICALapp/modules/feishu/feishu.py1582 response = self._api_client.im.v1.image.get(CODE
CRITICALapp/modules/feishu/feishu.py1906 response = self._api_client.im.v1.message.patch(CODE
CRITICALapp/modules/feishu/feishu.py1938 response = self._api_client.im.v1.message_reaction.create(CODE
CRITICALapp/modules/feishu/feishu.py1972 response = self._api_client.im.v1.message_reaction.delete(CODE
CRITICALapp/modules/rtorrent/rtorrent.py558 self._proxy.throttle.down.max.set(CODE
CRITICALapp/modules/rtorrent/rtorrent.py563 self._proxy.throttle.up.max.set(CODE
CRITICALtests/test_feishu.py371 client._api_client.im.v1.image.create.assert_called_once()CODE
CRITICALtests/test_feishu.py686 client._api_client.cardkit.v1.card_element.content.assert_called_once()CODE
CRITICALtests/test_feishu.py745 client._api_client.im.v1.image.create.assert_not_called()CODE
CRITICALtests/test_feishu.py777 client._api_client.im.v1.image.create.assert_not_called()CODE
CRITICALtests/test_feishu.py806 client._api_client.im.v1.image.create.assert_not_called()CODE
CRITICALtests/test_feishu.py892 client._api_client.im.v1.image.create.assert_not_called()CODE
CRITICALtests/test_feishu.py1035 client._api_client.im.v1.image.create.assert_called_once()CODE
CRITICALtests/test_feishu.py1072 client._api_client.im.v1.file.create.assert_called_once()CODE
CRITICALtests/test_metainfo.py492 r"Ha.Ha.Ha.Ha.Ha.2026.S06E([0-1][0-9]).Part1 => 哈哈哈哈哈 (2020){[tmdbid=112732;type=tv]} S06E\1.Part1 && S06 <> .PaCODE
CRITICALtests/test_rtorrent_compat.py81 fake_proxy.throttle.down.max.set.assert_called_once_with(CODE
CRITICALtests/test_rtorrent_compat.py85 fake_proxy.throttle.up.max.set.assert_called_once_with(CODE
CRITICALtests/test_rtorrent_compat.py108 fake_proxy.throttle.down.max.set.assert_called_once_with(CODE
CRITICALtests/test_rtorrent_compat.py112 fake_proxy.throttle.up.max.set.assert_not_called()CODE
Cross-Language Confusion62 hits · 286 pts
SeverityFileLineSnippetContext
HIGHapp/agent/tools/impl/update_custom_identifiers.py54 "4) Combined: '被替换词 => 替换词 && 前定位词 <> 后定位词 >> EP±N'; "CODE
HIGHapp/adapters/network/browser.py868 return style && style.visibility !== 'hidden'CODE
HIGHapp/modules/themoviedb/tmdbapi.py1046 "logo_path": null,STRING
HIGHapp/modules/themoviedb/tmdbapi.py1052 "logo_path": null,STRING
HIGHapp/modules/themoviedb/tmdbapi.py1461 "deathday": null,STRING
HIGHapp/modules/douban/__init__.py924 "last_episode_number": null,STRING
HIGHapp/modules/douban/__init__.py925 "interest_control_info": null,STRING
HIGHapp/modules/douban/__init__.py933 "head_info": null,STRING
HIGHapp/modules/douban/__init__.py939 "forum_info": null,STRING
HIGHapp/modules/douban/__init__.py940 "webisode": null,STRING
HIGHapp/modules/douban/__init__.py986 "user": null,STRING
HIGHapp/modules/douban/__init__.py999 "interest": null,STRING
HIGHapp/modules/douban/__init__.py1072 "raw": null,STRING
HIGHapp/modules/douban/__init__.py1111 "release_date": null,STRING
HIGHapp/modules/douban/__init__.py1114 "pre_playable_date": null,STRING
HIGHapp/modules/douban/__init__.py1129 "user": null,STRING
HIGHapp/modules/douban/__init__.py1145 "video": null,STRING
HIGHapp/modules/vocechat/__init__.py123 "expires_in": null, //消息过期时长,如果有大于0数字,说明该消息是个限时消息STRING
HIGHapp/modules/vocechat/__init__.py124 "properties": null, //一些有关消息的元数据,比如at信息,文件消息的具体类型信息,如果是个图片消息,还会有一些宽高,图片名称等元信息STRING
HIGHapp/modules/filemanager/storages/alist.py450 "hash_info": null,STRING
HIGHapp/modules/filemanager/storages/alist.py658 "hash_info": null,STRING
HIGHapp/modules/indexer/spider/hddolby.py139 "imdb_id": null,STRING
HIGHtests/test_metainfo.py467 custom_words = ["旧名 => 新名 && 第 <> 集 >> EP+1"]CODE
HIGHtests/test_metainfo.py492 r"Ha.Ha.Ha.Ha.Ha.2026.S06E([0-1][0-9]).Part1 => 哈哈哈哈哈 (2020){[tmdbid=112732;type=tv]} S06E\1.Part1 && S06 <> .PaCODE
HIGHtests/test_metainfo.py511 custom_words = ["旧名 => 新名 && 第 <> 集 >> EP+EP-1"]CODE
HIGHtests/test_metainfo.py523 custom_words = ["旧名 => 新名 && 第 <> 集 >> 2EP"]CODE
HIGHtests/test_docker_entrypoint_permissions.py185 resolve_browser_cache_dir || printf 'rejected\\n'STRING
HIGHtests/test_docker_entrypoint_permissions.py209 resolve_browser_cache_dir || printf 'rejected\\n'STRING
HIGHtests/test_docker_entrypoint_permissions.py573 MOVIEPILOT_BACKEND_READY_TIMEOUT=invalid wait_backend_ready 1 2 999999 || trueSTRING
HIGHtests/test_architecture_ci.py149 assert "--output-format=json > pylint-report.json || true" in commandsCODE
HIGHtests/test_docker_bootstrap.py1292 restore_previous_payload || trueCODE
HIGHtests/test_docker_bootstrap.py1294 "$([[ -f "${{APP_DIR}}/app/new.py" ]] && printf current || printf missing)" \\CODE
HIGHtests/test_docker_bootstrap.py1295 "$([[ -f "${{APP_DIR}}/app/old.py" ]] && printf restored || printf absent)" \\CODE
HIGHtests/test_docker_bootstrap.py1296 "$([[ -d "${{UPDATE_PREVIOUS_APP}}" ]] && printf retained || printf moved)" \\CODE
HIGHtests/test_docker_bootstrap.py1390 swap_staged_payload || rollback_update_transactionCODE
HIGHtests/test_docker_bootstrap.py1392 "$([[ -f "${{APP_DIR}}/app/old.py" ]] && printf old || printf missing)" \\CODE
HIGHtests/test_docker_bootstrap.py1394 "$([[ -f "${{UPDATE_PENDING_FILE}}" ]] && printf present || printf cleared)"CODE
HIGHtests/test_docker_bootstrap.py161 'source "$1"; source_bundle_is_trusted() { control_bundle_generation "$1" >/dev/null; }; launcher_main',CODE
HIGHtests/test_docker_bootstrap.py457 source_bundle_is_trusted() {{ control_bundle_generation "$1" >/dev/null; }}CODE
HIGHtests/test_docker_bootstrap.py667 source_bundle_is_trusted() {{ control_bundle_generation "$1" >/dev/null; }}CODE
HIGHtests/test_docker_bootstrap.py1192 "$([[ -f "${{APP_DIR}}/app/old.py" ]] && printf old || printf missing)" \\CODE
HIGHtests/test_docker_bootstrap.py1194 "$([[ -f "${{CONFIG_DIR}}/temp/__update_pending__" ]] && printf present || printf cleared)" \\CODE
HIGHtests/test_docker_bootstrap.py1241 finalize_update_transaction || trueCODE
HIGHtests/test_docker_bootstrap.py1242 printf '%s\n' "$([[ -f "${{UPDATE_PENDING_FILE}}" ]] && printf present || printf missing)"CODE
HIGHtests/test_docker_bootstrap.py1428 test_connectivity_package 0 || trueCODE
HIGHtests/test_docker_bootstrap.py1037 "count=$(cat \"${count_file}\" 2>/dev/null || printf '0')\n"STRING
HIGHtests/test_subscription_query_service.py123 'Subscribe|{"type":"电影","season":null,'CODE
HIGHtests/test_execute_command_tool.py140 result = self._run_command("echo ok && rm -rf /")CODE
HIGHtests/test_execute_command_tool.py152 tool.run(action="run", command="echo ok && shutdown now", timeout=1)CODE
HIGHtests/test_media_recognize_modules.py118 self.assertEqual(result, "zh,en,null,ja")CODE
HIGHtests/test_publish_moviepilot_plugin_skill.py137 payload = module.push(CODE
HIGHtests/test_rust_accel.py325 meta = metainfo_module.MetaInfo("旧名 第03集", custom_words=["旧名 => 新名 && 第 <> 集 >> EP+1"])CODE
HIGHtests/test_rust_accel.py330 assert meta.apply_words == ["旧名 => 新名 && 第 <> 集 >> EP+1"]CODE
HIGHscripts/local_setup.py161 const backendPort = Number(process.env.PORT || 3001)STRING
HIGHscripts/local_setup.py162 const frontendPort = Number(process.env.NGINX_PORT || 3000)STRING
HIGHscripts/local_setup.py164 const backendHealthTimeoutMs = Number(process.env.MOVIEPILOT_FRONTEND_HEALTH_TIMEOUT_MS || 3000)STRING
HIGHscripts/local_setup.py165 const backendHealthIntervalMs = Number(process.env.MOVIEPILOT_FRONTEND_HEALTH_INTERVAL_MS || 15000)STRING
HIGHscripts/local_setup.py167 Number(process.env.MOVIEPILOT_FRONTEND_MAX_FAILURES || 4),STRING
HIGHscripts/local_setup.py221 return trueSTRING
HIGHscripts/local_setup.py228 return falseSTRING
2 more matches not shown…
Decorative Section Separators33 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUMapp/adapters/external/wechat_crypt.py10# ------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_overwrite_declined.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_overwrite_declined.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_overwrite_declined.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_overwrite_declined.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tmdb_retry_and_errors.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tmdb_retry_and_errors.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tmdb_retry_and_errors.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tmdb_retry_and_errors.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py308# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py310# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py367# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py369# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py385# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py387# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py410# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py412# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py481# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py483# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py281# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transfer_history_gate.py283# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py159# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py161# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/moviepilot-api/scripts/mp-api.py226# ---------------------------------------------------------------------------COMMENT
Modern Structural Boilerplate122 hits · 124 pts
SeverityFileLineSnippetContext
LOWapp/monitor/__init__.py28__all__ = ["DirectoryChangeEvent", "LocalDirectoryWatcher", "Monitor"]CODE
LOWapp/doctor/__init__.py30__all__ = [CODE
LOWapp/runtime/gc.py12logger = logging.getLogger(__name__)CODE
LOWapp/runtime/log.py501 def update_loggers(self) -> None:CODE
LOWapp/runtime/events.py198 def set_error_notifier(self, notifier: Optional[EventErrorNotifier]) -> None:CODE
LOWapp/runtime/cache.py21logger = logging.getLogger(__name__)CODE
LOWapp/runtime/extensions/plugin_manager.py940 def set_plugin_settling(self, settling: bool) -> None:CODE
LOWapp/runtime/extensions/plugin/registry.py91 def set_settling(self, settling: bool) -> None:CODE
LOWapp/runtime/event/snapshot.py116__all__ = ["EventPayloadSnapshot", "snapshot_event_data"]CODE
LOWapp/scheduler/__init__.py28__all__ = ["Scheduler", "SchedulerChain"]CODE
LOWapp/scheduler/reconcile.py365 def update_workflow_job(self, workflow: WorkflowSnapshot) -> None:CODE
LOWapp/scheduler/reconcile.py403 def update_plugin_job(self, pid: str) -> None:CODE
LOWapp/foundation/version.py6__all__ = ["compare_version"]CODE
LOWapp/chain/listenbrainz.py13__all__ = [CODE
LOWapp/chain/workflow.py387 def update_runtime_state(self) -> None:CODE
LOWapp/chain/workflow.py400 def set_node_state(self, action_id: str, state: str, message: Optional[str] = None) -> None:CODE
LOWapp/chain/workflow.py720 def update_progress(self) -> None:CODE
LOWapp/chain/transfer/__init__.py28__all__ = ["TransferChain", "task_lock"]CODE
LOWapp/chain/subscribe/__init__.py27__all__ = ["SubscribeChain"]CODE
LOWapp/chain/download/__init__.py30__all__ = ["DownloadChain"]CODE
LOWapp/agent/orchestrator.py1299 def _set_event_value(event_data: Any, key: str, value: Any) -> None:CODE
LOWapp/agent/contracts.py35__all__ = ["ReplyMode", "build_display_message"]CODE
LOWapp/agent/middleware/runtime_config.py42__all__ = ["RuntimeConfigMiddleware"]CODE
LOWapp/agent/middleware/subagents.py1310__all__ = [CODE
LOWapp/agent/middleware/skills.py605__all__ = ["SKILL_TOOL_NAME", "SkillMetadata", "SkillsMiddleware"]CODE
LOWapp/agent/middleware/policy.py191__all__ = [CODE
LOWapp/agent/middleware/jobs.py308__all__ = [CODE
LOWapp/agent/middleware/activity_log.py756__all__ = [CODE
LOWapp/agent/middleware/usage.py603__all__ = ["UsageMiddleware"]CODE
LOWapp/agent/tools/catalog.py184__all__ = [CODE
LOWapp/agent/tools/tags.py41__all__ = ["ToolTag"]CODE
LOWapp/agent/tools/manager.py62 def set_data_context(self, data: AgentDataContext) -> None:CODE
LOWapp/agent/tools/impl/_terminal_session.py182 def _set_nonblocking(fd: int) -> None:CODE
LOWapp/agent/llm/__init__.py38__all__ = [CODE
LOWapp/agent/llm/helper.py1058 def _set_metadata_attr(name: str, value: Any) -> None:CODE
LOWapp/agent/skills/metadata.py8logger = logging.getLogger(__name__)CODE
LOWapp/agent/policy/sanitizer.py1049__all__ = [CODE
LOWapp/agent/policy/registry.py196__all__ = [CODE
LOWapp/agent/policy/secret_fields.py69__all__ = ["is_secret_setting_key"]CODE
LOWapp/agent/policy/orchestrator.py225__all__ = [CODE
LOWapp/agent/policy/contracts.py240__all__ = [CODE
LOWapp/schemas/query.py377__all__ = [CODE
LOWapp/testing/__init__.py14__all__ = ["stub_modules"]CODE
LOWapp/adapters/network/browser.py64 def set_extra_http_headers(self, headers: dict[str, str]) -> None:CODE
LOWapp/adapters/network/browser.py68 def set_default_timeout(self, timeout: int) -> None:CODE
LOWapp/adapters/network/http.py412 def update_headers(self, headers: dict[str, Any]) -> None:CODE
LOWapp/adapters/network/http.py416 def update_cookies(self, cookies: dict[str, Any]) -> None:CODE
LOWapp/adapters/system/display/__init__.py40__all__ = ["DISPLAY_CAPABILITY_ID", "DisplayHelper", "VirtualDisplayResource"]CODE
LOWapp/sdk/plugins.py7__all__ = ["ModuleManager", "PluginManager"]CODE
LOWapp/sdk/logging.py6__all__ = ["logger"]CODE
LOWapp/sdk/services.py17__all__ = [CODE
LOWapp/sdk/media.py41__all__ = [CODE
LOWapp/sdk/config.py6__all__ = ["global_vars", "settings"]CODE
LOWapp/sdk/chain.py5__all__ = ["ChainBase"]CODE
LOWapp/sdk/events.py24__all__ = [CODE
LOWapp/sdk/database.py6__all__ = [CODE
LOWapp/sdk/security.py36__all__ = [CODE
LOWapp/sdk/cache.py27__all__ = [CODE
LOWapp/sdk/browser.py34__all__ = ["launch_browser_context", "launch_browser_context_async"]CODE
LOWapp/sdk/network.py13__all__ = [CODE
62 more matches not shown…
AI Structural Patterns94 hits · 82 pts
SeverityFileLineSnippetContext
LOWapp/plugins/__init__.py337CODE
LOWapp/runtime/cache.py821CODE
LOWapp/chain/_recognition.py196CODE
LOWapp/chain/_recognition.py315CODE
LOWapp/chain/message.py248CODE
LOWapp/chain/message.py447CODE
LOWapp/chain/recommend.py303CODE
LOWapp/chain/recommend.py357CODE
LOWapp/chain/recommend.py486CODE
LOWapp/chain/recommend.py514CODE
LOWapp/chain/search.py325CODE
LOWapp/chain/search.py359CODE
LOWapp/chain/scraping.py995CODE
LOWapp/chain/scraping.py1337CODE
LOWapp/chain/base.py880CODE
LOWapp/chain/base.py934CODE
LOWapp/chain/base.py1059CODE
LOWapp/chain/transfer/plan.py889CODE
LOWapp/chain/transfer/workflow.py350CODE
LOWapp/chain/transfer/workflow.py418CODE
LOWapp/chain/transfer/history.py117CODE
LOWapp/chain/subscribe/create.py464CODE
LOWapp/chain/subscribe/create.py512CODE
LOWapp/chain/subscribe/create.py598CODE
LOWapp/chain/subscribe/notify.py98CODE
LOWapp/chain/download/batch.py32CODE
LOWapp/chain/download/batch.py65CODE
LOWapp/chain/download/submission.py261CODE
LOWapp/chain/download/submission.py295CODE
LOWapp/agent/orchestrator.py399CODE
LOWapp/agent/orchestrator.py2928CODE
LOWapp/agent/middleware/subagents.py1128CODE
LOWapp/agent/middleware/usage.py172CODE
LOWapp/agent/tools/impl/update_subscribe.py139CODE
LOWapp/agent/tools/impl/update_download_tasks.py124CODE
LOWapp/agent/tools/impl/update_download_tasks.py258CODE
LOWapp/agent/tools/impl/update_site.py102CODE
LOWapp/agent/tools/impl/browse_webpage.py167CODE
LOWapp/agent/tools/impl/add_subscribe.py180CODE
LOWapp/agent/tools/impl/transfer_file.py124CODE
LOWapp/agent/tools/impl/transfer_file.py226CODE
LOWapp/agent/tools/impl/get_search_results.py74CODE
LOWapp/agent/tools/impl/execute_command.py506CODE
LOWapp/agent/tools/impl/query_popular_subscribes.py72CODE
LOWapp/agent/tools/impl/get_recommendations.py128CODE
LOWapp/agent/llm/provider.py1857CODE
LOWapp/agent/llm/helper.py1145CODE
LOWapp/agent/llm/helper.py1471CODE
LOWapp/adapters/network/http.py353CODE
LOWapp/adapters/network/http.py1030CODE
LOWapp/db/models/transferhistory.py575CODE
LOWapp/db/oper/message.py22CODE
LOWapp/db/oper/message.py69CODE
LOWapp/db/oper/agentchat.py207CODE
LOWapp/db/oper/transferhistory.py360CODE
LOWapp/api/endpoints/subscribe.py576CODE
LOWapp/api/endpoints/subscribe.py771CODE
LOWapp/api/endpoints/discover.py102CODE
LOWapp/api/endpoints/discover.py133CODE
LOWapp/api/endpoints/anilist.py64CODE
34 more matches not shown…
Structural Annotation Overuse35 hits · 59 pts
SeverityFileLineSnippetContext
LOWapp/modules/filemanager/storages/alipan.py464 # Step 4: 转换为无符号int64COMMENT
LOWapp/modules/filemanager/storages/alipan.py479 # Step 8: 读取文件范围数据并编码COMMENT
LOWapp/modules/filemanager/storages/u115.py621 # Step 1: 初始化上传COMMENT
LOWapp/modules/filemanager/storages/u115.py647 # Step 2: 处理二次认证COMMENT
LOWapp/modules/filemanager/storages/u115.py684 # Step 3: 秒传COMMENT
LOWapp/modules/filemanager/storages/u115.py720 # Step 4: 获取上传凭证COMMENT
LOWapp/modules/filemanager/storages/u115.py732 # Step 5: 断点续传COMMENT
LOWapp/modules/filemanager/storages/u115.py749 # Step 6: 对象存储上传COMMENT
LOWskills/create-moviepilot-skill/SKILL.md43### Step 1: Understand the RequestCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md52### Step 2: Check Existing Skills FirstCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md60### Step 3: Choose the Skill ID and PathCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md67### Step 4: Write Frontmatter CorrectlyCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md91### Step 5: Write the BodyCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md113### Step 6: Add Supporting Files Only When They HelpCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md121### Step 7: Implement the SkillCOMMENT
LOWskills/create-moviepilot-skill/SKILL.md135### Step 8: Validate Before FinishingCOMMENT
LOWskills/command-dispatch/SKILL.md39### Step 1: Identify User IntentCOMMENT
LOWskills/command-dispatch/SKILL.md46### Step 2: Find Matching CommandCOMMENT
LOWskills/command-dispatch/SKILL.md57### Step 3: Extract Parameters and ExecuteCOMMENT
LOWskills/command-dispatch/SKILL.md66### Step 4: Report ResultCOMMENT
LOWskills/generate-identifiers/SKILL.md135### Step 1: Analyze the ProblemCOMMENT
LOWskills/generate-identifiers/SKILL.md143### Step 2: Generate the Identifier Rule(s)COMMENT
LOWskills/generate-identifiers/SKILL.md151### Step 3: Query Existing IdentifiersCOMMENT
LOWskills/generate-identifiers/SKILL.md159### Step 4: Check for DuplicatesCOMMENT
LOWskills/generate-identifiers/SKILL.md166### Step 5: Save the Updated IdentifiersCOMMENT
LOWskills/generate-identifiers/SKILL.md178### Step 6: Verify (Optional)COMMENT
LOWskills/generate-identifiers/SKILL.md186### Step 7: ReportCOMMENT
LOWskills/anysearch/README.md70### Step 1: Detect available runtimeCOMMENT
LOWskills/anysearch/README.md88### Step 2: Run entry test (probe all available runtimes)COMMENT
LOWskills/anysearch/README.md111### Step 3: Persist recommended runtime to configuration fileCOMMENT
LOWskills/transfer-failed-retry/SKILL.md23### Step 1: Query the Failed Transfer HistoryCOMMENT
LOWskills/transfer-failed-retry/SKILL.md44### Step 2: Analyze the Failure ReasonCOMMENT
LOWskills/transfer-failed-retry/SKILL.md57### Step 3: Delete the Failed History Record(s)COMMENT
LOWskills/transfer-failed-retry/SKILL.md65### Step 4: Re-identify and Re-organizeCOMMENT
LOWskills/transfer-failed-retry/SKILL.md113### Step 5: Report ResultCOMMENT
Fake / Example Data25 hits · 28 pts
SeverityFileLineSnippetContext
LOWapp/adapters/network/browser.py885 || el.getAttribute('placeholder')CODE
LOWapp/adapters/network/browser.py896 placeholder: el.getAttribute('placeholder') || '',CODE
LOWtests/test_telegram.py40 telegram = Telegram(TELEGRAM_TOKEN="fake_token", TELEGRAM_CHAT_ID="fake_chat_id")CODE
LOWtests/test_browser_helper.py125 "placeholder": "",CODE
LOWtests/test_event_runtime_components.py53 fake_name = "tests._fake_unloaded_plugin"CODE
LOWtests/test_event_runtime_components.py54 fake_module = types.ModuleType(fake_name)CODE
LOWtests/test_event_runtime_components.py55 sys.modules[fake_name] = fake_moduleCODE
LOWtests/test_event_runtime_components.py66 del sys.modules[fake_name]CODE
LOWtests/test_event_runtime_components.py78 sys.modules.pop(fake_name, None)CODE
LOWtests/test_event_runtime_components.py83 fake_name = "tests._fake_unloaded_decorated_plugin"CODE
LOWtests/test_event_runtime_components.py84 fake_module = types.ModuleType(fake_name)CODE
LOWtests/test_event_runtime_components.py85 sys.modules[fake_name] = fake_moduleCODE
LOWtests/test_event_runtime_components.py101 del sys.modules[fake_name]CODE
LOWtests/test_event_runtime_components.py112 sys.modules.pop(fake_name, None)CODE
LOWtests/test_api_authorization.py307 fake_user = SimpleNamespace()CODE
LOWtests/test_api_authorization.py316 return fake_userCODE
LOWtests/test_api_authorization.py321 fake_user.values = valuesCODE
LOWtests/test_api_authorization.py322 return fake_userCODE
LOWtests/test_api_authorization.py338 assert fake_user.values == {"avatar": "data:image/ico;base64,b'YXZhdGFy'"}CODE
LOWtests/test_agent_tool_result_policy.py490 alias = AliasPath("placeholder")CODE
LOWtests/test_feedback_issue_scripts.py155 "hunter2", "user@example.com", "/Users/alice/"):CODE
LOWscripts/local_setup.py2221 "placeholder": str(param_conf.get("placeholder") or "").strip(),CODE
LOWscripts/local_setup.py2287 placeholder = str(param_meta.get("placeholder") or "").strip()CODE
LOWskills/feedback-issue/scripts/feedback_issue_common.py75 "lorem ipsum", "dolor sit amet",CODE
LOWskills/feedback-issue/scripts/feedback_issue_common.py75 "lorem ipsum", "dolor sit amet",CODE
Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippetContext
LOWapp/monitor/dispatcher.py321 if self._is_bluray_sub(event_path):COMMENT
LOWapp/monitor/monitor.py81 # 启动失败待重试的本地监控配置COMMENT
LOWapp/runtime/config.py121 # RESOURCE_TOKEN过期时间COMMENT
LOWapp/runtime/config.py161 DB_POSTGRESQL_HOST: str = "localhost"COMMENT
LOWapp/runtime/config.py181 # 异步连接池大小(每个被池化的事件循环)COMMENT
LOWapp/runtime/config.py461 TORRENT_TAG: str = "MOVIEPILOT"COMMENT
LOWapp/runtime/config.py501 # 本地文件操作是否走可强杀的子进程代理。COMMENT
LOWapp/db/session.py81#COMMENT
LOWapp/db/session.py121COMMENT
LOWconfig/category.yaml1####### 配置说明 #######COMMENT
LOWconfig/category.yaml61# 12 AdventureCOMMENT
LOWconfig/category.yaml81# 16 动画COMMENT
LOWconfig/category.yaml101# ar 阿拉伯语COMMENT
LOWconfig/category.yaml121# gl 加里西亚语COMMENT
LOWconfig/category.yaml141# mk 马其顿语COMMENT
LOWconfig/category.yaml161# sw 斯瓦希里语COMMENT
LOWconfig/category.yaml181# AR 阿根廷COMMENT
LOWconfig/category.yaml201# IT 意大利COMMENT
LOWconfig/category.yaml221# TW 中国台湾COMMENT
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippetContext
LOWapp/modules/filemanager/storages/alipan.py464 # Step 4: 转换为无符号int64COMMENT
LOWapp/modules/filemanager/storages/alipan.py479 # Step 8: 读取文件范围数据并编码COMMENT
LOWapp/modules/filemanager/storages/u115.py621 # Step 1: 初始化上传COMMENT
LOWapp/modules/filemanager/storages/u115.py647 # Step 2: 处理二次认证COMMENT
LOWapp/modules/filemanager/storages/u115.py684 # Step 3: 秒传COMMENT
LOWapp/modules/filemanager/storages/u115.py720 # Step 4: 获取上传凭证COMMENT
LOWapp/modules/filemanager/storages/u115.py732 # Step 5: 断点续传COMMENT
LOWapp/modules/filemanager/storages/u115.py749 # Step 6: 对象存储上传COMMENT
Overly Generic Function Names8 hits · 7 pts
SeverityFileLineSnippetContext
LOWapp/agent/middleware/subagents.py472 async def run_task(CODE
LOWapp/startup/initializers/plugins.py582async def execute_task(loop, task_func, task_name):CODE
LOWtests/test_architecture_egress.py563def helper(client):STRING
LOWtests/test_architecture_baseline_cli.py382 "def helper():\n"CODE
LOWtests/test_plugin_settlement_lifecycle.py25 async def execute_task(_loop, task_func, _task_name):CODE
LOWtests/test_scheduler_progress.py146 async def run_task():CODE
LOWtests/test_scheduler_progress.py183 async def run_task():CODE
LOWtests/test_scheduler_progress.py215 async def run_task():CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHskills/anysearch/scripts/shared/doc_spec.md210{{LANG_INVOKE}} search "climate change policy 2025" --api_key <your_api_key> --max_results 3CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_agent_background_output.py58CODE
MEDIUMtests/test_agent_background_output.py65CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWapp/modules/wechat/wechat.py422 # Read file content into memory to avoid file handle issuesCOMMENT
LOWapp/modules/telegram/telegram.py157 # Check if we should process this messageCOMMENT