AI Slop Code Risk Monitor

stretchr/testify

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

A toolkit with common assertions and mocks that plays nicely with the standard library

3.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for stretchr/testify, a Go project with 26,238 GitHub stars. SynthScan examined 30,568 lines of code across 77 source files, recording 98 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 3.2 (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.

3.2
Adjusted Signal
3.2
Raw Pattern Score
100%
Time Factor
2026-10-19
Last Push
26.2K
Stars
Go
Language
30.6K
Lines of Code
77
Files
98
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 14.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 98 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.0/100 · LOW

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

PR Review Velocity Impact 14.8/100 · LOW

Which changes need focused human review? 98 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 0LOW 98

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 98 distinct pattern matches across 2 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 Block97 hits · 97 pts
SeverityFileLineSnippetContext
LOW.ci.ghactions.sh1#!/usr/bin/env bashCOMMENT
LOWdoc.go1// Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.COMMENT
LOWmock/doc.go1// Package mock provides a system by which it is possible to mock your objectsCOMMENT
LOWmock/doc.go21//COMMENT
LOWmock/doc.go41//COMMENT
LOWmock/mock.go201//COMMENT
LOWmock/mock.go281}COMMENT
LOWmock/mock.go781*/COMMENT
LOWmock/mock.go801// func anyString interface{} {COMMENT
LOWmock/mock.go821COMMENT
LOWmock/mock.go901 }COMMENT
LOWrequire/doc.go1// Package require implements the same assertions as the assert package butCOMMENT
LOWrequire/doc.go21//COMMENT
LOWrequire/require_forward.go101//COMMENT
LOWrequire/require_forward.go121//COMMENT
LOWrequire/require_forward.go161COMMENT
LOWrequire/require_forward.go181// }COMMENT
LOWrequire/require_forward.go341// The condition is considered "met" if no errors are raised in a tick.COMMENT
LOWrequire/require_forward.go361COMMENT
LOWrequire/require_forward.go501//COMMENT
LOWrequire/require_forward.go1161// NotElementsMatchf asserts that the specified listA(array, slice...) is NOT equal to specifiedCOMMENT
LOWrequire/require_forward.go1381// Both arguments must be pointer variables. Pointer variable sameness isCOMMENT
LOWrequire/require_forward.go1561// Samef asserts that two pointers reference the same object.COMMENT
LOWrequire/require_forward.go1581// a.Subset([1, 2, 3], {1: "one", 2: "two"})COMMENT
LOWrequire/require_forward.go1661 h.Helper()COMMENT
LOWrequire/require_forward.go1681 h.Helper()COMMENT
LOWrequire/require.go121//COMMENT
LOWrequire/require.go141}COMMENT
LOWrequire/require.go421// function can use the CollectT to call other assertions.COMMENT
LOWrequire/require.go441 returnCOMMENT
LOWrequire/require.go2101 if h, ok := t.(tHelper); ok {COMMENT
LOWinternal/difflib/difflib.go1// Package difflib is a partial port of Python difflib module.COMMENT
LOWinternal/difflib/difflib.go61// the longest contiguous matching subsequence that contains no "junk"COMMENT
LOWinternal/difflib/difflib.go181 _, ok := m.bJunk[s]COMMENT
LOWinternal/difflib/difflib.go201// starts earliest in a, and of all those maximal matching blocks thatCOMMENT
LOWinternal/difflib/difflib.go281COMMENT
LOWinternal/difflib/difflib.go341 nonAdjacent = append(nonAdjacent, Match{i1, j1, k1})COMMENT
LOWinternal/difflib/difflib_test.go141 // and:COMMENT
LOWinternal/spew/config.go21 "fmt"COMMENT
LOWinternal/spew/config.go41 // set this to a tab with "\t" or perhaps two spaces with " ".COMMENT
LOWinternal/spew/config.go61 // with a pointer receiver could technically mutate the value, however,COMMENT
LOWinternal/spew/config.go81 // means it will print the results of invoking the custom error or StringerCOMMENT
LOWinternal/spew/config.go101}COMMENT
LOWinternal/spew/config.go121// the number of bytes written and any write error encountered. SeeCOMMENT
LOWinternal/spew/config.go141}COMMENT
LOWinternal/spew/config.go161// fmt.Print(c.NewFormatter(a), c.NewFormatter(b))COMMENT
LOWinternal/spew/config.go181// NewFormatter for formatting details.COMMENT
LOWinternal/spew/config.go201// Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it wereCOMMENT
LOWinternal/spew/dumpnocgo_test.go1// Copyright (c) 2013 Dave Collins <dave@davec.name>COMMENT
LOWinternal/spew/dumpcgo_test.go1// Copyright (c) 2013-2016 Dave Collins <dave@davec.name>COMMENT
LOWinternal/spew/bypass.go1// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>COMMENT
LOWinternal/spew/internalunsafe_test.go1// Copyright (c) 2013-2016 Dave Collins <dave@davec.name>COMMENT
LOWinternal/spew/common.go81// type the passed reflect.Value represents and outputes the result to Writer w.COMMENT
LOWinternal/spew/bypasssafe.go1// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>COMMENT
LOWinternal/spew/dump.go181 // Try to use existing uint8 slices and fall back to convertingCOMMENT
LOWinternal/spew/spew.go21 "io"COMMENT
LOWinternal/spew/spew.go41// This function is shorthand for the following syntax:COMMENT
LOWinternal/spew/spew.go61// passed with a default Formatter interface returned by NewFormatter. SeeCOMMENT
LOWinternal/spew/spew.go81}COMMENT
LOWinternal/spew/spew.go101//COMMENT
37 more matches not shown…
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWREADME.md141// NOTE: This method is not being tested here, code that uses this object is.COMMENT