AI Slop Code Risk Monitor

onnx/models

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

A collection of pre-trained, state-of-the-art models in the ONNX format

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for onnx/models, a Jupyter Notebook project with 9,847 GitHub stars. SynthScan examined 484,280 lines of code across 2280 source files, recording 114 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.

0.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
9.8K
Stars
Jupyter Notebook
Language
484.3K
Lines of Code
2.3K
Files
114
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 0.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 1.7/100 · LOW

Which changes need focused human review? 114 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 1MEDIUM 25LOW 88

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 114 distinct pattern matches across 13 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.

Decorative Section Separators22 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUM…ated/vision/body_analysis/age_gender/levi_googlenet.py11# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…ated/vision/body_analysis/age_gender/levi_googlenet.py52# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…ated/vision/body_analysis/age_gender/levi_googlenet.py78# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…ated/vision/body_analysis/age_gender/levi_googlenet.py105# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…ated/vision/body_analysis/age_gender/levi_googlenet.py129# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/age_gender/rothe_vgg.py11# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/age_gender/rothe_vgg.py52# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/age_gender/rothe_vgg.py78# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/age_gender/rothe_vgg.py104# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/ultraface/demo.py9# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMvalidated/vision/body_analysis/ultraface/demo.py51# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py13#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py15#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py55#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py57#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py105#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py107#--------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion_segmentation/duc/dependencies/cityscapes_labels.py126#--------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion_segmentation/duc/dependencies/cityscapes_labels.py128#--------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion_segmentation/duc/dependencies/cityscapes_labels.py132# ----------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py156#--------------------------------------------------------------------------------COMMENT
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py158#--------------------------------------------------------------------------------COMMENT
Unused Imports34 hits · 34 pts
SeverityFileLineSnippetContext
LOWvalidated/vision/classification/imagenet_preprocess.py5CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py28CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py29CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py30CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py32CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py33CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py34CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py36CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py38CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py40CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py41CODE
LOW…ion/body_analysis/arcface/dependencies/verification.py47CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py28CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py29CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py30CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py32CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py34CODE
LOW…n/body_analysis/arcface/dependencies/mtcnn_detector.py9CODE
LOW…n/body_analysis/arcface/dependencies/mtcnn_detector.py11CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py3CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py4CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py5CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py10CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py12CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py13CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py14CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py16CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py22CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py23CODE
LOW…ion_segmentation/duc/dependencies/cityscapes_loader.py14CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py19CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py20CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py21CODE
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py35CODE
Deep Nesting19 hits · 19 pts
SeverityFileLineSnippetContext
LOWvalidated/workflow_scripts/test_models.py16CODE
LOWvalidated/workflow_scripts/test_models.py45CODE
LOWvalidated/workflow_scripts/ort_test_dir_utils.py30CODE
LOWvalidated/workflow_scripts/ort_test_dir_utils.py76CODE
LOWvalidated/workflow_scripts/ort_test_dir_utils.py193CODE
LOWvalidated/workflow_scripts/ort_test_dir_utils.py119CODE
LOW…ion/body_analysis/arcface/dependencies/symbol_utils.py15CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py462CODE
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py540CODE
LOW…ision/body_analysis/arcface/dependencies/face_image.py97CODE
LOW…ision/body_analysis/arcface/dependencies/face_image.py143CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py99CODE
LOW…ision/body_analysis/arcface/dependencies/image_iter.py165CODE
LOW…ion_segmentation/duc/dependencies/cityscapes_loader.py115CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py80CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py100CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py310CODE
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py214CODE
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py259CODE
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOW…ion/body_analysis/arcface/dependencies/verification.py1# SPDX-License-Identifier: MITCOMMENT
LOW…d/vision/body_analysis/arcface/dependencies/fresnet.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOW…ion_segmentation/duc/dependencies/cityscapes_labels.py21 # We use them to uniquely name a classCOMMENT
LOW…ion_segmentation/duc/dependencies/cityscapes_labels.py121 if category in category2labels:COMMENT
LOW…sfer/fast_neural_style/dependencies/transformer_net.py1# SPDX-License-Identifier: BSD-3-ClauseCOMMENT
LOW…sfer/fast_neural_style/dependencies/transformer_net.py21COMMENT
LOW…_comprehension/bert-squad/dependencies/tokenization.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py81 s.append("end_position: %d" % (self.end_position))COMMENT
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py401 # For example, let's say:COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippetContext
LOWvalidated/workflow_scripts/onnx_test_data_utils.py23def read_sequenceproto_pb_file(filename):CODE
LOWvalidated/workflow_scripts/test_utils.py62def remove_onnxruntime_test_dir():CODE
LOWvalidated/workflow_scripts/ort_test_dir_utils.py30def _create_missing_input_data(model_inputs, name_input_map, symbolic_dim_values_map, initializer_set):CODE
LOW…ed/vision/body_analysis/arcface/dependencies/helper.py169def detect_first_stage_warpper( args ):CODE
LOW…n/body_analysis/arcface/dependencies/mtcnn_detector.py529 def find_tfrom_between_shapes(self, from_shape, to_shape):CODE
LOW…ext/machine_comprehension/t5/dependencies/T5-export.py25def turn_model_into_encoder_decoder(model):CODE
LOW…ext/machine_comprehension/t5/dependencies/T5-export.py36def generate_onnx_representation(pretrained_version=None, output_prefix=None, model=None):CODE
LOW…_comprehension/bert-squad/dependencies/tokenization.py30def validate_case_matches_checkpoint(do_lower_case, init_checkpoint):CODE
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py122def convert_examples_to_features(examples, tokenizer, max_seq_length, doc_stride, max_query_length):CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMvalidated/workflow_scripts/onnx_test_data_utils.py3# This file is cloned from microsoft/onnxruntime/tools/pythonCOMMENT
MEDIUMvalidated/workflow_scripts/ort_test_dir_utils.py3# This file is cloned from microsoft/onnxruntime/tools/python and updated L57 by adding default dim value 1COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…n/body_analysis/arcface/dependencies/mtcnn_detector.py14except ImportError:CODE
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…ision/body_analysis/arcface/dependencies/image_iter.py30CODE
LOW…egmentation/retinanet/dependencies/retinanet-export.py120CODE
LOW…sfer/fast_neural_style/dependencies/transformer_net.py89CODE
LOW…sfer/fast_neural_style/dependencies/transformer_net.py111CODE
LOW…sfer/fast_neural_style/dependencies/transformer_net.py134CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…ion_segmentation/duc/dependencies/cityscapes_labels.py30 'trainId' , # Feel free to modify these IDs as suitable for your method. Then createCODE
LOW…ion_segmentation/duc/dependencies/cityscapes_labels.py32 # 'preparation' folder. However, make sure to validate or submit resultsCOMMENT
LOW…d/text/machine_comprehension/t5/dependencies/models.py114 prompt: str to run (don't forget to add at the beginning the task to run such as "summarize:"STRING
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWvalidated/workflow_scripts/test_models.py74 # Step 1: check the ONNX model and test_data_set from .tar.gz by ORTCOMMENT
LOWvalidated/workflow_scripts/test_models.py97 # Step 2: check the ONNX model inside .tar.gz by ONNXCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWvalidated/workflow_scripts/test_models.py74 # Step 1: check the ONNX model and test_data_set from .tar.gz by ORTCOMMENT
LOWvalidated/workflow_scripts/test_models.py97 # Step 2: check the ONNX model inside .tar.gz by ONNXCOMMENT
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py358 # just create a nonce prediction in this case to avoid failure.COMMENT
LOW…omprehension/bert-squad/dependencies/run_onnx_squad.py416 # can fail in certain cases in which case we just return `orig_text`.COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWvalidated/workflow_scripts/test_models.py86 except Exception as e:CODE
LOWvalidated/workflow_scripts/test_models.py108 except Exception as e:CODE