AI Slop Code Risk Monitor

halfrost/LeetCode-Go

SlopCodeMonitor badge for halfrost/LeetCode-Go Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解

0.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for halfrost/LeetCode-Go, a Go project with 33,816 GitHub stars. SynthScan examined 21,819,748 lines of code across 6146 source files, recording 147 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.0 (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.

0.0
Adjusted Signal
0.0
Raw Pattern Score
100%
Time Factor
2026-10-12
Last Push
33.8K
Stars
Go
Language
21.8M
Lines of Code
6.1K
Files
147
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 0.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 0.1/100 · LOW

Which changes need focused human review? 147 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 1MEDIUM 39LOW 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 147 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 Block86 hits · 86 pts
SeverityFileLineSnippetContext
LOWgotest.sh1#!/usr/bin/env bashCOMMENT
LOWleetcode/0069.Sqrtx/69. Sqrt(x).go21 r = (r + x/r) / 2COMMENT
LOW…de/0029.Divide-Two-Integers/29. Divide Two Integers.go21 sign = 1COMMENT
LOWleetcode/0729.My-Calendar-I/729. My Calendar I.go61// calendar := []Interval{}COMMENT
LOWleetcode/0729.My-Calendar-I/729. My Calendar I.go81// if pos != len(this.calendar)-1 && pos != -1 && this.calendar[pos].End <= start && this.calendar[pos+1].Start >= end COMMENT
LOWleetcode/0372.Super-Pow/372. Super Pow.go1package leetcodeCOMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go81 }COMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go101// }COMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go121// if root.Interval[0] <= interval[0] && interval[1] <= root.Interval[1] {COMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go141// root.Right = delete(root.Right, []int{max(interval[0], root.Interval[1]+1), interval[1]})COMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go161// if root.Interval[0] < interval[0] && interval[1] < root.Interval[1] {COMMENT
LOWleetcode/0715.Range-Module/715. Range Module.go181// return query(root.Left, interval)COMMENT
LOW…airs-in-an-Array/532. K-diff Pairs in an Array_test.go61 // para532{[]int{}, 5},COMMENT
LOW…plicate-Substring/1044. Longest Duplicate Substring.go1package leetcodeCOMMENT
LOW…plicate-Substring/1044. Longest Duplicate Substring.go21// pl *= primeRKCOMMENT
LOW…plicate-Substring/1044. Longest Duplicate Substring.go41COMMENT
LOW…e/0218.The-Skyline-Problem/218. The Skyline Problem.go181// {x: R , height: H , type: leaving}}COMMENT
LOWleetcode/0052.N-Queens-II/52. N-Queens II.go41// public:COMMENT
LOWleetcode/0052.N-Queens-II/52. N-Queens II.go61// }COMMENT
LOW…ge-Sum-Query-Mutable/307. Range Sum Query - Mutable.go21 this.st.Update(i, val)COMMENT
LOW…ge-Sum-Query-Mutable/307. Range Sum Query - Mutable.go41// data[i] = nums[i]COMMENT
LOW…ge-Sum-Query-Mutable/307. Range Sum Query - Mutable.go61// return this.prefixSum[j] - this.prefixSum[i-1]COMMENT
LOW…um-Query-Immutable/303. Range Sum Query - Immutable.go21}COMMENT
LOWwebsite/config.toml81 name = "Weibo"COMMENT
LOWwebsite/config.toml101 BookTheme = 'light'COMMENT
LOWwebsite/config.toml121 # Used for 'Last Modified' and 'Edit this page' links.COMMENT
LOWwebsite/config.toml141 # (Optional, default true) Enables search function with flexsearch,COMMENT
LOWwebsite/deploy/gitalk-oauth-worker.js1// Gitalk OAuth 代理 —— Cloudflare Worker 版COMMENT
LOW…t.en/ChapterFour/0200~0299/0218.The-Skyline-Problem.md261// events = {{x: L , height: H , type: entering},COMMENT
LOW…/content.en/ChapterFour/0700~0799/0715.Range-Module.md161// Left, Right *BSTNodeCOMMENT
LOW…/content.en/ChapterFour/0700~0799/0715.Range-Module.md181COMMENT
LOW…/content.en/ChapterFour/0700~0799/0715.Range-Module.md201// }COMMENT
LOW…/content.en/ChapterFour/0700~0799/0715.Range-Module.md221// root.Interval = pred.IntervalCOMMENT
LOW…/content.en/ChapterFour/0700~0799/0715.Range-Module.md241// func (this *RangeModule) query(root *BSTNode, interval []int) bool {COMMENT
LOW…content.en/ChapterFour/0700~0799/0729.My-Calendar-I.md121// calendar []IntervalCOMMENT
LOW…content.en/ChapterFour/0700~0799/0729.My-Calendar-I.md141// if pos == len(this.calendar)-1 && this.calendar[pos].End <= start {COMMENT
LOW…content.en/ChapterFour/0700~0799/0729.My-Calendar-I.md161// mid := low + ((high - low) >> 1)COMMENT
LOW…ite/content.en/ChapterFour/0300~0399/0372.Super-Pow.md41COMMENT
LOW…hapterFour/0300~0399/0303.Range-Sum-Query-Immutable.md81//Solution two prefixSum,sumRange time complexity O(1)COMMENT
LOW…/ChapterFour/0300~0399/0307.Range-Sum-Query-Mutable.md81// SumRange defineCOMMENT
LOW…/ChapterFour/0300~0399/0307.Range-Sum-Query-Mutable.md101// nums[i] += nums[i-1]COMMENT
LOW…/ChapterFour/0300~0399/0307.Range-Sum-Query-Mutable.md121// }COMMENT
LOW…t.en/ChapterFour/0001~0099/0029.Divide-Two-Integers.md81 // if ((quotient+1)*abs(divisor) > abs(dividend) && quotient*abs(divisor) <= abs(dividend)) || ((quotient+1)*abs(divisCOMMENT
LOWwebsite/content.en/ChapterFour/0001~0099/0069.Sqrtx.md61 r := xCOMMENT
LOW…e/content.en/ChapterFour/0001~0099/0052.N-Queens-II.md81COMMENT
LOW…e/content.en/ChapterFour/0001~0099/0052.N-Queens-II.md101// cur-=curPos;//for next possible placeCOMMENT
LOW…pterFour/1000~1099/1044.Longest-Duplicate-Substring.md41 // } else {COMMENT
LOW…pterFour/1000~1099/1044.Longest-Duplicate-Substring.md61// return hashCOMMENT
LOW…tent/ChapterFour/0200~0299/0218.The-Skyline-Problem.md261// events = {{x: L , height: H , type: entering},COMMENT
LOW…ite/content/ChapterFour/0700~0799/0715.Range-Module.md161// Left, Right *BSTNodeCOMMENT
LOW…ite/content/ChapterFour/0700~0799/0715.Range-Module.md181COMMENT
LOW…ite/content/ChapterFour/0700~0799/0715.Range-Module.md201// }COMMENT
LOW…ite/content/ChapterFour/0700~0799/0715.Range-Module.md221// root.Interval = pred.IntervalCOMMENT
LOW…ite/content/ChapterFour/0700~0799/0715.Range-Module.md241// func (this *RangeModule) query(root *BSTNode, interval []int) bool {COMMENT
LOW…te/content/ChapterFour/0700~0799/0729.My-Calendar-I.md121// calendar []IntervalCOMMENT
LOW…te/content/ChapterFour/0700~0799/0729.My-Calendar-I.md141// if pos == len(this.calendar)-1 && this.calendar[pos].End <= start {COMMENT
LOW…te/content/ChapterFour/0700~0799/0729.My-Calendar-I.md161// mid := low + ((high - low) >> 1)COMMENT
LOWwebsite/content/ChapterFour/0300~0399/0372.Super-Pow.md41COMMENT
LOW…hapterFour/0300~0399/0303.Range-Sum-Query-Immutable.md81//解法二 prefixSum,sumRange 时间复杂度 O(1)COMMENT
LOW…/ChapterFour/0300~0399/0307.Range-Sum-Query-Mutable.md81// SumRange defineCOMMENT
26 more matches not shown…
Slop Phrases27 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/config.toml174 labels= "gitalk" # Github issue labels. If you used to use Gitment, you can change itCODE
MEDIUMwebsite/public/zh/index.xml3883 <description>424. Longest Repeating Character Replacement # 题目 # Given a string that consists of only uppercase CODE
MEDIUMwebsite/public/zh/index.xml9015 <description>1674. Minimum Moves to Make Array Complementary # 题目 # You are given an integer array nums of even CODE
MEDIUMwebsite/public/zh/index.xml9349 <description>1758. Minimum Changes To Make Alternating Binary String # 题目 # You are given a string s consisting CODE
MEDIUMwebsite/public/zh/ChapterFour/1700~1799/index.xml192 <description>1758. Minimum Changes To Make Alternating Binary String # 题目 # You are given a string s consisting CODE
MEDIUM…m-Changes-To-Make-Alternating-Binary-String/index.html30<meta name="description" content="1758. Minimum Changes To Make Alternating Binary String # 题目 # You are given a strinCODE
MEDIUM…m-Changes-To-Make-Alternating-Binary-String/index.html34<meta property="og:description" content="1758. Minimum Changes To Make Alternating Binary String # 题目 # You are given CODE
MEDIUM…erFour/0800~0899/0811.Subdomain-Visit-Count/index.html12208We only have one website domain: &quot;discuss.leetcode.com&quot;. As discussed above, the subdomain &quot;leetcode.com&CODE
MEDIUMwebsite/public/zh/ChapterFour/1600~1699/index.xml384 <description>1674. Minimum Moves to Make Array Complementary # 题目 # You are given an integer array nums of even CODE
MEDIUM…4.Minimum-Moves-to-Make-Array-Complementary/index.html30<meta name="description" content="1674. Minimum Moves to Make Array Complementary # 题目 # You are given an integer arraCODE
MEDIUM…4.Minimum-Moves-to-Make-Array-Complementary/index.html33<meta property="og:description" content="1674. Minimum Moves to Make Array Complementary # 题目 # You are given an integCODE
MEDIUMwebsite/public/zh/ChapterFour/0400~0499/index.xml194 <description>424. Longest Repeating Character Replacement # 题目 # Given a string that consists of only uppercase CODE
MEDIUM…424.Longest-Repeating-Character-Replacement/index.html30<meta name="description" content="424. Longest Repeating Character Replacement # 题目 # Given a string that consists of CODE
MEDIUM…424.Longest-Repeating-Character-Replacement/index.html36<meta property="og:description" content="424. Longest Repeating Character Replacement # 题目 # Given a string that consiCODE
MEDIUMwebsite/public/en/index.xml3799 <description>424. Longest Repeating Character Replacement # Problem # Given a string that consists of only upperCODE
MEDIUMwebsite/public/en/index.xml8928 <description>1674. Minimum Moves to Make Array Complementary # Problem # You are given an integer array nums of CODE
MEDIUMwebsite/public/en/index.xml9262 <description>1758. Minimum Changes To Make Alternating Binary String # Problem # You are given a string s consisCODE
MEDIUMwebsite/public/en/ChapterFour/1700~1799/index.xml192 <description>1758. Minimum Changes To Make Alternating Binary String # Problem # You are given a string s consisCODE
MEDIUM…m-Changes-To-Make-Alternating-Binary-String/index.html30<meta name="description" content="1758. Minimum Changes To Make Alternating Binary String # Problem # You are given a CODE
MEDIUM…m-Changes-To-Make-Alternating-Binary-String/index.html34<meta property="og:description" content="1758. Minimum Changes To Make Alternating Binary String # Problem # You are gCODE
MEDIUM…erFour/0800~0899/0811.Subdomain-Visit-Count/index.html12208We only have one website domain: &quot;discuss.leetcode.com&quot;. As discussed above, the subdomain &quot;leetcode.com&CODE
MEDIUMwebsite/public/en/ChapterFour/1600~1699/index.xml384 <description>1674. Minimum Moves to Make Array Complementary # Problem # You are given an integer array nums of CODE
MEDIUM…4.Minimum-Moves-to-Make-Array-Complementary/index.html30<meta name="description" content="1674. Minimum Moves to Make Array Complementary # Problem # You are given an integerCODE
MEDIUM…4.Minimum-Moves-to-Make-Array-Complementary/index.html33<meta property="og:description" content="1674. Minimum Moves to Make Array Complementary # Problem # You are given an CODE
MEDIUMwebsite/public/en/ChapterFour/0400~0499/index.xml194 <description>424. Longest Repeating Character Replacement # Problem # Given a string that consists of only upperCODE
MEDIUM…424.Longest-Repeating-Character-Replacement/index.html30<meta name="description" content="424. Longest Repeating Character Replacement # Problem # Given a string that consistCODE
MEDIUM…424.Longest-Repeating-Character-Replacement/index.html36<meta property="og:description" content="424. Longest Repeating Character Replacement # Problem # Given a string that CODE
Self-Referential Comments8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/public/zh/index.xml7025 <description>981. Time Based Key-Value Store # 题目 # Create a timebased key-value store class TimeMap, that suppoCODE
MEDIUMwebsite/public/zh/ChapterFour/0900~0999/index.xml491 <description>981. Time Based Key-Value Store # 题目 # Create a timebased key-value store class TimeMap, that suppoCODE
MEDIUM…r/0900~0999/0981.Time-Based-Key-Value-Store/index.html30<meta name="description" content="981. Time Based Key-Value Store # 题目 # Create a timebased key-value store class TimeCODE
MEDIUM…r/0900~0999/0981.Time-Based-Key-Value-Store/index.html35<meta property="og:description" content="981. Time Based Key-Value Store # 题目 # Create a timebased key-value store claCODE
MEDIUMwebsite/public/en/index.xml6941 <description>981. Time Based Key-Value Store # Problem # Create a timebased key-value store class TimeMap, that CODE
MEDIUMwebsite/public/en/ChapterFour/0900~0999/index.xml491 <description>981. Time Based Key-Value Store # Problem # Create a timebased key-value store class TimeMap, that CODE
MEDIUM…r/0900~0999/0981.Time-Based-Key-Value-Store/index.html30<meta name="description" content="981. Time Based Key-Value Store # Problem # Create a timebased key-value store classCODE
MEDIUM…r/0900~0999/0981.Time-Based-Key-Value-Store/index.html35<meta property="og:description" content="981. Time Based Key-Value Store # Problem # Create a timebased key-value storCODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/sw-src/serviceworker.js34// ─────────────── 预缓存(app shell) ───────────────COMMENT
MEDIUMwebsite/sw-src/serviceworker.js41// ─────────────── 运行时路由 ───────────────COMMENT
MEDIUMwebsite/public/serviceworker-v1.min.js34// ─────────────── 预缓存(app shell) ───────────────COMMENT
MEDIUMwebsite/public/serviceworker-v1.min.js41// ─────────────── 运行时路由 ───────────────COMMENT
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOWwebsite/content/ChapterFour/pytool/AddTOC.py2CODE
LOWwebsite/content/ChapterFour/pytool/AddTOC.py3CODE
LOWwebsite/content/ChapterFour/pytool/GenerateOne.py2CODE
LOWwebsite/content/ChapterFour/pytool/GenerateOne.py3CODE
LOWwebsite/content/ChapterFour/pytool/CutContent.py2CODE
LOWwebsite/public/zh/ChapterFour/pytool/AddTOC.py2CODE
LOWwebsite/public/zh/ChapterFour/pytool/AddTOC.py3CODE
LOWwebsite/public/zh/ChapterFour/pytool/GenerateOne.py2CODE
LOWwebsite/public/zh/ChapterFour/pytool/GenerateOne.py3CODE
LOWwebsite/public/zh/ChapterFour/pytool/CutContent.py2CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…book/exampleSite/content/posts/creating-a-new-theme.md21In this tutorial, commands that you enter will start with the "$" prompt. The output will follow. Lines that start with CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…Four/0700~0799/0784.Letter-Case-Permutation/index.html12278</span><span style="color:#75715e">// Step 1:CODE
LOW⚡…Four/0700~0799/0784.Letter-Case-Permutation/index.html12280</span><span style="color:#75715e">// Step 2:CODE
LOW⚡…Four/0700~0799/0784.Letter-Case-Permutation/index.html12282</span><span style="color:#75715e">// Step 2:CODE
AI Slop Vocabulary4 hits · 4 pts
SeverityFileLineSnippetContext
LOWwebsite/public/en/index.xml800Solution Approach # To find all permutations among the permutations and combinations of an array, simply use DFS. CodCODE
LOWwebsite/public/en/ChapterFour/0001~0099/index.xml551Solution Approach # To find all permutations among the permutations and combinations of an array, simply use DFS. CodCODE
LOW…/en/ChapterFour/0001~0099/0046.Permutations/index.html33Solution Approach # To find all permutations among the permutations and combinations of an array, simply use DFS. CodCODE
LOW…/en/ChapterFour/0001~0099/0046.Permutations/index.html38Solution Approach # To find all permutations among the permutations and combinations of an array, simply use DFS. CodCODE
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…c8ad6327488282266c11589d9483728ec07a9653194baa463ff.js2input.addEventListener('focus',init);input.addEventListener('keyup',search);document.addEventListener('keypress',focusSeCODE
LOW…2be973e5deb120ed9fe048908cea71f272abe7c617f21c06caa.js2input.addEventListener('focus',init);input.addEventListener('keyup',search);document.addEventListener('keypress',focusSeCODE
LOWwebsite/themes/book/assets/search.js22 function focusSearchFieldOnKeyPress(event) {CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…le/1178. Number of Valid Words for Each Puzzle_test.go22 // TODO: Add test cases.COMMENT