AI Slop Code Risk Monitor

home-assistant/home-assistant.io

SlopCodeMonitor badge for home-assistant/home-assistant.io Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

:blue_book: Home Assistant User documentation

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for home-assistant/home-assistant.io, a HTML project with 10,076 GitHub stars. SynthScan examined 89,592 lines of code across 621 source files, recording 107 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.1K
Stars
HTML
Language
89.6K
Lines of Code
621
Files
107
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 4.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.6/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 107 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 2HIGH 1MEDIUM 2LOW 102

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

Over-Commented Block85 hits · 61 pts
SeverityFileLineSnippetContext
LOWplugins/filters.rb1module JekyllCOMMENT
LOWplugins/filters.rb21 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ANDCOMMENT
LOWplugins/category_generator.rb1# encoding: utf-8COMMENT
LOWplugins/category_generator.rb21#COMMENT
LOWplugins/category_generator.rb41# (https://github.com/recurser/jekyll-plugins/blob/master/_includes/custom/category_feed.xml).COMMENT
LOWplugins/category_generator.rb101 # Initializes a new CategoryIndex.COMMENT
LOWplugins/domain_index.rb1# Precompute the per-domain label/icon index used by the action, trigger,COMMENT
LOWplugins/include_array.rb1# Title: Include Array Tag for JekyllCOMMENT
LOWplugins/doc_collections_data.rb1require 'json'COMMENT
LOWsource/green/styles.css3501 grid-area: 1 / 5 / 2 / 13;COMMENT
LOWsource/javascripts/wth/three.min.js61 uniform float alphaTest;COMMENT
LOWsource/javascripts/wth/three.min.js261 if ( clipped ) discard;COMMENT
LOWsource/javascripts/wth/three.min.js281 vColor *= color;COMMENT
LOWsource/javascripts/wth/three.min.js461 transformedNormal = bm * transformedNormal;COMMENT
LOWsource/javascripts/wth/three.min.js521 #ifdef ENVMAP_BLENDING_MULTIPLYCOMMENT
LOWsource/javascripts/wth/three.min.js541 #endifCOMMENT
LOWsource/javascripts/wth/three.min.js901 material.iridescence = iridescence;COMMENT
LOWsource/javascripts/wth/three.min.js1361 #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0COMMENT
LOWsource/javascripts/wth/three.min.js1421 }COMMENT
LOWsource/javascripts/wth/three.min.js1461 #if defined( USE_ENVMAP ) && defined( ENVMAP_TYPE_CUBE_UV )COMMENT
LOWsource/javascripts/wth/three.min.js1561 #elseCOMMENT
LOWsource/javascripts/wth/three.min.js1641 #elseCOMMENT
LOWsource/javascripts/wth/three.min.js2181 }COMMENT
LOWsource/javascripts/wth/three.min.js2541#ifdef USE_AOMAPCOMMENT
LOWsource/javascripts/wth/three.min.js2561#endifCOMMENT
LOWsource/javascripts/wth/three.min.js2581 varying vec2 vSheenRoughnessMapUv;COMMENT
LOWsource/javascripts/wth/three.min.js2681#endifCOMMENT
LOWsource/javascripts/wth/three.min.js2701#endifCOMMENT
LOWsource/javascripts/wth/three.min.js2721 vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;COMMENT
LOWsource/javascripts/wth/three.min.js2741#ifdef USE_IRIDESCENCE_THICKNESSMAPCOMMENT
LOWsource/javascripts/wth/three.min.js2841#include <skinning_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js2861 #include <clipping_planes_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js2881 #endifCOMMENT
LOWsource/javascripts/wth/three.min.js2901}`,Zf=`#define DISTANCECOMMENT
LOWsource/javascripts/wth/three.min.js2921 #include <morphtarget_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js2961 vec3 direction = normalize( vWorldDirection );COMMENT
LOWsource/javascripts/wth/three.min.js2981 #include <morphcolor_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3001 vec4 diffuseColor = vec4( diffuse, opacity );COMMENT
LOWsource/javascripts/wth/three.min.js3021#include <fog_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3041 #include <skinning_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3061#include <aomap_pars_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3081 vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );COMMENT
LOWsource/javascripts/wth/three.min.js3101#include <displacementmap_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3121 #include <defaultnormal_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3141#include <color_pars_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3161#include <normalmap_pars_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3181 #include <lights_fragment_begin>COMMENT
LOWsource/javascripts/wth/three.min.js3201#include <normal_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3221 #include <displacementmap_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3241#include <normal_pars_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3261 #ifdef USE_MATCAPCOMMENT
LOWsource/javascripts/wth/three.min.js3281#include <normal_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3301 #include <logdepthbuf_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3321 #include <normal_fragment_begin>COMMENT
LOWsource/javascripts/wth/three.min.js3341#include <clipping_planes_pars_vertex>COMMENT
LOWsource/javascripts/wth/three.min.js3361 vViewPosition = - mvPosition.xyz;COMMENT
LOWsource/javascripts/wth/three.min.js3381#include <lightmap_pars_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3401 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );COMMENT
LOWsource/javascripts/wth/three.min.js3421 #include <tonemapping_fragment>COMMENT
LOWsource/javascripts/wth/three.min.js3441#include <logdepthbuf_pars_vertex>COMMENT
25 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALsource/javascripts/wth/three.min.js3830}`,Xt={alphahash_fragment:zu,alphahash_pars_fragment:Vu,alphamap_fragment:ku,alphamap_pars_fragment:Gu,alphatest_fragmenCODE
CRITICALsource/javascripts/wth/logo.js500 this.passes.flood.uniforms.resolution.value.copy(size);CODE
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWplugins/filters.rb75 def group_components_by_release(input)CODE
LOWplugins/blueprint_example.rb81 def render_configuration_yaml(blueprint, body, domain)CODE
LOWplugins/blueprint_example.rb101 def render_configuration_details(context, title, configuration_yaml)CODE
LOWsource/javascripts/prism-doc-links.js113 function collectDataFieldPositions(text) {CODE
LOWsource/javascripts/ScrollSmoother.min.js10!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?defCODE
LOWsource/javascripts/docsearch-options.js1function rewriteDocSearchPreviewUrl(url) {CODE
LOWsource/voice-pe/script.js45function registerUserInteractionEvents() {CODE
LOWsource/voice-pe/script.js95function registerProductFeatureToggles() {CODE
LOWsource/voice-pe/script.js181function registerProductRotateButton() {CODE
LOWsource/voice-pe/script.js223function registerFeatureImagePreload() {CODE
LOWsource/voice-pe/script.js244function registerControlsCableEntry() {CODE
LOWsource/voice-pe/script.js440function registerLanguageSelectChange() {CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.claude/skills/home-assistant-yaml-style/SKILL.md46- Use capital letters and `_` to indicate values readers need to replace, for example `api_key: YOUR_API_KEY` or `api_keCODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMplugins/category_generator.rb150 # Create an Atom-feed for each index.COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWplugins/configuration.rb71 # Check if the type (or list of types) are validCOMMENT
LOWplugins/configuration.rb103 # Check if required is a valid valueCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsource/javascripts/nice-select2.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amCODE
LOWsass/inuitcss/objects/_media.scss14 <p class=media__body>Lorem ipsum dolor sit amet, consectetur adipisicing elit,CODE
LOWsass/inuitcss/objects/_media.scss14 <p class=media__body>Lorem ipsum dolor sit amet, consectetur adipisicing elit,CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsource/javascripts/gsap.min.js10!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?defCODE