AI Slop Code Risk Monitor

MAZHARMIK/Interview_DS_Algo

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

Super Repository for Coding Interview Preperation

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MAZHARMIK/Interview_DS_Algo, a C++ project with 5,282 GitHub stars. SynthScan examined 197,822 lines of code across 1586 source files, recording 153 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.3K
Stars
C++
Language
197.8K
Lines of Code
1.6K
Files
153
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 7.3/100 · LOW

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

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

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 153 distinct pattern matches across 5 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.

Verbosity Indicators68 hits · 134 pts
SeverityFileLineSnippetContext
LOWBit_Magic/Maximum XOR for Each Query.cpp52 // Step 1: Calculate the total XOR of all elements in numsCOMMENT
LOW⚡strings/Word Subsets.cpp68 // Step 1: Calculate the maximum frequency requirement for words2COMMENT
LOW⚡strings/Word Subsets.cpp78 // Step 2: Check each word in words1COMMENT
LOWstrings/Simulation/Decode the Slanted Ciphertext.cpp70 // Step 3: Remove trailing spacesCOMMENT
LOW⚡…s/Easy Tagged/Maximum Number of Words You Can Type.cpp49 // Step 1: Create a boolean array to mark broken lettersCOMMENT
LOW⚡…s/Easy Tagged/Maximum Number of Words You Can Type.cpp58 // Step 2: Iterate through text character by characterCOMMENT
LOW…s/Easy Tagged/Maximum Number of Words You Can Type.cpp72 // Step 3: Check last word (no space after last word)COMMENT
LOWBacktracking/N-Queens.cpp75 top row to bottom row, so we need to check if we put a queenCODE
LOWBacktracking/N-Queens.cpp226 // the top row to the bottom row, so we need to check if we put a queenCOMMENT
LOWGraph/BFS_DFS/Making A Large Island.cpp246 // Step 1: Connect all existing 1s using DSUCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp263 // Step 2: Find the largest island without modificationCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp270 // Step 3: Try flipping each 0 to 1COMMENT
LOWGraph/BFS_DFS/Making A Large Island.cpp528 // Step 1: Connect all existing 1s using DSUCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp544 // Step 2: Find the largest island without modificationCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp551 // Step 3: Try flipping each 0 to 1COMMENT
LOWHashMap/Minimum Index of a Valid Split.cpp142 // Step 1: Find majority element using Boyer-Moore Voting AlgorithmCOMMENT
LOW⚡HashMap/Minimum Index of a Valid Split.cpp154 // Step 2: Count how many times majority element occursCOMMENT
LOW⚡HashMap/Minimum Index of a Valid Split.cpp162 // Step 3: Try splitting at every index to check conditionsCOMMENT
LOW…echnique/XOR After Range Multiplication Queries II.cpp124 // Step 1: Process large K directlyCOMMENT
LOW…echnique/XOR After Range Multiplication Queries II.cpp140 // Step 2: Process small K using diff arrayCOMMENT
LOW…erence Array Technique/Zero Array Transformation I.cpp58 // Step 1: Make difference array using queriesCOMMENT
LOW⚡…erence Array Technique/Zero Array Transformation I.cpp71 // Step 2: Compute cumulative effect on each indexCOMMENT
LOW⚡…erence Array Technique/Zero Array Transformation I.cpp79 // Step 3: Check if each value can reach 0COMMENT
LOW…rence Array Technique/Increment Submatrices by One.cpp57 // Step 1: Process queries (Difference Array Technique)COMMENT
LOW…rence Array Technique/Increment Submatrices by One.cpp72 // Step 2: Row-wise prefix sumsCOMMENT
LOW…ays/Difference Array Technique/Shifting Letters II.cpp19 // Step 1: Populate the difference arrayCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp36 // Step 2: Compute the prefix sum to get the net shifts for each characterCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp41 // Step 3: Apply the shifts to the stringCOMMENT
LOW…ays/Difference Array Technique/Shifting Letters II.cpp72 // Step 1: Populate the difference arrayCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp91 // Step 2: Compute the prefix sum to get the net shifts for each characterCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp96 // Step 3: Apply the shifts to the stringCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp29 // Step 1: Apply updates using the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp41 // Step 2: Compute the final array from the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp64 // Step 1: Apply updates using the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp76 // Step 2: Compute the final array from the difference arrayCOMMENT
LOW…s/Binary Search/Most Beautiful Item for Each Query.cpp92 // Step 1: Sort the items based on price in ascending orderCOMMENT
LOW⚡…code Easy/Minimum Number of Moves to Seat Everyone.cpp75 // Step 1: Sort both the seats and students arraysCOMMENT
LOW⚡…code Easy/Minimum Number of Moves to Seat Everyone.cpp82 // Step 2: Calculate the total number of movesCOMMENT
LOWGreedy/Lexicographically Smallest Generated String.cpp110 // Step 1: Process 'T'COMMENT
LOW⚡Greedy/Lexicographically Smallest Generated String.cpp124 // Step 2: Fill remaining with 'a'COMMENT
LOW⚡Greedy/Lexicographically Smallest Generated String.cpp132 // Step 3: Process 'F'COMMENT
LOWGreedy/Reschedule Meetings for Maximum Free Time II.cpp68 // Step 1: Compute freeArray (gaps between events)COMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp81 // Step 2: Precompute max free to the rightCOMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp85 // Step 3: Precompute max free to the leftCOMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp91 // Step 4: Iterate for each possible movement/shiftCOMMENT
LOW⚡DP/Minimum Total Distance Traveled.cpp92 // Step 1: Sort robot and factory arraysCOMMENT
LOW⚡DP/Minimum Total Distance Traveled.cpp98 // Step 2: Expand factory positions to avoid tracking of limit and easy recursionCOMMENT
LOWDP/Minimum Total Distance Traveled.cpp114 // Step 3: Solve the problemCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp63 // Step 1: Count frequency of each unique power valueCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp69 // Step 2: \\Collect and sort unique valuesCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp162 // Step 1: Frequency mapCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp167 // Step 2: Sort unique valuesCOMMENT
LOW⚡DP/DP on Strings/Find the String with LCP.cpp195 // Step 1: try to match with previousCOMMENT
LOW⚡DP/DP on Strings/Find the String with LCP.cpp203 // Step 2: assign smallest valid characterCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp66 // Step 1: Store itemsCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp71 // Step 2: Sort by profit/weight ratio in descending orderCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp80 // Step 3: Pick items greedilyCOMMENT
LOW… Technique/Maximum Sum Obtained of Any Permutation.cpp62 // Step 1: Difference array marking (line sweep events)COMMENT
LOW⚡… Technique/Maximum Sum Obtained of Any Permutation.cpp73 // Step 2: Prefix sum to get frequency of each indexCOMMENT
LOW⚡… Technique/Maximum Sum Obtained of Any Permutation.cpp78 // Step 3: Sort nums and frequencies descendingCOMMENT
8 more matches not shown…
Structural Annotation Overuse67 hits · 133 pts
SeverityFileLineSnippetContext
LOWBit_Magic/Maximum XOR for Each Query.cpp52 // Step 1: Calculate the total XOR of all elements in numsCOMMENT
LOW⚡strings/Word Subsets.cpp68 // Step 1: Calculate the maximum frequency requirement for words2COMMENT
LOW⚡strings/Word Subsets.cpp78 // Step 2: Check each word in words1COMMENT
LOWstrings/Simulation/Decode the Slanted Ciphertext.cpp70 // Step 3: Remove trailing spacesCOMMENT
LOW⚡…s/Easy Tagged/Maximum Number of Words You Can Type.cpp49 // Step 1: Create a boolean array to mark broken lettersCOMMENT
LOW⚡…s/Easy Tagged/Maximum Number of Words You Can Type.cpp58 // Step 2: Iterate through text character by characterCOMMENT
LOW…s/Easy Tagged/Maximum Number of Words You Can Type.cpp72 // Step 3: Check last word (no space after last word)COMMENT
LOWGraph/BFS_DFS/Making A Large Island.cpp246 // Step 1: Connect all existing 1s using DSUCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp263 // Step 2: Find the largest island without modificationCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp270 // Step 3: Try flipping each 0 to 1COMMENT
LOWGraph/BFS_DFS/Making A Large Island.cpp528 // Step 1: Connect all existing 1s using DSUCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp544 // Step 2: Find the largest island without modificationCOMMENT
LOW⚡Graph/BFS_DFS/Making A Large Island.cpp551 // Step 3: Try flipping each 0 to 1COMMENT
LOWHashMap/Minimum Index of a Valid Split.cpp142 // Step 1: Find majority element using Boyer-Moore Voting AlgorithmCOMMENT
LOW⚡HashMap/Minimum Index of a Valid Split.cpp154 // Step 2: Count how many times majority element occursCOMMENT
LOW⚡HashMap/Minimum Index of a Valid Split.cpp162 // Step 3: Try splitting at every index to check conditionsCOMMENT
LOW…echnique/XOR After Range Multiplication Queries II.cpp124 // Step 1: Process large K directlyCOMMENT
LOW…echnique/XOR After Range Multiplication Queries II.cpp140 // Step 2: Process small K using diff arrayCOMMENT
LOW…erence Array Technique/Zero Array Transformation I.cpp58 // Step 1: Make difference array using queriesCOMMENT
LOW⚡…erence Array Technique/Zero Array Transformation I.cpp71 // Step 2: Compute cumulative effect on each indexCOMMENT
LOW⚡…erence Array Technique/Zero Array Transformation I.cpp79 // Step 3: Check if each value can reach 0COMMENT
LOW…rence Array Technique/Increment Submatrices by One.cpp57 // Step 1: Process queries (Difference Array Technique)COMMENT
LOW…rence Array Technique/Increment Submatrices by One.cpp72 // Step 2: Row-wise prefix sumsCOMMENT
LOW…ays/Difference Array Technique/Shifting Letters II.cpp19 // Step 1: Populate the difference arrayCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp36 // Step 2: Compute the prefix sum to get the net shifts for each characterCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp41 // Step 3: Apply the shifts to the stringCOMMENT
LOW…ays/Difference Array Technique/Shifting Letters II.cpp72 // Step 1: Populate the difference arrayCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp91 // Step 2: Compute the prefix sum to get the net shifts for each characterCOMMENT
LOW⚡…ays/Difference Array Technique/Shifting Letters II.cpp96 // Step 3: Apply the shifts to the stringCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp29 // Step 1: Apply updates using the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp41 // Step 2: Compute the final array from the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp64 // Step 1: Apply updates using the difference arrayCOMMENT
LOWArrays/Difference Array Technique/Range Addition.cpp76 // Step 2: Compute the final array from the difference arrayCOMMENT
LOW…ortest Subarray to be Removed to Make Array Sorted.cpp54 // Step 1 - Find the jth pointer from the right sideCOMMENT
LOW…ortest Subarray to be Removed to Make Array Sorted.cpp66 // Step 2 - Start finding the correct i and j, and calculate the number of elements to deleteCOMMENT
LOW…s/Binary Search/Most Beautiful Item for Each Query.cpp92 // Step 1: Sort the items based on price in ascending orderCOMMENT
LOW⚡…code Easy/Minimum Number of Moves to Seat Everyone.cpp75 // Step 1: Sort both the seats and students arraysCOMMENT
LOW⚡…code Easy/Minimum Number of Moves to Seat Everyone.cpp82 // Step 2: Calculate the total number of movesCOMMENT
LOWGreedy/Lexicographically Smallest Generated String.cpp110 // Step 1: Process 'T'COMMENT
LOW⚡Greedy/Lexicographically Smallest Generated String.cpp124 // Step 2: Fill remaining with 'a'COMMENT
LOW⚡Greedy/Lexicographically Smallest Generated String.cpp132 // Step 3: Process 'F'COMMENT
LOWGreedy/Reschedule Meetings for Maximum Free Time II.cpp68 // Step 1: Compute freeArray (gaps between events)COMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp81 // Step 2: Precompute max free to the rightCOMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp85 // Step 3: Precompute max free to the leftCOMMENT
LOW⚡Greedy/Reschedule Meetings for Maximum Free Time II.cpp91 // Step 4: Iterate for each possible movement/shiftCOMMENT
LOW⚡DP/Minimum Total Distance Traveled.cpp92 // Step 1: Sort robot and factory arraysCOMMENT
LOW⚡DP/Minimum Total Distance Traveled.cpp98 // Step 2: Expand factory positions to avoid tracking of limit and easy recursionCOMMENT
LOWDP/Minimum Total Distance Traveled.cpp114 // Step 3: Solve the problemCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp63 // Step 1: Count frequency of each unique power valueCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp162 // Step 1: Frequency mapCOMMENT
LOW⚡DP/1-D DP/Maximum Total Damage With Spell Casting.cpp167 // Step 2: Sort unique valuesCOMMENT
LOW⚡DP/DP on Strings/Find the String with LCP.cpp195 // Step 1: try to match with previousCOMMENT
LOW⚡DP/DP on Strings/Find the String with LCP.cpp203 // Step 2: assign smallest valid characterCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp66 // Step 1: Store itemsCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp71 // Step 2: Sort by profit/weight ratio in descending orderCOMMENT
LOW⚡DP/Knapsack Series/Fractional Knapsack.cpp80 // Step 3: Pick items greedilyCOMMENT
LOW… Technique/Maximum Sum Obtained of Any Permutation.cpp62 // Step 1: Difference array marking (line sweep events)COMMENT
LOW⚡… Technique/Maximum Sum Obtained of Any Permutation.cpp73 // Step 2: Prefix sum to get frequency of each indexCOMMENT
LOW⚡… Technique/Maximum Sum Obtained of Any Permutation.cpp78 // Step 3: Sort nums and frequencies descendingCOMMENT
LOW⚡Linked List/Split Linked List in Parts.cpp53 // Step 1: Find the length of the listCOMMENT
7 more matches not shown…
Slop Phrases6 hits · 15 pts
SeverityFileLineSnippetContext
LOW…ter/Longest_Substring_Without_Repeating_Characters.cpp70 mp[ch] = j; //Don't forget to update new index of chCODE
MEDIUMArrays/2-D Array/Magic Squares In Grid.cpp77//Approach-2 (Using Maths and Observation) - LET ME KNOW IF YOU NEED THIS VIDEO AS WELLCOMMENT
MEDIUMArrays/2-D Array/Magic Squares In Grid.cpp146//Approach-2 (Using Maths and Observation) - LET ME KNOW IF YOU NEED THIS VIDEO AS WELLCOMMENT
MEDIUMDP/Maximum Total Reward Using Operations I.cpp3 MY YOUTUBE VIDEO ON THIS Qn : Let me know if you need it. I will be happy to create one for this problemCODE
MEDIUMDP/Minimum ASCII Delete Sum for Two Strings.cpp55//Let me know if you need a separate video on Bottom UpCOMMENT
MEDIUMDP/Minimum ASCII Delete Sum for Two Strings.cpp110//Let me know if you need a separate video on Bottom UpCOMMENT
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWDesign/Implement Router.cpp81 }COMMENT
LOWDesign/Design Movie Rental System.cpp101// T.C. : COMMENT
LOW…n Array Into Two Arrays to Minimize Sum Difference.cpp41COMMENT
LOW…roblems/Design Graph With Shortest Path Calculator.cpp141//Approach-2 (Using Floyd Warshal Algorithm because it helps to find multi Source Shortest Path)COMMENT
LOWArrays/Find All Groups of Farmland.cpp301//T.C : O(m*n)COMMENT
LOWDP/All Possible Full Binary Trees.cpp61//Approach-2 (Bottom Up)COMMENT
LOW…ts/Find the Maximum Length of Valid Subsequence II.cpp21 //vector<int> dp1(n, 1); //mod1COMMENT
LOW…nts/Find the Maximum Length of Valid Subsequence I.cpp61 // dp0 {} //mod0COMMENT
LOWDP/Game Strategy/Stone Game VIII.cpp81/********************************************************************* JAVA ********************************************COMMENT
LOW…d List/Merge 2 sorted linked list in reverse order.cpp61//T.C : O(m+n)COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMiPad PDF Notes/AI Advanced Playlist PDFs/README.md159### Video 13: Give Your AI Agent a Knowledge Base | RAG Part 1: Embeddings & Cosine Similarity | Advanced AI Playlist | COMMENT
MEDIUMiPad PDF Notes/AI Advanced Playlist PDFs/README.md170### Video 14: Make Your AI Agent Search Documents | RAG Part 2: Embedding & Searching | Advanced AI Playlist | codestoryCOMMENT