Repository Analysis

romkatv/powerlevel10k

A Zsh theme

11.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of romkatv/powerlevel10k, a Shell project with 54,712 GitHub stars. SynthScan v2.0 examined 27,935 lines of code across 49 source files, recording 350 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 11.0 places this repository in the Low 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).

11.0
Adjusted Score
11.0
Raw Score
100%
Time Factor
2026-06-15
Last Push
54.7K
Stars
Shell
Language
27.9K
Lines of Code
49
Files
350
Pattern Hits
2026-07-14
Scan Date
0.02
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 13LOW 336

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 350 distinct pattern matches across 6 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.

Over-Commented Block330 hits · 234 pts
SeverityFileLineSnippetContext
LOWconfig/p10k-robbyrussell.zsh1# Config file for Powerlevel10k with the style of robbyrussell theme from Oh My Zsh.COMMENT
LOWconfig/p10k-robbyrussell.zsh81 # Grey Git status when loading.COMMENT
LOWconfig/p10k-lean.zsh101 # cpu_arch # CPU architectureCOMMENT
LOWconfig/p10k-lean.zsh121 typeset -g POWERLEVEL9K_BACKGROUND= # transparent backgroundCOMMENT
LOWconfig/p10k-lean.zsh161 typeset -g POWERLEVEL9K_RULER_FOREGROUND=240COMMENT
LOWconfig/p10k-lean.zsh181 fiCOMMENT
LOWconfig/p10k-lean.zsh261 # Don't shorten this many last directory segments. They are anchors.COMMENT
LOWconfig/p10k-lean.zsh281 # Enable special styling for non-writable and non-existent directories. See POWERLEVEL9K_LOCK_ICONCOMMENT
LOWconfig/p10k-lean.zsh301 #COMMENT
LOWconfig/p10k-lean.zsh321 #COMMENT
LOWconfig/p10k-lean.zsh341 # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin 'COMMENT
LOWconfig/p10k-lean.zsh441 (( VCS_STATUS_STASHES )) && res+=" ${clean}*${VCS_STATUS_STASHES}"COMMENT
LOWconfig/p10k-lean.zsh461 typeset -g my_git_format=$resCOMMENT
LOWconfig/p10k-lean.zsh481 # Install our own Git status formatter.COMMENT
LOWconfig/p10k-lean.zsh541COMMENT
LOWconfig/p10k-lean.zsh561 # Custom icon.COMMENT
LOWconfig/p10k-lean.zsh581 # POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW. Consider the effect of the following commands:COMMENT
LOWconfig/p10k-lean.zsh601 # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SOURCES.COMMENT
LOWconfig/p10k-lean.zsh621 # Note: SHOW_ON_UPGLOB isn't specific to asdf. It works with all prompt segments.COMMENT
LOWconfig/p10k-lean.zsh641 typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37COMMENT
LOWconfig/p10k-lean.zsh661 typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38COMMENT
LOWconfig/p10k-lean.zsh681 typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=125COMMENT
LOWconfig/p10k-lean.zsh701 typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=172COMMENT
LOWconfig/p10k-lean.zsh721 typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178COMMENT
LOWconfig/p10k-lean.zsh741 # typeset -g POWERLEVEL9K_LF_VISUAL_IDENTIFIER_EXPANSION='⭐'COMMENT
LOWconfig/p10k-lean.zsh761 #[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]##COMMENT
LOWconfig/p10k-lean.zsh781 # Colors for different levels of disk usage.COMMENT
LOWconfig/p10k-lean.zsh801 typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96COMMENT
LOWconfig/p10k-lean.zsh821 typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=trueCOMMENT
LOWconfig/p10k-lean.zsh841 ###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############COMMENT
LOWconfig/p10k-lean.zsh861 #COMMENT
LOWconfig/p10k-lean.zsh881COMMENT
LOWconfig/p10k-lean.zsh921 ###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###COMMENT
LOWconfig/p10k-lean.zsh941 # - CONDA_DEFAULT_ENV Name of the active Anaconda/Miniconda environment.COMMENT
LOWconfig/p10k-lean.zsh961 # is empty.COMMENT
LOWconfig/p10k-lean.zsh981 # - P9K_PYENV_PYTHON_VERSION Current python version (python --version).COMMENT
LOWconfig/p10k-lean.zsh1001 # If set to false, hide go version if it's equal to "system".COMMENT
LOWconfig/p10k-lean.zsh1021 typeset -g POWERLEVEL9K_NVM_FOREGROUND=70COMMENT
LOWconfig/p10k-lean.zsh1041 # Node version color.COMMENT
LOWconfig/p10k-lean.zsh1061 # Custom icon.COMMENT
LOWconfig/p10k-lean.zsh1081 # Laravel version color.COMMENT
LOWconfig/p10k-lean.zsh1101 # - P9K_PACKAGE_NAME The value of `name` field in package.json.COMMENT
LOWconfig/p10k-lean.zsh1121 #######################[ rvm: ruby version from rvm (https://rvm.io) ]########################COMMENT
LOWconfig/p10k-lean.zsh1141 typeset -g POWERLEVEL9K_LUAENV_SOURCES=(shell local global)COMMENT
LOWconfig/p10k-lean.zsh1161 # typeset -g POWERLEVEL9K_JENV_VISUAL_IDENTIFIER_EXPANSION='⭐'COMMENT
LOWconfig/p10k-lean.zsh1181 # Don't show "perl-" at the front.COMMENT
LOWconfig/p10k-lean.zsh1201 typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=160COMMENT
LOWconfig/p10k-lean.zsh1221 # If set to false, hide haskell version if it's the same as in the implicit global project.COMMENT
LOWconfig/p10k-lean.zsh1241 #COMMENT
LOWconfig/p10k-lean.zsh1261 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134COMMENT
LOWconfig/p10k-lean.zsh1281 #COMMENT
LOWconfig/p10k-lean.zsh1301 # - P9K_KUBECONTEXT_CLOUD_ACCOUNT=123456789012COMMENT
LOWconfig/p10k-lean.zsh1321 # POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. TheCOMMENT
LOWconfig/p10k-lean.zsh1341 # '*test*' TEST # to match your needs. Customize them as needed.COMMENT
LOWconfig/p10k-lean.zsh1361 # you'll see this value in your prompt. The second element of each pair inCOMMENT
LOWconfig/p10k-lean.zsh1381 # '*prod*' PROD # These values are examples that are unlikelyCOMMENT
LOWconfig/p10k-lean.zsh1401 # Tip: Remove the next line to always show azure.COMMENT
LOWconfig/p10k-lean.zsh1421 #COMMENT
LOWconfig/p10k-lean.zsh1441 # Google cloud color.COMMENT
LOWconfig/p10k-lean.zsh1461 # set and gcloud prompt segment transitions to state COMPLETE.COMMENT
270 more matches not shown…
Decorative Section Separators12 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMinternal/parser.zsh111# ---------------COMMENT
MEDIUMinternal/parser.zsh113# ---------------COMMENT
MEDIUMinternal/parser.zsh115# ---------------COMMENT
MEDIUMinternal/parser.zsh117# ---------------COMMENT
MEDIUMinternal/parser.zsh119# ---------------COMMENT
MEDIUMinternal/parser.zsh121# ---------------COMMENT
MEDIUMinternal/parser.zsh123# ---------------COMMENT
MEDIUMinternal/parser.zsh125# ---------------COMMENT
MEDIUMinternal/parser.zsh127# ---------------COMMENT
MEDIUMinternal/parser.zsh131# ---------------COMMENT
MEDIUMinternal/parser.zsh137# ---------------COMMENT
MEDIUMgitstatus/gitstatus.plugin.zsh3# ------------------------------------------------------------------COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHinternal/icons.zsh490 # In this version of Nerd Fonts the Material icons are mapped to U+F0001-U+F19C3.COMMENT
AI Slop Vocabulary4 hits · 6 pts
SeverityFileLineSnippetContext
LOWconfig/p10k-lean.zsh1664 # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. IfCOMMENT
LOWconfig/p10k-rainbow.zsh1783 # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. IfCOMMENT
LOWconfig/p10k-lean-8colors.zsh1664 # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. IfCOMMENT
LOWconfig/p10k-classic.zsh1689 # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. IfCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMinternal/p10k.zsh8494 # The following code is based on Pure:COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWinternal/icons.zsh334 # don't forget to source the font maps in your startup scriptCOMMENT
LOWinternal/icons.zsh334 # don't forget to source the font maps in your startup scriptCOMMENT