Repository Analysis

CCOSTAN/Home-AssistantConfig

:house: Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to :star: it. Updated FREQUENTLY!

54.1 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of CCOSTAN/Home-AssistantConfig, a Python project with 5,228 GitHub stars. SynthScan v2.0 examined 28,940 lines of code across 244 source files, recording 596 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 54.1 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

54.1
Adjusted Score
54.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
5.2K
Stars
Python
Language
28.9K
Lines of Code
244
Files
596
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 452LOW 143

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 596 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators444 hits · 1384 pts
SeverityFileLineSnippetContext
MEDIUM.travis.yml5# -------------------------------------------------------------------COMMENT
MEDIUM.travis.yml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/recorder.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/recorder.yaml10# -------------------------------------------------------------------COMMENT
MEDIUMconfig/automations.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/automations.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/logger.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/logger.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/travis_secrets.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/travis_secrets.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/configuration.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/configuration.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/configuration.yaml40# -------------------------------------------------------------------COMMENT
MEDIUMconfig/configuration.yaml43# -------------------------------------------------------------------COMMENT
MEDIUMconfig/ui-lovelace.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/ui-lovelace.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/logbook.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/logbook.yaml10# -------------------------------------------------------------------COMMENT
MEDIUMconfig/light_groups.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/light_groups.yaml9# -------------------------------------------------------------------COMMENT
MEDIUMconfig/homekit.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/homekit.yaml8# -------------------------------------------------------------------COMMENT
MEDIUM…nts/template/homeassistant/inverted_binary_sensor.yaml5# -------------------------------------------------------------------COMMENT
MEDIUM…nts/template/homeassistant/inverted_binary_sensor.yaml8# -------------------------------------------------------------------COMMENT
MEDIUM…nts/script/homeassistant/confirmable_notification.yaml5# -------------------------------------------------------------------COMMENT
MEDIUM…nts/script/homeassistant/confirmable_notification.yaml8# -------------------------------------------------------------------COMMENT
MEDIUM…ints/automation/homeassistant/notify_leaving_zone.yaml5# -------------------------------------------------------------------COMMENT
MEDIUM…ints/automation/homeassistant/notify_leaving_zone.yaml8# -------------------------------------------------------------------COMMENT
MEDIUM…/blueprints/automation/homeassistant/motion_light.yaml5# -------------------------------------------------------------------COMMENT
MEDIUM…/blueprints/automation/homeassistant/motion_light.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/motion.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/motion.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/switches.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/switches.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/locks.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/locks.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/media_players.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/media_players.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/Indoor_Outdoor.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/Indoor_Outdoor.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/doors.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/doors.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/people.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/group/people.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/flash_notify.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/flash_notify.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/amp_settings.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/amp_settings.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/joanna_send_telegram.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/joanna_send_telegram.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/emergency.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/emergency.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/send_to_logbook.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/send_to_logbook.yaml9# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/notify_engine.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/notify_engine.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/dog_bark.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/dog_bark.yaml8# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/monthly_color_scene.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/monthly_color_scene.yaml9# -------------------------------------------------------------------COMMENT
384 more matches not shown…
Over-Commented Block129 hits · 129 pts
SeverityFileLineSnippetContext
LOWconfig/recorder.yaml1######################################################################COMMENT
LOWconfig/logger.yaml1######################################################################COMMENT
LOWconfig/ui-lovelace.yaml1######################################################################COMMENT
LOWconfig/logbook.yaml1######################################################################COMMENT
LOWconfig/light_groups.yaml1######################################################################COMMENT
LOWconfig/group/motion.yaml1######################################################################COMMENT
LOWconfig/group/switches.yaml1######################################################################COMMENT
LOWconfig/group/locks.yaml1######################################################################COMMENT
LOWconfig/group/media_players.yaml1######################################################################COMMENT
LOWconfig/group/doors.yaml1######################################################################COMMENT
LOWconfig/script/flash_notify.yaml1######################################################################COMMENT
LOWconfig/script/amp_settings.yaml1######################################################################COMMENT
LOWconfig/script/joanna_send_telegram.yaml1######################################################################COMMENT
LOWconfig/script/emergency.yaml1######################################################################COMMENT
LOWconfig/script/notify_engine.yaml1######################################################################COMMENT
LOWconfig/script/notify_engine.yaml21# and provide the necessary data parameters:COMMENT
LOWconfig/script/dog_bark.yaml1######################################################################COMMENT
LOWconfig/script/monthly_color_scene.yaml1######################################################################COMMENT
LOWconfig/script/speech_processing.yaml1######################################################################COMMENT
LOWconfig/script/interior_off.yaml1######################################################################COMMENT
LOWconfig/script/joanna_dispatch.yaml1######################################################################COMMENT
LOWconfig/script/notify_live_activity.yaml1######################################################################COMMENT
LOWconfig/script/speech_engine.yaml1######################################################################COMMENT
LOWconfig/www/custom-sidebar-config.yaml1######################################################################COMMENT
LOWconfig/input_boolean/hidden_booleans.yaml1######################################################################COMMENT
LOWconfig/dashboards/resources.yaml1######################################################################COMMENT
LOWconfig/dashboards/kiosk/dashboard.yaml1######################################################################COMMENT
LOWconfig/dashboards/kiosk/views/01_kiosk_oveview.yaml1######################################################################COMMENT
LOW…/dashboards/kiosk/partials/kiosk_oveview_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/infrastructure/dashboard.yaml1######################################################################COMMENT
LOW…ig/dashboards/infrastructure/card_mod/infra_panel.yaml1######################################################################COMMENT
LOW…fig/dashboards/infrastructure/card_mod/infra_card.yaml1######################################################################COMMENT
LOW…oards/infrastructure/popups/docker_10_maintenance.yaml1######################################################################COMMENT
LOW…oards/infrastructure/popups/docker_14_maintenance.yaml1######################################################################COMMENT
LOW…oards/infrastructure/popups/docker_69_maintenance.yaml1######################################################################COMMENT
LOW…oards/infrastructure/popups/docker_17_maintenance.yaml1######################################################################COMMENT
LOW…ds/infrastructure/templates/button_card_templates.yaml1######################################################################COMMENT
LOW…hboards/infrastructure/views/03_docker_containers.yaml1######################################################################COMMENT
LOWconfig/dashboards/infrastructure/views/06_joanna.yaml1######################################################################COMMENT
LOW…s/infrastructure/partials/website_health_sections.yaml1######################################################################COMMENT
LOW…fig/dashboards/infrastructure/partials/view_cards.yaml1######################################################################COMMENT
LOW…nfrastructure/partials/docker_containers_sections.yaml1######################################################################COMMENT
LOW…shboards/infrastructure/partials/proxmox_sections.yaml1######################################################################COMMENT
LOW…/dashboards/infrastructure/partials/home_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/dashboard.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/popups/living_room.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/popups/lights.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/07_water.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/10_sprinklers.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/02_family_locator.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/09_salt_trends.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/08_admin.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/03_camera.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/06_health.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/views/04_cameras.yaml1######################################################################COMMENT
LOW…nfig/dashboards/overview/partials/health_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/partials/home_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/partials/water_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/partials/vacuum_badges.yaml1######################################################################COMMENT
LOWconfig/sensor/MQTT.yaml1######################################################################COMMENT
69 more matches not shown…
Self-Referential Comments5 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMconfig/script/amp_settings.yaml14 # Define the sequence of actions to be performedCOMMENT
MEDIUMconfig/script/speech_engine.yaml27 # Define the sequence of actions to be performedCOMMENT
MEDIUMconfig/automation/work.yaml10# Define an alias for this automationCOMMENT
MEDIUMconfig/automation/away.yaml10# Define an alias for this automationCOMMENT
MEDIUMconfig/automation/guard_dog.yaml10# Define an alias for this automationCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHconfig/packages/holiday.yaml56# Sensor Uses Flag data generated by AICOMMENT
Modern AI Meta-Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMconfig/packages/README.md84- Logic lives in [![YAML source: climate](https://img.shields.io/static/v1?label=YAML&message=climate&color=lightgrey&loCODE
MEDIUMconfig/packages/README.md106| [![YAML source: garadget](https://img.shields.io/static/v1?label=YAML&message=garadget&color=lightgrey&logo=github&logCODE
MEDIUMconfig/packages/climate.yaml346### AUTOMATIONS - Thermostat schedules, guardrails, and presence/weather logicCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py11CODE
LOWtools/validate_dashboards.py13CODE
LOWtools/validate_dashboards.py15CODE
LOWconfig/shell_scripts/mariadb_snapshot.py4CODE
Example Usage Blocks2 hits · 4 pts
SeverityFileLineSnippetContext
LOWconfig/script/notify_engine.yaml19# Usage:COMMENT
LOWconfig/script/speech_engine.yaml12# Usage example:COMMENT
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.travis.yml15 - touch fake_key.pemCODE
LOWconfig/travis_secrets.yaml19ssl_certificate: fake_key.pemCODE
LOWconfig/travis_secrets.yaml20ssl_key: fake_key.pemCODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py78CODE
LOWtools/validate_dashboards.py110CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWconfig/packages/climate.yaml663# Set thermostats to eco mode when everyone is awayCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py110def validate_configuration_wiring(root: Path) -> list[str]:CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWconfig/shell_scripts/mariadb_snapshot.py140 except Exception as err: # pragma: no cover - runtime safety pathCODE