AI Slop Code Risk Monitor

bbycroft/llm-viz

SlopCodeMonitor badge for bbycroft/llm-viz Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

3D Visualization of an GPT-style LLM

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for bbycroft/llm-viz, a TypeScript project with 5,580 GitHub stars. SynthScan examined 50,987 lines of code across 253 source files, recording 48 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-08-10
Last Push
5.6K
Stars
TypeScript
Language
51.0K
Lines of Code
253
Files
48
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 4.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 4.8/100 · LOW

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

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 48 distinct pattern matches across 5 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 Identifiers29 hits · 29 pts
SeverityFileLineSnippetContext
LOWgen_test_data.py61def block_forward_with_capture(tModule, x):CODE
LOWgen_test_data.py78def transformer_forward_with_capture(tModule, x):CODE
LOWsrc/llm/GptModel.ts199export function readModelResultsBackWhenReady(model: IGpuGptModel) {CODE
LOWsrc/llm/GptModel.ts952function createCopyOutputToInputLayer(layerBuilder: ILayerBuilder, prevOutput: IBufferTex, currInput: IBufferTex) {CODE
LOWsrc/llm/walkthrough/Walkthrough04_SelfAttention.tsx655export function focusSelfAttentionHeadTimers(args: IWalkthroughArgs, duration: number) {CODE
LOWsrc/llm/components/ModelCard.ts102export function sortABCInputTokenToString(a: number) {CODE
LOWsrc/cpu/CanvasEventHandler.tsx446 function handleWireLabelAnchorDrag(end: boolean, globalRef: IElRef, origModelPos: Vec3, newModelPos: Vec3, mtx: AffiCODE
LOWsrc/cpu/SubSchematics.tsx118export function getCompSubSchematicForSnapshot(sharedContext: ISharedContext, snapshot: IEditSnapshot, comp: IComp): IEdCODE
LOWsrc/cpu/SubSchematics.tsx148export function getCompSubSchematicForPrefix(sharedContext: ISharedContext, snapshot: IEditSnapshot, prefix: string): IECODE
LOWsrc/cpu/CpuExecution.tsx890export function stepExecutionCombinatorial(exeModel: IExeSystem, disableBackProp = false) {CODE
LOWsrc/cpu/CpuExecution.tsx1181export function backpropagateUnusedSignals(exeSystem: IExeSystem, blockOrder: number[]) {CODE
LOWsrc/cpu/ImportExport.tsx344export function lsSchematicToSchematicDef(lsSchematic: ILSSchematic, compLibrary: CompLibrary): ISchematicDef {CODE
LOWsrc/cpu/ImportExport.tsx374export function editSnapshotToLsSchematic(id: string, editSnapshot: IEditSnapshot): ILSSchematic {CODE
LOWsrc/cpu/render/SchematicRender.tsx559function renderComponentBoundingBox(cvs: ICanvasState, editorState: IEditorState, layout: IEditSnapshot, idPrefix: strinCODE
LOWsrc/cpu/render/SchematicRender.tsx575function renderInnerDisplayBoundingBox(cvs: ICanvasState, editorState: IEditorState, layout: IEditSnapshot, idPrefix: stCODE
LOWsrc/cpu/library/CompLibrary.tsx90export function createLibraryItemFromComp(compDef: ICompDef<any>): ILibraryItem {CODE
LOWsrc/cpu/sidebars/SchematicDetails.tsx26 function handleParentCompDefIdUpdate(end: boolean, value: string) {CODE
LOWsrc/cpu/sidebars/SchematicDetails.tsx37 function handleInnerDisplayBoundary() {CODE
LOWsrc/cpu/sidebars/SchematicDetails.tsx44 function handleRemoveInnerDisplayBoundary() {CODE
LOWsrc/cpu/sidebars/CompDetails.tsx44 function handleInternalSchematicAddNew() {CODE
LOWsrc/cpu/comps/RiscvInsDecode.tsx14export function createRiscvInsDecodeComps(_args: ICompBuilderArgs): ICompDef<any>[] {CODE
LOWsrc/cpu/comps/BinaryGatesMulti.tsx27export function createBinaryGateMultiComps(_args: ICompBuilderArgs): ICompDef<any>[] {CODE
LOWsrc/fluidsim/FluidSimMain.tsx266 function calcDivergenceFreeVelocityField(arrFrom: Float32Array, arrTo: Float32Array, pressure: Float32Array) {CODE
LOWsrc/codec/DeflateDecoder.ts437export function lengthSymbolToLengthFromNumber(symbol: number, extraBits: number) {CODE
LOWsrc/codec/renderDeflateBlock.ts85function populateDeflateBlockAnimSteps(data: IDeflateData, block: IDeflateBlock) {CODE
LOWsrc/utils/keyboard.ts97export function useCreateGlobalKeyboardDocumentListener() {CODE
LOWsrc/utils/data.ts72export function getOrAddToMap<K, V>(map: Map<K, V>, key: K, valueFn: () => V): V {CODE
LOWsrc/utils/pointer.ts326function mouseEventFromEventAndSingleTouch(ev: TouchEvent, touch: TouchSimple): TouchEvent & IMouseEvent {CODE
LOWsrc/utils/pointer.ts330function extractClientPosFromTouch(touch: TouchSimple) {CODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/llm/Annotations.ts161}COMMENT
LOWsrc/llm/render/blurRender.ts21 // we're after the outline of the original objects.COMMENT
LOWsrc/llm/components/DataFlow.ts661 // opts: fontOpts,COMMENT
LOWsrc/llm/components/ModelCard.ts81 // addParam("n_vocab = ", vocabSize.toString(), dimStyleColor(DimStyle.n_vocab));COMMENT
LOWsrc/cpu/CpuExecution.tsx661 }COMMENT
LOWsrc/cpu/CpuExecution.tsx761 // return netPhase && netPhase.netIdx === relevantNetIdx;COMMENT
LOWsrc/cpu/tests/build.sh1#!/bin/shCOMMENT
LOWsrc/cpu/comps/Addressing.tsx81 // read from busCtrl, busAddrCOMMENT
LOWsrc/cpu/comps/RiscvInsDecode.tsx201 // let addr = base + offset;COMMENT
LOWsrc/cpu/comps/CompHelpers.ts141 // size: (width, height)COMMENT
LOWsrc/cpu/comps/CompPort.tsx201 data.value = srcPort.value;COMMENT
LOWsrc/cpu/comps/peripheral/LedOutputSimple.tsx121 busData.ioDir = isRead ? IoDir.Out : IoDir.In;COMMENT
LOWsrc/codec/DeflateDecoder.ts1COMMENT
LOWsrc/codec/renderOutputArray.ts1import { inverseLerp } from "../llm/walkthrough/Walkthrough04_SelfAttention";COMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWgen_test_data.py1CODE
LOWgen_test_data.py2CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/llm/LayerView.tsx130 async function getData() {CODE
LOWsrc/llm/LayerView.tsx146 async function getData() {CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/llm/walkthrough/Walkthrough06_Projection.tsx38It's worth noting that in GPT, the length of the vectors within a head (${c_dimRef('A = 16', DimStyle.A)}) is equal to $CODE