AI Slop Code Risk Monitor

neetcode-gh/leetcode

SlopCodeMonitor badge for neetcode-gh/leetcode Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Leetcode solutions

0.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for neetcode-gh/leetcode, a JavaScript project with 6,505 GitHub stars. SynthScan examined 926,818 lines of code across 4664 source files, recording 170 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 0.3 (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.3
Adjusted Signal
0.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.5K
Stars
JavaScript
Language
926.8K
Lines of Code
4.7K
Files
170
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.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 1.6/100 · LOW

Which changes need focused human review? 170 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 11MEDIUM 38LOW 121

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 170 distinct pattern matches across 14 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.

Dead Code36 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMpython/0377-combination-sum-iv.py11CODE
MEDIUMpython/0377-combination-sum-iv.py24CODE
MEDIUMpython/0474-ones-and-zeroes.py16CODE
MEDIUMpython/0474-ones-and-zeroes.py18CODE
MEDIUMpython/0474-ones-and-zeroes.py32CODE
MEDIUMpython/0518-coin-change-ii.py26CODE
MEDIUMpython/0518-coin-change-ii.py27CODE
MEDIUMpython/0518-coin-change-ii.py28CODE
MEDIUMpython/0518-coin-change-ii.py33CODE
MEDIUMpython/0518-coin-change-ii.py38CODE
MEDIUMpython/0518-coin-change-ii.py39CODE
MEDIUMpython/0518-coin-change-ii.py40CODE
MEDIUMpython/0518-coin-change-ii.py49CODE
MEDIUMpython/0091-decode-ways.py23CODE
MEDIUMpython/0091-decode-ways.py24CODE
MEDIUMpython/0091-decode-ways.py34CODE
MEDIUMpython/0496-next-greater-element-i.py25CODE
MEDIUMpython/0496-next-greater-element-i.py26CODE
MEDIUMpython/0496-next-greater-element-i.py28CODE
MEDIUMpython/0496-next-greater-element-i.py37CODE
MEDIUMpython/0516-longest-palindromic-subsequence.py23CODE
MEDIUMpython/0516-longest-palindromic-subsequence.py25CODE
MEDIUMpython/0516-longest-palindromic-subsequence.py38CODE
MEDIUMpython/0516-longest-palindromic-subsequence.py42CODE
MEDIUMpython/0673-number-of-longest-increasing-subsequence.py34CODE
MEDIUMpython/0673-number-of-longest-increasing-subsequence.py35CODE
MEDIUMpython/0673-number-of-longest-increasing-subsequence.py38CODE
MEDIUMpython/0673-number-of-longest-increasing-subsequence.py54CODE
MEDIUMpython/0063-unique-paths-ii.py18CODE
MEDIUMpython/0063-unique-paths-ii.py19CODE
MEDIUMpython/0063-unique-paths-ii.py21CODE
MEDIUMpython/0063-unique-paths-ii.py28CODE
MEDIUMpython/0094-binary-tree-inorder-traversal.py17CODE
MEDIUMpython/0094-binary-tree-inorder-traversal.py19CODE
MEDIUMpython/0094-binary-tree-inorder-traversal.py26CODE
MEDIUMpython/0094-binary-tree-inorder-traversal.py27CODE
Over-Commented Block49 hits · 49 pts
SeverityFileLineSnippetContext
LOWgo/0206-reverse-linked-list.go21// var prev *ListNodeCOMMENT
LOWpython/0215-kth-largest-element-in-an-array.py1# Solution: SortingCOMMENT
LOWpython/0707-design-linked-list.py61# Your MyLinkedList object will be instantiated and called as such:COMMENT
LOWpython/0705-design-hashset.py21# obj.remove(key)COMMENT
LOWpython/0338-counting-bits.py21 return resCOMMENT
LOWarticles/linked-list-cycle-ii.md561 // With owned Box<ListNode>, cycles cannot form in safe Rust.COMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md281 while !stack.isEmpty {COMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md641```COMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md661// sizeCOMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md941}COMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md961// slow = slow.and_then(|n| n.get_next());COMMENT
LOWarticles/print-immutable-linked-list-in-reverse.md1141COMMENT
LOWarticles/linked-list-cycle-detection.md521impl Solution {COMMENT
LOWarticles/construct-quad-tree.md501// fn dfs(grid: &Vec<Vec<i32>>, n: usize, r: usize, c: usize) -> Option<Box<Node>> {COMMENT
LOWarticles/construct-quad-tree.md1021// let mid = n / 2;COMMENT
LOWarticles/construct-quad-tree.md1561// return Some(Box::new(Node::new(grid[r][c] == 1, true,COMMENT
LOWarticles/construct-quad-tree.md1581// None, None, None, None)));COMMENT
LOWjava/0060-permutation-sequence.java21 }COMMENT
LOWjava/0060-permutation-sequence.java41 // while (pivot>0 && nums[pivot]<nums[pivot-1]) {COMMENT
LOWjava/0060-permutation-sequence.java61 // end--;COMMENT
LOWjava/0094-binary-tree-inorder-traversal.java21COMMENT
LOWcpp/0347-top-k-frequent-elements.cpp1/*COMMENT
LOWcpp/0347-top-k-frequent-elements.cpp21// if (pq.size() > k) {COMMENT
LOWcpp/0138-copy-list-with-random-pointer.cpp21 val = _val;COMMENT
LOWcpp/0138-copy-list-with-random-pointer.cpp41// newNode = newNode->next;COMMENT
LOWcpp/0138-copy-list-with-random-pointer.cpp101};COMMENT
LOWcpp/0050-powx-n.cpp21// private:COMMENT
LOW…235-lowest-common-ancestor-of-a-binary-search-tree.cpp41// } else {COMMENT
LOWcpp/0023-merge-k-sorted-lists.cpp21COMMENT
LOWcpp/0072-edit-distance.cpp41 // min(replace, delete, insert) + 1 <-- since an op was neededCOMMENT
LOWcpp/0072-edit-distance.cpp61// }COMMENT
LOWcpp/0098-validate-binary-search-tree.cpp81// stack<TreeNode*> stk;COMMENT
LOWcpp/0098-validate-binary-search-tree.cpp101// }COMMENT
LOWcpp/0215-kth-largest-element-in-an-array.cpp81// int p_pos = l;COMMENT
LOWcsharp/0297-serialize-and-deserialize-binary-tree.cs61}COMMENT
LOWjavascript/2704-to-be-or-not-to-be.js21// expect(5).notToBe(3); // returns trueCOMMENT
LOW…cript/0448-find-all-numbers-disappeared-in-an-array.js41// For each value in the array mark its presence by making the number negative at that place in arrayCOMMENT
LOWc/0691-stickers-to-spell-word.c221 search(mapping, stickerSignatures, targetSignature, 0, &maxDepth);COMMENT
LOWc/0691-stickers-to-spell-word.c241// int new_mask = 0;COMMENT
LOWc/0691-stickers-to-spell-word.c261// for (int i = 0; i < (1 << m); i++) {COMMENT
LOWc/0128-longest-consecutive-sequence.c81}COMMENT
LOWc/0128-longest-consecutive-sequence.c101// }COMMENT
LOWc/0128-longest-consecutive-sequence.c121// len++;COMMENT
LOWc/0128-longest-consecutive-sequence.c141// }COMMENT
LOWc/1838-frequency-of-the-most-frequent-element.c1int greater(const void *a, const void *b) {COMMENT
LOWruby/0094-binary-tree-inorder-traversal.rb1# Definition for a binary tree node.COMMENT
LOWruby/0138-copy-list-with-random-pointer.rb1# Definition for Node.COMMENT
LOWruby/0002-add-two-numbers.rb1# Definition for singly-linked list.COMMENT
LOWruby/0102-binary-tree-level-order-traversal.rb1# Definition for a binary tree node.COMMENT
Deep Nesting37 hits · 37 pts
SeverityFileLineSnippetContext
LOWpython/0438-find-all-anagrams-in-a-string.py2CODE
LOWpython/0735-asteroid-collision.py2CODE
LOW…-first-and-last-position-of-element-in-sorted-array.py8CODE
LOWpython/0838-push-dominoes.py2CODE
LOWpython/0241-different-ways-to-add-parentheses.py2CODE
LOWpython/0241-different-ways-to-add-parentheses.py3CODE
LOWpython/0745-prefix-and-suffix-search.py8CODE
LOWpython/0081-search-in-rotated-sorted-array-ii.py2CODE
LOWpython/2101-detonate-the-maximum-bombs.py2CODE
LOWpython/2709-greatest-common-divisor-traversal.py25CODE
LOWpython/0018-4sum.py2CODE
LOWpython/0018-4sum.py3CODE
LOWpython/0041-first-missing-positive.py2CODE
LOWpython/0994-rotting-oranges.py2CODE
LOWpython/1345-jump-game-iv.py8CODE
LOWpython/0010-regular-expression-matching.py3CODE
LOWpython/2306-naming-a-company.py3CODE
LOW…1475-final-prices-with-a-special-discount-in-a-shop.py2CODE
LOWpython/1609-even-odd-tree.py2CODE
LOWpython/0150-evaluate-reverse-polish-notation.py2CODE
LOWpython/0682-baseball-game.py2CODE
LOWpython/0127-word-ladder.py2CODE
LOW…hon/0211-design-add-and-search-words-data-structure.py19CODE
LOW…hon/0211-design-add-and-search-words-data-structure.py20CODE
LOWpython/1631-path-with-minimum-effort.py2CODE
LOWpython/0516-longest-palindromic-subsequence.py3CODE
LOWpython/0450-delete-node-in-a-bst.py8CODE
LOWpython/0785-is-graph-bipartite.py2CODE
LOWpython/0073-set-matrix-zeroes.py2CODE
LOWpython/0673-number-of-longest-increasing-subsequence.py2CODE
LOWpython/0673-number-of-longest-increasing-subsequence.py8CODE
LOWpython/0063-unique-paths-ii.py2CODE
LOWpython/0846-hand-of-straights.py2CODE
LOWpython/0016-3sum-closest.py2CODE
LOWpython/0953-verifying-an-alien-dictionary.py2CODE
LOWpython/0068-text-justification.py2CODE
LOWpython/0015-3sum.py2CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHpython/0283-move-zeroes.py0do not return anything, modify nums in-place instead.STRING
HIGHpython/0189-rotate-array.py0do not return anything, modify nums in-place instead.STRING
HIGHarticles/sort-colors.md0do not return anything, modify nums in-place instead.STRING
HIGHarticles/next-permutation.md0do not return anything, modify nums in-place instead.STRING
HIGHarticles/wiggle-sort.md0do not return anything, modify nums in-place instead.STRING
HIGHarticles/rotate-array.md0do not return anything, modify nums in-place instead.STRING
HIGHarticles/move-zeroes.md0do not return anything, modify nums in-place instead.STRING
Cross-Language Confusion (JS/TS)4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH⚡typescript/0208-implement-trie-prefix-tree.ts57trie.search('apple'); // return TrueCODE
HIGH⚡typescript/0208-implement-trie-prefix-tree.ts58trie.search('app'); // return FalseCODE
HIGH⚡typescript/0208-implement-trie-prefix-tree.ts59trie.startsWith('app'); // return TrueCODE
HIGH⚡typescript/0208-implement-trie-prefix-tree.ts61trie.search('app'); // return TrueCODE
Verbosity Indicators7 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py22 # Step 1: Assign unique group IDs to items that don't belong to any groupCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py28 # Step 2: Initialize graphs for item dependencies and group dependenciesCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py32 # Step 3: Build the dependency graphs based on beforeItemsCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py45 # Step 4: Perform topological sort on both the group dependencies and item dependenciesCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py49 # Step 5: If there was a cycle detected in either group or item sorting, return an empty listCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py53 # Step 6: Group the items based on the group IDsCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py58 # Step 7: Combine the groups in topologically sorted orderCOMMENT
Structural Annotation Overuse7 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py22 # Step 1: Assign unique group IDs to items that don't belong to any groupCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py28 # Step 2: Initialize graphs for item dependencies and group dependenciesCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py32 # Step 3: Build the dependency graphs based on beforeItemsCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py45 # Step 4: Perform topological sort on both the group dependencies and item dependenciesCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py49 # Step 5: If there was a cycle detected in either group or item sorting, return an empty listCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py53 # Step 6: Group the items based on the group IDsCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py58 # Step 7: Combine the groups in topologically sorted orderCOMMENT
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpython/0930-binary-subarrays-with-sum.py4 def helper(x):CODE
LOWpython/0005-longest-palindromic-substring.py11 def helper(self, s, left, right):CODE
LOWpython/0213-house-robber-ii.py5 def helper(self, nums):CODE
LOWpython/0050-powx-n.py3 def helper(x, n):CODE
LOWpython/0077-combinations.py4 def helper(start, comb):CODE
LOWpython/0221-maximal-square.py6 def helper(r, c):CODE
LOWpython/0094-binary-tree-inorder-traversal.py19 def helper(root):CODE
Hyper-Verbose Identifiers7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…cript/1930-unique-length-3-palindromic-subsequences.ts1function countPalindromicSubsequence(s: string): number {CODE
LOW…-and-pseudo-critical-edges-in-minimum-spanning-tree.ts77function findCriticalAndPseudoCriticalEdges(CODE
LOWtypescript/0472-concatenated-words.ts1function findAllConcatenatedWordsInADict(words: string[]): string[] {CODE
LOWarticles/largest-bst-subtree.md1164 def largest_bst_subtree_helper(self, root):CODE
LOWarticles/two-sum-bsts.md1252 def reversed_morris_traversal(root):CODE
LOWarticles/cross-entropy-loss.md53 def categorical_cross_entropy(self, y_true: NDArray[np.float64], y_pred: NDArray[np.float64]) -> float:CODE
LOW…0003-longest-substring-without-repeating-characters.rb1def length_of_longest_substring(s)CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpython/0745-prefix-and-suffix-search.py17 # Create the key as suffix + '{' + prefixCOMMENT
MEDIUM⚡…n/1203-sort-items-by-groups-respecting-dependencies.py54 items_grouped = [[] for _ in range(m)] # Create an empty list for each group to store its itemsCODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpython/0135-candy.py9 # Check if current rating is greater than left neighborCOMMENT
LOWpython/0135-candy.py16 # Check if current rating is greater than right neighborCOMMENT
LOW⚡…n/1203-sort-items-by-groups-respecting-dependencies.py16 nodes_with_no_predecessors.append(successor) # Add it to the queue for processingCODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/0071-simplify-path.py19CODE
LOWpython/1905-count-sub-islands.py26CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWjavascript/2704-to-be-or-not-to-be.js19// Example usage:COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…n/1203-sort-items-by-groups-respecting-dependencies.py1CODE