A fast, friendly, functional language.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 73 finding(s).
Are imports declared and package/API names verified? 24 finding(s).
Are wrappers, guards, and repeated structures necessary? 118 finding(s).
Which changes need focused human review? 204 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 8 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 10 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 40 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 42 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 95 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 97 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 144 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 146 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 183 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 185 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 227 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 229 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 256 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 258 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 273 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 275 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 303 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 305 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 318 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 320 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 351 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 353 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1828 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1830 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1866 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1868 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1931 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1933 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1988 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 1990 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2032 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2034 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2082 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2084 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2113 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2115 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2132 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2134 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2167 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2169 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2183 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2185 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2221 | # ============================================================================ | COMMENT |
| MEDIUM | …st/snapshots/nominal/associated_items_comprehensive.md | 2223 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 8 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 10 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 40 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 42 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 150 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 152 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 268 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 270 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 351 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 353 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 429 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 431 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 2067 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 2069 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 2107 | # ============================================================================ | COMMENT |
| MEDIUM | …pshots/nominal/associated_items_truly_comprehensive.md | 2109 | # ============================================================================ | COMMENT |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/glue/fx_platform_cglue_expected.h | 21 | #include <stddef.h> | COMMENT |
| LOW | test/glue/fx_platform_cglue_expected.h | 461 | #define HOSTED_IDX_HOST_BOXED_ADD 1 | COMMENT |
| LOW | test/snapshots/nominal/progressive_qualification.md | 1 | # META | COMMENT |
| LOW | test/snapshots/nominal/progressive_qualification.md | 521 | # Test progressive qualification per can_plan.md | COMMENT |
| LOW | ci/check_baseline_codegen.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ci/baseline_isa.sh | 1 | # Shared by the scripts that prove `v1` binaries contain no instruction above | COMMENT |
| LOW | ci/run_simd_v1_differential.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ci/check_str_eq_same_allocation.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ci/check_match_extension_codegen.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ci/check_match_extension_codegen.sh | 41 | # Fewer instructions here means less unrolling, not less work per byte. | COMMENT |
| LOW | ci/check_match_extension_codegen.sh | 61 | # fixture's `List.repeat` setup, which fills the buffer 32 bytes at a time | COMMENT |
| LOW | ci/check_match_extension_codegen.sh | 81 | # arm64musl the compare loop carries one extra register move for its induction | COMMENT |
| LOW | ci/check_match_extension_codegen.sh | 101 | # `ud2`, 94 to 95. On arm64musl the crash exit used to return a zeroed result | COMMENT |
| LOW | ci/benchmarks_zig/run_fx_benchmarks.sh | 281 | # version only reaches the DWARF producer string in the intermediate bitcode, | COMMENT |
| LOW | .github/workflows/nightly_gate.yml | 1 | name: Nightly Gate | COMMENT |
| LOW | .github/workflows/ci_manager.yml | 21 | # ├─> minici-build-linux ───>│ minici-linux (5 shards) | COMMENT |
| LOW | .github/workflows/ci_manager.yml | 361 | # No `error_string_contains` override: this command has no flake signature | COMMENT |
| LOW | .github/workflows/ci_manager.yml | 381 | # test stub is emitted as `libc.so` -> `libc.so.6` -> `libc.so.6.0.0`), | COMMENT |
| LOW | .github/workflows/ci_manager.yml | 561 | - name: Run MiniCI | COMMENT |
| LOW | .github/workflows/ci_zig.yml | 41 | # Caching just that under a stable build.zig.zon-hash key keeps deps | COMMENT |
| LOW | .github/workflows/ci_zig.yml | 301 | version: 0.17.0 | COMMENT |
| LOW | .github/workflows/ci_zig.yml | 441 | # the directory in its post step and saves nothing -- every run then | COMMENT |
| LOW | .github/workflows/ci_zig.yml | 501 | - uses: xyzzylabs/setup-zig@09d85d9dbb73308882e7a26e61a8f706eed40df1 # ratchet:xyzzylabs/setup-zig@v1.0.2 | COMMENT |
| LOW | .github/actions/flaky-retry/action.yml | 1 | name: 'Flaky Retry' | COMMENT |
| LOW | src/backend/llvm/debugger/roc_gdb.py | 1 | # Pretty-printers for Roc values in gdb. | COMMENT |
| LOW | src/backend/llvm/debugger/roc_lldb.py | 1 | # Summary providers for Roc values in lldb. | COMMENT |
| LOW | src/playground_wasm/README.md | 461 | // Submit invalid syntax - Parse error | COMMENT |
| LOW | src/playground_wasm/README.md | 481 | // Response: { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/snapshots/records/record_with_comments.md | 17 | street: "123 Main St", | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 27 | phone: { home: "555-1234", work: "555-5678" }, # comment7 | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 69 | (e-string-part (raw "123 Main St")))) | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 88 | (e-string-part (raw "555-1234")))) | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 91 | (e-string-part (raw "555-5678"))))))))) | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 104 | street: "123 Main St", | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 113 | phone: { home: "555-1234", work: "555-5678" }, # comment7 | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 137 | (e-literal (string "123 Main St")))) | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 159 | (e-literal (string "555-1234")))) | CODE |
| LOW | test/snapshots/records/record_with_comments.md | 162 | (e-literal (string "555-5678")))))))))))) | CODE |
| LOW | test/snapshots/records/record_nested.md | 11 | street: "123 Main St", | CODE |
| LOW | test/snapshots/records/record_nested.md | 17 | phone: { home: "555-1234", work: "555-5678" }, | CODE |
| LOW | test/snapshots/records/record_nested.md | 55 | (e-string-part (raw "123 Main St")))) | CODE |
| LOW⚡ | test/snapshots/records/record_nested.md | 74 | (e-string-part (raw "555-1234")))) | CODE |
| LOW⚡ | test/snapshots/records/record_nested.md | 77 | (e-string-part (raw "555-5678"))))))))) | CODE |
| LOW⚡ | test/snapshots/records/record_nested.md | 84 | street: "123 Main St", | CODE |
| LOW⚡ | test/snapshots/records/record_nested.md | 90 | phone: { home: "555-1234", work: "555-5678" }, | CODE |
| LOW | test/snapshots/records/record_nested.md | 111 | (e-literal (string "123 Main St")))) | CODE |
| LOW | test/snapshots/records/record_nested.md | 133 | (e-literal (string "555-1234")))) | CODE |
| LOW | test/snapshots/records/record_nested.md | 136 | (e-literal (string "555-5678")))))))))))) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/benchmarks_zig/run_fx_benchmarks.sh | 12 | # Check if file content differs between branches | COMMENT |
| LOW | ci/benchmarks_zig/run_fx_benchmarks.sh | 560 | # Check if file content changed between branches | COMMENT |
| LOW | ci/benchmarks_zig/run_fx_benchmarks.sh | 660 | # Check if this file is in the CHANGED_FILES list | COMMENT |
| LOW | ci/benchmarks_zig/run_local_benchmarks.sh | 199 | # Check if base branch exists | COMMENT |
| LOW⚡ | devtools/lldb_line_tracer.py | 44 | # Check if the path from debug info ends with our target path | COMMENT |
| LOW⚡ | devtools/lldb_line_tracer.py | 51 | # Check if we've entered a new function | COMMENT |
| LOW | .github/workflows/ci_zig.yml | 537 | # Check if nix-related files changed. On full runs (nightly gate) the | COMMENT |
| LOW | .github/actions/flaky-retry/action.yml | 73 | # Check if command succeeded | COMMENT |
| LOW | .github/actions/flaky-retry/action.yml | 85 | # Check if error matches retry condition | COMMENT |
| LOW | .github/actions/flaky-retry/action.yml | 114 | # Check if command succeeded | COMMENT |
| LOW | .github/actions/flaky-retry/action.yml | 126 | # Check if error matches retry condition. `-cmatch` (not `-match`) so | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …exhaustiveness/002_centralize_uninhabited_filtering.md | 80 | ### Step 1: Understand the current code | COMMENT |
| LOW | …exhaustiveness/002_centralize_uninhabited_filtering.md | 87 | ### Step 2: Remove the constructor-lookup check from `Pattern.isInhabited()` | COMMENT |
| LOW | …exhaustiveness/002_centralize_uninhabited_filtering.md | 114 | ### Step 3: Verify filtering in `checkExhaustiveSketched()` | COMMENT |
| LOW | …exhaustiveness/002_centralize_uninhabited_filtering.md | 130 | ### Step 4: Add filtering to usefulness checking (if needed) | COMMENT |
| LOW | …exhaustiveness/002_centralize_uninhabited_filtering.md | 152 | ### Step 5: Update comments/documentation | COMMENT |
| LOW | CONTRIBUTING/exhaustiveness/008_silent_skipping.md | 102 | ### Step 1: Create Skip Reason Enum | COMMENT |
| LOW | CONTRIBUTING/exhaustiveness/008_silent_skipping.md | 123 | ### Step 2: Return Skip Reason Instead of TypeError | COMMENT |
| LOW | CONTRIBUTING/exhaustiveness/008_silent_skipping.md | 135 | ### Step 3: Report Skips in Check.zig | COMMENT |
| LOW | src/backend/llvm/README.md | 53 | ### Step 1: Generate LLVM IR from Monomorphized IR | COMMENT |
| LOW | src/backend/llvm/README.md | 87 | ### Step 2: Serialize to Bitcode | COMMENT |
| LOW | src/backend/llvm/README.md | 102 | ### Step 3: Compile Bitcode to Object Code | COMMENT |
| LOW | src/backend/llvm/README.md | 125 | ### Step 4: Link to Executable | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/cli/cache_work_bench.py | 49 | except (FileNotFoundError, ProcessLookupError): | CODE |
| HIGH | devtools/lldb_line_tracer.py | 4 | except ImportError: | CODE |
| HIGH | devtools/lldb_line_tracer.py | 150 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | ci/test_compiler_identity.py | 39 | def test_same_declared_contents_reuse_identity(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 46 | def test_dirty_semantic_edit_invalidates_and_revert_restores(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 55 | def test_import_membership_add_delete_and_rename(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 66 | def test_dependency_and_toolchain_edits_invalidate(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 74 | def test_semantic_options_are_order_independent_but_changes_invalidate(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 79 | def test_source_location_does_not_change_identity(self): | CODE |
| LOW⚡ | ci/test_compiler_identity.py | 86 | def test_dependency_order_is_stable_and_names_are_unique(self): | CODE |
| LOW | src/snapshot_tool/snapshot.js | 487 | function clearSourceRangeHighlight() { | CODE |
| LOW | src/snapshot_tool/snapshot.js | 592 | function highlightMarkupElementAtByte(bytePosition) { | CODE |
| LOW | src/snapshot_tool/snapshot.js | 610 | function scrollToMarkupElementAtByte(bytePosition) { | CODE |
| LOW | src/snapshot_tool/snapshot.js | 634 | function findNarrowestMarkupElement(container, bytePosition) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/cli/pack_publication_bench.py | 33 | CODE | |
| LOW | test/cli/interface_cache_bench.py | 23 | CODE | |
| LOW | test/cli/cache_work_bench.py | 25 | CODE | |
| LOW | test/cli/cache_work_bench.py | 65 | CODE | |
| LOW | ci/test_fixture_isolation.py | 78 | CODE | |
| LOW | ci/vendor_mingw_runtime.py | 124 | CODE | |
| LOW | ci/vendor_mingw_runtime.py | 196 | CODE | |
| LOW | ci/test_build_cache.py | 36 | CODE | |
| LOW | CONTRIBUTING/eval_coverage.py | 239 | CODE | |
| LOW | devtools/lldb_line_tracer.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING/eval_coverage.py | 54 | print("Error: cannot find repo root (no build.zig found).", file=sys.stderr) | CODE |
| LOW | devtools/lldb_line_tracer.py | 73 | except Exception as e: | CODE |
| LOW | devtools/lldb_line_tracer.py | 104 | except Exception as e: | CODE |
| MEDIUM | devtools/lldb_line_tracer.py | 119 | print("Error: No target selected in debugger.") | CODE |
| MEDIUM⚡ | devtools/lldb_line_tracer.py | 244 | 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.py | 245 | except Exception as e: | STRING |
| MEDIUM⚡ | devtools/lldb_line_tracer.py | 246 | print(f"An error occurred while running LLDB: {e}") | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ci/test_compiler_artifact_identity.py | 129 | } }), "167772313") != null); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | devtools/lldb_line_tracer.py | 40 | # Normalize paths for robust comparison | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/vendor_mingw_runtime.py | 44 | CODE | |
| LOW | CONTRIBUTING/eval_coverage.py | 30 | CODE | |
| LOW | devtools/lldb_line_tracer.py | 3 | CODE |