Repository Analysis

stakater/Reloader

A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!

4.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of stakater/Reloader, a Go project with 10,323 GitHub stars. SynthScan v2.0 examined 35,887 lines of code across 164 source files, recording 68 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.9 places this repository in the Likely human-written 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).

4.9
Adjusted Score
4.9
Raw Score
100%
Time Factor
2026-08-10
Last Push
10.3K
Stars
Go
Language
35.9K
Lines of Code
164
Files
68
Pattern Hits
2026-08-13
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 0MEDIUM 40LOW 28

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 68 distinct pattern matches across 4 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 Separators38 hits · 135 pts
SeverityFileLineSnippetContext
MEDIUMscripts/e2e-cluster-cleanup.sh15# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh17# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh25# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh27# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh63# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh65# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh91# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh93# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh131# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh133# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh159# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh161# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh198# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh200# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh249# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-cleanup.sh251# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh14# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh16# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh32# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh34# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh87# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh89# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh129# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh131# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh172# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh174# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh217# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh219# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh310# =============================================================================COMMENT
MEDIUMscripts/e2e-cluster-setup.sh312# =============================================================================COMMENT
MEDIUMscripts/release.sh88# =============================================================================COMMENT
MEDIUMscripts/release.sh90# =============================================================================COMMENT
MEDIUMscripts/release.sh110# =============================================================================COMMENT
MEDIUMscripts/release.sh112# =============================================================================COMMENT
MEDIUMscripts/release.sh165# =============================================================================COMMENT
MEDIUMscripts/release.sh167# =============================================================================COMMENT
MEDIUMscripts/release.sh186# =============================================================================COMMENT
MEDIUMscripts/release.sh188# =============================================================================COMMENT
Over-Commented Block23 hits · 23 pts
SeverityFileLineSnippetContext
LOWtest/e2e/utils/workload_adapter.go61 // Create creates the workload with the given config.COMMENT
LOWtest/e2e/utils/workload_adapter.go81COMMENT
LOWtest/e2e/utils/annotations.go1package utilsCOMMENT
LOWtest/e2e/utils/annotations.go21 AnnotationSecretReload = "secret.reloader.stakater.com/reload"COMMENT
LOWtest/e2e/utils/annotations.go41 // Value: "true" or "false"COMMENT
LOWtest/e2e/utils/annotations.go61 // Value: comma-separated list of SecretProviderClass namesCOMMENT
LOWtest/e2e/utils/annotations.go81 // AnnotationIgnore prevents Reloader from triggering reloads for this resource.COMMENT
LOWinternal/pkg/options/flags.go21 // secrets specified by nameCOMMENT
LOWinternal/pkg/options/flags.go41 SecretProviderClassExcludeReloaderAnnotation = "secretproviderclasses.exclude.reloader.stakater.com/reload"COMMENT
LOWscripts/e2e-cluster-cleanup.sh1#!/bin/bashCOMMENT
LOWscripts/e2e-cluster-setup.sh1#!/bin/bashCOMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml61 # Address to start pprof server on. Default is ":6060"COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml81 # - name: attemptsCOMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml121COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml161 # will be used to populate the env varCOMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml181 # Specify resource requests/limits for the deployment.COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml221 # Service account config for the agent podsCOMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml241 enabled: falseCOMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml261 labels: {}COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml281 # - sourceLabels: [__meta_kubernetes_pod_node_name]COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml301 ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml321 ## Metric relabel configs to apply to samples before ingestion.COMMENT
LOWdeployments/kubernetes/chart/reloader/values.yaml361 # List should be empty (then the default recommender will generate the recommendation)COMMENT
Redundant / Tautological Comments5 hits · 11 pts
SeverityFileLineSnippetContext
LOWscripts/e2e-cluster-cleanup.sh138 # Check if Vault is installedCOMMENT
LOWscripts/e2e-cluster-cleanup.sh205 # Check if Argo Rollouts is installedCOMMENT
LOWscripts/e2e-cluster-setup.sh136 # Check if already installedCOMMENT
LOWscripts/e2e-cluster-setup.sh179 # Check if already installedCOMMENT
LOWscripts/e2e-cluster-setup.sh224 # Check if already installedCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdeployments/kubernetes/chart/reloader/values.yaml371 # Define the max allowed resources for the podCOMMENT
MEDIUMdeployments/kubernetes/chart/reloader/values.yaml375 # Define the min allowed resources for the podCOMMENT