AI Slop Code RIsk Monitor

ROCm/ROCm

AMD ROCm™ Software - GitHub Home

4.3 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ROCm/ROCm, a Shell project with 6,819 GitHub stars. SynthScan examined 48,863 lines of code across 250 source files, recording 117 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 4.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.

4.3
Adjusted Signal
4.3
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
6.8K
Stars
Shell
Language
48.9K
Lines of Code
250
Files
117
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 7.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.2/100 · LOW

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

Agent Over-Engineering Ratio 12.4/100 · LOW

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

PR Review Velocity Impact 19.2/100 · LOW

Which changes need focused human review? 117 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 43LOW 73

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 117 distinct pattern matches across 14 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 Separators36 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUMtools/precision-support/manifest_diff.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py130# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py132# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py222# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/manifest_diff.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py82# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py306# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py308# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py370# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py372# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/precision-support/precision_fetch.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py8# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py522# ---------------------------------------------------------------------------STRING
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py525# ---------------------------------------------------------------------------STRING
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py956 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py959 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py982 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py984 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py1007 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py1010 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py1097 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/extension/rocm_docs_custom/selector/__init__.py1099 # ------------------------------------------------------------------COMMENT
Redundant / Tautological Comments13 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/rocm-build/compute_utils.sh42# Print message to stderrCOMMENT
LOWtools/rocm-build/compute_utils.sh49# Print message to stderr and terminate current programCOMMENT
LOWdocs/conf.py215# Check if the branch is a docs/ branchSTRING
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py126 # Check if release is a version reference in current documentCOMMENT
LOW…tension/rocm_docs_custom/csv_list_to_table/__init__.py29 # Check if the file existsCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py72 # Check if building from a tagCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py102 # Check if there's an explicit overrideCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py242 # Check if it's the format "text <target>" or just "target"COMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py258 # Check if this is a namespaced reference (e.g., "project:path")COMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py261 # Check if this target should be ignoredCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py272 # Check if this target should be remapped to a local pathCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py339 # Check if :widths: already exists in the optionsCOMMENT
LOW…/extension/rocm_docs_custom/remote_content/__init__.py386 # Check if latex math fixing is enabledCOMMENT
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/autotag/tag_script.py299 # Create a PR (rocm-x.x.x -> develop) to bring hotfixes into develop.COMMENT
MEDIUMtools/rocm-build/build_lightning.sh195 # Initialize local variable. Does not includeCOMMENT
MEDIUMtools/rocm-build/build_rocm-gdb.sh281 # Create the spec file.COMMENT
MEDIUMtools/rocm-build/build_rocm-gdb.sh359 # Create the spec file.COMMENT
MEDIUM…/extension/rocm_docs_custom/remote_content/__init__.py640 # Create a section node and parse contentCOMMENT
Deep Nesting16 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/precision-support/manifest_diff.py105CODE
LOWtools/autotag/tag_script.py20CODE
LOWtools/autotag/tag_script.py186CODE
LOWtools/autotag/util/changelog.py17CODE
LOWtools/autotag/util/defaults.py22CODE
LOWtools/autotag/util/defaults.py25CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py68CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py100CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py220CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py547CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py653CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py685CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py795CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py67CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py501CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py649CODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# MIT LicenseCOMMENT
LOWtools/rocm-build/build_lightning.sh441 # and prebuild them. ARCH will include x86_64 but might alsoCOMMENT
LOWtools/rocm-build/build_omnitrace.sh181 # -DAMDDeviceLibs_DIR="${ROCM_INSTALL_PATH}/lib/asan/cmake/AMDDeviceLibs" \COMMENT
LOWtools/rocm-build/build_rocprofiler-systems.sh181 # -Dhip_DIR="${ROCM_INSTALL_PATH}/lib/asan/cmake/hip" \COMMENT
LOWtools/rocm-build/envsetup.sh181export KFDTEST_ROOT=$THUNK_ROOT/tests/kfdtestCOMMENT
LOWtools/rocm-build/build_rocm-gdb.sh301Requires: rocm-core, rocm-dbgapiCOMMENT
LOWtools/rocm-build/build_rocm-gdb.sh381Prefix: ${ROCM_INSTALL_PATH}COMMENT
LOWtools/rocm-build/build_rdc.sh1#!/bin/bashCOMMENT
LOWdocs/CMakeLists.txt1# MIT LicenseCOMMENT
LOWdocs/conf.py41#COMMENT
LOWdocs/conf.py61# elif in_admonition_section:COMMENT
LOWdocs/extension/rocm_docs_custom/selector/__init__.py521COMMENT
LOWdocs/data/install-methods.yaml1# Install method selector dataCOMMENT
LOW…eference/precision-support/precision-support-meta.yaml1# Precision-support meta YAML.COMMENT
Excessive Try-Catch Wrapping10 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/autotag/tag_script.py272 except Exception as e:CODE
MEDIUMtools/autotag/tag_script.py277 print(f"Error processing {library.name} for ROCm {version}")CODE
LOW⚡tools/autotag/tag_script.py305 except Exception as err:CODE
MEDIUM⚡tools/autotag/tag_script.py309 print("Error processing the following libraries:", file=sys.stderr)CODE
LOWtools/autotag/util/release_data.py130 except Exception:CODE
LOWtools/autotag/util/release_data.py333 except Exception as e:CODE
LOWtools/autotag/util/release_data.py396 except Exception:CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py92 except Exception as e:CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py165 except Exception as e:CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py238 except Exception as e:CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtools/autotag/util/__init__.py1CODE
LOWtools/autotag/util/__init__.py1CODE
LOWtools/autotag/util/__init__.py2CODE
LOWdocs/conf.py8CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py5CODE
LOW…tension/rocm_docs_custom/csv_list_to_table/__init__.py3CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py10CODE
Hyper-Verbose Identifiers7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtools/autotag/util/release_data.py366 def create_release_bundle_data(CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py220def load_compatibility_matrix(app):CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py55def _register_selector_assets(env):CODE
LOWdocs/extension/rocm_docs_custom/selector/__init__.py770def _collect_selector_options(chapter) -> dict:CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py208 def resolve_relative_doc_path(self, doc_path, source_file_path):CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py394 def escape_underscores_in_text(match):CODE
LOWdocs/extension/rocm_docs_custom/remote_yaml/__init__.py79def assemble_precision_support(app):CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/autotag/util/release_data.py156 fork.push(f"refs/heads/release:refs/heads/{self.branch}")CODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/extension/rocm_docs_custom/utils.py92logger = logging.getLogger(__name__)CODE
LOWdocs/extension/rocm_docs_custom/version_ref/__init__.py9logger = logging.getLogger(__name__)CODE
LOW…/extension/rocm_docs_custom/remote_content/__init__.py12logger = logging.getLogger(__name__)CODE
LOWdocs/extension/rocm_docs_custom/remote_yaml/__init__.py26logger = logging.getLogger(__name__)CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/rocm-build/compute_utils.sh413# Before calling create_wheel_packge, make sure to set the global variablesCOMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/extension/rocm_docs_custom/remote_content/__init__.py530 # After normpath, we need to check if the path is correct for the repository structureCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/autotag/util/release_data.py233CODE
Example Usage Blocks1 hit · 0 pts
SeverityFileLineSnippetContext
LOWdocs/conf.py196# Usage:STRING