AMD ROCm™ Software - GitHub Home
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 59 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 58 finding(s).
Which changes need focused human review? 117 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/precision-support/manifest_diff.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 132 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 166 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 222 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/manifest_diff.py | 224 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 206 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 306 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 308 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 370 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 372 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 411 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/precision-support/precision_fetch.py | 413 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 8 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 522 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 525 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 956 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 959 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 982 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 984 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 1007 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 1010 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 1097 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/extension/rocm_docs_custom/selector/__init__.py | 1099 | # ------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/rocm-build/compute_utils.sh | 42 | # Print message to stderr | COMMENT |
| LOW | tools/rocm-build/compute_utils.sh | 49 | # Print message to stderr and terminate current program | COMMENT |
| LOW | docs/conf.py | 215 | # Check if the branch is a docs/ branch | STRING |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 126 | # Check if release is a version reference in current document | COMMENT |
| LOW | …tension/rocm_docs_custom/csv_list_to_table/__init__.py | 29 | # Check if the file exists | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 72 | # Check if building from a tag | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 102 | # Check if there's an explicit override | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 242 | # Check if it's the format "text <target>" or just "target" | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 258 | # Check if this is a namespaced reference (e.g., "project:path") | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 261 | # Check if this target should be ignored | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 272 | # Check if this target should be remapped to a local path | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 339 | # Check if :widths: already exists in the options | COMMENT |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 386 | # Check if latex math fixing is enabled | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/autotag/tag_script.py | 299 | # Create a PR (rocm-x.x.x -> develop) to bring hotfixes into develop. | COMMENT |
| MEDIUM | tools/rocm-build/build_lightning.sh | 195 | # Initialize local variable. Does not include | COMMENT |
| MEDIUM | tools/rocm-build/build_rocm-gdb.sh | 281 | # Create the spec file. | COMMENT |
| MEDIUM | tools/rocm-build/build_rocm-gdb.sh | 359 | # Create the spec file. | COMMENT |
| MEDIUM | …/extension/rocm_docs_custom/remote_content/__init__.py | 640 | # Create a section node and parse content | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/precision-support/manifest_diff.py | 105 | CODE | |
| LOW | tools/autotag/tag_script.py | 20 | CODE | |
| LOW | tools/autotag/tag_script.py | 186 | CODE | |
| LOW | tools/autotag/util/changelog.py | 17 | CODE | |
| LOW | tools/autotag/util/defaults.py | 22 | CODE | |
| LOW | tools/autotag/util/defaults.py | 25 | CODE | |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 68 | CODE | |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 100 | CODE | |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 220 | CODE | |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 547 | CODE | |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 653 | CODE | |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 685 | CODE | |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 795 | CODE | |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 67 | CODE | |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 501 | CODE | |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 649 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # MIT License | COMMENT |
| LOW | tools/rocm-build/build_lightning.sh | 441 | # and prebuild them. ARCH will include x86_64 but might also | COMMENT |
| LOW | tools/rocm-build/build_omnitrace.sh | 181 | # -DAMDDeviceLibs_DIR="${ROCM_INSTALL_PATH}/lib/asan/cmake/AMDDeviceLibs" \ | COMMENT |
| LOW | tools/rocm-build/build_rocprofiler-systems.sh | 181 | # -Dhip_DIR="${ROCM_INSTALL_PATH}/lib/asan/cmake/hip" \ | COMMENT |
| LOW | tools/rocm-build/envsetup.sh | 181 | export KFDTEST_ROOT=$THUNK_ROOT/tests/kfdtest | COMMENT |
| LOW | tools/rocm-build/build_rocm-gdb.sh | 301 | Requires: rocm-core, rocm-dbgapi | COMMENT |
| LOW | tools/rocm-build/build_rocm-gdb.sh | 381 | Prefix: ${ROCM_INSTALL_PATH} | COMMENT |
| LOW | tools/rocm-build/build_rdc.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docs/CMakeLists.txt | 1 | # MIT License | COMMENT |
| LOW | docs/conf.py | 41 | # | COMMENT |
| LOW | docs/conf.py | 61 | # elif in_admonition_section: | COMMENT |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 521 | COMMENT | |
| LOW | docs/data/install-methods.yaml | 1 | # Install method selector data | COMMENT |
| LOW | …eference/precision-support/precision-support-meta.yaml | 1 | # Precision-support meta YAML. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/autotag/tag_script.py | 272 | except Exception as e: | CODE |
| MEDIUM | tools/autotag/tag_script.py | 277 | print(f"Error processing {library.name} for ROCm {version}") | CODE |
| LOW⚡ | tools/autotag/tag_script.py | 305 | except Exception as err: | CODE |
| MEDIUM⚡ | tools/autotag/tag_script.py | 309 | print("Error processing the following libraries:", file=sys.stderr) | CODE |
| LOW | tools/autotag/util/release_data.py | 130 | except Exception: | CODE |
| LOW | tools/autotag/util/release_data.py | 333 | except Exception as e: | CODE |
| LOW | tools/autotag/util/release_data.py | 396 | except Exception: | CODE |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 92 | except Exception as e: | CODE |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 165 | except Exception as e: | CODE |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 238 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/autotag/util/__init__.py | 1 | CODE | |
| LOW | tools/autotag/util/__init__.py | 1 | CODE | |
| LOW | tools/autotag/util/__init__.py | 2 | CODE | |
| LOW | docs/conf.py | 8 | CODE | |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 5 | CODE | |
| LOW | …tension/rocm_docs_custom/csv_list_to_table/__init__.py | 3 | CODE | |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/autotag/util/release_data.py | 366 | def create_release_bundle_data( | CODE |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 220 | def load_compatibility_matrix(app): | CODE |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 55 | def _register_selector_assets(env): | CODE |
| LOW | docs/extension/rocm_docs_custom/selector/__init__.py | 770 | def _collect_selector_options(chapter) -> dict: | CODE |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 208 | def resolve_relative_doc_path(self, doc_path, source_file_path): | CODE |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 394 | def escape_underscores_in_text(match): | CODE |
| LOW | docs/extension/rocm_docs_custom/remote_yaml/__init__.py | 79 | def assemble_precision_support(app): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/autotag/util/release_data.py | 156 | fork.push(f"refs/heads/release:refs/heads/{self.branch}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/extension/rocm_docs_custom/utils.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW | docs/extension/rocm_docs_custom/version_ref/__init__.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | docs/extension/rocm_docs_custom/remote_yaml/__init__.py | 26 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/rocm-build/compute_utils.sh | 413 | # Before calling create_wheel_packge, make sure to set the global variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/extension/rocm_docs_custom/remote_content/__init__.py | 530 | # After normpath, we need to check if the path is correct for the repository structure | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/autotag/util/release_data.py | 233 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 196 | # Usage: | STRING |