AI Slop Code Risk Monitor

OpenWebGAL/WebGAL

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

A brand new web Visual Novel engine | 全新的网页端视觉小说引擎

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for OpenWebGAL/WebGAL, a TypeScript project with 4,022 GitHub stars. SynthScan examined 36,966 lines of code across 405 source files, recording 65 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-17
Last Push
4.0K
Stars
TypeScript
Language
37.0K
Lines of Code
405
Files
65
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 9.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 5.1/100 · LOW

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

PR Review Velocity Impact 10.1/100 · LOW

Which changes need focused human review? 65 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 1HIGH 1MEDIUM 0LOW 63

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 65 distinct pattern matches across 4 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.

Hyper-Verbose Identifiers39 hits · 39 pts
SeverityFileLineSnippetContext
LOWpackages/parser/src/sceneTextPreProcessor.ts28function sceneTextPreProcessPassOne(lines: string[]): string[] {CODE
LOWpackages/parser/src/sceneTextPreProcessor.ts95function sceneTextPreProcessPassTwo(lines: string[]): string[] {CODE
LOWpackages/webgal/public/webgal-serviceworker.js29function isHashedBuildAssetRequest(request) {CODE
LOWpackages/webgal/src/UI/Flowchart/Flowchart.tsx352function normalizeLockedNodeVisibility(value: unknown): LockedNodeVisibility {CODE
LOWpackages/webgal/src/UI/Flowchart/Flowchart.tsx378function getConnectorSegmentsBySource(CODE
LOWpackages/webgal/src/UI/Backlog/Backlog.tsx254export function mergeStringsAndKeepObjects(arr: ReactNode[]): ReactNode[][] {CODE
LOWpackages/webgal/src/types/editorPreviewProtocol.ts501export function isPreviewRequestErrorCode(value: unknown): value is PreviewRequestErrorCode {CODE
LOWpackages/webgal/src/types/editorPreviewProtocol.ts517export function isPreviewRequestErrorEnvelope(value: unknown): value is PreviewRequestErrorEnvelope {CODE
LOWpackages/webgal/src/types/editorPreviewProtocol.ts550export function isPreviewCommandRequestEnvelope(value: unknown): value is RequestEnvelopeByType<PreviewCommandType> {CODE
LOWpackages/webgal/src/types/editorPreviewProtocol.ts562export function isPreviewResponseEnvelope(value: unknown): value is ResponseEnvelopeByType<PreviewResponseType> {CODE
LOWpackages/webgal/src/types/editorPreviewProtocol.ts566export function isKnownPreviewRequestErrorEnvelope(CODE
LOWpackages/webgal/src/Core/util/getSentenceArg.ts31export function getFigurePositionFromArgs(sentence: ISentence): IFigurePosition | '' {CODE
LOW…/Core/util/syncWithEditor/previewSetEffectTransform.ts6export function mergeSetEffectPreviewTransform(baseline: ITransform, transform?: SetEffectTransformInput): ITransform {CODE
LOW…util/syncWithEditor/runtime/targetTransformBaseline.ts63export function isTargetTransformBaselineSyncSettled(result: FastPreviewResult | null, sceneName: string): boolean {CODE
LOW…util/syncWithEditor/runtime/targetTransformBaseline.ts67export function createTargetTransformBaselineManager(): TargetTransformBaselineManager {CODE
LOW…util/syncWithEditor/runtime/targetTransformBaseline.ts255function getSnapshotTransformOverride(CODE
LOW…util/syncWithEditor/runtime/targetTransformBaseline.ts267function createSparseTransformOverride(transform: ITransform, base: ITransform): ITransform {CODE
LOW…e/util/syncWithEditor/runtime/previewDebugVariables.ts11function clearPreviewDebugVariables() {CODE
LOW…e/util/syncWithEditor/runtime/previewDebugVariables.ts26export function applyPreviewDebugVariables(debugVariables: DebugVariable[] = []) {CODE
LOW…til/syncWithEditor/runtime/embeddedPreviewBootstrap.ts24function isBootstrapProvideMessage(value: unknown): value is BootstrapProvideMessage {CODE
LOW…re/util/syncWithEditor/runtime/previewSyncTransport.ts40export function createPreviewSyncTransport({CODE
LOW…util/syncWithEditor/runtime/previewSyncSceneCommand.ts49export function executePreviewSyncSceneCommand(CODE
LOW…util/syncWithEditor/runtime/previewSyncSceneCommand.ts260function shouldContinueFastPreview(sentenceId: number, currentSceneName: string, baseSceneStackDepth: number): boolean {CODE
LOW…c/Core/util/syncWithEditor/runtime/previewStopPoint.ts33export function didFastPreviewStopAtTarget(CODE
LOWpackages/webgal/src/Core/util/fonts/fontOptions.ts24export function buildFontOptionsFromTemplate(fonts: TemplateFontDescriptor[]): FontOption[] {CODE
LOW…bgal/src/Core/gameScripts/figureAssociatedAnimation.ts20export function setFigureAssociatedAnimation(sentence: ISentence, targetId: string) {CODE
LOW…ges/webgal/src/Core/controller/storage/fastSaveLoad.ts23function dumpFastSaveToStorageSerial() {CODE
LOW…/webgal/src/Core/controller/stage/pixi/referenceBox.ts46function createStageFrameReferenceBox(stageSize: SizeLike): ReferenceBox {CODE
LOW…/webgal/src/Core/controller/stage/pixi/referenceBox.ts59export function queryStageObjectReferenceBox(CODE
LOW…src/Core/controller/stage/pixi/stageEffectTransform.ts39export function applyTransformToPixiContainer(CODE
LOW…/src/Core/controller/stage/pixi/animations/template.ts8export function generateTemplateAnimationObj(targetKey: string, duration: number) {CODE
LOW…stage/pixi/animations/generateTransformAnimationObj.ts9export function generateTransformAnimationObj(CODE
LOW…e/controller/stage/pixi/animations/universalSoftOff.ts3export function generateUniversalSoftOffAnimationObj(targetKey: string, duration: number) {CODE
LOW…re/controller/stage/pixi/animations/universalSoftIn.ts3export function generateUniversalSoftInAnimationObj(targetKey: string, duration: number) {CODE
LOW…/src/Core/controller/stage/pixi/animations/timeline.ts60 function forceStopWithoutSetEndState() {CODE
LOW…/src/Core/controller/stage/pixi/animations/testblur.ts3export function generateTestblurAnimationObj(targetKey: string, duration: number) {CODE
LOWpackages/webgal/src/hooks/useHotkey.tsx235export function useFastSaveBeforeUnloadPage() {CODE
LOWpackages/webgal/src/hooks/useHotkey.tsx314function useSetComponentVisibility(): (component: keyof componentsVisibility, visibility: boolean) => void {CODE
LOWpackages/webgal/src/hooks/useApplyStyle.ts34function useRegisterAfterStyleUpdate(callback: Function) {CODE
Over-Commented Block24 hits · 24 pts
SeverityFileLineSnippetContext
LOWpackages/parser/src/parser4/index.ts1// (function jsonGrammarOnlyExample() {COMMENT
LOWpackages/parser/src/parser4/index.ts21// const NumberLiteral = createToken({COMMENT
LOWpackages/parser/src/parser4/index.ts41// LSquare.LABEL = "'['";COMMENT
LOWpackages/parser/src/parser4/index.ts61// $.SUBRULE($.sentence);COMMENT
LOWpackages/parser/src/parser4/index.ts81// });COMMENT
LOWpackages/parser/src/parser4/index.ts101// });COMMENT
LOWpackages/parser/src/parser4/index.ts121// ALT: () => {COMMENT
LOWpackages/parser/src/parser4/index.ts141//COMMENT
LOWpackages/webgal/src/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOW…c/UI/BottomControlPanel/bottomControlPanel.module.scss1//.ToCenter {COMMENT
LOW…Core/gameScripts/getUserInput/getUserInput.module.scss21 border: 3px solid rgba(0, 0, 0, 0);COMMENT
LOWpackages/webgal/src/Core/controller/stage/playBgm.ts1import { logger } from '@/Core/util/logger';COMMENT
LOWpackages/webgal/src/Core/controller/stage/pixi/spine.ts21// @ts-ignoreCOMMENT
LOWpackages/webgal/src/Stage/OldStage/OldStage.tsx1// import styles from '@/Components/Stage/stage.module.scss';COMMENT
LOWpackages/webgal/src/Stage/OldStage/OldStage.tsx21 // if (target) {COMMENT
LOWpackages/webgal/src/Stage/OldStage/OldStage.tsx41 // return (COMMENT
LOWpackages/webgal/src/Stage/OldStage/OldStage.tsx61 // }}COMMENT
LOWpackages/webgal/src/Stage/TextBox/textbox.module.scss121// content:attr(data-text);COMMENT
LOWpackages/webgal/src/store/GUIReducer.ts101 setFontOptions,COMMENT
LOWpackages/webgal/src/store/GUIReducer.ts121// });COMMENT
LOWpackages/webgal/src/store/GUIReducer.ts141// * @param key 资源名COMMENT
LOWpackages/webgal/src/store/userDataReducer.ts161 unlockCgInUserData,COMMENT
LOWpackages/webgal/src/store/userDataReducer.ts181// state[key] = value;COMMENT
LOWpackages/webgal/src/store/userDataReducer.ts201// setUserDataState(state => {COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…kages/webgal/src/Core/gameScripts/label/jumpToLabel.ts12 WebGAL.sceneManager.sceneData.currentScene.sentenceList.forEach((sentence, index) => {CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHreleasenote.md26### In this versionCOMMENT