Repository Analysis

onedr0p/cluster-template

A template for deploying a Talos Kubernetes cluster including Flux for GitOps

31.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of onedr0p/cluster-template, a YAML project with 2,795 GitHub stars. SynthScan v2.0 examined 3,382 lines of code across 51 source files, recording 52 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 31.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).

31.9
Adjusted Score
31.9
Raw Score
100%
Time Factor
2026-08-29
Last Push
2.8K
Stars
YAML
Language
3.4K
Lines of Code
51
Files
52
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 0MEDIUM 20LOW 32

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 52 distinct pattern matches across 3 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 Separators20 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMcluster.sample.toml160# =============================================================================COMMENT
MEDIUMcluster.sample.toml164# =============================================================================COMMENT
MEDIUMcluster.sample.toml171# =============================================================================COMMENT
MEDIUMcluster.sample.toml177# =============================================================================COMMENT
MEDIUMcluster.sample.toml191# =============================================================================COMMENT
MEDIUMcluster.sample.toml201# =============================================================================COMMENT
MEDIUMcluster.sample.toml210# =============================================================================COMMENT
MEDIUMcluster.sample.toml213# =============================================================================COMMENT
MEDIUMcluster.sample.toml250# =============================================================================COMMENT
MEDIUMcluster.sample.toml252# =============================================================================COMMENT
MEDIUMcluster.sample.toml261# =============================================================================COMMENT
MEDIUMcluster.sample.toml1# =============================================================================COMMENT
MEDIUMcluster.sample.toml5# =============================================================================COMMENT
MEDIUMcluster.sample.toml44# =============================================================================COMMENT
MEDIUMcluster.sample.toml48# =============================================================================COMMENT
MEDIUMcluster.sample.toml86# =============================================================================COMMENT
MEDIUMcluster.sample.toml90# =============================================================================COMMENT
MEDIUMcluster.sample.toml112# =============================================================================COMMENT
MEDIUMcluster.sample.toml117# =============================================================================COMMENT
MEDIUMcluster.sample.toml275# =============================================================================COMMENT
Hyper-Verbose Identifiers16 hits · 23 pts
SeverityFileLineSnippetContext
LOWtemplate/scripts/test_validate.py39def test_valid_fixture_accepted(fixture: Path):CODE
LOWtemplate/scripts/test_validate.py44def test_invalid_fixture_rejected(fixture: Path):CODE
LOWtemplate/scripts/test_validate.py56def test_host_bits_error_suggests_network_address():CODE
LOWtemplate/scripts/test_validate.py62def test_duplicate_address_names_both_owners():CODE
LOWtemplate/scripts/test_validate.py69def test_default_gateway_derived_from_node_cidr():CODE
LOWtemplate/scripts/test_validate.py76def test_coredns_addr_default_and_override():CODE
LOWtemplate/scripts/test_validate.py86def test_spegel_enabled_follows_node_count():CODE
LOWtemplate/scripts/test_validate.py98def test_controller_count_ignores_workers():CODE
LOWtemplate/scripts/test_validate.py106def test_derived_fields_are_not_settable():CODE
LOWtemplate/scripts/test_validate.py115def test_cert_sans_single_source():CODE
LOWtemplate/scripts/test_validate.py122def test_ingress_mode_follows_dns_provider():CODE
LOWtemplate/scripts/test_validate.py131def test_direct_mode_requires_cloudflare_dns():CODE
LOWtemplate/scripts/test_validate.py137def test_schematic_id_inherits_from_talos_section():CODE
LOWtemplate/scripts/test_validate.py144def test_partial_bgp_rejected():CODE
LOWtemplate/scripts/test_validate.py150def test_node_defaults_exported():CODE
LOWtemplate/scripts/test_validate.py158def test_gateways_may_leave_node_cidr_only_with_bgp():CODE
Over-Commented Block16 hits · 8 pts
SeverityFileLineSnippetContext
LOWcluster.sample.toml1# =============================================================================COMMENT
LOWcluster.sample.toml21# Upstream NTP servers. Defaults to Cloudflare's anycast NTP. Most homelabsCOMMENT
LOWcluster.sample.toml41# vlan_tag = ""COMMENT
LOWcluster.sample.toml61# OPTIONAL. Default: "10.43.0.0/16"COMMENT
LOWcluster.sample.toml81# OPTIONAL. Example: ["mycluster.example.com"]COMMENT
LOWcluster.sample.toml101# REQUIRED.COMMENT
LOWcluster.sample.toml121# Must be the repo you cloned this template into.COMMENT
LOWcluster.sample.toml141# HMAC; see https://fluxcd.io/flux/components/notification/receivers/COMMENT
LOWcluster.sample.toml161# The domain your cluster's hostnames live under. Used for every renderedCOMMENT
LOWcluster.sample.toml181COMMENT
LOWcluster.sample.toml201# =============================================================================COMMENT
LOWcluster.sample.toml221# OPTIONAL. Default: "dsr". Allowed: "dsr" | "snat"COMMENT
LOWcluster.sample.toml241# router_asn = ""COMMENT
LOWcluster.sample.toml261# =============================================================================COMMENT
LOWcluster.sample.toml281# disk = "/dev/nvme0n1" # Block device or /dev/disk/by-id/... symlink to install Talos onto.COMMENT
LOW.github/template-tests/e2e/cluster.sh1#!/usr/bin/env bashCOMMENT