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!

53.9 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,269 GitHub stars. SynthScan v2.0 examined 36,990 lines of code across 264 source files, recording 747 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 53.9 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).

53.9
Adjusted Score
53.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
5.3K
Stars
Python
Language
37.0K
Lines of Code
264
Files
747
Pattern Hits
2026-08-29
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 560LOW 186

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 747 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 Separators551 hits · 1766 pts
SeverityFileLineSnippetContext
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.yaml36# -------------------------------------------------------------------COMMENT
MEDIUMconfig/configuration.yaml39# -------------------------------------------------------------------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/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/hvac_control.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/hvac_control.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/roku_remote_finder_reset.yaml5# -------------------------------------------------------------------COMMENT
MEDIUMconfig/script/roku_remote_finder_reset.yaml7# -------------------------------------------------------------------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
491 more matches not shown…
Over-Commented Block152 hits · 152 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/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/bedroom/dashboard.yaml1######################################################################COMMENT
LOWconfig/dashboards/bedroom/views/01_home.yaml1######################################################################COMMENT
LOWconfig/dashboards/bedroom/partials/home_cards.yaml1######################################################################COMMENT
LOW…nfig/dashboards/kiosk_satellite_staging/dashboard.yaml1######################################################################COMMENT
LOW…/dashboards/kiosk_satellite_staging/views/01_home.yaml1######################################################################COMMENT
LOW…ds/kiosk_satellite_staging/partials/home_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_13_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…fig/dashboards/infrastructure/views/11_vacuum_map.yaml1######################################################################COMMENT
LOW…fig/dashboards/infrastructure/views/10_sprinklers.yaml1######################################################################COMMENT
LOWconfig/dashboards/infrastructure/views/04_wan.yaml1######################################################################COMMENT
LOW…ig/dashboards/infrastructure/views/09_salt_trends.yaml1######################################################################COMMENT
LOW…s/infrastructure/partials/website_health_sections.yaml1######################################################################COMMENT
LOW…shboards/infrastructure/partials/mariadb_sections.yaml1######################################################################COMMENT
LOW…ashboards/infrastructure/partials/joanna_sections.yaml1######################################################################COMMENT
LOW…dashboards/infrastructure/partials/kiosk_sections.yaml1######################################################################COMMENT
LOW…shboards/infrastructure/partials/network_sections.yaml1######################################################################COMMENT
LOW…ashboards/infrastructure/partials/vacuum_sections.yaml1######################################################################COMMENT
LOW…oards/infrastructure/partials/wan_detail_sections.yaml1######################################################################COMMENT
LOW…nfrastructure/partials/docker_containers_sections.yaml1######################################################################COMMENT
LOW…shboards/infrastructure/partials/proxmox_sections.yaml1######################################################################COMMENT
LOW…oards/infrastructure/partials/home_water_sections.yaml1######################################################################COMMENT
LOW…infrastructure/partials/docker_inventory_sections.yaml1######################################################################COMMENT
LOW…/dashboards/infrastructure/partials/home_sections.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/dashboard.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/sections/30_cameras.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/sections/20_comfort.yaml1######################################################################COMMENT
LOWconfig/dashboards/overview/sections/10_family.yaml1######################################################################COMMENT
92 more matches not shown…
Hyper-Verbose Identifiers21 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py351 def collect_entity_references(self) -> set[str]:CODE
LOWtools/validate_dashboards.py392def repository_entity_catalog(root: Path) -> set[str]:CODE
LOWtools/validate_dashboards.py426def validate_entity_references(root: Path, references: set[str]) -> None:CODE
LOWtools/holiday_lighting_coverage.py119def _reject_duplicate_json_keys(pairs: list[tuple[str, object]]) -> dict[str, object]:CODE
LOWtools/holiday_lighting_coverage.py234def validate_routing_contract(package_path: Path, script_path: Path) -> None:CODE
LOW…nfig/custom_components/alexa_camera_compat/__init__.py36def _camera_stream_configurations(CODE
LOW…nfig/custom_components/alexa_camera_compat/__init__.py196 async def async_initialize_camera_stream(CODE
LOWtests/test_holiday_lighting_coverage.py45 def test_current_contract_passes(self) -> None:CODE
LOWtests/test_holiday_lighting_coverage.py52 def test_inverted_scene_state_fails(self) -> None:CODE
LOWtests/test_holiday_lighting_coverage.py62 def test_missing_required_year_fails(self) -> None:CODE
LOWtests/test_holiday_lighting_coverage.py72 def test_wrong_static_holiday_name_fails(self) -> None:CODE
LOWtests/test_holiday_lighting_coverage.py82 def test_invalid_unrelated_dynamic_date_fails(self) -> None:CODE
LOWtests/test_holiday_lighting_coverage.py92 def test_scene_routing_typo_fails(self) -> None:CODE
LOWtests/test_validate_dashboards.py92 def test_valid_fixture_builds_routes(self) -> None:STRING
LOWtests/test_validate_dashboards.py97 def test_malformed_dashboard_yaml_fails(self) -> None:STRING
LOWtests/test_validate_dashboards.py103 def test_missing_entrypoint_include_fails(self) -> None:STRING
LOWtests/test_validate_dashboards.py112 def test_nonexistent_static_entity_fails(self) -> None:STRING
LOWtests/test_validate_dashboards.py121 def test_commented_include_is_ignored(self) -> None:STRING
LOWtests/test_validate_dashboards.py130 def test_duplicate_view_path_fails(self) -> None:STRING
LOWtests/test_validate_dashboards.py139 def test_orphaned_dashboard_file_fails(self) -> None:STRING
LOWtests/test_validate_dashboards.py148 def test_duplicate_yaml_key_fails(self) -> None:STRING
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
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMconfig/dashboards/bedroom/dashboard.yaml7# Dedicated fixed-landscape event-driven view for the Bedroom Fire tablet.COMMENT
MEDIUMconfig/packages/README.md92- Logic lives in [![YAML source: climate](https://img.shields.io/static/v1?label=YAML&message=climate&color=lightgrey&loCODE
MEDIUMconfig/packages/README.md113| [![YAML source: garadget](https://img.shields.io/static/v1?label=YAML&message=garadget&color=lightgrey&logo=github&logCODE
MEDIUMconfig/packages/climate.yaml224### AUTOMATIONS - Thermostat schedules, guardrails, and presence/weather logicCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHconfig/packages/holiday.yaml56# Sensor Uses Flag data generated by AICOMMENT
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py4CODE
LOWtools/holiday_lighting_coverage.py4CODE
LOWconfig/shell_scripts/mariadb_snapshot.py4CODE
LOWtests/test_holiday_lighting_coverage.py1CODE
LOWtests/test_validate_dashboards.py1CODE
Example Usage Blocks2 hits · 4 pts
SeverityFileLineSnippetContext
LOWconfig/script/notify_engine.yaml19# Usage:COMMENT
LOWconfig/script/speech_engine.yaml12# Usage example:COMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/validate_dashboards.py351CODE
LOWtools/validate_dashboards.py361CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWconfig/travis_secrets.yaml19ssl_certificate: fake_key.pemCODE
LOWconfig/travis_secrets.yaml20ssl_key: fake_key.pemCODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWconfig/packages/climate.yaml549# Set thermostats to eco mode when everyone is awayCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWconfig/shell_scripts/mariadb_snapshot.py140 except Exception as err: # pragma: no cover - runtime safety pathCODE