Repository Analysis

dreammis/social-auto-upload

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

17.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dreammis/social-auto-upload, a Python project with 14,642 GitHub stars. SynthScan v2.0 examined 23,348 lines of code across 140 source files, recording 411 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 17.6 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).

17.6
Adjusted Score
17.6
Raw Score
100%
Time Factor
2026-08-19
Last Push
14.6K
Stars
Python
Language
23.3K
Lines of Code
140
Files
411
Pattern Hits
2026-08-29
Scan Date
0.05
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 7MEDIUM 6LOW 398

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 411 distinct pattern matches across 8 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 Wrapping233 hits · 223 pts
SeverityFileLineSnippetContext
LOWsau_cli.py1450 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.py47 except Exception:CODE
LOWuploader/ks_uploader/main.py51 except Exception:CODE
LOWuploader/ks_uploader/main.py86 except Exception as e: # noqa: BLE001CODE
LOWuploader/ks_uploader/main.py136 except Exception:CODE
LOWuploader/ks_uploader/main.py151 except Exception:CODE
LOWuploader/ks_uploader/main.py195 except Exception:CODE
LOWuploader/ks_uploader/main.py205 except Exception:CODE
LOWuploader/ks_uploader/main.py239 except Exception:CODE
LOWuploader/ks_uploader/main.py247 except Exception as exc:CODE
LOWuploader/ks_uploader/main.py345 except Exception as exc:CODE
LOWuploader/ks_uploader/main.py475 except Exception:STRING
LOWuploader/ks_uploader/main.py485 except Exception:STRING
LOWuploader/ks_uploader/main.py555 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py559 except Exception:STRING
LOWuploader/ks_uploader/main.py643 except Exception:STRING
LOWuploader/ks_uploader/main.py679 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py708 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py787 except Exception:STRING
LOWuploader/ks_uploader/main.py822 except Exception as exc:STRING
LOWuploader/ks_uploader/main.py847 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.py141 except Exception as exc:CODE
LOWuploader/tencent_uploader/main.py157 except Exception:CODE
LOWuploader/tencent_uploader/main.py282 except Exception:CODE
LOWuploader/tencent_uploader/main.py297 except Exception:CODE
LOWuploader/tencent_uploader/main.py594 except Exception:CODE
LOWuploader/tencent_uploader/main.py600 except Exception:CODE
LOWuploader/tencent_uploader/main.py608 except Exception:CODE
173 more matches not shown…
Hyper-Verbose Identifiers93 hits · 97 pts
SeverityFileLineSnippetContext
LOWsau_cli.py319async def login_xiaohongshu_account(account_name: str, headless: bool = True) -> dict:CODE
LOWsau_cli.py324async 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.py148async def _extract_tencent_qrcode_src(page: Page) -> str:CODE
LOWuploader/tencent_uploader/main.py287async def _is_tencent_qrcode_scanned(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py97def format_str_for_short_title(origin_title: str) -> str:CODE
LOWuploader/tencent_uploader/main.py238async def _is_tencent_login_completed(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py270async def _is_tencent_qrcode_expired(page: Page) -> bool:CODE
LOWuploader/tencent_uploader/main.py524 async def wait_for_realtime_verification(CODE
LOWuploader/tencent_uploader/main.py551 async def set_schedule_time_tencent(self, page: Page, publish_date: datetime):CODE
LOWuploader/tencent_uploader/main.py695 async def _dismiss_switch_account_dialog(self, page: Page) -> None:CODE
LOWuploader/tencent_uploader/main.py1031 async def upload_thumbnail_in_dialog(self, page: Page, cover_dialog, thumbnail_path: str) -> None:CODE
LOWuploader/tencent_uploader/main.py1098 async def prepare_video_for_publish(self, page: Page) -> None:CODE
LOWuploader/alipay_uploader/main.py213async def _is_alipay_login_completed(page: Page, login_iframe) -> bool:CODE
LOWuploader/douyin_uploader/main.py150async def _extract_douyin_qrcode_src(page: Page) -> str:CODE
LOWuploader/douyin_uploader/main.py210async def _is_douyin_login_completed(page: Page) -> bool:CODE
LOWuploader/douyin_uploader/main.py376 async def fill_title_and_description(self, page: Page, title: str, description: str, tags: list[str] | None = None):CODE
LOWuploader/xiaohongshu_uploader/main.py343 async def set_schedule_time_xiaohongshu(self, page: Page, publish_date: datetime):CODE
LOWuploader/xiaohongshu_uploader/main.py469 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_douyin_declaration.py11 def test_upload_only_sets_explicit_declaration(self):CODE
LOWtests/test_douyin_declaration.py18 def test_missing_declaration_does_not_fall_back_to_personal_opinion(self):CODE
LOWtests/test_douyin_declaration.py22 def test_legacy_positional_runtime_flags_keep_their_meaning(self):CODE
LOWtests/test_douyin_declaration.py33 def test_apply_declaration_skips_when_unspecified(self):CODE
LOWtests/test_douyin_declaration.py39 def test_apply_declaration_uses_exact_explicit_text(self):CODE
LOWtests/test_douyin_declaration.py49 def test_explicit_declaration_failure_blocks_publish(self):CODE
LOWtests/test_douyin_declaration.py58 def test_declaration_failure_closes_browser_resources(self):CODE
LOWtests/test_tencent_verification_dialog.py9def test_wait_for_realtime_verification_saves_qr_and_resumes(tmp_path: Path):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_douyin_upload_video_accepts_explicit_declaration(self):CODE
LOWtests/test_sau_browser_cli.py83 def test_douyin_upload_video_has_no_implicit_declaration(self):CODE
LOWtests/test_sau_browser_cli.py93 def test_douyin_request_legacy_positional_runtime_flags_keep_their_meaning(self):CODE
LOWtests/test_sau_browser_cli.py103 def test_tencent_upload_video_accepts_dual_thumbnail_aspects(self):CODE
LOWtests/test_sau_browser_cli.py133 def test_kuaishou_upload_note_accepts_title_and_note(self):CODE
LOWtests/test_sau_browser_cli.py157 def test_xiaohongshu_upload_video_defaults_to_headless(self):CODE
LOWtests/test_sau_browser_cli.py178 def test_xiaohongshu_upload_note_accepts_headed(self):CODE
LOWtests/test_sau_browser_cli.py204 def test_upload_tencent_video_forwards_collection_name_to_uploader(self):CODE
LOWtests/test_sau_browser_cli.py223 def test_dispatch_xiaohongshu_check_prints_valid(self):CODE
LOWtests/test_sau_browser_cli.py229 def test_dispatch_douyin_upload_note_uses_new_request_fields(self):CODE
LOWtests/test_sau_browser_cli.py249 def test_dispatch_douyin_upload_video_uses_dual_thumbnail_request_fields(self):CODE
LOWtests/test_sau_browser_cli.py276 def test_dispatch_tencent_upload_video_uses_dual_thumbnail_request_fields(self):CODE
33 more matches not shown…
Unused Imports39 hits · 36 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/alipay_uploader/main.py2CODE
LOWuploader/alipay_uploader/main.py8CODE
LOWuploader/alipay_uploader/main.py16CODE
LOWuploader/hupu_uploader/main.py16CODE
LOWuploader/xiaohongshu_uploader/main.py2CODE
LOWuploader/weibo_uploader/main.py14CODE
LOWuploader/baijiahao_uploader/main.py10CODE
LOWuploader/baijiahao_uploader/main.py14CODE
LOWexamples/upload_to_kuaishou.py14CODE
LOWexamples/get_bilibili_cookie.py1CODE
LOWexamples/test_alipay_upload.py5CODE
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
Cross-Language Confusion7 hits · 26 pts
SeverityFileLineSnippetContext
HIGHuploader/youtube_uploader/main.py116 await page.evaluate("() => { const a = document.activeElement; if (a && a.blur) a.blur(); }")CODE
HIGHuploader/alipay_uploader/main.py480 topElement: topEl ? `${topEl.tagName}.${topEl.className || ''}` : null,STRING
HIGHuploader/alipay_uploader/main.py487 return st.display !== 'none' && st.visibility !== 'hidden' && r.width > 0 && r.height > 0;STRING
HIGHuploader/alipay_uploader/main.py502 activeElement: document.activeElement ? `${document.activeElement.tagName}.${document.activeElemSTRING
HIGHuploader/douyin_uploader/main.py686 if (document.activeElement && document.activeElement.blur) document.activeElement.blur();STRING
HIGHuploader/hupu_uploader/main.py44Object.defineProperty(navigator, 'webdriver', { get: () => undefined });CODE
HIGHuploader/xiaohongshu_uploader/main.py60 for (let i = 0; i < 4 && el; i++) { try { el.click(); } catch (e) {} el = el.parentElement; }STRING
Deep Nesting32 hits · 23 pts
SeverityFileLineSnippetContext
LOWsau_cli.py1039CODE
LOWsau_backend.py160CODE
LOWsau_backend.py262CODE
LOWsau_backend.py324CODE
LOWuploader/tk_uploader/main.py241CODE
LOWuploader/tk_uploader/main_chrome.py281CODE
LOWuploader/ks_uploader/main.py268CODE
LOWuploader/ks_uploader/main.py603CODE
LOWuploader/youtube_uploader/main.py157CODE
LOWuploader/youtube_uploader/main.py200CODE
LOWuploader/bilibili_uploader/runtime.py123CODE
LOWuploader/tencent_uploader/main.py148CODE
LOWuploader/tencent_uploader/main.py624CODE
LOWuploader/tencent_uploader/main.py810CODE
LOWuploader/tencent_uploader/main.py882CODE
LOWuploader/alipay_uploader/main.py136CODE
LOWuploader/alipay_uploader/main.py450CODE
LOWuploader/douyin_uploader/main.py234CODE
LOWuploader/douyin_uploader/main.py265CODE
LOWuploader/douyin_uploader/main.py795CODE
LOWuploader/douyin_uploader/main.py816CODE
LOWuploader/douyin_uploader/main.py971CODE
LOWuploader/hupu_uploader/main.py193CODE
LOWuploader/xiaohongshu_uploader/main.py177CODE
LOWuploader/xiaohongshu_uploader/main.py242CODE
LOWuploader/xiaohongshu_uploader/main.py623CODE
LOWuploader/weibo_uploader/main.py398CODE
LOWuploader/weibo_uploader/main.py452CODE
LOWuploader/weibo_uploader/main.py629CODE
LOWuploader/weibo_uploader/main.py744CODE
LOWtests/test_bilibili_runtime.py18CODE
LOWtests/test_bilibili_runtime.py33CODE
Modern Structural Boilerplate3 hits · 2 pts
SeverityFileLineSnippetContext
LOWuploader/tencent_uploader/__init__.py19__all__ = [CODE
LOWuploader/tencent_uploader/main.py676 async def set_short_title(self, page: Page, title: str, short_title: str | None = None) -> None:CODE
LOWuploader/tencent_uploader/main.py1063 async def set_thumbnail(self, page: Page) -> None:CODE
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWuploader/tencent_uploader/main.py941CODE
LOWuploader/douyin_uploader/main.py629CODE
LOWmyUtils/postVideo.py32CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsau_frontend/src/api/index.js1// API 统一导出COMMENT