AI Slop Code Risk Monitor

gibbok/typescript-book

SlopCodeMonitor badge for gibbok/typescript-book Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gibbok/typescript-book, a TypeScript project with 10,364 GitHub stars. SynthScan examined 232,088 lines of code across 1571 source files, recording 87 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
10.4K
Stars
TypeScript
Language
232.1K
Lines of Code
1.6K
Files
87
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? 26 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 1.1/100 · LOW

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

PR Review Velocity Impact 2.4/100 · LOW

Which changes need focused human review? 87 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 13LOW 74

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 87 distinct pattern matches across 8 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 Data38 hits · 38 pts
SeverityFileLineSnippetContext
LOWREADME-it_IT.md3022const myObject = new Person('John Doe', 25);CODE
LOWREADME-de_DE.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-id_ID.md3027const myObject = new Person('John Doe', 25);CODE
LOWREADME-pl_PL.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-ru_RU.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-ja_JP.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-th_TH.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-sv_SE.md3023const myObject = new Person('John Doe', 25);CODE
LOWREADME.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-pt_BR.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-cs_CZ.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-fr_FR.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-bg_BG.md3021const myObject = new Person('John Doe', 25);CODE
LOWREADME-zh_CN.md2999const myObject = new Person('John Doe', 25);CODE
LOWREADME-tr_TR.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-ar.md3025const myObject = new Person('John Doe', 25);CODE
LOWREADME-ko_KR.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME_es_ES.md3024const myObject = new Person('John Doe', 25);CODE
LOWREADME-vi_VN.md3024const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/tr-tr/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/fr-fr/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/de-de/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/pl-pl/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/vi-vn/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/es-es/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/ru-ru/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/ja-jp/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/zh-cn/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/cs-cz/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/ar/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/ko-kr/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/pt-br/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/it-it/book/class.md39const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/id-id/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/th-th/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/sv-se/book/class.md41const myObject = new Person('John Doe', 25);CODE
LOWwebsite/src/content/docs/bg-bg/book/class.md41const myObject = new Person('John Doe', 25);CODE
Excessive Try-Catch Wrapping18 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMtools/verify_codeblocks.py13 print(f"Error: File {filename} not found.")CODE
MEDIUM…ols/utilities-add-translation/create_language_files.py20 print(f"Error: Folder '{folder_path}' does not exist")CODE
MEDIUMtools/utilities-add-translation/split_markdown.py64 print(f"Error: File '{file_path}' not found.")CODE
MEDIUM⚡…tilities-add-translation/concatenate_language_files.py16 print(f"Error: Directory '{directory}' does not exist")CODE
LOW…tilities-add-translation/concatenate_language_files.py56 except Exception as e:CODE
MEDIUM…tilities-add-translation/concatenate_language_files.py57 print(f"Error writing to output file: {e}")CODE
MEDIUMtools/utilities-add-translation/verify_concatenation.py14 print(f"Error: Directory '{directory}' does not exist")CODE
MEDIUMtools/utilities-add-translation/verify_concatenation.py39 print(f"Error: Concatenated file '{concatenated_filename}' not found in '{directory}'")CODE
LOW⚡tools/utilities-add-translation/verify_concatenation.py63 except Exception as e:CODE
MEDIUM⚡tools/utilities-add-translation/verify_concatenation.py64 print(f"Error reading {file_path.name}: {e}")CODE
LOW⚡tools/utilities-add-translation/verify_concatenation.py72 except Exception as e:CODE
MEDIUM⚡tools/utilities-add-translation/verify_concatenation.py73 print(f"Error reading concatenated file: {e}")CODE
MEDIUM…ities-add-translation/verify_concatenation_detailed.py13 print(f"Error: Directory '{directory}' does not exist")CODE
MEDIUM…ities-add-translation/verify_concatenation_detailed.py38 print(f"Error: Concatenated file '{concatenated_filename}' not found in '{directory}'")CODE
LOW⚡…ities-add-translation/verify_concatenation_detailed.py59 except Exception as e:CODE
MEDIUM⚡…ities-add-translation/verify_concatenation_detailed.py60 print(f"Error reading {file_path.name}: {e}")CODE
LOW⚡…ities-add-translation/verify_concatenation_detailed.py68 except Exception as e:CODE
MEDIUM⚡…ities-add-translation/verify_concatenation_detailed.py69 print(f"Error reading concatenated file: {e}")CODE
Structural Annotation Overuse8 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡tools/utilities-add-translation/README.md105# Step 1: Create Italian folder, split README.md, and create translation filesCOMMENT
LOW⚡tools/utilities-add-translation/README.md108# Step 2: Translate each README-part-XX-it_IT.md file manuallyCOMMENT
LOW⚡tools/utilities-add-translation/README.md110# Step 3: Concatenate all translated partsCOMMENT
LOW⚡tools/utilities-add-translation/README.md113# Step 4: Verify the concatenationCOMMENT
LOW⚡tools/utilities-add-translation/README.md122# Step 1: Create Spanish folder, split README.md, and create translation filesCOMMENT
LOW⚡tools/utilities-add-translation/README.md125# Step 2: Translate each README-part-XX-es_ES.md file manuallyCOMMENT
LOW⚡tools/utilities-add-translation/README.md127# Step 3: Concatenate all translated partsCOMMENT
LOW⚡tools/utilities-add-translation/README.md130# Step 4: Verify the concatenationCOMMENT
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/make-website-content.py110def make_markdown_page_metadata(order: int, header: str) -> List[str]:CODE
LOWtools/make-website-content.py226def rewrite_markdown_anchor_links(CODE
LOWtools/make-website-content.py258def split_content_by_headings(lines: List[str], anchor_links: Dict[str, str]):CODE
LOWtools/test_pdf_tables.py9 def test_only_headers_have_borders(self):CODE
LOW⚡…tilities-add-translation/concatenate_language_files.py6def concatenate_language_files(directory, language_ext):CODE
LOW…ities-add-translation/verify_concatenation_detailed.py6def verify_concatenation_detailed(directory, language_ext):CODE
LOWwebsite/src/scripts/amazonPurchase.ts84export function initializeAmazonPurchaseOptions(root: HTMLElement) {CODE
LOWwebsite/src/scripts/plusEditionAnalytics.ts61function handlePlusEditionAnalyticsClick(event: MouseEvent) {CODE
LOWwebsite/src/scripts/plusEditionAnalytics.ts72export function initializePlusEditionAnalytics() {CODE
LOW⚡…lls/create-typescript-news/scripts/test_verify_news.py38 def test_mdx_articles_are_checked_but_archive_pages_are_excluded(self):STRING
LOW⚡…lls/create-typescript-news/scripts/test_verify_news.py44 def test_invalid_mdx_dates_are_rejected(self):STRING
LOW⚡…lls/create-typescript-news/scripts/test_verify_news.py49 def test_missing_mdx_translation_is_reported(self):STRING
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/verify-books.py5CODE
LOW…tilities-add-translation/concatenate_language_files.py2CODE
LOWtools/utilities-add-translation/verify_concatenation.py2CODE
LOW…ities-add-translation/verify_concatenation_detailed.py2CODE
LOW…s/skills/create-typescript-news/scripts/verify_news.py4CODE
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/verify-books.py90CODE
LOWtools/verify_codeblocks.py4CODE
LOW…ols/utilities-add-translation/create_language_files.py17CODE
LOW…tilities-add-translation/concatenate_language_files.py6CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡…tilities-add-translation/concatenate_language_files.py14 # Check if directory existsCOMMENT
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebsite/src/env.d.ts1/// <reference path="../.astro/types.d.ts" />COMMENT