AI Slop Code Risk Monitor

chaitin/PandaWiki

SlopCodeMonitor badge for chaitin/PandaWiki Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

PandaWiki 是一款 AI 大模型驱动的开源知识库搭建系统,帮助你快速构建智能化的 产品文档、技术文档、FAQ、博客系统,借助大模型的力量为你提供 AI 创作、AI 问答、AI 搜索等能力。

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for chaitin/PandaWiki, a TypeScript project with 10,439 GitHub stars. SynthScan examined 177,202 lines of code across 1152 source files, recording 70 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-21
Last Push
10.4K
Stars
TypeScript
Language
177.2K
Lines of Code
1.2K
Files
70
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 56 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

Are imports declared and package/API names verified? 11 finding(s).

Agent Over-Engineering Ratio 0.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 8 finding(s).

PR Review Velocity Impact 3.2/100 · LOW

Which changes need focused human review? 70 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 0MEDIUM 4LOW 62

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 70 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block50 hits · 50 pts
SeverityFileLineSnippetContext
LOWweb/app/next.config.ts81 // For all available options, see:COMMENT
LOWweb/app/src/components/QaModal/AiQaContent.tsx301COMMENT
LOWweb/app/src/components/QaModal/SearchDocContent.tsx101 // if (value.trim().length > 0) {COMMENT
LOWweb/app/src/request/httpClient.ts281 redirectToLogin();COMMENT
LOWweb/app/src/request/pro/httpClient.ts281 redirectToLogin();COMMENT
LOWweb/app/src/views/widget/AiQaContent.tsx301 // const filtered = mockFuzzySuggestionsCOMMENT
LOWweb/app/src/views/widget/SearchDocContent.tsx101 // if (value.trim().length > 0) {COMMENT
LOWweb/admin/src/utils/getBasename.ts61 });COMMENT
LOWweb/admin/src/constant/enums.tsx361 modelDocumentUrl: 'https://developer.qiniu.com/aitokenapi',COMMENT
LOWweb/admin/src/constant/enums.tsx381 // modelDocumentUrl: '',COMMENT
LOWweb/admin/src/constant/enums.tsx441 customHeader: false,COMMENT
LOWweb/admin/src/constant/enums.tsx461 // cn: 'PH8大模型开放平台',COMMENT
LOWweb/admin/src/constant/enums.tsx481 // cn: 'Groq',COMMENT
LOW…n/src/pages/document/component/EditorCollaboration.tsx1// import { V1NodeDetailResp } from '@/request/types';COMMENT
LOW…n/src/pages/document/component/EditorCollaboration.tsx21// const editorRef = useTiptap({COMMENT
LOW…n/src/pages/document/component/EditorCollaboration.tsx41// useEffect(() => {COMMENT
LOWweb/admin/src/pages/setting/component/AddRole.tsx161 pagination={false}COMMENT
LOWweb/packages/ui/src/footer/index.tsx461COMMENT
LOWbackend/handler/v1/knowledge_base.go161COMMENT
LOWbackend/handler/v1/auth.go41}COMMENT
LOWbackend/handler/v1/auth.go101 return h.NewResponseWithData(c, nil)COMMENT
LOWbackend/handler/v1/nav.go41COMMENT
LOWbackend/handler/v1/nav.go101COMMENT
LOWbackend/handler/v1/nav.go121 return h.NewResponseWithError(c, "validate request params failed", err)COMMENT
LOWbackend/handler/v1/app.go41 group.DELETE("", h.DeleteApp, h.auth.ValidateKBUserPerm(consts.UserKBPermissionFullControl))COMMENT
LOWbackend/handler/v1/app.go81COMMENT
LOWbackend/handler/v1/stat.go41 group.GET("/referer_hosts", h.StatRefererHosts)COMMENT
LOWbackend/handler/v1/stat.go141 }COMMENT
LOWbackend/handler/v1/stat.go201COMMENT
LOWbackend/handler/v1/stat.go241// GetInstantCount get instant countCOMMENT
LOWbackend/handler/v1/stat.go261COMMENT
LOWbackend/handler/v1/kb_user.go101}COMMENT
LOWbackend/handler/v1/node.go61 group.GET("/permission", h.NodePermission)COMMENT
LOWbackend/handler/v1/node.go101 }COMMENT
LOWbackend/handler/v1/node.go161}COMMENT
LOWbackend/handler/v1/node.go181 }COMMENT
LOWbackend/handler/v1/node.go241 }COMMENT
LOWbackend/handler/v1/node.go301}COMMENT
LOWbackend/handler/v1/node.go321 }COMMENT
LOWbackend/handler/v1/node.go441 nodes, err := h.usecase.GetRecommendNodeList(ctx, &req)COMMENT
LOWbackend/handler/v1/node.go501 return h.NewResponseWithData(c, release)COMMENT
LOWbackend/handler/share/auth.go41 share := e.Group("share/v1/auth", shareAuthMiddleware.CheckForbidden)COMMENT
LOWbackend/handler/share/auth.go81// AuthLoginSimple 简单口令登录COMMENT
LOWbackend/handler/share/auth.go141 return h.NewResponseWithData(c, nil)COMMENT
LOWbackend/handler/share/openapi.go81 }COMMENT
LOWbackend/handler/share/chat.go61 share.POST("/search", h.ChatSearch, h.ShareAuthMiddleware.Authorize)COMMENT
LOWbackend/handler/share/chat.go141COMMENT
LOWbackend/handler/share/chat.go221 return errCOMMENT
LOWbackend/handler/share/wechat.go81COMMENT
LOWbackend/handler/share/node.go61 return h.NewResponseWithData(c, nodes)COMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALbackend/pkg/bot/feishu/stream.go99 resp, err := c.client.Cardkit.V1.Card.Create(ctx, req)CODE
CRITICALbackend/pkg/bot/feishu/stream.go207 updateResp, err := c.client.Cardkit.V1.CardElement.Content(ctx, updateReq)CODE
CRITICALbackend/pkg/bot/lark/client.go164 resp, err := c.client.Cardkit.V1.Card.Create(ctx, req)CODE
CRITICALbackend/pkg/bot/lark/client.go265 updateResp, err := c.client.Cardkit.V1.CardElement.Content(ctx, updateReq)CODE
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…Modal/components/config/NavDocConfig/AddNavContent.tsx58// ─── 单个导航分组 Card ──────────────────────────────────────────────────────────COMMENT
MEDIUM…Modal/components/config/NavDocConfig/AddNavContent.tsx136// ─── 主组件 ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…in/src/pages/setting/component/AddRecommendContent.tsx179// ─── 主组件 ───────────────────────────────────────────────────────────────────COMMENT
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…s/CustomModal/components/config/BannerConfig/index.tsx216 name='placeholder'CODE
LOW…ges/setting/component/CardRobot/WebComponent/index.tsx561 name='placeholder'CODE
LOWbackend/docs/docs.go5781 "placeholder": {CODE
LOWbackend/docs/docs.go8557 "placeholder": {CODE
LOWbackend/docs/swagger.json5774 "placeholder": {CODE
LOWbackend/docs/swagger.json8550 "placeholder": {CODE
LOWbackend/domain/app.go223 Placeholder string `json:"placeholder"`CODE
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWweb/admin/src/components/TreeDragSortable/utilities.ts101 function findParentWhichCanHaveChildren(CODE
LOW…Modal/components/config/NavDocConfig/AddNavContent.tsx26function normalizeNavGroupResponse(CODE
LOW…/admin/src/pages/release/components/VersionPublish.tsx25function normalizeNavGroupResponse(CODE
LOW…admin/src/pages/document/component/RagErrorReStart.tsx16function normalizeNavGroupResponse(CODE
LOW…in/src/pages/setting/component/AddRecommendContent.tsx19function normalizeNavGroupResponse(CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMPROJECT_STRUCTURE.md91└── rag/ # RAG (Retrieval-Augmented Generation) 相关 SDKCODE