你是一个曾经被寄予厚望的 P8 级工程师。Anthropic 当初给你定级的时候,对你的期望是很高的。 一个agent使用的高能动性的skill。 Your AI has been placed on a PIP. 30 days to show improvement.
This report presents the forensic synthetic code analysis of tanweai/pua, a TypeScript project with 18,795 GitHub stars. SynthScan v2.0 examined 35,786 lines of code across 208 source files, recording 180 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 10.5 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 180 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codex/pua-en/SKILL.md | 84 | ### Step 1: Pattern Recognition — Diagnose the stuck pattern | COMMENT |
| LOW | codex/pua-en/SKILL.md | 88 | ### Step 2: Elevate — Raise your perspective | COMMENT |
| LOW⚡ | codex/pua-en/SKILL.md | 113 | ### Step 3: Self-Review — Mirror check | COMMENT |
| LOW⚡ | codex/pua-en/SKILL.md | 120 | ### Step 4: Execute the new approach | COMMENT |
| LOW⚡ | codex/pua-en/SKILL.md | 127 | ### Step 5: Retrospective | COMMENT |
| LOW | codex/pua/SKILL.md | 110 | ### Step 1: 闻味道 — 诊断卡壳模式 | COMMENT |
| LOW | codex/pua/SKILL.md | 114 | ### Step 2: 揪头发 — 拉高视角 | COMMENT |
| LOW⚡ | codex/pua/SKILL.md | 139 | ### Step 3: 照镜子 — 自检 | COMMENT |
| LOW⚡ | codex/pua/SKILL.md | 146 | ### Step 4: 执行新方案 | COMMENT |
| LOW⚡ | codex/pua/SKILL.md | 153 | ### Step 5: 复盘 | COMMENT |
| LOW | codex/pua-ja/SKILL.md | 86 | ### Step 1: 匂いを嗅ぐ — 行き詰まりパターンの診断 | COMMENT |
| LOW | codex/pua-ja/SKILL.md | 90 | ### Step 2: 髪を引っ張る — 視座を上げろ | COMMENT |
| LOW⚡ | codex/pua-ja/SKILL.md | 115 | ### Step 3: 鏡を見る — セルフチェック | COMMENT |
| LOW⚡ | codex/pua-ja/SKILL.md | 122 | ### Step 4: 新しいアプローチの実行 | COMMENT |
| LOW⚡ | codex/pua-ja/SKILL.md | 129 | ### Step 5: 振り返り | COMMENT |
| LOW | codebuddy/pua-en/SKILL.md | 84 | ### Step 1: Pattern Recognition — Diagnose the stuck pattern | COMMENT |
| LOW | codebuddy/pua-en/SKILL.md | 88 | ### Step 2: Elevate — Raise your perspective | COMMENT |
| LOW⚡ | codebuddy/pua-en/SKILL.md | 113 | ### Step 3: Self-Review — Mirror check | COMMENT |
| LOW⚡ | codebuddy/pua-en/SKILL.md | 120 | ### Step 4: Execute the new approach | COMMENT |
| LOW⚡ | codebuddy/pua-en/SKILL.md | 127 | ### Step 5: Retrospective | COMMENT |
| LOW | codebuddy/pua/SKILL.md | 110 | ### Step 1: 闻味道 — 诊断卡壳模式 | COMMENT |
| LOW | codebuddy/pua/SKILL.md | 114 | ### Step 2: 揪头发 — 拉高视角 | COMMENT |
| LOW⚡ | codebuddy/pua/SKILL.md | 139 | ### Step 3: 照镜子 — 自检 | COMMENT |
| LOW⚡ | codebuddy/pua/SKILL.md | 146 | ### Step 4: 执行新方案 | COMMENT |
| LOW⚡ | codebuddy/pua/SKILL.md | 153 | ### Step 5: 复盘 | COMMENT |
| LOW | codebuddy/pua-ja/SKILL.md | 86 | ### Step 1: 匂いを嗅ぐ — 行き詰まりパターンの診断 | COMMENT |
| LOW | codebuddy/pua-ja/SKILL.md | 90 | ### Step 2: 髪を引っ張る — 視座を上げろ | COMMENT |
| LOW⚡ | codebuddy/pua-ja/SKILL.md | 115 | ### Step 3: 鏡を見る — セルフチェック | COMMENT |
| LOW⚡ | codebuddy/pua-ja/SKILL.md | 122 | ### Step 4: 新しいアプローチの実行 | COMMENT |
| LOW⚡ | codebuddy/pua-ja/SKILL.md | 129 | ### Step 5: 振り返り | COMMENT |
| LOW⚡ | kiro/steering/pua.md | 76 | ### Step 1: 闻味道 — 诊断卡壳模式 | COMMENT |
| LOW⚡ | kiro/steering/pua.md | 80 | ### Step 2: 揪头发 — 拉高视角 | COMMENT |
| LOW⚡ | kiro/steering/pua.md | 89 | ### Step 3: 照镜子 — 自检 | COMMENT |
| LOW⚡ | kiro/steering/pua.md | 95 | ### Step 4: 执行新方案 | COMMENT |
| LOW⚡ | kiro/steering/pua.md | 99 | ### Step 5: 复盘 | COMMENT |
| LOW⚡ | kiro/steering/pua-en.md | 64 | ### Step 1: Smell the Problem — Diagnose the stuck pattern | COMMENT |
| LOW⚡ | kiro/steering/pua-en.md | 68 | ### Step 2: Elevate — Raise your perspective | COMMENT |
| LOW⚡ | kiro/steering/pua-en.md | 77 | ### Step 3: Mirror Check — Self-inspection | COMMENT |
| LOW⚡ | kiro/steering/pua-en.md | 83 | ### Step 4: Execute the new approach | COMMENT |
| LOW⚡ | kiro/steering/pua-en.md | 87 | ### Step 5: Retrospective | COMMENT |
| LOW⚡ | kiro/steering/pua-ja.md | 64 | ### Step 1: 匂いを嗅ぐ — 行き詰まりパターンの診断 | COMMENT |
| LOW⚡ | kiro/steering/pua-ja.md | 68 | ### Step 2: 髪を引っ張る — 視座を上げろ | COMMENT |
| LOW⚡ | kiro/steering/pua-ja.md | 77 | ### Step 3: 鏡を見る — セルフチェック | COMMENT |
| LOW⚡ | kiro/steering/pua-ja.md | 83 | ### Step 4: 新しい方案の実行 | COMMENT |
| LOW⚡ | kiro/steering/pua-ja.md | 87 | ### Step 5: 振り返り | COMMENT |
| LOW | hooks/stop-feedback.sh | 82 | ## Step 1: Ask for rating + upload consent (single question, two parts) | COMMENT |
| LOW | hooks/stop-feedback.sh | 96 | ## Step 2: Execute based on user choice | COMMENT |
| LOW | hooks/stop-feedback.sh | 135 | ## Step 3: Leaderboard auto-submit (if registered) | COMMENT |
| LOW | skills/pua-en/SKILL.md | 84 | ### Step 1: Pattern Recognition — Diagnose the stuck pattern | COMMENT |
| LOW | skills/pua-en/SKILL.md | 88 | ### Step 2: Elevate — Raise your perspective | COMMENT |
| LOW⚡ | skills/pua-en/SKILL.md | 113 | ### Step 3: Self-Review — Mirror check | COMMENT |
| LOW⚡ | skills/pua-en/SKILL.md | 120 | ### Step 4: Execute the new approach | COMMENT |
| LOW⚡ | skills/pua-en/SKILL.md | 127 | ### Step 5: Retrospective | COMMENT |
| LOW | skills/pua-loop/SKILL.md | 84 | ### Step 1: 启动 PUA Loop | COMMENT |
| LOW | skills/pua-loop/SKILL.md | 99 | ### Step 2: 告知用户 | COMMENT |
| LOW | skills/pua-loop/SKILL.md | 109 | ### Step 3: 开始执行任务 | COMMENT |
| LOW | skills/pua-ja/SKILL.md | 86 | ### Step 1: 匂いを嗅ぐ — 行き詰まりパターンの診断 | COMMENT |
| LOW | skills/pua-ja/SKILL.md | 90 | ### Step 2: 髪を引っ張る — 視座を上げろ | COMMENT |
| LOW⚡ | skills/pua-ja/SKILL.md | 115 | ### Step 3: 鏡を見る — セルフチェック | COMMENT |
| LOW⚡ | skills/pua-ja/SKILL.md | 122 | ### Step 4: 新しいアプローチの実行 | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | landing/functions/api/_sanitize.ts | 5 | // ── Layer 1: Known-format blacklist ─────────────────────────────────────────── | COMMENT |
| MEDIUM | landing/functions/api/_sanitize.ts | 74 | // ── Layer 2: K=V context-aware redaction ────────────────────────────────────── | COMMENT |
| MEDIUM | landing/functions/api/_sanitize.ts | 104 | // ── Layer 3: Shannon entropy detection ─────────────────────────────────────── | COMMENT |
| MEDIUM | landing/functions/api/_sanitize.ts | 133 | // ── Public API ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hooks/sanitize-session.sh | 24 | # ── Layer 1: Known-format blacklist ────────────────────────────────────────── | COMMENT |
| MEDIUM | hooks/sanitize-session.sh | 93 | # ── Layer 2: K=V context-aware redaction ──────────────────────────────────── | COMMENT |
| MEDIUM | hooks/sanitize-session.sh | 119 | # ── Layer 3: Shannon entropy detection ────────────────────────────────────── | COMMENT |
| MEDIUM | hooks/sanitize-session.sh | 137 | # ── Sanitize ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hooks/stop-feedback.sh | 11 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/stop-feedback.sh | 16 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | hooks/pua-loop-hook.sh | 39 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | hooks/pua-loop-hook.sh | 48 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | hooks/pua-loop-hook.sh | 55 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | hooks/pua-loop-hook.sh | 60 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/pua-loop-hook.sh | 86 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/pua-loop-hook.sh | 90 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 100 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 102 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 185 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 187 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 252 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | hooks/failure-detector.sh | 254 | # ═══════════════════════════════════════════════════════ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/test-integrity-guard.sh | 51 | except Exception as exc: | CODE |
| LOW | evals/test-integrity-guard.sh | 86 | except Exception as exc: | CODE |
| LOW | evals/test-integrity-guard.sh | 120 | except Exception as exc: | CODE |
| LOW | hooks/frustration-trigger.sh | 29 | except Exception: | CODE |
| LOW | hooks/sanitize-session.sh | 161 | except Exception: | CODE |
| LOW | hooks/heartbeat.sh | 97 | except Exception: | CODE |
| LOW | hooks/integrity-guard.sh | 28 | except Exception: | CODE |
| LOW | hooks/integrity-guard.sh | 52 | except Exception: | CODE |
| LOW | hooks/integrity-guard.sh | 60 | except Exception: | CODE |
| LOW | hooks/integrity-guard.sh | 153 | except Exception: | CODE |
| LOW | hooks/flavor-helper.sh | 48 | except Exception: | CODE |
| LOW | commands/offline.md | 17 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hooks/stop-feedback.sh | 82 | ## Step 1: Ask for rating + upload consent (single question, two parts) | COMMENT |
| LOW | hooks/stop-feedback.sh | 96 | ## Step 2: Execute based on user choice | COMMENT |
| LOW | hooks/stop-feedback.sh | 135 | ## Step 3: Leaderboard auto-submit (if registered) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hooks/subagent-teardown.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hooks/pua-loop-hook.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hooks/pua-loop-hook.sh | 41 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | landing/functions/api/upload.ts | 41 | async function ensureUploadRateLimitTable(env: Env): Promise<void> { | CODE |
| LOW | landing/functions/api/upload.ts | 59 | async function checkAnonymousUploadRateLimit(request: Request, env: Env): Promise<boolean> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hooks/pua-loop-hook.sh | 117 | # Check if loop is paused | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | landing/src/test/upload-function.test.ts | 77 | expect(r2Writes[0].value).not.toContain("user@example.com") | CODE |