AI Slop Code Risk Monitor

roc-lang/roc

SlopCodeMonitor badge for roc-lang/roc Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A fast, friendly, functional language.

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for roc-lang/roc, a Zig project with 6,179 GitHub stars. SynthScan examined 257,273 lines of code across 1581 source files, recording 204 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.2K
Stars
Zig
Language
257.3K
Lines of Code
1.6K
Files
204
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 1.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 5.5/100 · LOW

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

PR Review Velocity Impact 8.0/100 · LOW

Which changes need focused human review? 204 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 4MEDIUM 102LOW 98

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 204 distinct pattern matches across 12 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 Separators97 hits · 249 pts
SeverityFileLineSnippetContext
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md8# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md10# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md40# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md42# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md95# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md97# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md144# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md146# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md183# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md185# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md227# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md229# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md256# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md258# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md273# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md275# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md303# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md305# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md318# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md320# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md351# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md353# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1828# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1830# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1866# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1868# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1931# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1933# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1988# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md1990# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2032# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2034# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2082# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2084# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2113# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2115# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2132# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2134# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2167# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2169# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2183# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2185# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2221# ============================================================================COMMENT
MEDIUM…st/snapshots/nominal/associated_items_comprehensive.md2223# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md8# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md10# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md40# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md42# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md150# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md152# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md268# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md270# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md351# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md353# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md429# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md431# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md2067# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md2069# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md2107# ============================================================================COMMENT
MEDIUM…pshots/nominal/associated_items_truly_comprehensive.md2109# ============================================================================COMMENT
37 more matches not shown…
Over-Commented Block28 hits · 27 pts
SeverityFileLineSnippetContext
LOWtest/glue/fx_platform_cglue_expected.h21#include <stddef.h>COMMENT
LOWtest/glue/fx_platform_cglue_expected.h461#define HOSTED_IDX_HOST_BOXED_ADD 1COMMENT
LOWtest/snapshots/nominal/progressive_qualification.md1# METACOMMENT
LOWtest/snapshots/nominal/progressive_qualification.md521# Test progressive qualification per can_plan.mdCOMMENT
LOWci/check_baseline_codegen.sh1#!/usr/bin/env bashCOMMENT
LOWci/baseline_isa.sh1# Shared by the scripts that prove `v1` binaries contain no instruction aboveCOMMENT
LOWci/run_simd_v1_differential.sh1#!/usr/bin/env bashCOMMENT
LOWci/check_str_eq_same_allocation.sh1#!/usr/bin/env bashCOMMENT
LOWci/check_match_extension_codegen.sh1#!/usr/bin/env bashCOMMENT
LOWci/check_match_extension_codegen.sh41# Fewer instructions here means less unrolling, not less work per byte.COMMENT
LOWci/check_match_extension_codegen.sh61# fixture's `List.repeat` setup, which fills the buffer 32 bytes at a timeCOMMENT
LOWci/check_match_extension_codegen.sh81# arm64musl the compare loop carries one extra register move for its inductionCOMMENT
LOWci/check_match_extension_codegen.sh101# `ud2`, 94 to 95. On arm64musl the crash exit used to return a zeroed resultCOMMENT
LOWci/benchmarks_zig/run_fx_benchmarks.sh281# version only reaches the DWARF producer string in the intermediate bitcode,COMMENT
LOW.github/workflows/nightly_gate.yml1name: Nightly GateCOMMENT
LOW.github/workflows/ci_manager.yml21# ├─> minici-build-linux ───>│ minici-linux (5 shards)COMMENT
LOW.github/workflows/ci_manager.yml361 # No `error_string_contains` override: this command has no flake signatureCOMMENT
LOW.github/workflows/ci_manager.yml381 # test stub is emitted as `libc.so` -> `libc.so.6` -> `libc.so.6.0.0`),COMMENT
LOW.github/workflows/ci_manager.yml561 - name: Run MiniCICOMMENT
LOW.github/workflows/ci_zig.yml41 # Caching just that under a stable build.zig.zon-hash key keeps depsCOMMENT
LOW.github/workflows/ci_zig.yml301 version: 0.17.0COMMENT
LOW.github/workflows/ci_zig.yml441 # the directory in its post step and saves nothing -- every run thenCOMMENT
LOW.github/workflows/ci_zig.yml501 - uses: xyzzylabs/setup-zig@09d85d9dbb73308882e7a26e61a8f706eed40df1 # ratchet:xyzzylabs/setup-zig@v1.0.2COMMENT
LOW.github/actions/flaky-retry/action.yml1name: 'Flaky Retry'COMMENT
LOWsrc/backend/llvm/debugger/roc_gdb.py1# Pretty-printers for Roc values in gdb.COMMENT
LOWsrc/backend/llvm/debugger/roc_lldb.py1# Summary providers for Roc values in lldb.COMMENT
LOWsrc/playground_wasm/README.md461// Submit invalid syntax - Parse errorCOMMENT
LOWsrc/playground_wasm/README.md481// Response: {COMMENT
Fake / Example Data20 hits · 22 pts
SeverityFileLineSnippetContext
LOWtest/snapshots/records/record_with_comments.md17 street: "123 Main St",CODE
LOWtest/snapshots/records/record_with_comments.md27 phone: { home: "555-1234", work: "555-5678" }, # comment7CODE
LOWtest/snapshots/records/record_with_comments.md69 (e-string-part (raw "123 Main St"))))CODE
LOWtest/snapshots/records/record_with_comments.md88 (e-string-part (raw "555-1234"))))CODE
LOWtest/snapshots/records/record_with_comments.md91 (e-string-part (raw "555-5678")))))))))CODE
LOWtest/snapshots/records/record_with_comments.md104 street: "123 Main St",CODE
LOWtest/snapshots/records/record_with_comments.md113 phone: { home: "555-1234", work: "555-5678" }, # comment7CODE
LOWtest/snapshots/records/record_with_comments.md137 (e-literal (string "123 Main St"))))CODE
LOWtest/snapshots/records/record_with_comments.md159 (e-literal (string "555-1234"))))CODE
LOWtest/snapshots/records/record_with_comments.md162 (e-literal (string "555-5678"))))))))))))CODE
LOWtest/snapshots/records/record_nested.md11 street: "123 Main St",CODE
LOWtest/snapshots/records/record_nested.md17 phone: { home: "555-1234", work: "555-5678" },CODE
LOWtest/snapshots/records/record_nested.md55 (e-string-part (raw "123 Main St"))))CODE
LOW⚡test/snapshots/records/record_nested.md74 (e-string-part (raw "555-1234"))))CODE
LOW⚡test/snapshots/records/record_nested.md77 (e-string-part (raw "555-5678")))))))))CODE
LOW⚡test/snapshots/records/record_nested.md84 street: "123 Main St",CODE
LOW⚡test/snapshots/records/record_nested.md90 phone: { home: "555-1234", work: "555-5678" },CODE
LOWtest/snapshots/records/record_nested.md111 (e-literal (string "123 Main St"))))CODE
LOWtest/snapshots/records/record_nested.md133 (e-literal (string "555-1234"))))CODE
LOWtest/snapshots/records/record_nested.md136 (e-literal (string "555-5678"))))))))))))CODE
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWci/benchmarks_zig/run_fx_benchmarks.sh12# Check if file content differs between branchesCOMMENT
LOWci/benchmarks_zig/run_fx_benchmarks.sh560 # Check if file content changed between branchesCOMMENT
LOWci/benchmarks_zig/run_fx_benchmarks.sh660 # Check if this file is in the CHANGED_FILES listCOMMENT
LOWci/benchmarks_zig/run_local_benchmarks.sh199 # Check if base branch existsCOMMENT
LOW⚡devtools/lldb_line_tracer.py44 # Check if the path from debug info ends with our target pathCOMMENT
LOW⚡devtools/lldb_line_tracer.py51 # Check if we've entered a new functionCOMMENT
LOW.github/workflows/ci_zig.yml537 # Check if nix-related files changed. On full runs (nightly gate) theCOMMENT
LOW.github/actions/flaky-retry/action.yml73 # Check if command succeededCOMMENT
LOW.github/actions/flaky-retry/action.yml85 # Check if error matches retry conditionCOMMENT
LOW.github/actions/flaky-retry/action.yml114 # Check if command succeededCOMMENT
LOW.github/actions/flaky-retry/action.yml126 # Check if error matches retry condition. `-cmatch` (not `-match`) soCOMMENT
Structural Annotation Overuse12 hits · 18 pts
SeverityFileLineSnippetContext
LOW…exhaustiveness/002_centralize_uninhabited_filtering.md80### Step 1: Understand the current codeCOMMENT
LOW…exhaustiveness/002_centralize_uninhabited_filtering.md87### Step 2: Remove the constructor-lookup check from `Pattern.isInhabited()`COMMENT
LOW…exhaustiveness/002_centralize_uninhabited_filtering.md114### Step 3: Verify filtering in `checkExhaustiveSketched()`COMMENT
LOW…exhaustiveness/002_centralize_uninhabited_filtering.md130### Step 4: Add filtering to usefulness checking (if needed)COMMENT
LOW…exhaustiveness/002_centralize_uninhabited_filtering.md152### Step 5: Update comments/documentationCOMMENT
LOWCONTRIBUTING/exhaustiveness/008_silent_skipping.md102### Step 1: Create Skip Reason EnumCOMMENT
LOWCONTRIBUTING/exhaustiveness/008_silent_skipping.md123### Step 2: Return Skip Reason Instead of TypeErrorCOMMENT
LOWCONTRIBUTING/exhaustiveness/008_silent_skipping.md135### Step 3: Report Skips in Check.zigCOMMENT
LOWsrc/backend/llvm/README.md53### Step 1: Generate LLVM IR from Monomorphized IRCOMMENT
LOWsrc/backend/llvm/README.md87### Step 2: Serialize to BitcodeCOMMENT
LOWsrc/backend/llvm/README.md102### Step 3: Compile Bitcode to Object CodeCOMMENT
LOWsrc/backend/llvm/README.md125### Step 4: Link to ExecutableCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/cli/cache_work_bench.py49except (FileNotFoundError, ProcessLookupError):CODE
HIGHdevtools/lldb_line_tracer.py4except ImportError:CODE
HIGHdevtools/lldb_line_tracer.py150except ValueError:CODE
Hyper-Verbose Identifiers11 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡ci/test_compiler_identity.py39 def test_same_declared_contents_reuse_identity(self):CODE
LOW⚡ci/test_compiler_identity.py46 def test_dirty_semantic_edit_invalidates_and_revert_restores(self):CODE
LOW⚡ci/test_compiler_identity.py55 def test_import_membership_add_delete_and_rename(self):CODE
LOW⚡ci/test_compiler_identity.py66 def test_dependency_and_toolchain_edits_invalidate(self):CODE
LOW⚡ci/test_compiler_identity.py74 def test_semantic_options_are_order_independent_but_changes_invalidate(self):CODE
LOW⚡ci/test_compiler_identity.py79 def test_source_location_does_not_change_identity(self):CODE
LOW⚡ci/test_compiler_identity.py86 def test_dependency_order_is_stable_and_names_are_unique(self):CODE
LOWsrc/snapshot_tool/snapshot.js487function clearSourceRangeHighlight() {CODE
LOWsrc/snapshot_tool/snapshot.js592function highlightMarkupElementAtByte(bytePosition) {CODE
LOWsrc/snapshot_tool/snapshot.js610function scrollToMarkupElementAtByte(bytePosition) {CODE
LOWsrc/snapshot_tool/snapshot.js634function findNarrowestMarkupElement(container, bytePosition) {CODE
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/cli/pack_publication_bench.py33CODE
LOWtest/cli/interface_cache_bench.py23CODE
LOWtest/cli/cache_work_bench.py25CODE
LOWtest/cli/cache_work_bench.py65CODE
LOWci/test_fixture_isolation.py78CODE
LOWci/vendor_mingw_runtime.py124CODE
LOWci/vendor_mingw_runtime.py196CODE
LOWci/test_build_cache.py36CODE
LOWCONTRIBUTING/eval_coverage.py239CODE
LOWdevtools/lldb_line_tracer.py19CODE
Excessive Try-Catch Wrapping7 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING/eval_coverage.py54 print("Error: cannot find repo root (no build.zig found).", file=sys.stderr)CODE
LOWdevtools/lldb_line_tracer.py73 except Exception as e:CODE
LOWdevtools/lldb_line_tracer.py104 except Exception as e:CODE
MEDIUMdevtools/lldb_line_tracer.py119 print("Error: No target selected in debugger.")CODE
MEDIUM⚡devtools/lldb_line_tracer.py244 print(f"Error: LLDB executable ('{lldb_exe_path}') not found. Please ensure LLDB is installed and in your PATH."STRING
LOW⚡devtools/lldb_line_tracer.py245 except Exception as e:STRING
MEDIUM⚡devtools/lldb_line_tracer.py246 print(f"An error occurred while running LLDB: {e}")STRING
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHci/test_compiler_artifact_identity.py129 } }), "167772313") != null);CODE
AI Slop Vocabulary1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡devtools/lldb_line_tracer.py40 # Normalize paths for robust comparisonCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWci/vendor_mingw_runtime.py44CODE
LOWCONTRIBUTING/eval_coverage.py30CODE
LOWdevtools/lldb_line_tracer.py3CODE