Repository Analysis

Bash-it/bash-it

A community Bash framework.

8.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Bash-it/bash-it, a Shell project with 15,136 GitHub stars. SynthScan v2.0 examined 25,022 lines of code across 351 source files, recording 124 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 8.3 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).

8.3
Adjusted Score
8.3
Raw Score
100%
Time Factor
2026-08-09
Last Push
15.1K
Stars
Shell
Language
25.0K
Lines of Code
351
Files
124
Pattern Hits
2026-08-09
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 43LOW 81

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 124 distinct pattern matches across 9 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.

Self-Referential Comments33 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMuninstall.sh52 # Create a backup of the current config before restoring the old oneCOMMENT
MEDIUMcompletion/available/docker-compose.completion.bash76# This function is needed for key-specific completions.COMMENT
MEDIUMcompletion/available/aliases.completion.bash99 # Create a wrapper without arguments.COMMENT
MEDIUMcompletion/available/aliases.completion.bash105 # Create a wrapper inserting the alias argumentsCOMMENT
MEDIUMlib/helpers.bash746 echo "# This file is auto generated by Bash-it. Do not edit manually!" > "$profile_path"CODE
MEDIUMaliases/available/pyrocms.aliases.bash69alias a:mk:ad="php artisan make:addon" # Create a new addon.CODE
MEDIUMaliases/available/pyrocms.aliases.bash71alias a:mk:cm="php artisan make:command" # Create a new Artisan commandCODE
MEDIUMaliases/available/pyrocms.aliases.bash72alias a:mk:ct="php artisan make:controller" # Create a new controller classCODE
MEDIUMaliases/available/pyrocms.aliases.bash73alias a:mk:ev="php artisan make:event" # Create a new event classCODE
MEDIUMaliases/available/pyrocms.aliases.bash74alias a:mk:fa="php artisan make:factory" # Create a new model factoryCODE
MEDIUMaliases/available/pyrocms.aliases.bash75alias a:mk:j="php artisan make:job" # Create a new job classCODE
MEDIUMaliases/available/pyrocms.aliases.bash76alias a:mk:li="php artisan make:listener" # Create a new event listener classCODE
MEDIUMaliases/available/pyrocms.aliases.bash77alias a:mk:ma="php artisan make:mail" # Create a new email classCODE
MEDIUMaliases/available/pyrocms.aliases.bash78alias a:mk:mw="php artisan make:middleware" # Create a new middleware classCODE
MEDIUMaliases/available/pyrocms.aliases.bash79alias a:mk:mg="php artisan make:migration" # Create a new migration fileCODE
MEDIUMaliases/available/pyrocms.aliases.bash80alias a:mk:md="php artisan make:model" # Create a new Eloquent model classCODE
MEDIUMaliases/available/pyrocms.aliases.bash81alias a:mk:no="php artisan make:notification" # Create a new notification classCODE
MEDIUMaliases/available/pyrocms.aliases.bash82alias a:mk:po="php artisan make:policy" # Create a new policy classCODE
MEDIUMaliases/available/pyrocms.aliases.bash83alias a:mk:pr="php artisan make:provider" # Create a new service provider classCODE
MEDIUMaliases/available/pyrocms.aliases.bash84alias a:mk:rq="php artisan make:request" # Create a new form request classCODE
MEDIUMaliases/available/pyrocms.aliases.bash85alias a:mk:rs="php artisan make:resource" # Create a new resourceCODE
MEDIUMaliases/available/pyrocms.aliases.bash86alias a:mk:rl="php artisan make:rule" # Create a new validation ruleCODE
MEDIUMaliases/available/pyrocms.aliases.bash87alias a:mk:sd="php artisan make:seeder" # Create a new seeder classCODE
MEDIUMaliases/available/pyrocms.aliases.bash89alias a:mk:ts="php artisan make:test" # Create a new test classCODE
MEDIUMaliases/available/pyrocms.aliases.bash93alias a:mg:i="php artisan migrate:install" # Create the migration repositoryCODE
MEDIUMaliases/available/pyrocms.aliases.bash105alias a:no:tb="php artisan notifications:table" # Create a migration for the notifications tableCODE
MEDIUMaliases/available/pyrocms.aliases.bash112alias a:qu:ft="php artisan queue:failed-table" # Create a migration for the failed queue jobs database tableCODE
MEDIUMaliases/available/pyrocms.aliases.bash118alias a:qu:tb="php artisan queue:table" # Create a migration for the queue jobs database tableCODE
MEDIUMaliases/available/pyrocms.aliases.bash122alias a:ro:ca="php artisan route:cache" # Create a route cache file for faster route registrationCODE
MEDIUMaliases/available/pyrocms.aliases.bash42alias a:ca:t="php artisan cache:table" # Create a migration for the cache database tableCODE
MEDIUMaliases/available/pyrocms.aliases.bash45alias a:co:ca="php artisan config:cache" # Create a cache file for faster configuration loadingCODE
MEDIUMaliases/available/pyrocms.aliases.bash134alias a:se:tb="php artisan session:table" # Create a migration for the session database tableCODE
MEDIUMaliases/available/pyrocms.aliases.bash137alias a:sg:l="php artisan storage:link" # Create a symbolic link from "public/storage" to "storage/app/public"CODE
Over-Commented Block60 hits · 60 pts
SeverityFileLineSnippetContext
LOWclean_files.txt1#######################################################################COMMENT
LOWlint_clean_files.sh1#!/usr/bin/env bashCOMMENT
LOWlint_clean_files.sh21# "Shellcheck SC1090 - Can't follow non-constant source"COMMENT
LOWplugins/available/gif.plugin.bash1# shellcheck shell=bashCOMMENT
LOWtemplate/bashrc.template.bash21COMMENT
LOWtemplate/bashrc.template.bash41COMMENT
LOWtemplate/bashrc.template.bash61# Uncomment this to set.COMMENT
LOWcompletion/available/git_flow_avh.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/git_flow_avh.completion.bash21# 0. Install git-completion.COMMENT
LOWcompletion/available/git_flow_avh.completion.bash41#COMMENT
LOWcompletion/available/docker-compose.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/docker-compose.completion.bash21# Copyright (c) 2014 Docker, IncCOMMENT
LOWcompletion/available/invoke.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/invoke.completion.bash21COMMENT
LOWcompletion/available/invoke.completion.bash41 # core options, task names, the current task's options, or some combo.COMMENT
LOWcompletion/available/bundler.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/bundler.completion.bash21COMMENT
LOWcompletion/available/gradle.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/hub.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/hub.completion.bash21COMMENT
LOWcompletion/available/grunt.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/grunt.completion.bash21COMMENT
LOWcompletion/available/knife.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/vagrant.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/gulp.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/gulp.completion.bash21COMMENT
LOWcompletion/available/gulp.completion.bash41# Usage:COMMENT
LOWcompletion/available/salt.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/fabric.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/fabric.completion.bash21# all copies or substantial portions of the Software.COMMENT
LOWcompletion/available/fabric.completion.bash101COMMENT
LOWcompletion/available/git_flow.completion.bash1# shellcheck shell=bashCOMMENT
LOWcompletion/available/git_flow.completion.bash21#COMMENT
LOWdocs/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWdocs/conf.py41# This pattern also affects html_static_path and html_extra_path.COMMENT
LOWlib/completion.bash1# shellcheck shell=bashCOMMENT
LOWlib/helpers.bash1# shellcheck shell=bashCOMMENT
LOWlib/command_duration.bash1# shellcheck shell=bashCOMMENT
LOWlib/utilities.bash21 # filename without pathCOMMENT
LOWlib/search.bash1# shellcheck shell=bashCOMMENT
LOWlib/search.bash21# Examples:COMMENT
LOWaliases/available/ag.aliases.bash1# shellcheck shell=bashCOMMENT
LOWcustom/example.bash1# shellcheck shell=bashCOMMENT
LOWthemes/hawaii50/hawaii50.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/hawaii50/hawaii50.theme.bash21#COMMENT
LOWthemes/demula/demula.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/demula/demula.theme.bash21## ! mild redCOMMENT
LOWthemes/cupcake/cupcake.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/dulcie/dulcie.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/metal/metal.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/rana/rana.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/rana/rana.theme.bash21#*color1: #CD0000COMMENT
LOWthemes/nwinkler/nwinkler.theme.bash1# shellcheck shell=bashCOMMENT
LOW…inkler_random_colors/nwinkler_random_colors.theme.bash1# shellcheck shell=bashCOMMENT
LOW…inkler_random_colors/nwinkler_random_colors.theme.bash41 "${bold_cyan?}"COMMENT
LOWthemes/font/font.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/agnoster/agnoster.theme.bash1# shellcheck shell=bashCOMMENT
LOWthemes/agnoster/agnoster.theme.bash21# > cd fontsCOMMENT
LOWthemes/agnoster/agnoster.theme.bash41# source $THEMECOMMENT
LOWthemes/agnoster/agnoster.theme.bash361 PRIGHT="$PRIGHT$(ansi_r codes[@]) "COMMENT
Decorative Section Separators8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMplugins/available/git.plugin.bash279 # ---------------------------------------------------------------COMMENT
MEDIUMplugins/available/git.plugin.bash281 # ---------------------------------------------------------------COMMENT
MEDIUMcompletion/available/git_flow_avh.completion.bash5# ===================COMMENT
MEDIUMcompletion/available/git_flow_avh.completion.bash17# ------------COMMENT
MEDIUMcompletion/available/git_flow_avh.completion.bash43# --------------COMMENT
MEDIUMcompletion/available/git_flow.completion.bash4# ===================COMMENT
MEDIUMcompletion/available/git_flow.completion.bash16# ------------COMMENT
MEDIUMcompletion/available/git_flow.completion.bash42# --------------COMMENT
Redundant / Tautological Comments14 hits · 23 pts
SeverityFileLineSnippetContext
LOWinstall.sh71 # Check if already sourced (reuse helper from doctor)COMMENT
LOWplugins/available/gif.plugin.bash179 # Set FPS to match the video if possible, otherwise fallback to default.COMMENT
LOWplugins/available/jekyll.plugin.bash179 # Open the file in your favorite editorCOMMENT
LOWtemplate/bashrc.template.bash39# Set this to the command you use for todo.txt-cliCOMMENT
LOWtemplate/bashrc.template.bash42# Set this to the location of your work or project foldersCOMMENT
LOWtemplate/bashrc.template.bash45# Set this to false to turn off version control status checking within the prompt for all themesCOMMENT
LOWcompletion/available/terraform.completion.bash8# Check if at least one of the binaries is available (OR logic)COMMENT
LOWcompletion/available/aliases.completion.bash51 # Check if aliasCommandFunction starts with our namespace.COMMENT
LOWcompletion/available/fabric.completion.bash46# Set command to get time of last file modification as seconds since EpochCOMMENT
LOWlib/helpers.bash452 # Check if our marker appearedCOMMENT
LOWlib/helpers.bash584 # Check if we can fast-forwardCOMMENT
LOWthemes/base.theme.bash433 # Check if we're in a Node.js project by looking for package.jsonCOMMENT
LOWthemes/rana/rana.theme.bash120 # Check if the current directory is in a Git repository.COMMENT
LOWthemes/inretio/inretio.theme.bash56 # Check if Python 3 existsCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWplugins/available/dirs.plugin.bash61# Usage:COMMENT
LOWcompletion/available/grunt.completion.bash41# Usage:COMMENT
LOWcompletion/available/gulp.completion.bash41# Usage:COMMENT
LOWlib/search.bash8# Usage:COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtemplate/bashrc.template.bash50# per default gitstatus uses 2 times as many threads as CPU cores, you can change this here if you mustCOMMENT
LOWlib/helpers.bash208 # Don't forget to restore the original pwd (called from `_bash-it-update-`)!COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWthemes/base.theme.bash212 # TODO: consider adding minimal status information for hg and svnCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWthemes/hawaii50/hawaii50.theme.bash109 # If no virtual info, just returnCOMMENT
Modern AI Meta-Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMaliases/available/pyrocms.aliases.bash19alias a:pr="php artisan preset" # Swap the front-end scaffolding for the applicationCODE