Repository Analysis

zhinianboke/xianyu-auto-reply

闲鱼自动回复管理系统是一个基于 Python + FastAPI 开发的自动化客服系统,专为闲鱼平台设计。系统通过 WebSocket 连接闲鱼服务器,实时接收和处理消息,提供智能化的自动回复服务。同时集成闲鱼自动发货,自动评价,自动擦亮等功能,实现闲鱼虚拟商品自动化流程。

15.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of zhinianboke/xianyu-auto-reply, a Python project with 6,823 GitHub stars. SynthScan v2.0 examined 227,144 lines of code across 847 source files, recording 3477 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 15.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).

15.4
Adjusted Score
15.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
6.8K
Stars
Python
Language
227.1K
Lines of Code
847
Files
3.5K
Pattern Hits
2026-08-29
Scan Date
0.07
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 0HIGH 56MEDIUM 58LOW 3363

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 3477 distinct pattern matches across 12 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.

Excessive Try-Catch Wrapping1636 hits · 1435 pts
SeverityFileLineSnippetContext
LOWpromotion/backend/_bootstrap.py36 except Exception as exc:CODE
LOWpromotion/backend/app/api/routes/cookies.py318 except Exception:CODE
LOWpromotion/backend/app/api/routes/auth.py51 except Exception:CODE
LOWpromotion/backend/app/api/routes/geetest.py132 except Exception as e:CODE
LOWpromotion/backend/app/api/routes/geetest.py197 except Exception as e:CODE
LOWpromotion/backend/app/api/routes/settings.py57 except Exception as e:CODE
LOWpromotion/backend/app/api/routes/settings.py90 except Exception as e:CODE
LOW…omotion/backend/app/services/taobao_alliance_detail.py81 except Exception as e:CODE
LOW…omotion/backend/app/services/taobao_alliance_detail.py227 except Exception as e:CODE
LOW…omotion/backend/app/services/taobao_alliance_detail.py328 except Exception as e:CODE
LOW…on/backend/app/services/publish_coupon_card_service.py86 except Exception as exc:CODE
LOW…ckend/app/services/publish_rule_persistence_service.py46 except Exception as exc:CODE
LOW…ckend/app/services/publish_rule_persistence_service.py73 except Exception as exc:CODE
LOW…ckend/app/services/publish_rule_persistence_service.py98 except Exception as exc:CODE
LOW…ckend/app/services/publish_rule_persistence_service.py153 except Exception as card_exc:CODE
LOW…ckend/app/services/publish_rule_persistence_service.py156 except Exception as exc:CODE
LOW…otion/backend/app/services/item_delete_sync_service.py80 except Exception as e:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py187 except Exception as e:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py212 except Exception as e:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py322 except Exception as e:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py449 except Exception as e:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py546 except Exception as e:CODE
LOW…end/app/services/published_item_id_repair_scheduler.py39 except Exception as exc:CODE
LOW…end/app/services/published_item_id_repair_scheduler.py129 except Exception as exc:CODE
LOW…end/app/services/published_item_id_repair_scheduler.py215 except Exception as exc:CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py34 except Exception as exc:CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py86 except Exception as exc:CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py151 except Exception as exc:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py41 except Exception as e:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py68 except Exception as e:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py73 except Exception as e:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py324 except Exception as e:CODE
LOW…motion/backend/app/services/taobao_alliance_service.py313 except Exception as e:CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py27 except Exception as exc:CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py139 except Exception as exc:CODE
LOW…omotion/backend/app/services/database_check_service.py37 except Exception as e:CODE
LOW…omotion/backend/app/services/database_check_service.py66 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py47 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py82 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py119 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py277 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py296 except Exception as e:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py312 except Exception as e:CODE
LOWbackend-web/_bootstrap.py60 except Exception as e:CODE
LOWbackend-web/_bootstrap.py83 except Exception as e:CODE
LOWbackend-web/_bootstrap.py90 except Exception as e:CODE
LOWbackend-web/_bootstrap.py120 except Exception as e:CODE
LOWbackend-web/_bootstrap.py135 except Exception as e:CODE
LOWbackend-web/_bootstrap.py141 except Exception as e:CODE
LOWbackend-web/_bootstrap.py185 except Exception as e:CODE
LOWbackend-web/_bootstrap.py199 except Exception as e:CODE
LOWbackend-web/_bootstrap.py249 except Exception as e:CODE
LOWbackend-web/app/core/http_client.py122 except Exception:CODE
LOWbackend-web/app/api/routes/listing_monitor.py201 except Exception as exc: # noqa: BLE001CODE
LOWbackend-web/app/api/routes/listing_monitor.py282 except Exception as exc: # noqa: BLE001CODE
LOWbackend-web/app/api/routes/listing_monitor.py423 except Exception as exc: # noqa: BLE001CODE
LOWbackend-web/app/api/routes/cookies.py91 except Exception:CODE
LOWbackend-web/app/api/routes/cookies.py479 except Exception as exc:CODE
LOWbackend-web/app/api/routes/cookies.py630 except Exception:CODE
LOWbackend-web/app/api/routes/cookies.py668 except Exception as exc:CODE
1576 more matches not shown…
Hyper-Verbose Identifiers697 hits · 687 pts
SeverityFileLineSnippetContext
LOWpromotion/frontend/src/api/publishRule.ts113export async function getExecutePublishRuleStatus(taskId: string): Promise<ApiResponse<PublishRuleExecuteTask>> {CODE
LOWpromotion/backend/_bootstrap.py29def _setup_windows_event_loop_policy() -> None:CODE
LOWpromotion/backend/app/api/routes/cookies.py323async def _get_account_with_permission(session: AsyncSession, account_pk: int, current_user: User):CODE
LOW…omotion/backend/app/services/taobao_alliance_detail.py347def _parse_short_url_response(data: dict) -> dict:CODE
LOW…on/backend/app/services/publish_coupon_card_service.py54async def _get_publish_coupon_card_lock(user_id: int, published_item_id: str) -> asyncio.Lock:CODE
LOW…on/backend/app/services/publish_coupon_card_service.py64async def ensure_publish_coupon_card(CODE
LOW…on/backend/app/services/publish_coupon_card_service.py95async def _ensure_publish_coupon_card_once(CODE
LOW…on/backend/app/services/publish_coupon_card_service.py185async def get_publish_coupon_card_status(CODE
LOWpromotion/backend/app/services/product_rule_service.py291async def sync_product_rules_to_publish_accounts(CODE
LOWpromotion/backend/app/services/product_rule_service.py388async def sync_material_accounts_from_product_rules(CODE
LOW…ckend/app/services/publish_rule_persistence_service.py25async def save_publish_rule_progress(CODE
LOW…ckend/app/services/publish_rule_persistence_service.py54async def get_account_product_total_count(owner_id: int, account_id: str) -> int:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py33def _build_rule_execution_key(rule_id: int, user_id: int) -> str:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py89def _generate_publish_trace_code() -> str:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py92def _build_publish_title_with_trace(title: str | None, trace_code: str) -> str:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py98async def _find_published_item_id_by_trace_code(CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py133async def get_manual_execute_publish_rule_status(task_id: str, user_id: int) -> dict:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py139async def _run_manual_execute_publish_rule_task(task_id: str, rule_id: int, user_id: int) -> None:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py199async def run_publish_rule_scheduler():CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py217async def manual_execute_publish_rule(rule_id: int, user_id: int) -> dict:CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py277async def _execute_all_publish_rules():CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py331async def _execute_single_publish_rule(CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py458async def _publish_material_to_xianyu(CODE
LOW…end/app/services/published_item_id_repair_scheduler.py31async def run_published_item_id_repair_scheduler() -> None:CODE
LOW…end/app/services/published_item_id_repair_scheduler.py44async def _repair_published_item_ids() -> None:CODE
LOW…end/app/services/published_item_id_repair_scheduler.py146async def _find_item_id_by_trace_code(CODE
LOW…end/app/services/published_item_id_repair_scheduler.py176async def _update_material_published_item_id(CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py26async def run_material_short_url_repair_scheduler() -> None:CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py39async def repair_material_short_urls_once() -> None:CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py161async def _update_material_short_url(material_id: int, short_url: str) -> bool:CODE
LOWpromotion/backend/app/services/material_service.py204def _normalize_material_items(items: list[dict]) -> list[dict]:CODE
LOWpromotion/backend/app/services/material_service.py224async def _get_material_upsert_context(CODE
LOWpromotion/backend/app/services/material_service.py275async def collect_creatable_material_items(CODE
LOWpromotion/backend/app/services/material_service.py420def _normalize_publish_status_filter(publish_status: str, legacy_published: str) -> str:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py28async def run_delete_rule_scheduler() -> None:CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py328def _is_session_expired_error(message: str) -> bool:CODE
LOWpromotion/backend/app/services/publish_rule_service.py266async def _get_user_rule_by_account(CODE
LOWpromotion/backend/app/services/publish_rule_service.py285async def _get_total_published_count_map(CODE
LOWpromotion/backend/app/services/publish_rule_service.py325def _is_publish_rule_account_duplicate_error(exc: IntegrityError) -> bool:CODE
LOWpromotion/backend/app/services/delete_rule_service.py251async def _get_user_rule_by_account(CODE
LOWpromotion/backend/app/services/delete_rule_service.py270def _is_delete_rule_account_duplicate_error(exc: IntegrityError) -> bool:CODE
LOW…motion/backend/app/services/taobao_alliance_service.py499def _build_coupon_info_from_promotion_path(promotion_path: list[dict]) -> str:CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py20async def run_publish_coupon_card_scheduler() -> None:CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py32async def _load_existing_catalog_item_keys(rows: list[tuple[int, int, str | None]]) -> set[tuple[int, str]]:CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py56async def _repair_publish_coupon_cards() -> None:CODE
LOW…omotion/backend/app/services/database_check_service.py31async def check_database_connection() -> bool:CODE
LOW…omotion/backend/app/services/database_check_service.py96async def _get_table_unique_constraints(conn: AsyncConnection, table_name: str) -> list[dict]:CODE
LOW…omotion/backend/app/services/database_check_service.py115async def _ensure_unique_constraint(CODE
LOW…omotion/backend/app/services/database_check_service.py168async def _check_product_rules_columns(conn: AsyncConnection, existing_tables: list[str]) -> bool:CODE
LOW…omotion/backend/app/services/database_check_service.py308async def _check_publish_rules_columns(conn: AsyncConnection, existing_tables: list[str]) -> None:CODE
LOW…omotion/backend/app/services/database_check_service.py372async def _check_delete_rules_columns(conn: AsyncConnection, existing_tables: list[str]) -> None:CODE
LOW…omotion/backend/app/services/database_check_service.py443async def _sync_rule_account_dimensions() -> None:CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py34async def run_product_rule_scheduler():CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py325def merge_short_url_into_description(description: str, short_url: str) -> str:CODE
LOWbackend-web/_bootstrap.py45async def check_database_connection():CODE
LOWbackend-web/app/api/deps.py109async def get_default_reply_service(session: AsyncSession = Depends(get_db_session)):CODE
LOWbackend-web/app/api/deps.py121async def get_notification_channel_service(session: AsyncSession = Depends(get_db_session)):CODE
LOWbackend-web/app/api/deps.py127async def get_system_setting_service(session: AsyncSession = Depends(get_db_session)):CODE
LOWbackend-web/app/api/deps.py140async def get_account_login_log_service(session: AsyncSession = Depends(get_db_session)):CODE
LOWbackend-web/app/api/deps.py146async def get_db_backup_log_service(session: AsyncSession = Depends(get_db_session)):CODE
637 more matches not shown…
Unused Imports630 hits · 590 pts
SeverityFileLineSnippetContext
LOWpromotion/backend/_bootstrap.py15CODE
LOWpromotion/backend/main.py2CODE
LOWpromotion/backend/main.py12CODE
LOWpromotion/backend/app/core/config.py9CODE
LOWpromotion/backend/app/core/security.py9CODE
LOWpromotion/backend/app/api/deps.py9CODE
LOWpromotion/backend/app/api/_exports.py7CODE
LOWpromotion/backend/app/api/__init__.py2CODE
LOWpromotion/backend/app/api/routes/delete_rule.py12CODE
LOWpromotion/backend/app/api/routes/cookies.py11CODE
LOWpromotion/backend/app/api/routes/auth.py9CODE
LOWpromotion/backend/app/api/routes/auth.py11CODE
LOWpromotion/backend/app/api/routes/material.py9CODE
LOWpromotion/backend/app/api/routes/product_rule.py11CODE
LOWpromotion/backend/app/api/routes/taobao_alliance.py9CODE
LOWpromotion/backend/app/api/routes/dashboard.py8CODE
LOWpromotion/backend/app/api/routes/settings.py8CODE
LOWpromotion/backend/app/api/routes/publish_rule.py13CODE
LOW…omotion/backend/app/services/taobao_alliance_detail.py8CODE
LOW…on/backend/app/services/publish_coupon_card_service.py9CODE
LOWpromotion/backend/app/services/product_rule_service.py9CODE
LOW…ckend/app/services/publish_rule_persistence_service.py9CODE
LOWpromotion/backend/app/services/auth_service.py10CODE
LOW…otion/backend/app/services/item_delete_sync_service.py10CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py11CODE
LOW…end/app/services/published_item_id_repair_scheduler.py10CODE
LOW…end/app/services/published_item_id_repair_scheduler.py16CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py10CODE
LOWpromotion/backend/app/services/material_service.py10CODE
LOWpromotion/backend/app/services/material_service.py18CODE
LOWpromotion/backend/app/services/delete_rule_scheduler.py10CODE
LOWpromotion/backend/app/services/publish_rule_service.py10CODE
LOWpromotion/backend/app/services/delete_rule_service.py9CODE
LOW…motion/backend/app/services/taobao_alliance_service.py9CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py1CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…motion/backend/app/services/item_delete_api_service.py2CODE
LOW…omotion/backend/app/services/database_check_service.py9CODE
LOW…omotion/backend/app/services/database_check_service.py24CODE
LOW…omotion/backend/app/services/database_check_service.py25CODE
LOW…omotion/backend/app/services/database_check_service.py26CODE
LOW…omotion/backend/app/services/database_check_service.py27CODE
LOW…omotion/backend/app/services/database_check_service.py28CODE
LOW…omotion/backend/app/services/product_rule_scheduler.py12CODE
LOWbackend-web/_bootstrap.py15CODE
LOWbackend-web/main.py2CODE
LOWbackend-web/main.py22CODE
LOWbackend-web/app/core/config.py9CODE
LOWbackend-web/app/core/paths.py9CODE
LOWbackend-web/app/core/http_client.py11CODE
LOWbackend-web/app/core/security.py14CODE
LOWbackend-web/app/api/deps.py10CODE
LOWbackend-web/app/api/__init__.py6CODE
LOWbackend-web/app/api/__init__.py9CODE
LOWbackend-web/app/api/__init__.py10CODE
LOWbackend-web/app/api/routes/listing_monitor.py9CODE
570 more matches not shown…
Deep Nesting260 hits · 194 pts
SeverityFileLineSnippetContext
LOWpromotion/backend/app/api/routes/cookies.py309CODE
LOWpromotion/backend/app/services/product_rule_service.py291CODE
LOW…ckend/app/services/publish_rule_persistence_service.py106CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py331CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py458CODE
LOW…end/app/services/published_item_id_repair_scheduler.py44CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py39CODE
LOW…nd/app/services/material_short_url_repair_scheduler.py132CODE
LOW…/backend/app/services/publish_coupon_card_scheduler.py56CODE
LOWbackend-web/app/api/routes/cookies.py590CODE
LOWbackend-web/app/api/routes/auth.py35CODE
LOWbackend-web/app/api/routes/shared_scan.py226CODE
LOWbackend-web/app/api/routes/orders.py436CODE
LOWbackend-web/app/api/routes/qr_login.py108CODE
LOWbackend-web/app/api/routes/captcha.py378CODE
LOWbackend-web/app/api/routes/chat_new.py77CODE
LOWbackend-web/app/api/routes/chat_new.py214CODE
LOWbackend-web/app/api/routes/chat_new.py707CODE
LOWbackend-web/app/api/routes/chat_new.py800CODE
LOWbackend-web/app/api/routes/admin.py404CODE
LOWbackend-web/app/api/routes/cookie_refresh.py184CODE
LOWbackend-web/app/api/routes/notifications.py67CODE
LOWbackend-web/app/api/routes/auto_rate.py149CODE
LOWbackend-web/app/api/routes/goofish_crawler.py245CODE
LOWbackend-web/app/api/routes/message_filters.py82CODE
LOWbackend-web/app/api/routes/items.py31CODE
LOWbackend-web/app/services/xianyu_direct_publisher.py180CODE
LOWbackend-web/app/services/withdraw_risk_check.py129CODE
LOWbackend-web/app/services/withdraw_risk_check.py241CODE
LOWbackend-web/app/services/publish_execution_service.py231CODE
LOWbackend-web/app/services/platform_category_service.py267CODE
LOWbackend-web/app/services/account_service.py792CODE
LOWbackend-web/app/services/account_service.py882CODE
LOWbackend-web/app/services/pickup_service.py59CODE
LOWbackend-web/app/services/xianyu_direct_payload.py164CODE
LOWbackend-web/app/services/xianyu_publisher.py399CODE
LOWbackend-web/app/services/xianyu_publisher.py586CODE
LOWbackend-web/app/services/xianyu_publisher.py646CODE
LOWbackend-web/app/services/xianyu_publisher.py1127CODE
LOWbackend-web/app/services/xianyu_publisher.py1198CODE
LOWbackend-web/app/services/xianyu_publisher.py1288CODE
LOWbackend-web/app/services/xianyu_publisher.py1331CODE
LOWbackend-web/app/services/xianyu_publisher.py1581CODE
LOWbackend-web/app/services/xianyu_publisher.py1698CODE
LOWbackend-web/app/services/xianyu_publisher.py1742CODE
LOWbackend-web/app/services/xianyu_publisher.py1835CODE
LOWbackend-web/app/services/xianyu_publisher.py984CODE
LOWbackend-web/app/services/xianyu_publisher.py1223CODE
LOWbackend-web/app/services/xianyu_publisher.py989CODE
LOWbackend-web/app/services/account_export_service.py142CODE
LOWbackend-web/app/services/qr_login/face_verification.py46CODE
LOWbackend-web/app/services/password_login/flow.py207CODE
LOWbackend-web/app/services/chat_new/avatar_service.py39CODE
LOWbackend-web/app/services/chat_new/avatar_service.py250CODE
LOWbackend-web/app/services/chat_new/im_client.py616CODE
LOWbackend-web/app/services/chat_new/im_client.py1021CODE
LOWwebsocket/app/utils/image_uploader.py46CODE
LOWwebsocket/app/api/routes/internal.py261CODE
LOWwebsocket/app/api/routes/internal.py363CODE
LOWwebsocket/app/api/routes/internal.py941CODE
200 more matches not shown…
Decorative Section Separators45 hits · 156 pts
SeverityFileLineSnippetContext
MEDIUMbuild_backend_web.sh2# ==========================================COMMENT
MEDIUMbuild_backend_web.sh5# ==========================================COMMENT
MEDIUMbuild_scheduler.sh2# ==========================================COMMENT
MEDIUMbuild_scheduler.sh5# ==========================================COMMENT
MEDIUMbuild_websocket.sh2# ==========================================COMMENT
MEDIUMbuild_websocket.sh5# ==========================================COMMENT
MEDIUMbuild.sh2# ==========================================COMMENT
MEDIUMbuild.sh6# ==========================================COMMENT
MEDIUMbuild.sh72# ==========================================COMMENT
MEDIUMbuild.sh74# ==========================================COMMENT
MEDIUMupdate.sh2# ==========================================COMMENT
MEDIUMupdate.sh13# ==========================================COMMENT
MEDIUMupdate.sh341# ==========================================COMMENT
MEDIUMupdate.sh343# ==========================================COMMENT
MEDIUMdeploy_remote.sh2# ==========================================COMMENT
MEDIUMdeploy_remote.sh7# ==========================================COMMENT
MEDIUMdeploy_remote.sh54# ==========================================COMMENT
MEDIUMdeploy_remote.sh56# ==========================================COMMENT
MEDIUMdeploy.sh2# ==========================================COMMENT
MEDIUMdeploy.sh6# ==========================================COMMENT
MEDIUMdeploy.sh53# ==========================================COMMENT
MEDIUMdeploy.sh55# ==========================================COMMENT
MEDIUMbuild_frontend.sh2# ==========================================COMMENT
MEDIUMbuild_frontend.sh5# ==========================================COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py87# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py89# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py124# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py126# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py183# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py185# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py238# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py240# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py284# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/withdraw_risk_check.py286# ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/email_service.py512 # ── 风控检验 ──────────────────────────────────────────────────────────COMMENT
MEDIUMbackend-web/app/services/email_service.py521 # ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebsocket/app/services/xianyu/connection_manager.py275 # ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcommon/utils/service_restart.py371# ---------------------------------------------------------------------------COMMENT
MEDIUMcommon/utils/service_restart.py374# ---------------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py84 # ------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py86 # ------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py120 # ------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py122 # ------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py233 # ------------------------------------------------------------------COMMENT
MEDIUMcommon/services/xianyu_order_client.py235 # ------------------------------------------------------------------COMMENT
Docstring Block Structure29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHbackend-web/app/core/http_client.py81 发送HTTP请求(带重试) Args: method: HTTP方法 url: 请求URL headers: 请求头STRING
HIGHbackend-web/app/api/routes/external_publish.py106 将公开请求转换为现有单品发布执行服务使用的数据结构。 Args: payload: 公开发布请求。 account: 已校验归属的闲鱼账号。 Returns: 现有STRING
HIGHbackend-web/app/services/amap_inputtips_service.py71 根据关键词查询高德 POI 输入提示。 Args: keywords: 用户输入的所在地关键词。 city: 搜索城市,默认全国且不限制城市范围。 STRING
HIGHbackend-web/app/services/platform_category_selection.py82 构造选择分类后重新获取动态属性所需的平台参数。 与单品发布界面一致,不要求调用方回传完整的分类字段:只要能用 channel_cat_id、tb_cat_id、cat_id 或分类名称中任意一个定位到分类卡里的选STRING
HIGHbackend-web/app/services/platform_category_service.py280 根据标题和描述返回平台分类候选,令牌过期时自动刷新并重试一次。 Args: title: 商品标题。 description: 商品描述。 STRING
HIGHbackend-web/app/services/account_service.py527协议化账号密码登录成功后保存账号(按前端传入的 account_id upsert)。 与扫码登录 upsert_account_from_qr 的差异:按 account_id(非 unb)定位, 并保存STRING
HIGH…end-web/app/services/external_publish_media_service.py36 校验媒体类型。 Args: media_type: 调用方传入的媒体类型。 Returns: 规范化后的媒体类型。 RaisSTRING
HIGH…end-web/app/services/external_publish_media_service.py73 将静态目录内文件转为发布器可读取的静态 URL。 Args: filepath: 静态目录内的媒体文件路径。 Returns: 以 /staSTRING
HIGH…end-web/app/services/external_publish_media_service.py95 保存一份公开发布媒体并返回 media_id。 Args: account: 已通过秘钥校验的闲鱼账号。 media_type: image、spec_imSTRING
HIGH…end-web/app/services/external_publish_media_service.py141 按账号和预期类型解析 media_id 对应的静态地址。 Args: account: 已通过秘钥校验的闲鱼账号。 media_id: 公开上传接口返回的媒STRING
HIGH…end-web/app/services/external_publish_media_service.py173 批量解析媒体 ID 并拒绝重复引用。 Args: account: 已通过秘钥校验的闲鱼账号。 media_ids: 媒体 ID 列表。 STRING
HIGHbackend-web/app/services/external_account_service.py104 获取分销秘钥所属用户的指定账号,不校验启用状态。 公开接口只做归属校验:禁用账号也允许调用分类和发布接口, Cookie 失效等问题由平台调用结果如实返回给调用方。 ArSTRING
HIGHbackend-web/app/services/chat_new/im_session_manager.py45 获取已连接的客户端,或新建连接 Args: account_id: 账号ID Returns: 已连接的GoofishImClient STRING
HIGHwebsocket/app/services/xianyu/xianyu_async.py2048创建(或获取)单聊会话,返回会话ID(chat_id) 通过 LWP 协议 /r/SingleChatConversation/create 请求服务端: - 服务端基于 (pairFirsSTRING
HIGHscheduler/app/core/http_client.py79 发送HTTP请求(带重试) Args: method: HTTP方法 url: 请求URL headers: 请求头STRING
HIGHcommon/utils/local_video_upload.py47校验并保存一个视频文件。 Args: video: FastAPI 上传文件对象 upload_dir: 保存目录 max_size: 单文件最大字节数 Returns: STRING
HIGHcommon/utils/xianyu_utils.py30将cookies字符串转换为字典 Args: cookies_str: Cookie字符串,格式如 "key1=value1; key2=value2" 兼容 "kSTRING
HIGHcommon/utils/xianyu_utils.py420解密消息数据 Args: data: Base64编码的MessagePack数据 Returns: 解密后的JSON字符串 RaisesSTRING
HIGHcommon/utils/local_image_upload.py101读取上传文件全部字节并按 ``max_size`` 校验大小。 Args: image: FastAPI 上传文件对象。 max_size: 最大字节数。``<= 0`` 表示不做大小校验 STRING
HIGHcommon/utils/local_image_upload.py160统一处理图片上传:类型校验 → 大小校验 → 生成唯一文件名 → 写盘。 URL 拼接、失败回滚、业务保存等仍由调用方负责,函数只返回必要的中间结果。 Args: image: FastAPI 上传文件对STRING
HIGHcommon/db/session.py63 将SQL语句和参数编译成完整的可执行SQL Args: statement: SQL语句 parameters: 参数字典或元组 Returns: STRING
HIGHcommon/services/im_token_api.py148调用闲鱼 IM Token API。 Args: cookies_str: 账号 Cookie 字符串。 device_id: 本次请求必须使用的 Device ID。 api_moSTRING
HIGHcommon/services/im_token_api.py302调用远程 Token 接口并记录完整的风控日志。 远程接口请求超时(asyncio.TimeoutError)时,最多尝试 ``REMOTE_TOKEN_TIMEOUT_MAX_ATTEMPTS`` 次(首次 + 重试 2STRING
HIGHcommon/services/im_token_api.py499按系统设置调用 Token 接口。 网页模式仅调用本地网页端接口;远程模式同样先调用本地网页端接口, 本地未取得有效 Token 时才调用远程接口。远程也失败时保留本地响应, 由调用方继续处理滑块或令牌过期。 STRING
HIGHcommon/services/listing_monitor_category_access.py30校验分类存在且当前用户有权引用,返回分类对象。 Args: session: 数据库会话 category_id: 分类ID;None 表示"无分类",直接放行并返回 None owSTRING
HIGHcommon/services/listing_monitor_service.py180校验分类存在且当前用户有权使用。 普通用户只能使用自己创建的分类;管理员(owner_id=None)可使用任意分类。 与分类列表的隔离规则保持一致,防止普通用户通过构造请求挂用他人分类。 STRING
HIGHcommon/services/listing_monitor_category_service.py142创建分类 Args: owner_id: 当前用户ID name: 分类名称 Returns: 创建的分类详情 RSTRING
HIGHcommon/services/listing_monitor_category_service.py181修改分类名称 Args: category_id: 分类ID owner_id: 当前用户ID name: 新分类名称 ReturnSTRING
HIGHcommon/services/xianyu_login/face_verification.py73 执行纯 API 人脸验证链路 Args: client: 贯穿登录全流程的 httpx.AsyncClient(携带 login.do 的 cookie jar) iframe_url: STRING
Modern Structural Boilerplate108 hits · 108 pts
SeverityFileLineSnippetContext
LOWpromotion/backend/_bootstrap.py29def _setup_windows_event_loop_policy() -> None:CODE
LOWpromotion/backend/app/api/_exports.py49__all__ = ["api_router"]CODE
LOW…omotion/backend/app/services/publish_rule_scheduler.py54def _update_manual_task(task_id: str, **kwargs) -> None:CODE
LOW…motion/backend/app/services/item_delete_api_service.py12__all__ = [CODE
LOWbackend-web/app/core/paths.py89__all__ = [CODE
LOWbackend-web/app/core/http_client.py19logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/api/__init__.py12__all__ = ["api_router", "deps"]CODE
LOWbackend-web/app/api/routes/_exports.py200__all__ = ["api_router"]CODE
LOW…ckend-web/app/api/routes/product_publish_capability.py76__all__ = ["router"]CODE
LOWbackend-web/app/api/routes/external_accounts.py80__all__ = ["router"]CODE
LOWbackend-web/app/api/routes/advertisements.py35logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/api/routes/activation.py27logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/api/routes/external_category.py190__all__ = ["router"]CODE
LOWbackend-web/app/api/routes/external_shared.py121__all__ = [CODE
LOWbackend-web/app/api/routes/items.py26logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/api/routes/external_publish.py290__all__ = ["router"]CODE
LOWbackend-web/app/api/routes/external_api_route.py52__all__ = ["ExternalApiRoute"]CODE
LOWbackend-web/app/services/xianyu_direct_publisher.py380__all__ = ["DirectPublishError", "XianyuDirectPublisher"]CODE
LOWbackend-web/app/services/recharge_service.py28logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/services/withdraw_risk_check.py30logger = logging.getLogger(__name__)CODE
LOW…ckend-web/app/services/user_publish_address_service.py15__all__ = ["UserPublishAddressService", "_address_to_dict"]CODE
LOW…web/app/services/publish_account_capability_service.py116__all__ = ["PublishAccountCapabilityService"]CODE
LOWbackend-web/app/services/dashboard_stats_service.py31logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/services/settlement_service.py31logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/services/websocket_client.py20logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/services/xianyu_personal_publisher.py221__all__ = ["XianyuPersonalPublisher"]CODE
LOWbackend-web/app/services/item_service.py16__all__ = ["ItemService"]CODE
LOWbackend-web/app/services/order_service.py15__all__ = ["OrderService"]STRING
LOWbackend-web/app/services/remote_content_service.py20logger = logging.getLogger(__name__)CODE
LOWbackend-web/app/services/platform_category_selection.py215__all__ = ["CategorySelectionError", "build_category_selection"]CODE
LOWbackend-web/app/services/account_service.py396 async def update_pause_duration(self, account: XYAccount, duration: int) -> None:CODE
LOWbackend-web/app/services/account_service.py401 async def update_message_expire_time(self, account: XYAccount, expire_time: int) -> None:CODE
LOWbackend-web/app/services/account_service.py407 async def update_reply_delay(self, account: XYAccount, delay_seconds: int) -> None:CODE
LOWbackend-web/app/services/account_service.py430 async def update_scheduled_redelivery(self, account: XYAccount, scheduled_redelivery: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py436 async def update_scheduled_rate(self, account: XYAccount, scheduled_rate: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py593 async def update_auto_polish(self, account: XYAccount, auto_polish: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py599 async def update_confirm_before_send(self, account: XYAccount, confirm_before_send: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py360 async def update_cookie(self, account: XYAccount, value: str) -> None:CODE
LOWbackend-web/app/services/account_service.py366 async def update_status(self, account: XYAccount, enabled: bool, disable_reason: str | None = None) -> None:CODE
LOWbackend-web/app/services/account_service.py380 async def update_remark(self, account: XYAccount, remark: str) -> None:CODE
LOWbackend-web/app/services/account_service.py385 async def update_auto_confirm(self, account: XYAccount, auto_confirm: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py612 async def update_send_before_confirm(self, account: XYAccount, send_before_confirm: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py625 async def update_only_send_card(self, account: XYAccount, only_send_card: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py643 async def update_auto_red_flower(self, account: XYAccount, auto_red_flower: bool) -> None:CODE
LOWbackend-web/app/services/account_service.py659 async def update_ai_reply_block_ordered_users(self, account: XYAccount, ai_reply_block_ordered_users: bool) -> None:CODE
LOWbackend-web/app/services/__init__.py13__all__ = [CODE
LOWbackend-web/app/services/alipay_service.py30logger = logging.getLogger(__name__)CODE
LOW…end-web/app/services/external_publish_media_service.py191__all__ = ["ExternalPublishMediaError", "ExternalPublishMediaService"]CODE
LOWbackend-web/app/services/publish_address_service.py17__all__ = ["PublishAddressService", "ResolvedPublishAddress", "PublishAddressQueueState", "_address_to_dict"]CODE
LOWbackend-web/app/services/listing_monitor_service.py12__all__ = ["ListingMonitorService", "_task_to_dict"]CODE
LOW…ckend-web/app/services/publish_batch_status_service.py90 async def _update_account(cls, batch_id: str, account_id: str, **kwargs: Any) -> None:CODE
LOWbackend-web/app/services/goofish_crawler.py60 def set_loop(self, loop: asyncio.AbstractEventLoop) -> None:CODE
LOWbackend-web/app/services/external_account_service.py137__all__ = ["ExternalAccountAccessError", "ExternalAccountService"]CODE
LOWbackend-web/app/services/system_setting_service.py205 async def set_setting(self, key: str, value: str, description: str | None = None) -> None:CODE
LOWbackend-web/app/services/system_setting_service.py224 async def set_settings(self, settings: Dict[str, tuple[str, str | None]]) -> None:CODE
LOWbackend-web/app/services/qr_login/__init__.py10__all__ = ["QRLoginManager", "qr_login_manager"]STRING
LOWbackend-web/app/services/password_login/__init__.py15__all__ = ["PasswordLoginManager", "password_login_manager", "SESSION_PREFIX"]CODE
LOWbackend-web/app/services/captcha/_exports.py34__all__ = [CODE
LOWbackend-web/app/services/search/__init__.py15__all__ = [STRING
LOWbackend-web/app/services/compass/__init__.py9__all__ = ["GoofishCompassService"]STRING
48 more matches not shown…
Cross-Language Confusion17 hits · 90 pts
SeverityFileLineSnippetContext
HIGHbackend-web/app/api/routes/payment.py177 body: body.toString()CODE
HIGHbackend-web/app/api/routes/payment.py269 body: body.toString()CODE
HIGHbackend-web/app/services/xianyu_publisher.py135 Object.defineProperty(navigator, 'webdriver', { get: () => undefined });CODE
HIGHbackend-web/app/services/search/slider_handler.py299 return null;CODE
HIGH…bsocket/app/services/xianyu/cookies_refresh_service.py153 Object.defineProperty(navigator, 'webdriver', { get: () => undefined });STRING
HIGHlauncher/service_manager.py123 error_msg = f'{{"success":false,"code":502,"message":"代理请求失败: {str(e)}","data":null}}'CODE
HIGHcommon/services/captcha/verification_checker.py159 if (button && track) {CODE
HIGHcommon/services/captcha/verification_checker.py164 return null;CODE
HIGHcommon/services/captcha/browser_features.py36 get: () => undefined,CODE
HIGHcommon/services/captcha/xianyu_slider_stealth.py1009 if (verifyButton && verifyButton.innerText && verifyButton.innerText.includes('立即验证')) {CODE
HIGHcommon/services/captcha/xianyu_slider_stealth.py1010 const href = verifyButton.href || verifyButton.getAttribute('href') || null;CODE
HIGHcommon/services/captcha/xianyu_slider_stealth.py1010 const href = verifyButton.href || verifyButton.getAttribute('href') || null;CODE
HIGHcommon/services/captcha/xianyu_slider_stealth.py1016 return null;CODE
HIGHcommon/services/captcha/real_mouse_slider.py129try { Object.defineProperty(navigator, 'webdriver', { get: () => undefined, configurable: true }); } catch (e) {}CODE
HIGHcommon/services/captcha/real_mouse_slider.py140 window.__cal.push([e.clientX, e.clientY, e.screenX, e.screenY, e.timeStamp, e.buttons]);CODE
HIGHcommon/services/captcha/real_mouse_coordinates.py90 if (!button || !track) return null;STRING
HIGHcommon/services/captcha/slider_stealth.py146 raise ImportError("Playwright 未安装,请运行: pip install playwright && playwright install chromium")CODE
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHpromotion/backend/app/services/product_rule_service.py0分页查询删除规则 args: session: 数据库会话 user_id: 用户id page: 页码 page_size: 每页条数 is_admin: 是否管理员(管理员查看所有用户数据) returns: 包含规则列表和总数的字典STRING
HIGHpromotion/backend/app/services/publish_rule_service.py0分页查询删除规则 args: session: 数据库会话 user_id: 用户id page: 页码 page_size: 每页条数 is_admin: 是否管理员(管理员查看所有用户数据) returns: 包含规则列表和总数的字典STRING
HIGHpromotion/backend/app/services/delete_rule_service.py0分页查询删除规则 args: session: 数据库会话 user_id: 用户id page: 页码 page_size: 每页条数 is_admin: 是否管理员(管理员查看所有用户数据) returns: 包含规则列表和总数的字典STRING
HIGH…heduler/app/services/scheduler/listing_monitor_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGHscheduler/app/services/scheduler/polish_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGHscheduler/app/services/scheduler/redelivery_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGHscheduler/app/services/scheduler/red_flower_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGHscheduler/app/services/scheduler/login_renew_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGH…eduler/app/services/scheduler/api_cookie_renew_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
HIGHscheduler/app/services/scheduler/rate_task.py0主动清理过期的补评价日志 删除 created_at 早于 (当前北京时间 - log_retention_days 天) 的日志记录, 避免日志表无限增长。使用参数化的 orm delete 语句,避免 sql 注入。STRING
AI Structural Patterns40 hits · 36 pts
SeverityFileLineSnippetContext
LOWpromotion/backend/app/api/routes/material.py35CODE
LOWpromotion/backend/app/api/routes/taobao_alliance.py69CODE
LOWpromotion/backend/app/api/routes/taobao_alliance.py21CODE
LOWpromotion/backend/app/api/routes/taobao_alliance.py93CODE
LOWpromotion/backend/app/api/routes/taobao_alliance.py124CODE
LOW…motion/backend/app/services/taobao_alliance_service.py78CODE
LOW…motion/backend/app/services/taobao_alliance_service.py198CODE
LOWbackend-web/app/api/routes/listing_monitor.py445CODE
LOWbackend-web/app/api/routes/cookies.py230CODE
LOWbackend-web/app/api/routes/cookies.py1050CODE
LOWbackend-web/app/api/routes/product_publish.py318CODE
LOWbackend-web/app/api/routes/risk_control_logs.py30CODE
LOWbackend-web/app/api/routes/cards.py185CODE
LOWbackend-web/app/api/routes/auto_reply_logs.py15CODE
LOWbackend-web/app/api/routes/orders.py56CODE
LOWbackend-web/app/api/routes/distribution.py109CODE
LOWbackend-web/app/api/routes/distribution.py198CODE
LOWbackend-web/app/api/routes/distribution.py177CODE
LOWbackend-web/app/api/routes/distribution.py338CODE
LOWbackend-web/app/api/routes/distribution.py356CODE
LOWbackend-web/app/api/routes/distribution.py376CODE
LOWbackend-web/app/api/routes/distribution.py451CODE
LOWbackend-web/app/api/routes/distribution.py503CODE
LOWbackend-web/app/api/routes/distribution.py527CODE
LOWbackend-web/app/api/routes/account_login_logs.py21CODE
LOWbackend-web/app/api/routes/items.py102CODE
LOWbackend-web/app/api/routes/payment.py46CODE
LOWbackend-web/app/services/websocket_client.py247CODE
LOWbackend-web/app/services/publish_execution_service.py41CODE
LOWbackend-web/app/services/account_service.py70CODE
LOWbackend-web/app/services/auto_reply_log_service.py93CODE
LOWbackend-web/app/services/dock_record_service.py305CODE
LOWwebsocket/app/services/xianyu/auto_delivery_handler.py2942CODE
LOWcommon/services/publish_log_service.py25CODE
LOWcommon/services/order_service.py95CODE
LOWcommon/services/listing_monitor_service.py1103CODE
LOWcommon/services/delivery_block_rule_meta.py62CODE
LOWcommon/services/xianyu_mtop.py127CODE
LOWcommon/services/captcha/real_mouse_slider.py99CODE
LOWcommon/services/captcha/orchestrator.py107CODE
Over-Commented Block3 hits · 2 pts
SeverityFileLineSnippetContext
LOWupdate.sh1#!/bin/bashCOMMENT
LOWwebsocket/app/api/routes/internal.py1581 COMMENT
LOWfrontend/src/pages/items/Items.tsx261 if (!_hasHydrated || !isAuthenticated || !token) returnCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcommon/db/init_database.py3554 VALUES ('admin', 'admin@example.com', :password_hash, 'ACTIVE', 'ADMIN', NOW(), NOW())CODE
LOWcommon/services/promotion_address_selector.py227 placeholder = str(await current_input.get_attribute("placeholder") or "")CODE