Repository Analysis

dreammis/social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

13.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dreammis/social-auto-upload, a Python project with 13,265 GitHub stars. SynthScan v2.0 examined 19,515 lines of code across 129 source files, recording 252 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 13.2 places this repository in the Low AI signal band.

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

13.2
Adjusted Score
13.2
Raw Score
100%
Time Factor
2026-06-26
Last Push
13.3K
Stars
Python
Language
19.5K
Lines of Code
129
Files
252
Pattern Hits
2026-07-14
Scan Date
0.02
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 3MEDIUM 5LOW 244

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 252 distinct pattern matches across 9 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 Wrapping111 hits · 104 pts
SeverityFileLineSnippetContext
LOWsau_cli.py1015 except Exception as exc:CODE
LOWsau_backend.py73 except Exception as e:CODE
LOWsau_backend.py151 except Exception as e:STRING
LOWsau_backend.py191 except Exception as e:STRING
LOWsau_backend.py221 except Exception as e:CODE
LOWsau_backend.py297 except Exception as e:STRING
LOWsau_backend.py316 except Exception as e:STRING
LOWsau_backend.py362 except Exception as e:STRING
LOWsau_backend.py375 except Exception as e:STRING
LOWsau_backend.py473 except Exception as e:STRING
LOWsau_backend.py512 except Exception as e:STRING
LOWsau_backend.py633 except Exception as e:STRING
LOWsau_backend.py679 except Exception as e:STRING
MEDIUMsau_backend.py160def get_all_files():CODE
MEDIUMsau_backend.py569def upload_cookie():CODE
MEDIUMsau_backend.py644def download_cookie():CODE
LOWuploader/tk_uploader/main.py158 except Exception as e:CODE
LOWuploader/tk_uploader/main.py231 except Exception as e:CODE
LOWuploader/tk_uploader/main_chrome.py165 except Exception as e:CODE
LOWuploader/tk_uploader/main_chrome.py267 except Exception as e:CODE
LOWuploader/ks_uploader/main.py80 except Exception:CODE
LOWuploader/ks_uploader/main.py95 except Exception:CODE
LOWuploader/ks_uploader/main.py139 except Exception:CODE
LOWuploader/ks_uploader/main.py149 except Exception:CODE
LOWuploader/ks_uploader/main.py170 except Exception as exc:CODE
LOWuploader/ks_uploader/main.py268 except Exception as exc:CODE
LOWuploader/ks_uploader/main.py491 except Exception:STRING
LOWuploader/ks_uploader/main.py525 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py552 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py631 except Exception:STRING
LOWuploader/ks_uploader/main.py666 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py691 except Exception as exc:STRING
LOWuploader/youtube_uploader/main.py28except Exception:CODE
LOWuploader/youtube_uploader/main.py64 except Exception:CODE
LOWuploader/youtube_uploader/main.py117 except Exception:CODE
LOWuploader/youtube_uploader/main.py124 except Exception:CODE
LOWuploader/youtube_uploader/main.py141 except Exception:CODE
LOWuploader/youtube_uploader/main.py153 except Exception:CODE
LOWuploader/youtube_uploader/main.py171 except Exception:CODE
LOWuploader/youtube_uploader/main.py244 except Exception as exc:CODE
LOWuploader/youtube_uploader/main.py267 except Exception as exc:CODE
LOWuploader/youtube_uploader/main.py286 except Exception as exc:CODE
LOWuploader/youtube_uploader/main.py318 except Exception:CODE
LOWuploader/youtube_uploader/main.py326 except Exception:CODE
LOWuploader/bilibili_uploader/runtime.py163 except Exception:CODE
LOWuploader/tencent_uploader/main.py129 except Exception as exc:CODE
LOWuploader/tencent_uploader/main.py145 except Exception:CODE
LOWuploader/tencent_uploader/main.py243 except Exception:CODE
LOWuploader/tencent_uploader/main.py258 except Exception:CODE
LOWuploader/tencent_uploader/main.py162 except Exception:CODE
LOWuploader/tencent_uploader/main.py209 except Exception:CODE
LOWuploader/tencent_uploader/main.py225 except Exception:CODE
LOWuploader/tencent_uploader/main.py275 except Exception:CODE
LOWuploader/tencent_uploader/main.py295 except Exception:CODE
LOWuploader/tencent_uploader/main.py384 except Exception as exc:CODE
LOWuploader/tencent_uploader/main.py500 except Exception:CODE
LOWuploader/tencent_uploader/main.py514 except Exception:CODE
LOWuploader/tencent_uploader/main.py576 except Exception:CODE
LOWuploader/tencent_uploader/main.py637 except Exception:CODE
LOWuploader/tencent_uploader/main.py652 except Exception as exc:CODE
51 more matches not shown…
Hyper-Verbose Identifiers77 hits · 78 pts
SeverityFileLineSnippetContext
LOWsau_cli.py243async def login_xiaohongshu_account(account_name: str, headless: bool = True) -> dict:CODE
LOWsau_cli.py248async def check_xiaohongshu_account(account_name: str) -> bool:CODE
LOWuploader/bilibili_uploader/runtime.py43def build_biliup_runtime_path(system_name: str | None = None) -> Path:CODE
LOWuploader/bilibili_uploader/runtime.py48def _build_biliup_version_path(system_name: str | None = None) -> Path:CODE
LOWuploader/bilibili_uploader/runtime.py96def read_local_biliup_version() -> str | None:CODE
LOWuploader/bilibili_uploader/runtime.py103def write_local_biliup_version(version: str) -> None:CODE
LOWuploader/tencent_uploader/main.py136async def _extract_tencent_qrcode_src(page: Page) -> str:CODE
LOWuploader/tencent_uploader/main.py248async def _is_tencent_qrcode_scanned(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py93def format_str_for_short_title(origin_title: str) -> str:CODE
LOWuploader/tencent_uploader/main.py199async def _is_tencent_login_completed(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py231async def _is_tencent_qrcode_expired(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py473 async def set_schedule_time_tencent(self, page: Page, publish_date: datetime):CODE
LOWuploader/tencent_uploader/main.py808 async def upload_thumbnail_in_dialog(self, page: Page, cover_dialog, thumbnail_path: str) -> None:CODE
LOWuploader/tencent_uploader/main.py876 async def prepare_video_for_publish(self, page: Page) -> None:CODE
LOWuploader/douyin_uploader/main.py89async def _extract_douyin_qrcode_src(page: Page) -> str:CODE
LOWuploader/douyin_uploader/main.py149async def _is_douyin_login_completed(page: Page) -> bool:CODE
LOWuploader/douyin_uploader/main.py305 async def fill_title_and_description(self, page: Page, title: str, description: str, tags: list[str] | None = None):CODE
LOWuploader/xiaohongshu_uploader/main.py323 async def set_schedule_time_xiaohongshu(self, page: Page, publish_date: datetime):CODE
LOWuploader/xiaohongshu_uploader/main.py449 async def check_original_declaration(self, page: Page) -> None:CODE
LOWtests/test_xiaohongshu_uploader.py93 def test_creator_urls_keep_xiaohongshu_domain_by_default(self):CODE
LOWtests/test_xiaohongshu_uploader.py100 def test_creator_urls_use_configured_rednote_domain(self):CODE
LOWtests/test_xiaohongshu_uploader.py116 def test_find_xhs_qrcode_locator_prefers_scan_sibling_inside_login_box(self):CODE
LOWtests/test_xiaohongshu_uploader.py144 def test_setup_returns_detail_when_cookie_invalid_without_handle(self):CODE
LOWtests/test_xiaohongshu_uploader.py156 def test_setup_uses_login_flow_when_handle_is_true(self):CODE
LOWtests/test_xiaohongshu_uploader.py180 def test_video_validate_upload_args_normalizes_video_and_thumbnail(self):CODE
LOWtests/test_xiaohongshu_uploader.py207 def test_note_uploader_exists_and_validates_required_fields(self):CODE
LOWtests/test_xiaohongshu_uploader.py221 def test_video_fill_meta_uses_desc_then_first_tag(self):CODE
LOWtests/test_xiaohongshu_uploader.py249 def test_video_fill_meta_can_fill_first_tag_without_desc(self):CODE
LOWtests/test_xiaohongshu_uploader.py268 def test_note_title_defaults_do_not_override_explicit_title(self):CODE
LOWtests/test_bilibili_runtime.py13 def test_build_biliup_runtime_path_returns_platform_path(self):CODE
LOWtests/test_bilibili_runtime.py18 def test_ensure_biliup_binary_downloads_when_missing(self, mock_release):CODE
LOWtests/test_bilibili_runtime.py33 def test_ensure_biliup_binary_reuses_local_when_up_to_date(self, mock_release):CODE
LOWtests/test_bilibili_runtime.py49 def test_run_biliup_command_returns_completed_process(self, mock_ensure_binary, mock_run):CODE
LOWtests/test_bilibili_runtime.py57 def test_run_biliup_command_login_uses_interactive_stdio(self, mock_ensure_binary, mock_run):CODE
LOWtests/test_sau_browser_cli.py12 def test_build_parser_accepts_xiaohongshu_login(self):CODE
LOWtests/test_sau_browser_cli.py18 def test_douyin_upload_video_accepts_desc(self):CODE
LOWtests/test_sau_browser_cli.py41 def test_douyin_upload_video_accepts_dual_thumbnail_aspects(self):CODE
LOWtests/test_sau_browser_cli.py71 def test_tencent_upload_video_accepts_dual_thumbnail_aspects(self):CODE
LOWtests/test_sau_browser_cli.py101 def test_kuaishou_upload_note_accepts_title_and_note(self):CODE
LOWtests/test_sau_browser_cli.py125 def test_xiaohongshu_upload_video_defaults_to_headless(self):CODE
LOWtests/test_sau_browser_cli.py146 def test_xiaohongshu_upload_note_accepts_headed(self):CODE
LOWtests/test_sau_browser_cli.py172 def test_dispatch_xiaohongshu_check_prints_valid(self):CODE
LOWtests/test_sau_browser_cli.py178 def test_dispatch_douyin_upload_note_uses_new_request_fields(self):CODE
LOWtests/test_sau_browser_cli.py198 def test_dispatch_douyin_upload_video_uses_dual_thumbnail_request_fields(self):CODE
LOWtests/test_sau_browser_cli.py223 def test_dispatch_tencent_upload_video_uses_dual_thumbnail_request_fields(self):CODE
LOWtests/test_sau_browser_cli.py249 def test_dispatch_xiaohongshu_upload_video_uses_headed_request(self):CODE
LOWtests/test_sau_browser_cli.py271 def test_dispatch_xiaohongshu_upload_note_uses_headless_request(self):CODE
LOWtests/test_sau_bilibili_cli.py10 def test_build_parser_accepts_bilibili_login(self):CODE
LOWtests/test_sau_bilibili_cli.py16 def test_build_parser_requires_tid_for_upload_video(self):CODE
LOWtests/test_sau_bilibili_cli.py34 def test_dispatch_bilibili_check_prints_valid(self):CODE
LOWtests/test_sau_bilibili_cli.py40 def test_login_bilibili_account_returns_friendly_message_without_terminal(self):CODE
LOWutils/base_social_media.py13def get_supported_social_media() -> List[str]:CODE
LOWutils/files_times.py41def generate_schedule_time_next_day(total_videos, videos_per_day = 1, daily_times=None, timestamps=False, start_days=0):CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md83 def test_build_biliup_runtime_path_returns_platform_path(self):CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md88 def test_ensure_biliup_binary_downloads_when_missing(self, mock_release):CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md99 def test_ensure_biliup_binary_reuses_local_when_up_to_date(self, mock_release):CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md111 def test_run_biliup_command_returns_completed_process(self, mock_run):CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md135def build_biliup_runtime_path(system_name: str | None = None) -> Path: ...CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md137def read_local_biliup_version() -> str | None: ...CODE
LOW…powers/plans/2026-03-25-bilibili-cli-implementation.md138def write_local_biliup_version(version: str) -> None: ...CODE
17 more matches not shown…
Unused Imports31 hits · 30 pts
SeverityFileLineSnippetContext
LOWsau_cli.py1CODE
LOWsau_backend.py11CODE
LOWuploader/base_video.py1CODE
LOWuploader/ks_uploader/main.py2CODE
LOWuploader/bilibili_uploader/runtime.py1CODE
LOWuploader/tencent_uploader/__init__.py7CODE
LOWuploader/tencent_uploader/__init__.py8CODE
LOWuploader/tencent_uploader/__init__.py9CODE
LOWuploader/tencent_uploader/__init__.py10CODE
LOWuploader/tencent_uploader/__init__.py11CODE
LOWuploader/tencent_uploader/__init__.py12CODE
LOWuploader/tencent_uploader/__init__.py13CODE
LOWuploader/tencent_uploader/__init__.py14CODE
LOWuploader/tencent_uploader/__init__.py15CODE
LOWuploader/tencent_uploader/__init__.py16CODE
LOWuploader/tencent_uploader/__init__.py17CODE
LOWuploader/tencent_uploader/main.py2CODE
LOWuploader/xiaohongshu_uploader/main.py2CODE
LOWexamples/upload_to_kuaishou.py14CODE
LOWexamples/get_bilibili_cookie.py1CODE
LOWdb/createTable.py2CODE
LOWdb/createTable.py3CODE
LOW…hu-upload/scripts/examples/xiaohongshu_cli_template.py1CODE
LOW…ishou-upload/scripts/examples/kuaishou_cli_template.py1CODE
LOW…ibili-upload/scripts/examples/bilibili_cli_template.py1CODE
LOW…/douyin-upload/scripts/examples/douyin_cli_template.py1CODE
LOWmyUtils/auth.py1CODE
LOWmyUtils/auth.py2CODE
LOWmyUtils/auth.py3CODE
LOWmyUtils/auth.py6CODE
LOWmyUtils/auth.py12CODE
Deep Nesting21 hits · 19 pts
SeverityFileLineSnippetContext
LOWsau_cli.py732CODE
LOWsau_backend.py160CODE
LOWsau_backend.py262CODE
LOWsau_backend.py324CODE
LOWuploader/tk_uploader/main.py241CODE
LOWuploader/tk_uploader/main_chrome.py281CODE
LOWuploader/ks_uploader/main.py191CODE
LOWuploader/ks_uploader/main.py451CODE
LOWuploader/youtube_uploader/main.py157CODE
LOWuploader/youtube_uploader/main.py200CODE
LOWuploader/bilibili_uploader/runtime.py123CODE
LOWuploader/tencent_uploader/main.py568CODE
LOWuploader/tencent_uploader/main.py688CODE
LOWuploader/douyin_uploader/main.py173CODE
LOWuploader/douyin_uploader/main.py550CODE
LOWuploader/xiaohongshu_uploader/main.py157CODE
LOWuploader/xiaohongshu_uploader/main.py222CODE
LOWuploader/xiaohongshu_uploader/main.py540CODE
LOWuploader/baijiahao_uploader/main.py254CODE
LOWtests/test_bilibili_runtime.py18CODE
LOWtests/test_bilibili_runtime.py33CODE
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHuploader/youtube_uploader/main.py116 await page.evaluate("() => { const a = document.activeElement; if (a && a.blur) a.blur(); }")CODE
HIGHuploader/baijiahao_uploader/main.py390 processedList.push(title);CODE
HIGHuploader/baijiahao_uploader/main.py397 batchList.push(title);CODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWuploader/tencent_uploader/__init__.py19__all__ = [CODE
LOWuploader/tencent_uploader/main.py534 async def set_short_title(self, page: Page, title: str, short_title: str | None = None) -> None:CODE
LOWuploader/tencent_uploader/main.py841 async def set_thumbnail(self, page: Page) -> None:CODE
LOWuploader/douyin_uploader/main.py406 async def set_self_declaration(self, page: Page, declaration: str = "内容为个人观点或见解") -> None:CODE
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWuploader/tencent_uploader/main.py720CODE
LOWuploader/douyin_uploader/main.py503CODE
LOWmyUtils/postVideo.py32CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMuploader/baijiahao_uploader/main.py119CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsau_frontend/src/api/index.js1// API 统一导出COMMENT