AI Slop Code Risk Monitor

jacomyal/sigma.js

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

A JavaScript library aimed at visualizing graphs of thousands of nodes and edges

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jacomyal/sigma.js, a TypeScript project with 12,211 GitHub stars. SynthScan examined 105,733 lines of code across 348 source files, recording 87 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
12.2K
Stars
TypeScript
Language
105.7K
Lines of Code
348
Files
87
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 5.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 87 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 1.8/100 · LOW

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

PR Review Velocity Impact 4.1/100 · LOW

Which changes need focused human review? 87 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 86

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 87 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.

Verbosity Indicators20 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts48 // Step 3: Calculate position offset from the shared edge distanceCOMMENT
LOWpackages/sigma/src/rendering/nodes/labels/generator.ts130 // Step 0: Fetch node data + shared edge distance from texturesCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts163 // Step 1: Transform node position to clip spaceCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts168 // Step 2: Convert node size to screen pixelsCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts178 // Step 4: Calculate final vertex positionCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts230 // Step 5: Texture coordinatesCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts235 // Step 6: Pass colorCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts271 // Step 1: Convert thickness to WebGL unitsCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts276 // Step 2: Compute body bounds (truncated at node boundaries + extremities)COMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts315 // Step 4: Alpha modifier from how much of the label fits in the bodyCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts320 // Step 5: Compute character center offset (truncation check moved to after curvature adjustment)COMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts563 // Step 10: Transform to clip spaceCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts569 // Step 11: Texture coordinatesCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts576 // Step 12: Pass color, border color, and alpha modifierCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts584 // Step 13: Compute edge fade for soft truncationCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts288 // Step 3: Compute font scale and text dimensionsCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts335 // Step 6: Compute perpendicular offset based on position modeCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts354 // Step 7: Position character on path using offset path traversalCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts513 // Step 8: Build character quadCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts542 // Step 9: Rotate quad to align with tangentCOMMENT
Structural Annotation Overuse20 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts48 // Step 3: Calculate position offset from the shared edge distanceCOMMENT
LOWpackages/sigma/src/rendering/nodes/labels/generator.ts130 // Step 0: Fetch node data + shared edge distance from texturesCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts163 // Step 1: Transform node position to clip spaceCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts168 // Step 2: Convert node size to screen pixelsCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts178 // Step 4: Calculate final vertex positionCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts230 // Step 5: Texture coordinatesCOMMENT
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts235 // Step 6: Pass colorCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts271 // Step 1: Convert thickness to WebGL unitsCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts276 // Step 2: Compute body bounds (truncated at node boundaries + extremities)COMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts315 // Step 4: Alpha modifier from how much of the label fits in the bodyCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts320 // Step 5: Compute character center offset (truncation check moved to after curvature adjustment)COMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts563 // Step 10: Transform to clip spaceCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts569 // Step 11: Texture coordinatesCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts576 // Step 12: Pass color, border color, and alpha modifierCOMMENT
LOW⚡packages/sigma/src/rendering/edges/labels/generator.ts584 // Step 13: Compute edge fade for soft truncationCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts288 // Step 3: Compute font scale and text dimensionsCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts335 // Step 6: Compute perpendicular offset based on position modeCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts354 // Step 7: Position character on path using offset path traversalCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts513 // Step 8: Build character quadCOMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts542 // Step 9: Rotate quad to align with tangentCOMMENT
Hyper-Verbose Identifiers38 hits · 38 pts
SeverityFileLineSnippetContext
LOWpackages/utils/src/fitViewportToNodes.ts20export function getCameraStateToFitViewportToNodes(CODE
LOWpackages/sigma/src/core/labels.ts158export function edgeLabelsToDisplayFromNodes(params: {CODE
LOWpackages/sigma/src/core/captors/mouse.test.ts301 function dispatchTapCompatibilityEvents(target: HTMLElement, position: Coordinates): void {CODE
LOWpackages/sigma/src/utils/normalization.ts12export function createNormalizationFunction(extent: { x: Extent; y: Extent }): NormalizationFunction {CODE
LOWpackages/sigma/src/utils/fragments.ts7export function removePositionFromDepthRanges(ranges: DepthRanges, depth: string, position: number): void {CODE
LOWpackages/sigma/src/primitives/parser.test.ts218function createTestShapeWithVariable(): SDFShape {CODE
LOWpackages/sigma/src/rendering/data-texture.ts628export function generateAttributeTextureFetch(CODE
LOWpackages/sigma/src/rendering/glsl.ts220export function generateFindEdgeDistanceForShapes(CODE
LOW…kages/sigma/src/rendering/nodes/backdrops/generator.ts48export function generateBackdropVertexShader(options: BackdropShaderOptions): string {CODE
LOW…kages/sigma/src/rendering/nodes/backdrops/generator.ts314export function generateBackdropFragmentShader(options: BackdropShaderOptions): string {CODE
LOW⚡packages/sigma/src/rendering/nodes/labels/generator.ts41export function generateLabelVertexShader(): string {CODE
LOWpackages/sigma/src/rendering/nodes/labels/generator.ts252export function generateLabelFragmentShader(): string {CODE
LOW…/sigma/src/rendering/nodes/shapes/instance-registry.ts28export function getStaticAttributeDefault(shape: SDFShape, attr: AttributeSpecification): string {CODE
LOW…/sigma/src/rendering/nodes/shapes/instance-registry.ts88export function getRegisteredShapeInstance(slug: string): RegisteredShapeInstance | undefined {CODE
LOW…/sigma/src/rendering/nodes/shapes/instance-registry.ts138export function generateShapeSelectorGLSL(dynamicAttributeNames?: ReadonlySet<string>): string {CODE
LOW…/sigma/src/rendering/nodes/shapes/instance-registry.ts177export function generateNodeShapeSelectorGLSL(shapes: SDFShape[], shapeGlobalIds?: number[]): string {CODE
LOW…/sigma/src/rendering/nodes/shapes/instance-registry.ts241export function clearShapeInstanceRegistry(): void {CODE
LOW…es/sigma/src/rendering/edges/path-attribute-texture.ts27export function generateEdgeAttributeTextureFetch(layout: AttributeLayout): {CODE
LOWpackages/sigma/src/rendering/edges/shared-glsl.ts103export function generateNumericalTangentNormal(pathName: string): string {CODE
LOWpackages/sigma/src/rendering/edges/generator.ts101function generateAllExtremitiesGLSL(extremities: EdgeExtremity[]): string {CODE
LOWpackages/sigma/src/rendering/edges/generator.ts202function generateExtremitySdfSelector(extremities: EdgeExtremity[]): string {CODE
LOWpackages/sigma/src/rendering/edges/generator.ts225function generateAllClampFunctions(paths: EdgePath[]): string {CODE
LOWpackages/sigma/src/rendering/edges/generator.ts295export function generateEdgeFramePassVertexShader(CODE
LOWpackages/sigma/src/rendering/edges/generator.ts594function generateZonedConstantData(CODE
LOWpackages/sigma/src/rendering/edges/generator.ts639function generateVertexShaderMulti(CODE
LOWpackages/sigma/src/rendering/edges/generator.ts1017function generateFragmentShaderMulti(CODE
LOWpackages/sigma/src/rendering/edges/generator.ts1328function getConstantDataForCombination(CODE
LOWpackages/sigma/src/rendering/edges/types.ts638export function normalizeEdgeProgramOptions(options: EdgeProgramOptions): NormalizedEdgeProgramOptions {CODE
LOWpackages/sigma/src/rendering/edges/labels/base.ts37export function resolveEdgeLabelShaderConfig(options: {CODE
LOW…sigma/src/rendering/edges/labels/shared-shader-glsl.ts84export function generateEdgeLabelAlphaGlsl(minVisibilityThreshold: number, fullVisibilityThreshold: number): string {CODE
LOW…sigma/src/rendering/edges/labels/shared-shader-glsl.ts146export function generateEdgeLabelShaderPreamble(options: EdgeLabelShaderPreambleOptions): string {CODE
LOWpackages/sigma/src/rendering/edges/labels/generator.ts89export function generateEdgeLabelVertexShader(options: EdgeLabelShaderOptions): string {CODE
LOWpackages/sigma/src/rendering/edges/labels/generator.ts628export function generateEdgeLabelFragmentShader(options: { hasBorder?: boolean } = {}): string {CODE
LOW…ayout-fa2-gpu/src/programs/quad-tree/fragment-splat.ts11export function getQuadTreeSplatFragmentShader() {CODE
LOW…/layout-fa2-gpu/src/programs/quad-tree/vertex-splat.ts15export function getQuadTreeSplatVertexShader({ nodesCount }: { nodesCount: number }) {CODE
LOWpackages/layout-fa2-gpu/src/programs/quad-tree/index.ts26export function getQuadTreeLevelRowOffset(level: number): number {CODE
LOW…out-fa2-gpu/src/programs/boundaries/fragment-reduce.ts7export function getBoundariesReduceFragmentShader() {CODE
LOW…ayout-fa2-gpu/src/programs/boundaries/fragment-init.ts9export function getBoundariesInitFragmentShader({ nodesCount }: { nodesCount: number }) {CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/sigma/src/sigma.ts1081 // The camera-driven update happens via the "updated" listener, but processNodes and resize may have changedCOMMENT
LOWpackages/sigma/src/rendering/edges/layers/dashed.ts261 // language=GLSLCOMMENT
LOWpackages/sigma/src/rendering/edges/layers/dashed.ts341COMMENT
LOWpackages/sigma/src/rendering/edges/labels/generator.ts261 // -------------------------------------------------------------------------COMMENT
LOWpackages/sigma/src/rendering/edges/paths/step.ts381 float bend2 = dir2.x * dir3.y - dir2.y * dir3.x;COMMENT
LOW…ests/regression/scenarios/edge-rotation-extremities.ts1// Edge clamping against rotated, non-circular nodes — the edge frame-pass path.COMMENT
LOW…ges/browser-tests/regression/scenarios/rotation-all.ts1// Exhaustive grid for per-node rotation alignment, under a fixed camera tilt.COMMENT
LOWpackages/node-image/src/texture.ts21COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/sigma/src/rendering/edges/labels/background.ts238 // The ribbon follows the centerline path (simple & robust); for curved edgesCOMMENT