AI Slop Code Risk Monitor

google/comprehensive-rust

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

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google/comprehensive-rust, a Rust project with 33,481 GitHub stars. SynthScan examined 53,121 lines of code across 777 source files, recording 117 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
33.5K
Stars
Rust
Language
53.1K
Lines of Code
777
Files
117
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 11.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 11.4/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 0MEDIUM 6LOW 111

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 8 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.

Over-Commented Block104 hits · 104 pts
SeverityFileLineSnippetContext
LOWmdbook-exerciser/src/lib.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-exerciser/src/main.rs1// Copyright 2023 Google LLCCOMMENT
LOWtests/wdio.conf.ts1import { env } from "node:process";COMMENT
LOWtests/wdio.conf.ts21 // process simply enclose them in an array within the specs array.COMMENT
LOWtests/wdio.conf.ts41 // say you have 3 different capabilities (Chrome, Firefox, and Safari) and you haveCOMMENT
LOWtests/wdio.conf.ts81 //COMMENT
LOWtests/wdio.conf.ts101 bail: 0,COMMENT
LOWtests/wdio.conf.ts141COMMENT
LOWtests/src/slides/slides.list.ts1// to enable local testing for slide size checks please (re)generate this file by executing:COMMENT
LOWthird_party/cxx/book/snippets.rs141COMMENT
LOWtheme/speaker-notes.js1// Copyright 2023 Google LLCCOMMENT
LOW.github/workflows/check-msgid-changes.py1# Copyright 2023 Google LLCCOMMENT
LOW.github/workflows/check-redirects.py1# Copyright 2026 Google LLCCOMMENT
LOW.github/workflows/build.sh1#!/usr/bin/env bashCOMMENT
LOWxtask/src/main.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/replacements.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/frontmatter.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/lib.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/course.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/course.rs21//! Session -- a block of instructional time (typically morning or afternoon)COMMENT
LOWmdbook-course/src/markdown.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/timing_info.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/bin/course-schedule.rs1// Copyright 2023 Google LLCCOMMENT
LOWmdbook-course/src/bin/course-content.rs1// Copyright 2024 Google LLCCOMMENT
LOWmdbook-course/src/bin/mdbook-course.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/generics/exercise.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/methods-and-traits/exercise.rs1// Copyright 2024 Google LLCCOMMENT
LOWsrc/error-handling/exercise.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/borrowing/exercise.md21```rust,editable,compile_failCOMMENT
LOWsrc/borrowing/exercise.rs1// Copyright 2026 Google LLCCOMMENT
LOWsrc/types-and-values/exercise.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/references/exercise.rs1// Copyright 2022 Google LLCCOMMENT
LOWsrc/tuples-and-arrays/exercise.rs1// Copyright 2022 Google LLCCOMMENT
LOW…/bare-metal/useful-crates/zerocopy-example/src/main.rs1// Copyright 2023 Google LLCCOMMENT
LOW…bare-metal/useful-crates/allocator-example/src/main.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/logger.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_improved.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_logger.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_minimal.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_safemmio.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_psci.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/exceptions_rt.rs1// Copyright 2026 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/pl011_minimal.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/pl011_minimal.rs21/// Minimal driver for a PL011 UART.COMMENT
LOWsrc/bare-metal/aps/examples/src/exceptions.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/asm.rs1// Copyright 2025 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/pl011.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/main_rt.rs1// Copyright 2025 Google LLCCOMMENT
LOWsrc/bare-metal/aps/examples/src/pl011_struct.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/microcontrollers/examples/src/bin/pac.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/microcontrollers/examples/src/bin/hal.rs1// Copyright 2023 Google LLCCOMMENT
LOW…e-metal/microcontrollers/examples/src/bin/typestate.rs1// Copyright 2023 Google LLCCOMMENT
LOW…c/bare-metal/microcontrollers/examples/src/bin/mmio.rs1// Copyright 2023 Google LLCCOMMENT
LOW…tal/microcontrollers/examples/src/bin/board_support.rs1// Copyright 2023 Google LLCCOMMENT
LOW…are-metal/microcontrollers/examples/src/bin/minimal.rs1// Copyright 2023 Google LLCCOMMENT
LOW…al/microcontrollers/examples/src/bin/interrupts/mod.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/bare-metal/alloc-example/src/main.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/user-defined-types/exercise.rs1// Copyright 2023 Google LLCCOMMENT
LOWsrc/std-traits/exercise.rs1// Copyright 2023 Google LLCCOMMENT
LOW…i-design/meaningful-doc-comments/name-drop-signpost.md21/// [leader]: https://www.loc.gov/marc/bibliographic/bdleader.htmlCOMMENT
44 more matches not shown…
AI Slop Vocabulary2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡src/android/build_all.sh33# mkdir comprehensive-rustCOMMENT
MEDIUM⚡src/android/build_all.sh34# sudo mount -o bind ../path/to/comprehensive-rust/src comprehensive-rustCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡…e-deep-dive/initialization/how-to-initialize-memory.md25 // Step 1: Create MaybeUninitCOMMENT
LOW⚡…e-deep-dive/initialization/how-to-initialize-memory.md28 // Step 2: Write a valid value to the memoryCOMMENT
LOW⚡…e-deep-dive/initialization/how-to-initialize-memory.md31 // Step 3: Inform the type system that the memory location is validCOMMENT
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/check-redirects.py74 print(f"Error: {repo_root} is not a directory")CODE
MEDIUM.github/workflows/check-redirects.py86 print(f"Error running git diff: {e}")CODE
MEDIUM.github/workflows/check-redirects.py97 print(f"Error: {book_toml_path} not found in {repo_root}")CODE
Slop Phrases1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡src/android/build_all.sh30# you can use a bind mount:COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/check-redirects.py51def md_to_html_redirect_source(md_file):CODE
LOW.github/workflows/check-redirects.py55def html_redirect_target_to_md(redirect_source, redirect_target):CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/generics/exercise.md21// TODO: implement the `min` function used in the tests.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/android/build_all.sh17# How to useCOMMENT