AI Slop Code Risk Monitor

chipsalliance/chisel

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

Chisel: A Modern Hardware Design Language

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for chipsalliance/chisel, a Scala project with 4,827 GitHub stars. SynthScan examined 157,988 lines of code across 835 source files, recording 67 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.8K
Stars
Scala
Language
158.0K
Lines of Code
835
Files
67
Pattern Hits
2026-10-31
Scan Date
0.04
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.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 10.8/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 10.5/100 · LOW

Which changes need focused human review? 67 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 31HIGH 0MEDIUM 2LOW 34

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

Hallucination Indicators31 hits · 360 pts
SeverityFileLineSnippetContext
CRITICAL…chisel3/experimental/SerializableModuleGenerator.scala73 !generator.getConstructors.head.getParameterTypes.last.toString.contains("$"),CODE
CRITICALsrc/test/scala/chiselTests/MultiClockSpec.scala129 svsim.verilator.Backend.CompilationSettings.default.withDisabledWarnings(Seq("MULTIDRIVEN"))CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala63 assert(dut.io.out.bits.cmp.peekValue().asBigInt == expectedCmp.litValue)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala64 assert(dut.io.out.bits.cmp.peek() == expectedCmp)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala65 assert(dut.io.out.bits.vSum.zip(expectedVSum).forall { case (portEl, expEl) =>CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala68 assert(dut.io.out.bits.vSum.peek().litValue == expectedVSum.litValue)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala69 assert(dut.io.out.bits.vOutProduct.zip(expVecProduct).forall { case (portVecEl, expVecEl) =>CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala115 dut.io.out.bits.c.expect(expectedScalar)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala116 dut.io.out.bits.c.expect(expectedScalar.U)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala117 dut.io.out.bits.c.expect(expectedScalar.U(w.W))CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala118 dut.io.out.bits.cmp.expect(expectedCmp)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala121 dut.io.out.bits.vSum.expect(expectedVSum)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala126 dut.io.out.bits.vOutProduct.expect(expVecProduct)CODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala166 dut.io.out.bits.c.expect(3) // correctCODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala167 dut.io.out.bits.c.expect(5.U) // incorrectCODE
CRITICAL⚡…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala170 thrown.getMessage must include("dut.io.out.bits.c.expect(5.U)")CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala191 dut.io.out.bits.c.expect(5.U, ExpectationValueFormat.Hex)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala216 dut.io.out.bits.c.expect(5.U, ExpectationValueFormat.Bin)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala253 dut.io.out.bits.c.expect(jumpInst.U(w.W), customFormat)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala281 dut.io.out.bits.c.expect(5.U, customFormat)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala306 dut.io.out.bits.c.expect(BigInt(5), "bigint message")CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala331 dut.io.out.bits.c.expect(5.U, ExpectationValueFormat.Hex)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala353 dut.io.out.bits.c.expect(5.U, ExpectationValueFormat.Dec)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala375 dut.io.out.bits.c.expect(5.U)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala489 dut.io.out.bits.vOutProduct.expectPartial(expVecProductPartial)CODE
CRITICAL…test/scala/chiselTests/simulator/PeekPokeAPISpec.scala572 dut.io.out.bits.vOutProduct.expectPartial(expVecProductPartial)CODE
CRITICAL…la/chiselTests/simulator/scalatest/ChiselSimSpec.scala396 svsim.verilator.Backend.CompilationSettings.default.withTraceStyle(CODE
CRITICAL…la/chiselTests/simulator/scalatest/ChiselSimSpec.scala413 svsim.verilator.Backend.CompilationSettings.default.withTraceStyle(CODE
CRITICAL…la/chiselTests/simulator/scalatest/ChiselSimSpec.scala417 svsim.verilator.Backend.CompilationSettings.TraceKind.Fst(Some(2)),CODE
CRITICAL…n/scala/chisel3/util/experimental/decode/decoder.scala102 chisel3.util.experimental.decode.TruthTable.fromString(CODE
CRITICALsrc/main/scala/chisel3/simulator/scalatest/Cli.scala83 svsim.vcs.Backend.CompilationSettings.TraceSettings.FsdbSettings(CODE
Over-Commented Block16 hits · 16 pts
SeverityFileLineSnippetContext
LOW…main/scala-2/chisel3/experimental/SourceInfoIntf.scala1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWcore/src/main/scala/chisel3/Aggregate.scala1101 def elements: SeqMap[String, Data]COMMENT
LOWcore/src/main/scala/chisel3/package.scala121 */COMMENT
LOWcore/src/main/scala/chisel3/Module.scala361 // Fake Module to serve as the _parent of the cloned portsCOMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp21 * required (or recommended) to wait until receiving a message in response to aCOMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp41#include "verilated-sources/VsvsimTestbench__Dpi.h"COMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp81 // can be sent prior to receiving this message.COMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp101 // Sent in response to the LOG command. The length of the log is providedCOMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp121 COMMAND_GET_BITS = 'G',COMMENT
LOWsvsim/src/main/resources/simulation-driver.cpp141 // if the sentinel port is set to the specified value.COMMENT
LOWwebsite/docusaurus.config.js21 // same name as their parent directory or have the name `index.md` now mapCOMMENT
LOW…cala-2/chisel3/internal/naming/NamingAnnotations.scala1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/test/scala/chiselTests/BundleSpec.scala201 "(a=UInt<8>(8), b=Bool(true), c=UInt<4>(DontCare)) contains DontCare"COMMENT
LOWsrc/main/scala/chisel3/util/SparseVec.scala141COMMENT
LOWsrc/main/scala/chisel3/util/SparseVec.scala161 // Index -> DenseVecIndex -> DenseVec(index)COMMENT
LOWsrc/main/scala/chisel3/simulator/Simulator.scala341 case error: Throwable =>COMMENT
Verbosity Indicators6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡core/src/main/scala/chisel3/internal/Error.scala86 // Step 1: Remove elements from the top in the package trimlistCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala91 // Step 2: Optionally remove elements from the bottom until the anchorCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala94 // Step 3: Remove elements from the bottom in the package trimlistCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala96 // Step 4: Reverse back to the original orderCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala99 // Step 5: Add ellipsis stack trace elements and "--full-stacktrace" infoCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala107 // Step 6: Mutate the stack trace in this exceptionCOMMENT
Structural Annotation Overuse6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡core/src/main/scala/chisel3/internal/Error.scala86 // Step 1: Remove elements from the top in the package trimlistCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala91 // Step 2: Optionally remove elements from the bottom until the anchorCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala94 // Step 3: Remove elements from the bottom in the package trimlistCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala96 // Step 4: Reverse back to the original orderCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala99 // Step 5: Add ellipsis stack trace elements and "--full-stacktrace" infoCOMMENT
LOW⚡core/src/main/scala/chisel3/internal/Error.scala107 // Step 6: Mutate the stack trace in this exceptionCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…scala/chisel3/experimental/hierarchy/Instantiate.scala41 // A more complete and robust solution would require either refining hashCode and equality on DataCOMMENT
MEDIUM.github/workflows/release-notes.yml42 # Put output through env variable to make it robust to quotesCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWlit/tests/lit.cfg.py1CODE
LOWlit/tests/lit.cfg.py3CODE
LOWlit/tests/lit.cfg.py4CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…/main/scala/chisel3/internal/BuilderContextCache.scala25 def getOrElse[A](key: Key[A], default: => A): A = cache.getOrElse(key, default).asInstanceOf[A]CODE
LOW…/main/scala/chisel3/internal/BuilderContextCache.scala31 def getOrElseUpdate[A](key: Key[A], default: => A): A = cache.getOrElseUpdate(key, default).asInstanceOf[A]CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/chiselTests/experimental/hierarchy/InstanceSpec.scala1079 // TODO don't forget to test this with heterogeneous Views (eg. viewing a tuple of a port and non-port as a single BunCOMMENT