AI Slop Code RIsk Monitor

mmcgrana/gobyexample

Go by Example

5.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mmcgrana/gobyexample, a Go project with 8,214 GitHub stars. SynthScan examined 7,311 lines of code across 185 source files, recording 34 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 5.2 (Moderate 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.

5.2
Adjusted Signal
5.2
Raw Pattern Score
100%
Time Factor
2026-09-07
Last Push
8.2K
Stars
Go
Language
7.3K
Lines of Code
185
Files
34
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 22.9/100 · LOW

Which changes need focused human review? 34 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 2LOW 32

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 34 distinct pattern matches across 3 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 Block31 hits · 31 pts
SeverityFileLineSnippetContext
LOWexamples/maps/maps.go41 // a map.COMMENT
LOWexamples/generics/generics.go1// Starting with version 1.18, Go has added support forCOMMENT
LOWexamples/channel-buffering/channel-buffering.go1// By default channels are _unbuffered_, meaning that theyCOMMENT
LOWexamples/slices/slices.go41 // support several more that make them richer thanCOMMENT
LOWexamples/http-server/http-server.go1// Writing a basic HTTP server is easy using theCOMMENT
LOW…les-and-directories/temporary-files-and-directories.go21func main() {COMMENT
LOWexamples/stateful-goroutines/stateful-goroutines.go41 var writeOps uint64COMMENT
LOWexamples/stateful-goroutines/stateful-goroutines.sh1# Running our program shows that the goroutine-basedCOMMENT
LOWexamples/string-formatting/string-formatting.go61COMMENT
LOWexamples/sha256-hashes/sha256-hashes.sh1# Running the program computes the hash and prints it inCOMMENT
LOWexamples/spawning-processes/spawning-processes.go61 grepIn.Write([]byte("hello grep\ngoodbye grep"))COMMENT
LOWexamples/embed-directive/embed-directive.go1// `//go:embed` is a [compilerCOMMENT
LOWexamples/embed-directive/embed-directive.go21// Or embed the contents of the file into a `[]byte`.COMMENT
LOWexamples/enums/enums.go1// _Enumerated types_ (enums) are a special case ofCOMMENT
LOWexamples/closing-channels/closing-channels.go1// _Closing_ a channel indicates that no more valuesCOMMENT
LOWexamples/waitgroups/waitgroups.go41 // to propagate errors from workers. For moreCOMMENT
LOWexamples/execing-processes/execing-processes.go21 // For our example we'll exec `ls`. Go requires anCOMMENT
LOWexamples/atomic-counters/atomic-counters.sh1# We expect to get exactly 50,000 operations. Had weCOMMENT
LOWexamples/testing-and-benchmarking/main_test.go1// Unit testing is an important part of writingCOMMENT
LOWexamples/json/json.sh21# blog post and the [JSON package docs](https://pkg.go.dev/encoding/json/v2)COMMENT
LOWexamples/json/json.go81 // package can put the decoded data. ThisCOMMENT
LOWexamples/pointers/pointers.go1// Go supports <em><a href="https://en.wikipedia.org/wiki/Pointer_(computer_programming)">pointers</a></em>,COMMENT
LOWexamples/regular-expressions/regular-expressions.go21 // optimized `Regexp` struct.COMMENT
LOWexamples/regular-expressions/regular-expressions.go61 // Our examples above had string arguments and usedCOMMENT
LOWexamples/exit/exit.go21// Note that unlike e.g. C, Go does not use an integerCOMMENT
LOWexamples/errors/errors.go1// In Go it's idiomatic to communicate errors via anCOMMENT
LOWexamples/command-line-flags/command-line-flags.go21 // and a short description. This `flag.String` functionCOMMENT
LOWexamples/recover/recover.go1// Go makes it possible to _recover_ from a panic, byCOMMENT
LOWexamples/logging/logging.go21 // `log` package uses the _standard_ logger, whichCOMMENT
LOWexamples/strings-and-runes/strings-and-runes.go21 // language. Go string literals are UTF-8COMMENT
LOWexamples/channels/channels.sh1# When we run the program the `"ping"` message isCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/goroutines/goroutines.go36 // (for a more robust approach, use a [WaitGroup](waitgroups)).COMMENT
MEDIUMexamples/struct-embedding/struct-embedding.go2// to express a more seamless _composition_ of types.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/text-templates/text-templates.go54 }{"Jane Doe"})CODE