AI Slop Code Risk Monitor

Wilfred/difftastic

SlopCodeMonitor badge for Wilfred/difftastic Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

a structural diff that understands syntax 🟥🟩

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Wilfred/difftastic, a Rust project with 26,118 GitHub stars. SynthScan examined 74,207 lines of code across 312 source files, recording 175 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
26.1K
Stars
Rust
Language
74.2K
Lines of Code
312
Files
175
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 10.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 12.7/100 · LOW

Which changes need focused human review? 175 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 13LOW 162

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 175 distinct pattern matches across 9 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 Block148 hits · 116 pts
SeverityFileLineSnippetContext
LOWdemo_files/1/src/main.rs1//! Difftastic is a syntactic diff tool.COMMENT
LOWdemo_files/2/src/main.rs1//! Difftastic is a syntactic diff tool.COMMENT
LOWvendored_parsers/tree-sitter-janet-simple/grammar.js201 $._lit),COMMENT
LOW…_parsers/tree-sitter-janet-simple/bindings/rust/lib.rs1//! This crate provides janet_simple language support for the [tree-sitter][] parsing library.COMMENT
LOWvendored_parsers/tree-sitter-janet-simple/src/parser.c1#include <tree_sitter/parser.h>COMMENT
LOW…sers/tree-sitter-janet-simple/src/tree_sitter/parser.h1#ifndef TREE_SITTER_PARSER_H_COMMENT
LOWvendored_parsers/tree-sitter-latex/bindings/rust/lib.rs1//! This crate provides Latex language support for the [tree-sitter][] parsing library.COMMENT
LOW…red_parsers/tree-sitter-latex/src/tree_sitter/parser.h1#ifndef TREE_SITTER_PARSER_H_COMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/array.h1#ifndef TREE_SITTER_ARRAY_H_COMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/array.h41 (assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index])COMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/array.h101COMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/array.h121/// callback to determine the order.COMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/array.h281#ifdef _MSC_VERCOMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/alloc.h21#define ts_malloc ts_current_mallocCOMMENT
LOW…ored_parsers/tree-sitter-latex/src/tree_sitter/alloc.h41#ifndef ts_reallocCOMMENT
LOWsample_files/r_2.R1# This file is from https://github.com/rstudio/shiny, under the GPL v3.COMMENT
LOWsample_files/r_2.R21#' * A [bslib::bs_theme()] object. This can be used to replace a stockCOMMENT
LOWsample_files/r_2.R101 # sliderInput() et al) can resolve their HTML dependencies at render timeCOMMENT
LOWsample_files/r_2.R121 # "It appears `shiny::bootstrapLib()` was rendered outside of an Shiny ",COMMENT
LOWsample_files/r_2.R141COMMENT
LOWsample_files/r_2.R181#' Note that `func` should **not** be an anonymous function, or a function whichCOMMENT
LOWsample_files/r_2.R241#' @exportCOMMENT
LOWsample_files/r_2.R261#' For example, `fluidPage(plotOutput("plot", height = "100%"))` will notCOMMENT
LOWsample_files/r_2.R281#' @param padding Padding to use for the body. This can be a numeric vectorCOMMENT
LOWsample_files/r_2.R301#' "#two { float: right; background-color: #ccffcc; }"COMMENT
LOWsample_files/r_2.R341COMMENT
LOWsample_files/r_2.R361#' [tabPanel()].COMMENT
LOWsample_files/r_2.R381#' @param fluid `TRUE` to use a fluid layout. `FALSE` to use a fixedCOMMENT
LOWsample_files/r_2.R401#'COMMENT
LOWsample_files/r_2.R441 ))COMMENT
LOWsample_files/r_2.R461#' @exportCOMMENT
LOWsample_files/r_2.R481#' any.COMMENT
LOWsample_files/r_2.R501#' "breaks", "Breaks",COMMENT
LOWsample_files/r_2.R521#' if (input$plotType == "scatter") {COMMENT
LOWsample_files/r_2.R541#' Create a help text elementCOMMENT
LOWsample_files/r_2.R561#'COMMENT
LOWsample_files/r_2.R581#' )COMMENT
LOWsample_files/r_2.R601#' @param ... [tabPanel()] elements to include in the tabsetCOMMENT
LOWsample_files/r_2.R621#'COMMENT
LOWsample_files/r_2.R641#' # Hide the tab values.COMMENT
LOWsample_files/r_2.R681}COMMENT
LOWsample_files/r_2.R701#' respectively.COMMENT
LOWsample_files/r_2.R741COMMENT
LOWsample_files/r_2.R761#' @examplesCOMMENT
LOWsample_files/r_2.R861#' Render a [renderPlot()] or [renderImage()] within anCOMMENT
LOWsample_files/r_2.R881#' `print(p)`, then the coordinates for interactive graphics will not beCOMMENT
LOWsample_files/r_2.R901#' @param hover Similar to the `click` argument, this can be `NULL`COMMENT
LOWsample_files/r_2.R921#' `imageOutput`/`plotOutput` calls may share the same `id`COMMENT
LOWsample_files/r_2.R941#'COMMENT
LOWsample_files/r_2.R961#' }COMMENT
LOWsample_files/r_2.R981#' verbatimTextOutput("plot_clickinfo"),COMMENT
LOWsample_files/r_2.R1001#' cat("Click:\n")COMMENT
LOWsample_files/r_2.R1021#' res <- brushedPoints(data(), input$plot_brush, "speed", "dist")COMMENT
LOWsample_files/r_2.R1041#' delayType = "throttle"COMMENT
LOWsample_files/r_2.R1061#' width <- session$clientData$output_image_widthCOMMENT
LOWsample_files/r_2.R1081#' cat("Click:\n")COMMENT
LOWsample_files/r_2.R1141}COMMENT
LOWsample_files/r_2.R1181 )COMMENT
LOWsample_files/r_2.R1201#'COMMENT
LOWsample_files/r_2.R1261#' [BootstrapCOMMENT
88 more matches not shown…
Slop Phrases8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMsample_files/r_2.R358#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
MEDIUMsample_files/r_2.R474#' example, if you have an input with an id of `foo`, then you can useCOMMENT
MEDIUMsample_files/r_2.R602#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
MEDIUMsample_files/r_2.R689#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
MEDIUMsample_files/r_1.R358#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
MEDIUMsample_files/r_1.R474#' example, if you have an input with an id of `foo`, then you can useCOMMENT
MEDIUMsample_files/r_1.R602#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
MEDIUMsample_files/r_1.R689#' @param id If provided, you can use `input$`*`id`* in yourCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml21 # Create a draft release so we can add the changelog before publishing itCOMMENT
MEDIUMsample_files/r_2.R1# This file is from https://github.com/rstudio/shiny, under the GPL v3.COMMENT
MEDIUMsample_files/r_1.R1# This file is from https://github.com/rstudio/shiny, under the GPL v3.COMMENT
Fake / Example Data6 hits · 7 pts
SeverityFileLineSnippetContext
LOWvendored_parsers/tree-sitter-latex/src/node-types.json7927 "type": "placeholder",CODE
LOWvendored_parsers/tree-sitter-latex/src/node-types.json9708 "type": "placeholder",CODE
LOWvendored_parsers/tree-sitter-latex/src/grammar.json1644 "name": "placeholder"CODE
LOWvendored_parsers/tree-sitter-latex/src/grammar.json1675 "placeholder": {CODE
LOWsample_files/comments_2.rs17// a big block comment. Lorem ipsum dolor sit amet,COMMENT
LOWsample_files/comments_2.rs17// a big block comment. Lorem ipsum dolor sit amet,COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsample_files/nest_2.rs72 // TODO: Make this robust against invalid tomlCOMMENT
MEDIUMsample_files/nest_1.rs72 // TODO: Make this robust against invalid tomlCOMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdemo_files/1/src/cli/format.js233async function createIsIgnoredFromContextOrDie(context) {CODE
LOWdemo_files/2/src/cli/format.js236async function createIsIgnoredFromContextOrDie(context) {CODE
LOWsample_files/cli_tests/out_of_order_hunk_1.py5def create_app_from_runtime_config() -> Any:CODE
LOWsample_files/cli_tests/out_of_order_hunk_2.py6def create_app_from_runtime_config() -> FastAPI:CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsample_files/r_2.R71 # Check if ui has lang attribute; otherwise, NULLCOMMENT
LOWsample_files/r_1.R71 # Check if ui has lang attribute; otherwise, NULLCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…er-latex/bindings/python/tree_sitter_latex/__init__.py5__all__ = ["language"]CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…er-latex/bindings/python/tree_sitter_latex/__init__.py3CODE