AI Slop Code Risk Monitor

PRQL/prql

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

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for PRQL/prql, a Rust project with 10,935 GitHub stars. SynthScan examined 78,179 lines of code across 456 source files, recording 117 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.9 (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.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.9K
Stars
Rust
Language
78.2K
Lines of Code
456
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 7.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 1.2/100 · LOW

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

PR Review Velocity Impact 8.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 10LOW 107

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 10 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 Block98 hits · 98 pts
SeverityFileLineSnippetContext
LOW.markdownlint-cli2.yaml1config:COMMENT
LOWTaskfile.yaml1# yaml-language-server: $schema=https://json.schemastore.org/taskfile.jsonCOMMENT
LOWTaskfile.yaml381# The next two tasks are not used for either:COMMENT
LOW.pre-commit-config.yaml101 entry: "```prql$"COMMENT
LOW.prettierrc.yaml1proseWrap: alwaysCOMMENT
LOW.config/wt.toml1# Worktrunk configuration for PRQLCOMMENT
LOWprqlc/prqlc/tests/integration/bad_error_messages.rs1//! Record bad error messages here which we should improve.COMMENT
LOWprqlc/prqlc/tests/integration/sql.rs421/// The dialect forms are documented inCOMMENT
LOWprqlc/prqlc/tests/integration/sql.rs8421#[test]COMMENT
LOWprqlc/prqlc/tests/integration/dbs/docker-compose.yaml21 command: --secure-file-priv=""COMMENT
LOWprqlc/prqlc/src/lib.rs1//! # prqlcCOMMENT
LOWprqlc/prqlc/src/lib.rs21//! (resolve) │COMMENT
LOWprqlc/prqlc/src/lib.rs41// https://github.com/rust-lang/rust/issues/147648COMMENT
LOWprqlc/prqlc/src/lib.rs61//! For inline strings, use the `prqlc-macros` crate; for example:COMMENT
LOWprqlc/prqlc/src/lib.rs81//! * `cli`: enables the `prqlc` CLI binary. This is enabled by default. WhenCOMMENT
LOWprqlc/prqlc/src/lib.rs121pub mod parser;COMMENT
LOWprqlc/prqlc/src/lib.rs161 })COMMENT
LOWprqlc/prqlc/src/lib.rs261}COMMENT
LOWprqlc/prqlc/src/lib.rs281 pub color: bool,COMMENT
LOWprqlc/prqlc/src/ir/decl.rs21COMMENT
LOWprqlc/prqlc/src/ir/pl/expr.rs21COMMENT
LOWprqlc/prqlc/src/ir/pl/fold.rs1/// A trait to "fold" a PRQL AST (similar to a visitor), so we can transitivelyCOMMENT
LOWprqlc/prqlc/src/ir/rq/fold.rs1/// A trait to "fold" a PRQL AST (similar to a visitor), so we can transitivelyCOMMENT
LOWprqlc/prqlc/src/cli/jinja.rs1//! Handling of Jinja templatesCOMMENT
LOWprqlc/prqlc/src/cli/mod.rs141 /// Only displays the main pipeline and does not handle loop.COMMENT
LOWprqlc/prqlc/src/cli/mod.rs161 debug_log: Option<PathBuf>,COMMENT
LOWprqlc/prqlc/src/cli/mod.rs181 /// Print a shell completion for supported shellsCOMMENT
LOWprqlc/prqlc/src/cli/mod.rs201 ///COMMENT
LOWprqlc/prqlc/src/cli/mod.rs221 /// of node IDs (optional).COMMENT
LOWprqlc/prqlc/src/codegen/mod.rs61 /// Current remaining number of characters in lineCOMMENT
LOWprqlc/prqlc/src/codegen/ast.rs61 }COMMENT
LOWprqlc/prqlc/src/semantic/lowering.rs41 .with_code("E0001")COMMENT
LOWprqlc/prqlc/src/semantic/resolver/flatten.rs21COMMENT
LOWprqlc/prqlc/src/semantic/resolver/functions.rs441 // x,COMMENT
LOWprqlc/prqlc/src/semantic/resolver/functions.rs461 // params: [a, b],COMMENT
LOWprqlc/prqlc/src/semantic/resolver/mod.rs21COMMENT
LOWprqlc/prqlc/src/semantic/resolver/names.rs101 default_namespace: Option<&String>,COMMENT
LOWprqlc/prqlc/src/sql/dialect.rs1//! Feature map for SQL dialects.COMMENT
LOWprqlc/prqlc/src/sql/dialect.rs61/// The error a dialect raises for a `date.to_text` specifier it can't express.COMMENT
LOWprqlc/prqlc/src/sql/gen_expr.rs781 // b = b + a.start -1 (take care of 1-based index!)COMMENT
LOWprqlc/prqlc/src/sql/gen_expr.rs1101 Ok(expr.wrap_in_parenthesis())COMMENT
LOWprqlc/prqlc/src/sql/gen_expr.rs1121/// parentheses are not required. Some examples of when parentheses are not required:COMMENT
LOWprqlc/prqlc/src/sql/pq/preprocess.rs41// /// Pushes all [Transform::Select]s to the back of the pipeline.COMMENT
LOWprqlc/prqlc/src/sql/pq/anchor.rs301 second.insert(0, SqlTransform::From(riid));COMMENT
LOWprqlc/prqlc/src/sql/pq/ast.rs61COMMENT
LOWprqlc/prqlc-parser/src/lexer/lr.rs61 // - The line wrap span technically includes the comments — on a newline,COMMENT
LOWprqlc/prqlc-parser/src/parser/types.rs101 )),COMMENT
LOWprqlc/prqlc-parser/src/parser/expr.rs421 // leads to quite confusing error messages.COMMENT
LOWprqlc/prqlc-macros/src/lib.rs1//! Macros for PRQL compilation at build time.COMMENT
LOWprqlc/bindings/prqlc-python/src/lib.rs101COMMENT
LOWprqlc/bindings/elixir/native/prql/src/lib.rs101 /// Target dialect to compile to.COMMENT
LOWprqlc/bindings/java/cross.sh21#rustup target add x86_64-unknown-linux-muslCOMMENT
LOWprqlc/bindings/java/cross.sh41echo "compiling for aarch64-unknown-linux-gnu"COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/MessageKind.cs1namespace Prql.Compiler;COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/Message.cs1namespace Prql.Compiler;COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/Message.cs21 public string Reason { get; init; } = string.Empty;COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/Span.cs1namespace Prql.Compiler;COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/PrqlCompiler.cs1using System.Runtime.InteropServices;COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/PrqlCompiler.cs21 /// <exception cref="ArgumentException"><paramref name="prqlQuery"/> is null or empty.</exception>COMMENT
LOWprqlc/bindings/dotnet/PrqlCompiler/PrqlCompiler.cs61 }COMMENT
38 more matches not shown…
Decorative Section Separators4 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡prqlc/prqlc/src/lib.rs16//! ────────►COMMENT
MEDIUM⚡prqlc/prqlc/src/lib.rs18//! ◄────────COMMENT
MEDIUM⚡prqlc/prqlc/src/lib.rs26//! ────────►COMMENT
MEDIUM⚡prqlc/prqlc/src/lib.rs28//! ◄────────COMMENT
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
LOWTaskfile.yaml145 # List extensions, or just return true if we can't find `code`.COMMENT
MEDIUMprqlc/prqlc/Cargo.toml150# We use `benches/bench.rs` for the benchmark harness so disable searching forCOMMENT
MEDIUM.github/workflows/tests.yaml553 # `prove6` is the TAP harness that runs the whole `t/` directory in oneCOMMENT
MEDIUM.github/workflows/tend-review.yaml46 # local actions' POST chains; the harness moves the agent's view of it toCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡…ntent/posts/2023-01-28-format-pretty-reports/_index.md103# Step 1: First calculate important columnsCOMMENT
LOW⚡…ntent/posts/2023-01-28-format-pretty-reports/_index.md112# Step 2: Sort the resulting table by pct_changeCOMMENT
LOW⚡…ntent/posts/2023-01-28-format-pretty-reports/_index.md115# Step 3: Format the column headings and contentsCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMTaskfile.yaml3# Root Taskfile - handles setup, orchestration, and repo-wide operations.COMMENT
MEDIUMTaskfile.yaml9# - Root (this file): Setup, orchestration, repo-wide tasks (lint, test-all, build-all)COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMprqlc/Taskfile.yaml3# This file contains tasks for prqlc development:COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWprqlc/bindings/prqlc-python/python/tests/test_all.py88def test_invalid_options_name_the_offending_option() -> None:STRING
LOWprqlc/bindings/php/tests/CompilerTest.php18 public function testPrqlLibraryFileExists(): voidCODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWweb/Taskfile.yaml45 # Check if npm dependencies for the playground need to be updatedCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWprqlc/bindings/prqlc-python/python/prqlc/__init__.py3CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWweb/book/theme/highlight.js1var hljs=function(){"use strict";var e={exports:{}};function n(e){return e instanceof Map?e.clear=e.delete=e.set=()=>{thCODE