AI Slop Code Risk Monitor

doocs/leetcode

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

🔥LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for doocs/leetcode, a Java project with 36,741 GitHub stars. SynthScan examined 3,142,117 lines of code across 34853 source files, recording 1826 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
36.7K
Stars
Java
Language
3.1M
Lines of Code
34.9K
Files
1.8K
Pattern Hits
2026-10-31
Scan Date
0.01
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 2.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 3.1/100 · LOW

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

PR Review Velocity Impact 5.4/100 · LOW

Which changes need focused human review? 1826 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 327MEDIUM 6LOW 1493

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

Cross-File Repetition307 hits · 1535 pts
SeverityFileLineSnippetContext
HIGH…2.Search in a Sorted Array of Unknown Size/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…702.Search in a Sorted Array of Unknown Size/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH….Search in a Sorted Array of Unknown Size/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…9/1533.Find the Index of the Large Integer/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…599/1533.Find the Index of the Large Integer/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…/1533.Find the Index of the Large Integer/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…0-1799/1778.Shortest Path in a Hidden Grid/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…700-1799/1778.Shortest Path in a Hidden Grid/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…-1799/1778.Shortest Path in a Hidden Grid/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…99/1810.Minimum Path Cost in a Hidden Grid/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…1899/1810.Minimum Path Cost in a Hidden Grid/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…9/1810.Minimum Path Cost in a Hidden Grid/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…0-1299/1274.Number of Ships in a Rectangle/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…200-1299/1274.Number of Ships in a Rectangle/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…-1299/1274.Number of Ships in a Rectangle/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGHsolution/1200-1299/1236.Web Crawler/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGHsolution/1200-1299/1236.Web Crawler/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGHsolution/1200-1299/1236.Web Crawler/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…Maximum Font to Fit a Sentence in a Screen/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…8.Maximum Font to Fit a Sentence in a Screen/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…aximum Font to Fit a Sentence in a Screen/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…tion/1000-1099/1095.Find in Mountain Array/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…lution/1000-1099/1095.Find in Mountain Array/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…ion/1000-1099/1095.Find in Mountain Array/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…/1538.Guess the Majority in a Hidden Array/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…99/1538.Guess the Majority in a Hidden Array/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…1538.Guess the Majority in a Hidden Array/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…9/1428.Leftmost Column with at Least a One/Solution.py0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…499/1428.Leftmost Column with at Least a One/README.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGH…/1428.Leftmost Column with at Least a One/README_EN.md0# this is binarymatrix's api interface. # you should not implement it, or speculate about its implementation #STRING
HIGHsolution/0700-0799/0759.Employee Free Time/Solution.py0# definition for an interval. class interval: def __init__(self, start: int = none, end: int = none): self.start = startSTRING
HIGHsolution/0700-0799/0759.Employee Free Time/README.md0# definition for an interval. class interval: def __init__(self, start: int = none, end: int = none): self.start = startSTRING
HIGHsolution/0700-0799/0759.Employee Free Time/README_EN.md0# definition for an interval. class interval: def __init__(self, start: int = none, end: int = none): self.start = startSTRING
HIGH….Insert into a Sorted Circular Linked List/Solution.py0# definition for a node. class node: def __init__(self, val=none, next=none): self.val = val self.next = nextSTRING
HIGH…08.Insert into a Sorted Circular Linked List/README.md0# definition for a node. class node: def __init__(self, val=none, next=none): self.val = val self.next = nextSTRING
HIGH…Insert into a Sorted Circular Linked List/README_EN.md0# definition for a node. class node: def __init__(self, val=none, next=none): self.val = val self.next = nextSTRING
HIGHlcof2/剑指 Offer II 029. 排序的循环链表/Solution.py0# definition for a node. class node: def __init__(self, val=none, next=none): self.val = val self.next = nextSTRING
HIGHlcof2/剑指 Offer II 029. 排序的循环链表/README.md0# definition for a node. class node: def __init__(self, val=none, next=none): self.val = val self.next = nextSTRING
HIGHsolution/0200-0299/0286.Walls and Gates/Solution.py0do not return anything, modify rooms in-place instead.STRING
HIGHsolution/0200-0299/0286.Walls and Gates/README.md0do not return anything, modify rooms in-place instead.STRING
HIGHsolution/0200-0299/0286.Walls and Gates/README_EN.md0do not return anything, modify rooms in-place instead.STRING
HIGHsolution/0200-0299/0280.Wiggle Sort/Solution.py0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0200-0299/0280.Wiggle Sort/README.md0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0200-0299/0280.Wiggle Sort/README_EN.md0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0300-0399/0324.Wiggle Sort II/Solution.py0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0300-0399/0324.Wiggle Sort II/README.md0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0300-0399/0324.Wiggle Sort II/README_EN.md0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0300-0399/0324.Wiggle Sort II/Solution2.py0do not return anything, modify nums in-place instead.STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/Solution.py0# initializes an iterator object to the beginning of a list. # :type nums: list[int] #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README.md0# initializes an iterator object to the beginning of a list. # :type nums: list[int] #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README_EN.md0# initializes an iterator object to the beginning of a list. # :type nums: list[int] #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/Solution.py0# returns true if the iteration has more elements. # :rtype: bool #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README.md0# returns true if the iteration has more elements. # :rtype: bool #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README_EN.md0# returns true if the iteration has more elements. # :rtype: bool #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/Solution.py0# returns the next element in the iteration. # :rtype: int #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README.md0# returns the next element in the iteration. # :rtype: int #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README_EN.md0# returns the next element in the iteration. # :rtype: int #STRING
HIGHsolution/0200-0299/0284.Peeking Iterator/Solution.py0initialize your data structure here. :type iterator: iteratorSTRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README.md0initialize your data structure here. :type iterator: iteratorSTRING
HIGHsolution/0200-0299/0284.Peeking Iterator/README_EN.md0initialize your data structure here. :type iterator: iteratorSTRING
247 more matches not shown…
Over-Commented Block512 hits · 512 pts
SeverityFileLineSnippetContext
LOWlcci/04.05.Legal Binary Search Tree/Solution.rs1// Definition for a binary tree node.COMMENT
LOWlcci/04.05.Legal Binary Search Tree/README.md221// pub struct TreeNode {COMMENT
LOWlcci/04.05.Legal Binary Search Tree/README_EN.md261// pub left: Option<Rc<RefCell<TreeNode>>>,COMMENT
LOWlcci/04.12.Paths with Sum/Solution.rs1// Definition for a binary tree node.COMMENT
LOWlcci/04.12.Paths with Sum/README.md241#### RustCOMMENT
LOWlcci/04.12.Paths with Sum/README_EN.md261// pub left: Option<Rc<RefCell<TreeNode>>>,COMMENT
LOWlcci/04.02.Minimum Height Tree/Solution.rs1// Definition for a binary tree node.COMMENT
LOWlcci/04.02.Minimum Height Tree/README.md181```COMMENT
LOWlcci/04.02.Minimum Height Tree/README_EN.md201 return new TreeNode(nums[mid], dfs(l, mid - 1), dfs(mid + 1, r));COMMENT
LOWlcci/02.02.Kth Node From End of List/Solution.rs1// Definition for singly-linked list.COMMENT
LOWlcci/02.02.Kth Node From End of List/README.md181#### RustCOMMENT
LOWlcci/02.02.Kth Node From End of List/README_EN.md181}COMMENT
LOWlcci/03.05.Sort of Stacks/Solution.py21 def isEmpty(self) -> bool:COMMENT
LOWlcci/16.25.LRU Cache/Solution.py61# Your LRUCache object will be instantiated and called as such:COMMENT
LOWlcci/04.03.List of Depth/Solution.rs1// Definition for a binary tree node.COMMENT
LOWlcci/04.03.List of Depth/Solution.rs21// pub struct ListNode {COMMENT
LOWlcci/04.03.List of Depth/Solution.py1# Definition for a binary tree node.COMMENT
LOWlcci/04.03.List of Depth/README.md61#### Python3COMMENT
LOWlcci/04.03.List of Depth/README.md281// Definition for a binary tree node.COMMENT
LOWlcci/04.03.List of Depth/README.md301// pub struct ListNode {COMMENT
LOWlcci/04.03.List of Depth/README_EN.md301//COMMENT
LOWlcci/03.06.Animal Shelter/Solution.py21COMMENT
LOWlcci/04.10.Check SubTree/Solution.rs1// Definition for a binary tree node.COMMENT
LOWlcci/04.10.Check SubTree/README_EN.md261// #[derive(Debug, PartialEq, Eq)]COMMENT
LOWlcci/03.02.Min Stack/Solution.py21 return self.mins[-1]COMMENT
LOWlcci/02.01.Remove Duplicate Node/Solution.rs1// Definition for singly-linked list.COMMENT
LOWlcci/02.01.Remove Duplicate Node/README_EN.md221// pub val: i32,COMMENT
LOWsolution/3500-3599/3508.Implement Router/Solution.py41# obj = Router(memoryLimit)COMMENT
LOWsolution/0700-0799/0707.Design Linked List/Solution.py41# Your MyLinkedList object will be instantiated and called as such:COMMENT
LOW…99/0783.Minimum Distance Between BST Nodes/Solution.rs1// Definition for a binary tree node.COMMENT
LOW…0799/0783.Minimum Distance Between BST Nodes/README.md241 };COMMENT
LOW…9/0783.Minimum Distance Between BST Nodes/README_EN.md241// Definition for a binary tree node.COMMENT
LOWsolution/0700-0799/0716.Max Stack/Solution.py61COMMENT
LOWsolution/0700-0799/0715.Range Module/Solution.py81# obj.addRange(left,right)COMMENT
LOW…00-1799/1797.Design Authentication Manager/Solution.py21# obj.renew(tokenId,currentTime)COMMENT
LOW…0-1799/1778.Shortest Path in a Hidden Grid/Solution.py1# """COMMENT
LOWsolution/0200-0299/0226.Invert Binary Tree/Solution.rs1// Definition for a binary tree node.COMMENT
LOWsolution/0200-0299/0226.Invert Binary Tree/README.md221// }COMMENT
LOWsolution/0200-0299/0226.Invert Binary Tree/README_EN.md201 root.right = l;COMMENT
LOW…0200-0299/0203.Remove Linked List Elements/Solution.rs1// Definition for singly-linked list.COMMENT
LOW…200-0299/0203.Remove Linked List Elements/README_EN.md181 cur = cur.next;COMMENT
LOWsolution/0200-0299/0206.Reverse Linked List/Solution.rs1// Definition for singly-linked list.COMMENT
LOWsolution/0200-0299/0206.Reverse Linked List/README.md221// pub next: Option<Box<ListNode>>COMMENT
LOW…lution/0200-0299/0206.Reverse Linked List/Solution2.rs1// Definition for singly-linked list.COMMENT
LOW…lution/0200-0299/0206.Reverse Linked List/README_EN.md201 cur.next = pre;COMMENT
LOW…lution/0200-0299/0206.Reverse Linked List/README_EN.md441}COMMENT
LOWsolution/0200-0299/0251.Flatten 2D Vector/Solution.py21COMMENT
LOW…36.Lowest Common Ancestor of a Binary Tree/Solution.rs1// Definition for a binary tree node.COMMENT
LOW…0236.Lowest Common Ancestor of a Binary Tree/README.md221 return left && right ? root : left || right;COMMENT
LOW…6.Lowest Common Ancestor of a Binary Tree/README_EN.md221}COMMENT
LOWsolution/0200-0299/0284.Peeking Iterator/Solution.py1# Below is the interface for Iterator, which is already defined for you.COMMENT
LOWsolution/0200-0299/0284.Peeking Iterator/Solution.py61# Your PeekingIterator object will be instantiated and called as such:COMMENT
LOWsolution/0200-0299/0284.Peeking Iterator/README.md81>COMMENT
LOWsolution/0200-0299/0284.Peeking Iterator/README_EN.md81<!-- thinking:end -->COMMENT
LOW…n/0200-0299/0271.Encode and Decode Strings/Solution.py21# Your Codec object will be instantiated and called as such:COMMENT
LOW…n/0200-0299/0244.Shortest Word Distance II/Solution.py21# obj = WordDistance(wordsDict)COMMENT
LOW…200-0299/0225.Implement Stack using Queues/Solution.py21COMMENT
LOW…97.Serialize and Deserialize Binary Tree/Solution.java61// Codec codec = new Codec();COMMENT
LOW…0297.Serialize and Deserialize Binary Tree/Solution.cs61// Codec codec = new Codec();COMMENT
LOW…297.Serialize and Deserialize Binary Tree/Solution.cpp61COMMENT
452 more matches not shown…
Deep Nesting489 hits · 489 pts
SeverityFileLineSnippetContext
LOWrun_format.py226CODE
LOWrun_format.py249CODE
LOWrun_format.py292CODE
LOWrun_format.py355CODE
LOWlcs/LCS 03. 主题空间/Solution.py2CODE
LOWlcci/05.04.Closed Number/Solution.py2CODE
LOWlcci/08.14.Boolean Evaluation/Solution.py2CODE
LOWlcci/08.14.Boolean Evaluation/Solution.py4CODE
LOWlcci/17.24.Max Submatrix/Solution.py2CODE
LOWlcci/10.03.Search Rotate Array/Solution.py2CODE
LOWlcci/17.23.Max Black Square/Solution.py2CODE
LOWlcci/16.14.Best Line/Solution.py2CODE
LOWsolution/util.py225CODE
LOWsolution/util.py470CODE
LOWsolution/rating.py118CODE
LOWsolution/main.py393CODE
LOWsolution/main.py522CODE
LOWsolution/main.py566CODE
LOW…4.Split the Array to Make Coprime Products/Solution.py2CODE
LOW…00-2599/2585.Number of Ways to Earn Points/Solution.py2CODE
LOW…ution/2500-2599/2512.Reward Top K Students/Solution.py2CODE
LOW…Distinct Prime Factors of Product of Array/Solution.py2CODE
LOW…on/2500-2599/2573.Find the String with LCP/Solution.py2CODE
LOW…577.Minimum Time to Visit a Cell In a Grid/Solution.py2CODE
LOW…1.Make Number of Distinct Characters Equal/Solution.py2CODE
LOW…nce Between Maximum and Minimum Price Sum/Solution2.py2CODE
LOW…-2599/2547.Minimum Cost to Split an Array/Solution2.py2CODE
LOW…Maximum Number of Points From Grid Queries/Solution.py2CODE
LOW…/3568.Minimum Moves to Clean the Classroom/Solution.py2CODE
LOW… Profit from Trading Stocks with Discounts/Solution.py2CODE
LOW… Profit from Trading Stocks with Discounts/Solution.py15CODE
LOW…/3500-3599/3590.Kth Smallest Path XOR Sum/Solution2.py52CODE
LOW…500-3599/3552.Grid Teleportation Traversal/Solution.py2CODE
LOW…m Absolute Difference in Sliding Submatrix/Solution.py2CODE
LOW…599/3585.Find Weighted Median Node in Tree/Solution.py2CODE
LOW…3500-3599/3574.Maximize Subarray GCD Score/Solution.py2CODE
LOW…3500-3599/3548.Equal Sum Grid Partition II/Solution.py2CODE
LOW…3500-3599/3548.Equal Sum Grid Partition II/Solution.py3CODE
LOW…/3500-3599/3565.Sequential Grid Path Cover/Solution.py2CODE
LOWsolution/0700-0799/0723.Candy Crush/Solution.py2CODE
LOWsolution/0700-0799/0726.Number of Atoms/Solution.py2CODE
LOWsolution/0700-0799/0773.Sliding Puzzle/Solution.py2CODE
LOWsolution/0700-0799/0773.Sliding Puzzle/Solution2.py2CODE
LOWsolution/0700-0799/0735.Asteroid Collision/Solution.py2CODE
LOWsolution/0700-0799/0752.Open the Lock/Solution.py2CODE
LOW…0.Count Different Palindromic Subsequences/Solution.py2CODE
LOW…0700-0799/0750.Number Of Corner Rectangles/Solution.py2CODE
LOWsolution/0700-0799/0755.Pour Water/Solution.py2CODE
LOW…00-0799/0742.Closest Leaf in a Binary Tree/Solution.py8CODE
LOWsolution/0700-0799/0741.Cherry Pickup/Solution.py2CODE
LOWsolution/0700-0799/0749.Contain Virus/Solution.py2CODE
LOWsolution/0700-0799/0749.Contain Virus/Solution.py3CODE
LOWsolution/0700-0799/0722.Remove Comments/Solution.py2CODE
LOW…1799/1796.Second Largest Digit in a String/Solution.py2CODE
LOWsolution/1700-1799/1776.Car Fleet II/Solution.py2CODE
LOW…lution/1700-1799/1774.Closest Dessert Cost/Solution.py2CODE
LOWsolution/1700-1799/1728.Cat and Mouse II/Solution.py2CODE
LOWsolution/1700-1799/1728.Cat and Mouse II/Solution.py33CODE
LOW…799/1793.Maximum Score of a Good Subarray/Solution2.py2CODE
LOW…f Equal Substrings With Minimum Difference/Solution.py2CODE
429 more matches not shown…
Hyper-Verbose Identifiers431 hits · 431 pts
SeverityFileLineSnippetContext
LOWsolution/util.py470def generate_category_summary(result, category=""):CODE
LOW…500-3599/3586.Find COVID Recovery Patients/Solution.py4def find_covid_recovery_patients(CODE
LOW…/3500-3599/3586.Find COVID Recovery Patients/README.md216def find_covid_recovery_patients(CODE
LOW…00-3599/3586.Find COVID Recovery Patients/README_EN.md215def find_covid_recovery_patients(CODE
LOW…99/3554.Find Category Recommendation Pairs/Solution.py4def find_category_recommendation_pairs(CODE
LOW…3599/3554.Find Category Recommendation Pairs/README.md226def find_category_recommendation_pairs(CODE
LOW…9/3554.Find Category Recommendation Pairs/README_EN.md225def find_category_recommendation_pairs(CODE
LOW…3580.Find Consistently Improving Employees/Solution.py4def find_consistently_improving_employees(CODE
LOW…9/3580.Find Consistently Improving Employees/README.md219def find_consistently_improving_employees(CODE
LOW…580.Find Consistently Improving Employees/README_EN.md218def find_consistently_improving_employees(CODE
LOW…9/3570.Find Books with No Available Copies/Solution.py4def find_books_with_no_available_copies(CODE
LOW…599/3570.Find Books with No Available Copies/README.md200def find_books_with_no_available_copies(CODE
LOW…/3570.Find Books with No Available Copies/README_EN.md199def find_books_with_no_available_copies(CODE
LOW…/0700-0799/0713.Subarray Product Less Than K/README.md157function numSubarrayProductLessThanK(nums: number[], k: number): number {CODE
LOW…00-0799/0713.Subarray Product Less Than K/README_EN.md157function numSubarrayProductLessThanK(nums: number[], k: number): number {CODE
LOW…700-0799/0713.Subarray Product Less Than K/Solution.ts1function numSubarrayProductLessThanK(nums: number[], k: number): number {CODE
LOWsolution/0200-0299/0293.Flip Game/README.md147function generatePossibleNextMoves(currentState: string): string[] {CODE
LOWsolution/0200-0299/0293.Flip Game/README_EN.md145function generatePossibleNextMoves(currentState: string): string[] {CODE
LOWsolution/0200-0299/0293.Flip Game/Solution.ts1function generatePossibleNextMoves(currentState: string): string[] {CODE
LOW…lution/0200-0299/0220.Contains Duplicate III/README.md179function containsNearbyAlmostDuplicate(CODE
LOW…ion/0200-0299/0220.Contains Duplicate III/README_EN.md177function containsNearbyAlmostDuplicate(CODE
LOW…tion/0200-0299/0220.Contains Duplicate III/Solution.ts1function containsNearbyAlmostDuplicate(CODE
LOW…1999/1987.Number of Unique Good Subsequences/README.md189function numberOfUniqueGoodSubsequences(binary: string): number {CODE
LOW…9/1987.Number of Unique Good Subsequences/README_EN.md190function numberOfUniqueGoodSubsequences(binary: string): number {CODE
LOW…99/1987.Number of Unique Good Subsequences/Solution.ts1function numberOfUniqueGoodSubsequences(binary: string): number {CODE
LOW…ngest Valid Obstacle Course at Each Position/README.md317function longestObstacleCourseAtEachPosition(obstacles: number[]): number[] {CODE
LOW…st Valid Obstacle Course at Each Position/README_EN.md315function longestObstacleCourseAtEachPosition(obstacles: number[]): number[] {CODE
LOW…est Valid Obstacle Course at Each Position/Solution.ts27function longestObstacleCourseAtEachPosition(obstacles: number[]): number[] {CODE
LOW…930.Unique Length-3 Palindromic Subsequences/README.md185function countPalindromicSubsequence(s: string): number {CODE
LOW….Unique Length-3 Palindromic Subsequences/README_EN.md183function countPalindromicSubsequence(s: string): number {CODE
LOW…0.Unique Length-3 Palindromic Subsequences/Solution.ts1function countPalindromicSubsequence(s: string): number {CODE
LOW…/1900-1999/1980.Find Unique Binary String/Solution2.ts1function findDifferentBinaryString(nums: string[]): string {CODE
LOW…ion/1900-1999/1980.Find Unique Binary String/README.md166function findDifferentBinaryString(nums: string[]): string {CODE
LOW…ion/1900-1999/1980.Find Unique Binary String/README.md303function findDifferentBinaryString(nums: string[]): string {CODE
LOW…/1900-1999/1980.Find Unique Binary String/README_EN.md165function findDifferentBinaryString(nums: string[]): string {CODE
LOW…/1900-1999/1980.Find Unique Binary String/README_EN.md302function findDifferentBinaryString(nums: string[]): string {CODE
LOW…n/1900-1999/1980.Find Unique Binary String/Solution.ts1function findDifferentBinaryString(nums: string[]): string {CODE
LOW…alue of Variable After Performing Operations/README.md160function finalValueAfterOperations(operations: string[]): number {CODE
LOW…e of Variable After Performing Operations/README_EN.md158function finalValueAfterOperations(operations: string[]): number {CODE
LOW…ue of Variable After Performing Operations/Solution.ts1function finalValueAfterOperations(operations: string[]): number {CODE
LOW…imum Number of Nodes Between Critical Points/README.md260function nodesBetweenCriticalPoints(head: ListNode | null): number[] {CODE
LOW…m Number of Nodes Between Critical Points/README_EN.md242function nodesBetweenCriticalPoints(head: ListNode | null): number[] {CODE
LOW…um Number of Nodes Between Critical Points/Solution.ts13function nodesBetweenCriticalPoints(head: ListNode | null): number[] {CODE
LOW…31.Count Subarrays With More Ones Than Zeros/README.md304function subarraysWithMoreZerosThanOnes(nums: number[]): number {CODE
LOW…Count Subarrays With More Ones Than Zeros/README_EN.md305function subarraysWithMoreZerosThanOnes(nums: number[]): number {CODE
LOW….Count Subarrays With More Ones Than Zeros/Solution.ts25function subarraysWithMoreZerosThanOnes(nums: number[]): number {CODE
LOW…est Missing Genetic Value in Each Subtree/Solution2.ts1function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…allest Missing Genetic Value in Each Subtree/README.md311function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…allest Missing Genetic Value in Each Subtree/README.md644function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…est Missing Genetic Value in Each Subtree/README_EN.md308function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…est Missing Genetic Value in Each Subtree/README_EN.md641function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…lest Missing Genetic Value in Each Subtree/Solution.ts1function smallestMissingValueSubtree(parents: number[], nums: number[]): number[] {CODE
LOW…0-2099/2036.Maximum Alternating Subarray Sum/README.md159function maximumAlternatingSubarraySum(nums: number[]): number {CODE
LOW…099/2036.Maximum Alternating Subarray Sum/README_EN.md161function maximumAlternatingSubarraySum(nums: number[]): number {CODE
LOW…2099/2036.Maximum Alternating Subarray Sum/Solution.ts1function maximumAlternatingSubarraySum(nums: number[]): number {CODE
LOW…99/2014.Longest Subsequence Repeated k Times/README.md294function longestSubsequenceRepeatedK(s: string, k: number): string {CODE
LOW…2014.Longest Subsequence Repeated k Times/README_EN.md290function longestSubsequenceRepeatedK(s: string, k: number): string {CODE
LOW…/2014.Longest Subsequence Repeated k Times/Solution.ts1function longestSubsequenceRepeatedK(s: string, k: number): string {CODE
LOW…00-3099/3061.Calculate Trapping Rain Water/Solution.py4def calculate_trapped_rain_water(heights: pd.DataFrame) -> pd.DataFrame:CODE
LOW…3000-3099/3061.Calculate Trapping Rain Water/README.md118def calculate_trapped_rain_water(heights: pd.DataFrame) -> pd.DataFrame:CODE
371 more matches not shown…
Cross-Language Confusion19 hits · 132 pts
SeverityFileLineSnippetContext
HIGHlcci/03.04.Implement Queue using Stacks/Solution.py28# obj.push(x)COMMENT
HIGHlcci/03.05.Sort of Stacks/Solution.py27# obj.push(val)COMMENT
HIGHlcci/03.03.Stack of Plates/Solution.py27# obj.push(val)COMMENT
HIGHlcci/03.01.Three in One/Solution.py29# obj.push(stackNum,value)COMMENT
HIGHlcci/03.02.Min Stack/Solution.py26# obj.push(val)COMMENT
HIGHsolution/0700-0799/0716.Max Stack/Solution.py64# obj.push(x)COMMENT
HIGH…200-0299/0232.Implement Queue using Stacks/Solution.py28# obj.push(x)COMMENT
HIGH…200-0299/0225.Implement Stack using Queues/Solution.py24# obj.push(x)COMMENT
HIGHsolution/2100-2199/2166.Design Bitset/Solution.py44# param_7 = obj.toString()COMMENT
HIGH…ion/0800-0899/0895.Maximum Frequency Stack/Solution.py20# obj.push(val)COMMENT
HIGH…on/0800-0899/0895.Maximum Frequency Stack/Solution2.py22# obj.push(val)COMMENT
HIGH…81.Design a Stack With Increment Operation/Solution.py30# obj.push(x)COMMENT
HIGH…tion/1000-1099/1095.Find in Mountain Array/Solution.py21 n = mountain_arr.length()CODE
HIGH…9/1533.Find the Index of the Large Integer/Solution.py19 left, right = 0, reader.length() - 1CODE
HIGH…/1538.Guess the Majority in a Hidden Array/Solution.py19 n = reader.length()CODE
HIGHsolution/0100-0199/0155.Min Stack/Solution.py23# obj.push(val)COMMENT
HIGHsolution/1100-1199/1172.Dinner Plate Stacks/Solution.py36# obj.push(val)COMMENT
HIGHlcp/main.py13{"data":{"problemsetQuestionList":{"__typename":"QuestionListNode","questions":[{"__typename":"QuestionLightNode","acRatCODE
HIGHlcof/面试题30. 包含min函数的栈/Solution.py23# obj.push(x)COMMENT
Structural Annotation Overuse21 hits · 44 pts
SeverityFileLineSnippetContext
LOW… Minimum Sums of at Most Size K Subarrays/README_EN.md189#### Step 1: Boundary ControlCOMMENT
LOW… Minimum Sums of at Most Size K Subarrays/README_EN.md197#### Step 2: MonotonicityCOMMENT
LOW… Minimum Sums of at Most Size K Subarrays/README_EN.md210#### Step 3: AccumulationCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py7 # Step 1: Identify stores with at least 3 productsCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py11 # Step 2: Find most expensive product for each valid storeCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py21 # Step 3: Find cheapest product for each storeCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py32 # Step 4: Merge the two datasets on store_idCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py37 # Step 5: Filter for cases where cheapest product has higher quantity than most expensiveCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py40 # Step 6: Calculate imbalance ratio (cheapest quantity / most expensive quantity)COMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py45 # Step 7: Merge with store information to get store names and locationsCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py48 # Step 8: Select and rename columns for final outputCOMMENT
LOW…/3626.Find Stores with Inventory Imbalance/Solution.py65 # Step 9: Sort by imbalance ratio (descending) then store name (ascending)COMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md248 # Step 1: Identify stores with at least 3 productsCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md252 # Step 2: Find most expensive product for each valid storeCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md262 # Step 3: Find cheapest product for each storeCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md273 # Step 4: Merge the two datasets on store_idCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md278 # Step 5: Filter for cases where cheapest product has higher quantity than most expensiveCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md281 # Step 6: Calculate imbalance ratio (cheapest quantity / most expensive quantity)COMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md286 # Step 7: Merge with store information to get store names and locationsCOMMENT
LOW⚡…3626.Find Stores with Inventory Imbalance/README_EN.md289 # Step 8: Select and rename columns for final outputCOMMENT
LOW…3626.Find Stores with Inventory Imbalance/README_EN.md306 # Step 9: Sort by imbalance ratio (descending) then store name (ascending)COMMENT
Verbosity Indicators9 hits · 20 pts
SeverityFileLineSnippetContext
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py7 # Step 1: Identify stores with at least 3 productsCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py11 # Step 2: Find most expensive product for each valid storeCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py21 # Step 3: Find cheapest product for each storeCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py32 # Step 4: Merge the two datasets on store_idCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py37 # Step 5: Filter for cases where cheapest product has higher quantity than most expensiveCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py40 # Step 6: Calculate imbalance ratio (cheapest quantity / most expensive quantity)COMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py45 # Step 7: Merge with store information to get store names and locationsCOMMENT
LOW⚡…/3626.Find Stores with Inventory Imbalance/Solution.py48 # Step 8: Select and rename columns for final outputCOMMENT
LOW…/3626.Find Stores with Inventory Imbalance/Solution.py65 # Step 9: Sort by imbalance ratio (descending) then store name (ascending)COMMENT
AI Structural Patterns15 hits · 15 pts
SeverityFileLineSnippetContext
LOW…99/3554.Find Category Recommendation Pairs/Solution.py28CODE
LOW…-3499/3497.Analyze Subscription Conversion/Solution.py31CODE
LOW…n/3400-3499/3451.Find Invalid IP Addresses/Solution.py24CODE
LOWsolution/3100-3199/3124.Find Longest Calls/Solution.py22CODE
LOW…ion/3200-3299/3262.Find Overlapping Shifts/Solution.py19CODE
LOW…n/3200-3299/3220.Odd and Even Transactions/Solution.py20CODE
LOW…70.Managers with at Least 5 Direct Reports/Solution.py21CODE
LOW…1565.Unique Orders and Customers Per Month/Solution.py16CODE
LOW…n/3700-3799/3716.Find Churn Risk Customers/Solution.py57CODE
LOW…on/3700-3799/3764.Most Common Course Pairs/Solution.py29CODE
LOW…300-3399/3328.Find Cities in Each State II/Solution.py25CODE
LOW…0-3399/3384.Team Dominance by Pass Success/Solution.py27CODE
LOW…899/3808.Find Emotionally Consistent Users/Solution.py40CODE
LOW…lution/3600-3699/3657.Find Loyal Customers/Solution.py26CODE
LOW…/3626.Find Stores with Inventory Imbalance/Solution.py70CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…on/1300-1399/1307.Verbal Arithmetic Puzzle/Solution.py26 # Create a variable 'sign' to check whether we have to add it or subtract it.COMMENT
MEDIUM…on/1300-1399/1307.Verbal Arithmetic Puzzle/Solution.py92 # Create a HashMap for the letter to digit mapping.COMMENT
MEDIUM…on/1300-1399/1307.Verbal Arithmetic Puzzle/Solution.py95 # Create a list for the digit to letter mapping.COMMENT
MEDIUM…ution/0100-0199/0176.Second Highest Salary/Solution.py17 # Create a DataFrame with the second highest salaryCOMMENT
Excessive Try-Catch Wrapping9 hits · 9 pts
SeverityFileLineSnippetContext
LOWsolution/util.py60 except Exception as e:CODE
LOWsolution/util.py562 except Exception as e:CODE
LOWsolution/util.py568 except Exception as e:CODE
LOWsolution/rating.py194 except Exception as e:CODE
LOWsolution/main.py57 except Exception as e:CODE
LOWsolution/main.py112 except Exception as e:CODE
LOWsolution/main.py167 except Exception as e:CODE
LOWsolution/main.py239 except Exception as e:CODE
LOWsolution/main.py359 except Exception as e:CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsolution/rating.py15CODE
LOWsolution/main.py13CODE
LOW… an Expression Tree With Evaluate Function/Solution.py1CODE
LOW…/3700-3799/3705.Find Golden Hour Customers/Solution.py2CODE
LOWscripts/preview.py15CODE
LOWscripts/check_thinking.py4CODE
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/prettier-write.yml24 # ---------------------------------------------------------COMMENT
MEDIUM.github/workflows/prettier-write.yml28 # ---------------------------------------------------------COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsolution/main.py558except OSError:CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…on/1300-1399/1307.Verbal Arithmetic Puzzle/Solution.py79 # If nothing is correct then just return false.COMMENT