AI Slop Code RIsk Monitor

lutzroeder/netron

Visualizer for neural network, deep learning and machine learning models

11.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for lutzroeder/netron, a JavaScript project with 33,557 GitHub stars. SynthScan examined 266,961 lines of code across 215 source files, recording 351 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 11.5 (Moderate 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.

11.5
Adjusted Signal
11.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
33.6K
Stars
JavaScript
Language
267.0K
Lines of Code
215
Files
351
Pattern Hits
2026-10-12
Scan Date
1.40
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 0.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 43.2/100 · MEDIUM

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 43.6/100 · MEDIUM

Which changes need focused human review? 351 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 300HIGH 2MEDIUM 0LOW 49

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 351 distinct pattern matches across 11 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.

Hallucination Indicators300 hits · 3002 pts
SeverityFileLineSnippetContext
CRITICAL⚡source/pytorch-schema.js284 case 1: return torch.jit.mobile.serialization.Int.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js285 case 2: return torch.jit.mobile.serialization.Bool.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js286 case 3: return torch.jit.mobile.serialization.Double.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js287 case 4: return torch.jit.mobile.serialization.ComplexDouble.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js288 case 5: return torch.jit.mobile.serialization.TensorMetadata.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js289 case 6: return torch.jit.mobile.serialization.String.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js290 case 7: return torch.jit.mobile.serialization.List.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js291 case 8: return torch.jit.mobile.serialization.Tuple.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js292 case 9: return torch.jit.mobile.serialization.Dict.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js293 case 10: return torch.jit.mobile.serialization.Object.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js294 case 11: return torch.jit.mobile.serialization.IntList.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js295 case 12: return torch.jit.mobile.serialization.DoubleList.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js296 case 13: return torch.jit.mobile.serialization.BoolList.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js297 case 14: return torch.jit.mobile.serialization.Device.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js298 case 15: return torch.jit.mobile.serialization.EnumValue.decode(reader, position);CODE
CRITICAL⚡source/pytorch-schema.js299 case 16: return torch.jit.mobile.serialization.Function.decode(reader, position);CODE
CRITICALsource/pytorch-schema.js331 return torch.jit.mobile.serialization.Module.decode(reader, reader.root);CODE
CRITICAL⚡source/megengine-schema.js2192 case 1: return mgb.serialization.fbs.v2.DefaultTensorFormat.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2193 case 2: return mgb.serialization.fbs.v2.Image2DPackedTensorFormat.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2194 case 3: return mgb.serialization.fbs.v2.LowbitsAlignedTensorFormat.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2243 case 1: return mgb.serialization.fbs.param.Empty.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2244 case 2: return mgb.serialization.fbs.param.Axis.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2245 case 3: return mgb.serialization.fbs.param.Convolution.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2246 case 4: return mgb.serialization.fbs.param.MaskPropagate.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2247 case 5: return mgb.serialization.fbs.param.ConvPooling.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2248 case 6: return mgb.serialization.fbs.param.ConvBias.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2249 case 7: return mgb.serialization.fbs.param.SeparableConv.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2250 case 8: return mgb.serialization.fbs.param.Images2Neibs.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2251 case 9: return mgb.serialization.fbs.param.Pooling.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2252 case 10: return mgb.serialization.fbs.param.LRN.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2253 case 11: return mgb.serialization.fbs.param.BN.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2254 case 12: return mgb.serialization.fbs.param.ROIPooling.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2255 case 13: return mgb.serialization.fbs.param.WarpPerspective.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2256 case 14: return mgb.serialization.fbs.param.SpatialTfGridGenerator.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2257 case 15: return mgb.serialization.fbs.param.SpatialTfSampler.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2258 case 16: return mgb.serialization.fbs.param.MGBAddUpdate.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2259 case 17: return mgb.serialization.fbs.param.Elemwise.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2260 case 18: return mgb.serialization.fbs.param.ElemwiseMultiType.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2261 case 19: return mgb.serialization.fbs.param.PowC.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2262 case 20: return mgb.serialization.fbs.param.MatrixMul.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2263 case 21: return mgb.serialization.fbs.v2.DeprecatedParam.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2264 case 22: return mgb.serialization.fbs.param.SVD.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2265 case 23: return mgb.serialization.fbs.param.Reduce.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2266 case 24: return mgb.serialization.fbs.param.Cumsum.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2267 case 25: return mgb.serialization.fbs.param.CondTake.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2268 case 26: return mgb.serialization.fbs.param.Argsort.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2269 case 27: return mgb.serialization.fbs.param.IndexingRemap.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2270 case 28: return mgb.serialization.fbs.param.MGBSleep.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2271 case 29: return mgb.serialization.fbs.param.Linspace.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2272 case 30: return mgb.serialization.fbs.param.LinspaceFull.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2273 case 31: return mgb.serialization.fbs.param.Eye.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2274 case 32: return mgb.serialization.fbs.param.UniformRNG.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2275 case 33: return mgb.serialization.fbs.param.GaussianRNG.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2276 case 34: return mgb.serialization.fbs.param.Flip.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2277 case 35: return mgb.serialization.fbs.param.Rotate.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2278 case 36: return mgb.serialization.fbs.param.ROICopy.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2279 case 37: return mgb.serialization.fbs.param.CvtColor.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2280 case 38: return mgb.serialization.fbs.param.WarpAffine.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2281 case 39: return mgb.serialization.fbs.param.GaussianBlur.decode(reader, position);CODE
CRITICAL⚡source/megengine-schema.js2282 case 40: return mgb.serialization.fbs.param.Resize.decode(reader, position);CODE
240 more matches not shown…
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/keras_script.py97CODE
LOWtools/keras_script.py149CODE
LOWtools/keras_script.py174CODE
LOWtools/nnabla_script.py19CODE
LOWtools/nnabla_script.py102CODE
LOWtools/nnabla_script.py20CODE
LOWsource/server.py206CODE
LOWsource/server.py67CODE
LOWsource/onnx.py97CODE
LOWsource/pytorch.py58CODE
LOWsource/pytorch.py80CODE
LOWsource/pytorch.py148CODE
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsource/tf-proto.js1438 tensorflow.AttrValue.valueSet = tensorflow.AttrValue.valueSet || new Set(["s", "i", "f", "b", "type", "shape", "CODE
LOWsource/tf-proto.js1519 case "placeholder":CODE
LOWsource/tf-proto.js1559 if ('placeholder' in obj) {CODE
LOWsource/tf.js977 case 'placeholder': {CODE
LOWsource/tf.js978 type = 'placeholder';CODE
LOWsource/cntk.js179 // VariableKind { 0: 'input', 1: 'output', 2: 'parameter', 3: 'constant', 4: 'placeholder' }COMMENT
LOWsource/pytorch.js235 if (obj.op === 'placeholder') {CODE
LOWsource/pytorch.js664 } else if (obj.op === 'placeholder') {CODE
LOWsource/pytorch.js1076 if (obj.op === 'placeholder') {CODE
LOWsource/view.js5122 this._query.setAttribute('placeholder', 'Search');CODE
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/backend.py81COMMENT
LOWsource/gguf.js1161 };COMMENT
LOWsource/dagre.js161 // Returns the amount of slack for the given edge.COMMENT
LOWsource/dagre.js181 // Constructs a spanning tree with tight edges and adjusted the input node's ranks to achieve this.COMMENT
LOWsource/dagre.js241 // This algorithm scales well and is fast in practice, it yields rather poor solutions.COMMENT
LOWsource/dagre.js281 }COMMENT
LOWsource/dagre.js301 // edges in the tree have no slack (difference between length of edgeCOMMENT
LOWsource/dagre.js881 queue.push(v);COMMENT
LOWsource/dagre.js1241 // This makes it easy to walk the hierarchy of movable nodes during ordering.COMMENT
LOWsource/dagre.js1801 };COMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHsource/server.py147except: # noqa: E722CODE
HIGHsource/server.py227except: # noqa: E722CODE
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/pytorch_script.py23logger = logging.getLogger(__name__)CODE
LOWtest/backend.py17logger = logging.getLogger(__name__)CODE
LOWtest/measures.py11logger = logging.getLogger(__name__)CODE
LOWsource/server.py21logger = logging.getLogger(__name__)CODE
LOWsource/__init__.py10__all__ = ["start", "stop", "status", "wait", "serve", "widget", "__version__"]CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsource/__init__.py8CODE
LOWsource/__init__.py8CODE
LOWsource/__init__.py8CODE
LOWsource/__init__.py8CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/tablegen.js1672 // Step 1: Build initial template bindings for this record from its immediate parentsCOMMENT
LOWtools/tablegen.js1698 // Step 2: Process parents and flatten fieldsCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/tablegen.js1672 // Step 1: Build initial template bindings for this record from its immediate parentsCOMMENT
LOWtools/tablegen.js1698 // Step 2: Process parents and flatten fieldsCOMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/backend.py52def _test_torchscript_transformer():CODE
LOWtest/backend.py71def _test_torchscript_quantized():CODE
LOWsource/server.py46class _HTTPRequestHandler(http.server.BaseHTTPRequestHandler):CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsource/server.py160CODE