Repository Analysis

alchaincyf/huashu-design

Huashu Design · HTML-native design skill for Claude Code · Claude Code 里 HTML 原生的设计 skill · 高保真原型 / 幻灯片 / 动画 + 20 设计哲学 + 5 维评审 + MP4 导出 · Agent-agnostic

5.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of alchaincyf/huashu-design, a HTML project with 21,399 GitHub stars. SynthScan v2.0 examined 47,094 lines of code across 100 source files, recording 104 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 5.9 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).

5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-07-02
Last Push
21.4K
Stars
HTML
Language
47.1K
Lines of Code
100
Files
104
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 2MEDIUM 75LOW 27

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 104 distinct pattern matches across 10 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.

Decorative Section Separators75 hits · 237 pts
SeverityFileLineSnippetContext
MEDIUMreferences/animation-pitfalls.md222// ━━━━━━ state ━━━━━━COMMENT
MEDIUMreferences/animation-pitfalls.md228// ━━━━━━ tick ━━━━━━COMMENT
MEDIUMreferences/animation-pitfalls.md252// ━━━━━━ boot ━━━━━━COMMENT
MEDIUMreferences/animation-pitfalls.md260// ━━━━━━ seek 接口(供 render-video 防御性矫正用)━━━━━━COMMENT
MEDIUMscripts/render-video.js100 // ── Phase 1: WARMUP (no recording, caches fonts/assets) ─────────────COMMENT
MEDIUMscripts/render-video.js113 // ── Phase 2: RECORD (fresh context, animation from t=0) ─────────────COMMENT
MEDIUMscripts/mix-voiceover.sh94# ── ffmpeg filter graph ─────────────────────────────────────COMMENT
MEDIUMscripts/render-narration.sh111# ── Step 1: 录无声 MP4 ──────────────────────COMMENT
MEDIUMscripts/render-narration.sh133# ── Step 2: 混入人声 ──────────────────────COMMENT
MEDIUMscripts/add-music.sh38# ── Parse args ───────────────────────────────────────────────────────COMMENT
MEDIUMscripts/add-music.sh65# ── Resolve music source: --music wins, else --mood ─────────────────COMMENT
MEDIUMscripts/add-music.sh80# ── Resolve output path ─────────────────────────────────────────────COMMENT
MEDIUMscripts/add-music.sh85# ── Measure video duration, compute fade-out start ──────────────────COMMENT
MEDIUMdemos/w1-brand-protocol.html546 // ── Auto-scale stage to viewport ─────────────────COMMENT
MEDIUMdemos/w1-brand-protocol.html557 // ── Easing functions ─────────────────COMMENT
MEDIUMdemos/w1-brand-protocol.html575 // ── Timeline (total 12s) ─────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html814 // ── Scale to viewport (1920×1080 canvas) ─────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html823 // ── Easing ───────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html836 // ── Elements ─────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html899 // ── SFX via WebAudio ─────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html947 // ── Timeline ─────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html975 // ── Beat 1: 0-2s ─────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html1016 // ── Beat 2: 2-8s ─────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype-en.html1050 // ── Beat 3: 8-10s ────────────────────────────────────────COMMENT
MEDIUMdemos/c5-infographic-en.html631 // ── Beat 1: 0-2s · JSON data appears, types in ─────────COMMENT
MEDIUMdemos/c5-infographic-en.html648 // ── Pipe arrow (1.8 → 2.2) ─────────────────────────────COMMENT
MEDIUMdemos/c5-infographic-en.html654 // ── Beat 2a: 2.0-3.2s · Infographic canvas arrives ─────COMMENT
MEDIUMdemos/c5-infographic-en.html667 // ── Beat 2b: 3.0-4.2s · Display headline appears ──────COMMENT
MEDIUMdemos/c5-infographic-en.html688 // ── Beat 2d: 5.2-6.4s · Comparison bars grow ─────────COMMENT
MEDIUMdemos/c5-infographic-en.html732 // ── Beat 3: 8.2-10s · Brand reveal ───────────────────COMMENT
MEDIUMdemos/c5-infographic.html628 // ── Beat 1: 0-2s · JSON data appears, types in ─────────COMMENT
MEDIUMdemos/c5-infographic.html645 // ── Pipe arrow (1.8 → 2.2) ─────────────────────────────COMMENT
MEDIUMdemos/c5-infographic.html651 // ── Beat 2a: 2.0-3.2s · Infographic canvas arrives ─────COMMENT
MEDIUMdemos/c5-infographic.html664 // ── Beat 2b: 3.0-4.2s · Display headline appears ──────COMMENT
MEDIUMdemos/c5-infographic.html685 // ── Beat 2d: 5.2-6.4s · Comparison bars grow ─────────COMMENT
MEDIUMdemos/c5-infographic.html729 // ── Beat 3: 8.2-10s · Brand reveal ───────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html811 // ── Scale to viewport (1920×1080 canvas) ─────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html820 // ── Easing ───────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html833 // ── Elements ─────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html896 // ── SFX via WebAudio ─────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html944 // ── Timeline ─────────────────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html972 // ── Beat 1: 0-2s ─────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html1013 // ── Beat 2: 2-8s ─────────────────────────────────────────COMMENT
MEDIUMdemos/c1-ios-prototype.html1047 // ── Beat 3: 8-10s ────────────────────────────────────────COMMENT
MEDIUMdemos/w1-brand-protocol-en.html534 // ── Auto-scale stage to viewport ─────────────────COMMENT
MEDIUMdemos/w1-brand-protocol-en.html545 // ── Easing functions ─────────────────COMMENT
MEDIUMdemos/w1-brand-protocol-en.html563 // ── Timeline (total 12s) ─────────────────COMMENT
MEDIUMdemos/w2-junior-designer-en.html741 // ────────────────────────────────────COMMENT
MEDIUMdemos/w2-junior-designer-en.html762 // ────────────────────────────────────COMMENT
MEDIUMdemos/w2-junior-designer-en.html826 // ────── TitleCOMMENT
MEDIUMdemos/w2-junior-designer-en.html831 // ────── Splitter (fade out earlier so Beat 3 is clean)COMMENT
MEDIUMdemos/w2-junior-designer-en.html839 // ────── Halves fade in / out (fade out earlier to clear for Beat 3 chart)COMMENT
MEDIUMdemos/w2-junior-designer-en.html848 // ────── TOP track: terminal line + progress barCOMMENT
MEDIUMdemos/w2-junior-designer-en.html905 // ────── BOTTOM track: 3 iter panelsCOMMENT
MEDIUMdemos/w2-junior-designer-en.html930 // ────── Beat 3 · final chart crossfade (chart appears as halves fade)COMMENT
MEDIUMdemos/w2-junior-designer-en.html963 // ────── Brand reveal 10.0-12.0COMMENT
MEDIUMdemos/w2-junior-designer.html747 // ────────────────────────────────────COMMENT
MEDIUMdemos/w2-junior-designer.html768 // ────────────────────────────────────COMMENT
MEDIUMdemos/w2-junior-designer.html832 // ────── TitleCOMMENT
MEDIUMdemos/w2-junior-designer.html837 // ────── Splitter (fade out earlier so Beat 3 is clean)COMMENT
15 more matches not shown…
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/mix-voiceover.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/convert-formats.sh1#!/bin/bashCOMMENT
LOWscripts/render-narration.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/render-narration.sh21# --keep-silent 保留中间产物(无声 MP4),便于 debugCOMMENT
LOWscripts/add-music.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/add-music.sh21#COMMENT
LOWdemos/c6-expert-review-en.html721 pointsG.appendChild(circle);COMMENT
LOWdemos/w1-brand-protocol-en.html561 }COMMENT
LOWdemos/w2-junior-designer-en.html741 // ────────────────────────────────────COMMENT
LOWdemos/w2-junior-designer.html741 function seg(time, start, end) {COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/mix-voiceover.sh4# Usage:COMMENT
LOWscripts/convert-formats.sh4# Usage:COMMENT
LOWscripts/render-narration.sh9# Usage:COMMENT
LOWscripts/add-music.sh4# Usage:COMMENT
Fake / Example Data5 hits · 6 pts
SeverityFileLineSnippetContext
LOWreferences/launch-film-director-notes.md141「这部片不做的事」清单(紫渐变 / emoji / Lorem ipsum / Inter display / SVG 画人物 / 圆角卡 + 左 border accent)比「这部片做的事」清单更能保护质量。CODE
LOWscripts/html2pptx.js16 * - Extracts placeholder elements (class="placeholder") with positionsCOMMENT
LOWscripts/html2pptx.js757 if (el.className && el.className.includes('placeholder')) {CODE
LOWassets/director-notes-samples/launch-film-30s-sample.md142| 不用 Lorem ipsum | 每一段假文都用真正能读的内容(含「md is the source. Anything else is product.」这种 hook) |CODE
LOWassets/director-notes-samples/launch-film-30s-sample.md804- ✅ destination card 的「On Markdown」essay 内容是真的可读的英文哲学小段,不是 Lorem ipsumCODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHreferences/voiceover-pipeline.md357DOUBAO_TTS_API_KEY=<your_api_key>CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/verify.py34 print("运行: pip install playwright && playwright install chromium")CODE
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWassets/director-notes-samples/launch-film-30s-sample.md1642# Step 1: 加 BGMCOMMENT
LOWassets/director-notes-samples/launch-film-30s-sample.md1648# Step 2: 加 SFX cues (按 Part II.6 SFX 字典逐 cue 加)COMMENT
LOWassets/director-notes-samples/launch-film-30s-sample.md1659# Step 3: 验证 audio streamCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/fetch_images.py45 except Exception as e:CODE
LOWscripts/fetch_images.py68 except Exception as e:CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/verify.py19CODE
LOWscripts/verify.py20CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/verify.py29CODE