AI Slop Code RIsk Monitor

donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

10.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for donnemartin/system-design-primer, a Python project with 373,697 GitHub stars. SynthScan examined 14,345 lines of code across 52 source files, recording 66 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 10.7 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

10.7
Adjusted Signal
10.7
Raw Pattern Score
100%
Time Factor
2026-09-15
Last Push
373.7K
Stars
Python
Language
14.3K
Lines of Code
52
Files
66
Pattern Hits
2026-10-12
Scan Date
0.33
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 21.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 49 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 28.2/100 · MEDIUM

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

PR Review Velocity Impact 40.9/100 · MEDIUM

Which changes need focused human review? 66 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 17MEDIUM 0LOW 49

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 66 distinct pattern matches across 4 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 Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHsolutions/system_design/query_cache/README.md0get the stored query result from the cache. accessing a node updates its position to the front of the lru list.STRING
HIGH…ions/system_design/query_cache/query_cache_snippets.py0get the stored query result from the cache. accessing a node updates its position to the front of the lru list.STRING
HIGHsolutions/object_oriented_design/lru_cache/lru_cache.py0get the stored query result from the cache. accessing a node updates its position to the front of the lru list.STRING
HIGHsolutions/system_design/query_cache/README.md0set the result for the given query key in the cache. when updating an entry, updates its position to the front of the lrSTRING
HIGH…ions/system_design/query_cache/query_cache_snippets.py0set the result for the given query key in the cache. when updating an entry, updates its position to the front of the lrSTRING
HIGHsolutions/object_oriented_design/lru_cache/lru_cache.py0set the result for the given query key in the cache. when updating an entry, updates its position to the front of the lrSTRING
HIGHsolutions/system_design/mint/README.md0return the year and month portions of the timestamp.STRING
HIGHsolutions/system_design/mint/mint_mapreduce.py0return the year and month portions of the timestamp.STRING
HIGHsolutions/system_design/pastebin/pastebin.py0return the year and month portions of the timestamp.STRING
HIGHsolutions/system_design/pastebin/README.md0return the year and month portions of the timestamp.STRING
HIGHsolutions/system_design/pastebin/README-zh-Hans.md0return the year and month portions of the timestamp.STRING
HIGHsolutions/system_design/pastebin/pastebin.py0parse each log line, extract and transform relevant lines. emit key value pairs of the form: (2016-01, url0), 1 (2016-01STRING
HIGHsolutions/system_design/pastebin/README.md0parse each log line, extract and transform relevant lines. emit key value pairs of the form: (2016-01, url0), 1 (2016-01STRING
HIGHsolutions/system_design/pastebin/README-zh-Hans.md0parse each log line, extract and transform relevant lines. emit key value pairs of the form: (2016-01, url0), 1 (2016-01STRING
HIGHsolutions/system_design/pastebin/pastebin.py0sum values for each key. (2016-01, url0), 2 (2016-01, url1), 1STRING
HIGHsolutions/system_design/pastebin/README.md0sum values for each key. (2016-01, url0), 2 (2016-01, url1), 1STRING
HIGHsolutions/system_design/pastebin/README-zh-Hans.md0sum values for each key. (2016-01, url0), 2 (2016-01, url1), 1STRING
Structural Annotation Overuse38 hits · 57 pts
SeverityFileLineSnippetContext
LOWREADME.md226### Step 1: Outline use cases, constraints, and assumptionsCOMMENT
LOWREADME.md239### Step 2: Create a high level designCOMMENT
LOWREADME.md246### Step 3: Design core componentsCOMMENT
LOWREADME.md259### Step 4: Scale the designCOMMENT
LOWREADME.md378### Step 1: Review the scalability video lectureCOMMENT
LOWREADME.md390### Step 2: Review the scalability articleCOMMENT
LOWsolutions/system_design/twitter/README.md7## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/twitter/README.md92## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/twitter/README.md98## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/twitter/README.md222## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/query_cache/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/query_cache/README.md57## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/query_cache/README.md63## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/query_cache/README.md211## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/mint/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/mint/README.md79## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/mint/README.md85## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/mint/README.md326## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/web_crawler/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/web_crawler/README.md68## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/web_crawler/README.md74## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/web_crawler/README.md255## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/pastebin/README.md7## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/pastebin/README.md78## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/pastebin/README.md84## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/pastebin/README.md234## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/sales_rank/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/sales_rank/README.md69## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/sales_rank/README.md75## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/sales_rank/README.md238## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/scaling_aws/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/scaling_aws/README.md63## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/scaling_aws/README.md69## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/scaling_aws/README.md136## Step 4: Scale the designCOMMENT
LOWsolutions/system_design/social_graph/README.md5## Step 1: Outline use cases and constraintsCOMMENT
LOWsolutions/system_design/social_graph/README.md49## Step 2: Create a high level designCOMMENT
LOWsolutions/system_design/social_graph/README.md55## Step 3: Design core componentsCOMMENT
LOWsolutions/system_design/social_graph/README.md249## Step 4: Scale the designCOMMENT
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsolutions/system_design/mint/README.md292 def handle_budget_notifications(self, key, total):CODE
LOWsolutions/system_design/mint/mint_mapreduce.py20 def handle_budget_notifications(self, key, total):CODE
LOWsolutions/system_design/mint/README-zh-Hans.md293 def handle_budget_notifications(self, key, total):CODE
LOW…ions/system_design/web_crawler/web_crawler_snippets.py18 def reduce_priority_link_to_crawl(self, url):CODE
LOW…ions/system_design/web_crawler/web_crawler_snippets.py22 def extract_max_priority_page(self):CODE
LOWsolutions/system_design/web_crawler/README.md118 def reduce_priority_link_to_crawl(self, url)CODE
LOWsolutions/system_design/web_crawler/README.md122 def extract_max_priority_page(self):CODE
LOWsolutions/system_design/web_crawler/README-zh-Hans.md116 def reduce_priority_link_to_crawl(self, url)CODE
LOWsolutions/system_design/web_crawler/README-zh-Hans.md120 def extract_max_priority_page(self):CODE
LOW…ions/object_oriented_design/call_center/call_center.py121 def dispatch_queued_call_to_newly_freed_employee(self, call, employee):CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgenerate-epub.sh37# Check if dependencies existCOMMENT