AI Slop Code Risk Monitor

Chalarangelo/30-seconds-of-code

SlopCodeMonitor badge for Chalarangelo/30-seconds-of-code Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Coding articles to level up your development skills

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Chalarangelo/30-seconds-of-code, a JavaScript project with 129,379 GitHub stars. SynthScan examined 90,884 lines of code across 1010 source files, recording 109 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
129.4K
Stars
JavaScript
Language
90.9K
Lines of Code
1.0K
Files
109
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 2.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.7/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 5.8/100 · LOW

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

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 109 distinct pattern matches across 6 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.

Fake / Example Data71 hits · 108 pts
SeverityFileLineSnippetContext
LOWspec/core/serializer.test.js13 const user = new User(1, 'John Doe', 'x@y.z');CODE
LOWspec/core/serializer.test.js30 fullName: 'John Doe',CODE
LOWspec/core/serializer.test.js41 { id: 1, fullName: 'John Doe', email: 'X@Y.Z' },CODE
LOWspec/core/model.test.js26 const user1 = new User({ id: 'john-doe', name: 'John Doe', email: 'x@y.z' });CODE
LOWspec/core/model.test.js27 const user2 = new User({ id: 'jane-doe', name: 'Jane Doe', email: 'a@b.c' });CODE
LOWspec/core/model.test.js41 expect(User.where({ name: ['John Doe', 'Jane Doe'] })).toEqual([CODE
LOWspec/core/model.test.js41 expect(User.where({ name: ['John Doe', 'Jane Doe'] })).toEqual([CODE
LOW⚡spec/core/model.test.js54 expect(User.where({ id: 'john-doe', name: 'John Doe' })).toEqual([user1]);CODE
LOW⚡spec/core/model.test.js59 expect(User.where({ name: 'John Doe' }).first).toEqual(user1);CODE
LOW⚡spec/core/model.test.js65 expect(User.where({ name: 'John Doe' }).last).toEqual(user1);CODE
LOWspec/models/snippet.test.js31 recTokens: 'lorem ipsum',CODE
LOWspec/models/snippet.test.js32 docTokens: 'lorem ipsum',CODE
LOW⚡content/snippets/css/s/hover-additional-content.md23 <h3>Lorem ipsum</h3>CODE
LOW⚡content/snippets/css/s/hover-additional-content.md25 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br/> <a href="#">Link to source</a>CODE
LOW⚡content/snippets/css/s/hover-additional-content.md25 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br/> <a href="#">Link to source</a>CODE
LOWcontent/snippets/css/s/typewriter-effect.md66const text = 'Lorem ipsum dolor sit amet.';CODE
LOWcontent/snippets/css/s/typewriter-effect.md66const text = 'Lorem ipsum dolor sit amet.';CODE
LOW⚡content/snippets/js/s/iterators.md79 { complete: true, value: 'Lorem ipsum' },CODE
LOW⚡content/snippets/js/s/iterators.md80 { complete: true, value: 'dolor sit amet' },CODE
LOW⚡content/snippets/js/s/iterators.md90 console.log(item); // 'Lorem ipsum', 'dolor sit amet', 'adipiscing elit'CODE
LOW⚡content/snippets/js/s/iterators.md90 console.log(item); // 'Lorem ipsum', 'dolor sit amet', 'adipiscing elit'CODE
LOW⚡content/snippets/js/s/find-remove-compact-whitespace.md22containsWhitespace('lorem ipsum'); // trueCODE
LOW⚡content/snippets/js/s/find-remove-compact-whitespace.md32removeWhitespace('Lorem ipsum.\n Dolor sit amet. ');CODE
LOW⚡content/snippets/js/s/find-remove-compact-whitespace.md32removeWhitespace('Lorem ipsum.\n Dolor sit amet. ');CODE
LOWcontent/snippets/js/s/find-remove-compact-whitespace.md43compactWhitespace('Lorem Ipsum'); // 'Lorem Ipsum'CODE
LOWcontent/snippets/js/s/find-remove-compact-whitespace.md44compactWhitespace('Lorem \n Ipsum'); // 'Lorem Ipsum'CODE
LOW…/snippets/js/s/string-starts-or-ends-with-substring.md29startsWithSubstring('/>Lorem ipsum dolor sit amet', '<br />'); // '/>'CODE
LOW…/snippets/js/s/string-starts-or-ends-with-substring.md29startsWithSubstring('/>Lorem ipsum dolor sit amet', '<br />'); // '/>'CODE
LOW…/snippets/js/s/string-starts-or-ends-with-substring.md45endsWithSubstring('Lorem ipsum dolor sit amet<br /', '<br />'); // '<br /'CODE
LOW…/snippets/js/s/string-starts-or-ends-with-substring.md45endsWithSubstring('Lorem ipsum dolor sit amet<br /', '<br />'); // '<br /'CODE
LOWcontent/snippets/js/s/get-selected-text.md19getSelectedText(); // 'Lorem ipsum'CODE
LOW⚡content/snippets/js/s/complex-object-serialization.md68 content: 'Lorem ipsum dolor sit amet.',CODE
LOW⚡content/snippets/js/s/complex-object-serialization.md68 content: 'Lorem ipsum dolor sit amet.',CODE
LOW⚡content/snippets/js/s/complex-object-serialization.md76// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md76// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md79// name: 'John Doe',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md88// author: 'John Doe',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md168// content: 'Lorem ipsum dolor sit amet.',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md168// content: 'Lorem ipsum dolor sit amet.',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md253// content: 'Lorem ipsum dolor sit amet.',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md253// content: 'Lorem ipsum dolor sit amet.',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md327// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md327// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md372// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md372// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md375// name: 'John Doe'COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md382// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md382// content: '<p>Lorem ipsum dolor sit amet.</p>',COMMENT
LOW⚡content/snippets/js/s/complex-object-serialization.md385// name: 'John Doe',COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md428// author: 'John Doe'COMMENT
LOW⚡content/snippets/js/s/word-wrap.md17 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.';CODE
LOW⚡content/snippets/js/s/word-wrap.md17 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.';CODE
LOW⚡content/snippets/js/s/word-wrap.md20// 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.'COMMENT
LOW⚡content/snippets/js/s/word-wrap.md20// 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.'COMMENT
LOW⚡content/snippets/js/s/word-wrap.md39 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.';CODE
LOW⚡content/snippets/js/s/word-wrap.md39 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.';CODE
LOW⚡content/snippets/js/s/word-wrap.md42// 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.'COMMENT
LOW⚡content/snippets/js/s/word-wrap.md42// 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.'COMMENT
LOW⚡content/snippets/js/s/word-wrap.md45 'Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.\r\nFusce tempus.'CODE
LOW⚡content/snippets/js/s/word-wrap.md45 'Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.\r\nFusce tempus.'CODE
11 more matches not shown…
Over-Commented Block30 hits · 30 pts
SeverityFileLineSnippetContext
LOWenv.d.ts1/// <reference path="../.astro/types.d.ts" />COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md161COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md521// Found matching indexes:COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md541// Found matching indexes:COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md561// {COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md581// }COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md601// origin: 'Spain',COMMENT
LOWcontent/snippets/js/s/indexed-object-collections.md621// ]COMMENT
LOWcontent/snippets/js/s/complex-object-serialization.md81// }COMMENT
LOWcontent/snippets/js/s/toggle-array-element.md61// { name: 'Jane', age: 28 },COMMENT
LOWcontent/snippets/js/s/merge-objects.md101// {COMMENT
LOW…nt/snippets/js/s/recursion-performance-optimization.md41// [CALLED] fibonacciNumber(0)COMMENT
LOW…nt/snippets/js/s/recursion-performance-optimization.md81fibonacciNumber(4);COMMENT
LOWcontent/snippets/js/s/combine-object-arrays.md41// { id: 1, name: 'John', age: 28 },COMMENT
LOWcontent/snippets/js/s/math-expression-tokenizer.md21In the context of a math expression, a **token** is a **single unit of the expression**. It can be a number, an operatorCOMMENT
LOWcontent/snippets/js/s/math-expression-tokenizer.md281};COMMENT
LOWcontent/snippets/js/s/math-expression-tokenizer.md421// [COMMENT
LOWcontent/snippets/js/s/math-expression-tokenizer.md441tokenize('3 * (-4 + 5)');COMMENT
LOWcontent/snippets/js/s/math-expression-tokenizer.md461// { type: 'OP_ADD' },COMMENT
LOW…t/snippets/js/s/simple-html-tokenization-validation.md181// opening: true, closing: false,COMMENT
LOW…t/snippets/js/s/simple-html-tokenization-validation.md201// { type: 'text', value: '!' },COMMENT
LOWcontent/snippets/git/s/list-aliases.md21# Syntax: git config -l | grep alias | sed 's/^alias\.//g'COMMENT
LOWcontent/snippets/git/s/view-changes-summary.md21git shortlog 3050fc0de..HEADCOMMENT
LOWcontent/snippets/git/s/split-commit.md21```shell title="git-rebase-todo"COMMENT
LOWcontent/snippets/git/s/view-last-commit.md21# Author: 30 seconds of codeCOMMENT
LOWcontent/snippets/git/s/view-commits-by-string.md21git log -S<string>COMMENT
LOWcontent/snippets/git/s/view-status.md21# Your branch is up to date with 'origin/patch-1'.COMMENT
LOWsrc/lib/contentUtils/markdownParser/markdownParser.js61 // ---------------------------------------------COMMENT
LOWsrc/astro/env.d.ts1/// <reference path="../../.astro/types.d.ts" />COMMENT
LOWsrc/astro/styles/index.scss1@use "sass:meta";COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcontent/snippets/js/s/porter-stemming-algorithm.md563// Step 2 - common suffixesCOMMENT
LOWcontent/snippets/js/s/porter-stemming-algorithm.md599// Step 3 - common suffixesCOMMENT
LOWcontent/snippets/js/s/porter-stemming-algorithm.md622// Step 4 - common suffixesCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ls/markdownParser/codeHighlighters/utils/metaParser.js209 // If there is, we need to check if the closing quote is also in the buffer.COMMENT
LOW…ls/markdownParser/codeHighlighters/utils/metaParser.js268 // If it's a range delimiter, we need to check if we're inside a labelCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…python/s/initialize-list-with-range-value-daterange.md17def initialize_list_with_values(n, val = 0):CODE
LOW…python/s/initialize-list-with-range-value-daterange.md28def initialize_list_with_range(end, start = 0, step = 1):CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcontent/snippets/python/s/bare-except.md32 except Exception:CODE