GitHub 汉化插件,GitHub 中文化界面。 (GitHub Translation To Chinese)
This report presents the forensic synthetic code analysis of maboloshi/github-chinese, a JavaScript project with 28,568 GitHub stars. SynthScan v2.0 examined 6,996 lines of code across 19 source files, recording 84 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 14.0 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).
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.
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.
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.
The scanner identified 84 distinct pattern matches across 5 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main(greasyfork).user.js | 120 | function isReactGlobalNavSearchActive() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 126 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW⚡ | main(greasyfork).user.js | 133 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 170 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 174 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 178 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 183 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 190 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 200 | function translateReactGlobalNavAttributes(element) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 210 | function translateReactGlobalNavTextNode(node) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 217 | function translateReactGlobalNavSurface(surface) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 294 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 299 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 305 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main(greasyfork).user.js | 33 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main(greasyfork).user.js | 84 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main(greasyfork).user.js | 246 | function translateReactGlobalNavHeader() { | CODE |
| LOW | main(greasyfork).user.js | 261 | function isReactGlobalNavSearchPortal(surface) { | CODE |
| LOW | main(greasyfork).user.js | 266 | function translateReactGlobalNavPortals() { | CODE |
| LOW | main(greasyfork).user.js | 283 | function translateReactGlobalNavLabels(options = { requireSettledHeader: true }) { | CODE |
| LOW | main(greasyfork).user.js | 339 | function startReactGlobalNavTranslation() { | CODE |
| LOW | main(greasyfork).user.js | 364 | function getIgnoreMutationSelectors() { | CODE |
| LOW⚡ | main.user.js | 612 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main.user.js | 617 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main.user.js | 621 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main.user.js | 630 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main.user.js | 640 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main.user.js | 775 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main.user.js | 783 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main.user.js | 793 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main.user.js | 436 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main.user.js | 487 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main.user.js | 542 | function isReactGlobalNavSearchActive() { | CODE |
| LOW | main.user.js | 552 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW | main.user.js | 563 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW | main.user.js | 653 | function translateReactGlobalNavAttributes(element) { | CODE |
| LOW | main.user.js | 666 | function translateReactGlobalNavTextNode(node) { | CODE |
| LOW | main.user.js | 678 | function translateReactGlobalNavSurface(surface) { | CODE |
| LOW | main.user.js | 712 | function translateReactGlobalNavHeader() { | CODE |
| LOW | main.user.js | 729 | function isReactGlobalNavSearchPortal(surface) { | CODE |
| LOW | main.user.js | 738 | function translateReactGlobalNavPortals() { | CODE |
| LOW | main.user.js | 759 | function translateReactGlobalNavLabels(options = { requireSettledHeader: true }) { | CODE |
| LOW | main.user.js | 831 | function startReactGlobalNavTranslation() { | CODE |
| LOW⚡ | main_zh-TW.user.js | 514 | function isReactGlobalNavSearchActive() { | CODE |
| LOW⚡ | main_zh-TW.user.js | 520 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW⚡ | main_zh-TW.user.js | 527 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW⚡ | main_zh-TW.user.js | 564 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 568 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 572 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 577 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 584 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 594 | function translateReactGlobalNavAttributes(element) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 604 | function translateReactGlobalNavTextNode(node) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 611 | function translateReactGlobalNavSurface(surface) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 688 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main_zh-TW.user.js | 693 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main_zh-TW.user.js | 699 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main_zh-TW.user.js | 427 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main_zh-TW.user.js | 478 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main_zh-TW.user.js | 640 | function translateReactGlobalNavHeader() { | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main(greasyfork).user.js | 111 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main(greasyfork).user.js | 448 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'], // 仅观察特定属性变化 | CODE |
| LOW | main(greasyfork).user.js | 492 | transElement(node, 'placeholder'); | CODE |
| LOW | main.user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main.user.js | 524 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main.user.js | 1027 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| LOW | main(nju.edu).user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main(nju.edu).user.js | 592 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| LOW⚡ | main_zh-TW.user.js | 505 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main_zh-TW.user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main_zh-TW.user.js | 927 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README_zh-TW.md | 353 | <a href="https://github.com/heicks" title="create new ██████╗ ██╔══██╗ ██████╔╝ ██╔══██╗ ██████╔╝ ╚═════╝ ██╗ ██╗ | CODE |
| MEDIUM | README_zh-TW.md | 354 | <img src="https://avatars.githubusercontent.com/u/12287943?v=4" width="42;" alt="create new ██████╗ ██╔══██╗ ██████╔╝ | CODE |
| MEDIUM | README.md | 367 | <a href="https://github.com/heicks" title="create new ██████╗ ██╔══██╗ ██████╔╝ ██╔══██╗ ██████╔╝ ╚═════╝ ██╗ ██╗ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main(greasyfork).user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main.user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main(nju.edu).user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main_zh-TW.user.js | 1 | // ==UserScript== | COMMENT |
| LOW | script/ci_commit_with_signature.sh | 21 | P) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/rd.py | 3 | CODE |