AI Slop Code Risk Monitor

gpujs/gpu.js

SlopCodeMonitor badge for gpujs/gpu.js Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

GPU Accelerated JavaScript

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gpujs/gpu.js, a JavaScript project with 15,518 GitHub stars. SynthScan examined 91,921 lines of code across 515 source files, recording 119 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
15.5K
Stars
JavaScript
Language
91.9K
Lines of Code
515
Files
119
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 6.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 5.5/100 · LOW

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

PR Review Velocity Impact 6.4/100 · LOW

Which changes need focused human review? 119 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 118

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 119 distinct pattern matches across 3 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 Identifiers105 hits · 105 pts
SeverityFileLineSnippetContext
LOWtest/browser-test-utils.js84function assertVideoFailureIsUnsupportedFormat(assert, error) {CODE
LOWtest/features/boolean-from-expression.js6function testBooleanFromExpression(mode) {CODE
LOWtest/features/read-from-texture.js6function readWithoutTextureKernels(mode) {CODE
LOWtest/features/optimize-float-memory.js6function whenEnabledCallsCorrectRenderFunction(mode) {CODE
LOWtest/features/bitwise-operators.js6function testBitwiseAndSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js47function testBitwiseAndUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js88function testBitwiseOrSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js129function testBitwiseOrUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js170function testBitwiseXORSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js211function testBitwiseXORUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js252function testBitwiseNotSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js291function testBitwiseNotUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js330function testBitwiseZeroFillLeftShiftSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js371function testBitwiseZeroFillLeftShiftUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js412function testBitwiseSignedRightShiftSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js453function testBitwiseSignedRightShiftUnsignedPrecision(mode) {CODE
LOWtest/features/bitwise-operators.js494function testBitwiseZeroFillRightShiftSinglePrecision(mode) {CODE
LOWtest/features/bitwise-operators.js535function testBitwiseZeroFillRightShiftUnsignedPrecision(mode) {CODE
LOWtest/features/unsigned-precision-textures.js6function unsignedPrecisionTexturesWithArray(mode) {CODE
LOWtest/features/unsigned-precision-textures.js651function testImmutableDoesNotCollideWithKernelTexture(mode) {CODE
LOWtest/features/raw-output.js6function rawUnsignedPrecisionRenderOutput(mode) {CODE
LOWtest/features/raw-output.js49function rawSinglePrecisionRenderOutput(mode) {CODE
LOWtest/features/combine-kernels.js50function combineKernelsSinglePrecision(mode) {CODE
LOWtest/features/combine-kernels.js95function combineKernelsOptimizeFloatMemory(mode) {CODE
LOWtest/features/dynamic-arguments.js61function testMemoryOptimizedNumberTexture(mode) {CODE
LOWtest/features/dynamic-arguments.js949function testUnsignedPrecisionArray(mode) {CODE
LOWtest/features/dynamic-arguments.js1037function testUnsignedPrecisionMatrix(mode) {CODE
LOWtest/features/dynamic-arguments.js1096function testSinglePrecisionMatrix(mode) {CODE
LOWtest/features/dynamic-arguments.js1154function testUnsignedPrecisionInputMatrix(mode) {CODE
LOWtest/features/dynamic-arguments.js1225function testSinglePrecisionInputMatrix(mode) {CODE
LOWtest/features/destroy.js7function testWithoutDestroyContext(done, mode) {CODE
LOWtest/features/destroy.js87function testKernelTextureIsDeleted(done) {CODE
LOWtest/features/destroy.js115function testKernelMappedTexturesAreDeleted(done) {CODE
LOWtest/features/cpu-with-textures.js6function cpuWithTexturesNumberWithSinglePrecision(mode) {CODE
LOWtest/features/cpu-with-textures.js55function cpuWithTexturesMemoryOptimizedNumberWithSinglePrecision(mode) {CODE
LOWtest/features/cpu-with-textures.js252function cpuWithTexturesNumberWithUnsignedPrecision(mode) {CODE
LOWtest/features/add-custom-function.js149function withKernelAddFunctionMethod(mode) {CODE
LOWtest/features/add-custom-function.js365function testSetFunctionsFromArrayOnKernel(mode) {CODE
LOWtest/features/add-custom-function.js404function testSetFunctionsFromArrayOnGPU(mode) {CODE
LOWtest/features/single-precision-textures.js6function singlePrecisionTexturesWithArray(mode) {CODE
LOWtest/features/single-precision-textures.js651function testImmutableDoesNotCollideWithKernelTexture(mode) {CODE
LOWtest/features/legacy-encoder.js68function testSubKernelsLegacyEncoderOff(mode) {CODE
LOWtest/features/legacy-encoder.js104function testSubKernelsLegacyEncoderOn(mode) {CODE
LOWtest/features/canvas.js40function canvasManuallyDefinedArgumentTest(mode) {CODE
LOWtest/features/math-object.js43function singleArgumentMathMethods(mode) {CODE
LOWtest/features/random-seed.js22function testDifferentSeedDifferentResults(mode) {CODE
LOWtest/features/random-seed.js32function testSeededSequenceIsReproducible(mode) {CODE
LOWtest/features/random-seed.js54function testResettingSeedRestartsStream(mode) {CODE
LOWtest/features/nested-function.js54function testNestedInCustomFunction(mode) {CODE
LOWtest/features/add-custom-native-function.js286function testDirectlyOnKernelViaSettings(nativeFunctions, mode) {CODE
LOWtest/features/add-custom-native-function.js373function testDirectlyOnKernelViaMethod(nativeFunctions, mode) {CODE
LOWtest/features/add-custom-native-function.js453function testSetNativeFunctionsFromArrayOnGPU(nativeFunction, mode) {CODE
LOWtest/features/pipeline/buffers.js51function livenessKeepsEarlyOutputAlive(mode) {CODE
LOWtest/internal/recycling.js7function testImmutableKernelTextureRecycling(precision, mode) {CODE
LOWtest/internal/recycling.js71function testImmutableMappedKernelTextureRecycling(precision, mode) {CODE
LOWtest/internal/recycling.js143function testImmutableTextureDelete(precision, done, mode) {CODE
LOWtest/internal/recycling.js229function testImmutableKernelTextureDoesNotLeak(precision, done, mode) {CODE
LOWtest/internal/recycling.js301function testImmutableKernelMappedTexturesDoesNotLeak(precision, done, mode) {CODE
LOWtest/internal/recycling.js630function testSameSourceDestinationFromResultThrows(error, precision, mode) {CODE
LOWtest/internal/recycling.js697function testSameSourceDestinationFromMappedResultThrows(error, precision, mode) {CODE
45 more matches not shown…
Over-Commented Block13 hits · 13 pts
SeverityFileLineSnippetContext
LOWplaywright.config.js1// Runs the QUnit browser suite (test/all.html) in real browsers, from Node.COMMENT
LOWtest/features/bitwise-not-coverage.js1const { assert, skip, test, module: describe } = require('qunit');COMMENT
LOWtest/internal/math.random.js1const { assert, skip, test, module: describe, only } = require('qunit');COMMENT
LOWtest/internal/destroy-releases-resources.js1const { assert, skip, test, module: describe } = require('qunit');COMMENT
LOWtest/playwright/qunit.spec.js1// One reported test per QUnit module, from a single page load.COMMENT
LOWtest/playwright/qunit.spec.js21// dead tab) that the page cannot recover from.COMMENT
LOWtest/browserstack/visual.html41 };COMMENT
LOWexamples/mandelbulb.html181 }COMMENT
LOWsrc/kernel-run-shortcut.js61 return kernel.renderKernels();COMMENT
LOWsrc/gpu.js841 resolve();COMMENT
LOWsrc/backend/function-node.js541 }COMMENT
LOWsrc/backend/web-assembly/pipeline-executor.js601 // targets start from wherever the counter already is, so a laggard fromCOMMENT
LOWsrc/backend/web-assembly/function-node.js1961 }COMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md1380The orchestration function runs **once**, at build time (the first call), with opaque handles standing in for its argumeCODE