Repository Analysis

pyenv-win/pyenv-win

pyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

10.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pyenv-win/pyenv-win, a VBScript project with 7,351 GitHub stars. SynthScan v2.0 examined 7,722 lines of code across 46 source files, recording 61 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 10.2 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).

10.2
Adjusted Score
10.2
Raw Score
100%
Time Factor
2026-07-31
Last Push
7.4K
Stars
VBScript
Language
7.7K
Lines of Code
46
Files
61
Pattern Hits
2026-08-02
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

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 1MEDIUM 1LOW 59

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

Hyper-Verbose Identifiers51 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/test_pyenv_feature_which.py29def test_which_exists_is_global(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_which.py41def test_which_exists_is_local(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_which.py50def test_which_exists_is_shell(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_which.py60def test_which_exists_is_global_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_which.py66def test_which_exists_is_local_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_which.py71def test_which_exists_is_shell_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_which.py81def test_which_exists_is_global_other_version(pyenv):CODE
LOWtests/test_pyenv_feature_which.py100def test_which_exists_is_local_other_version(pyenv):CODE
LOWtests/test_pyenv_feature_which.py118def test_which_exists_is_shell_other_version(pyenv):CODE
LOWtests/test_pyenv_feature_which.py138def test_which_command_not_found(pyenv):CODE
LOWtests/test_pyenv_feature_which.py144def test_which_no_version_defined(pyenv):CODE
LOWtests/test_pyenv_feature_which.py163def test_which_many_local_versions(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_rehash.py28def test_rehash_global_version(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_rehash.py39def test_rehash_local_version(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_rehash.py50def test_rehash_shell_version(pyenv):CODE
LOWtests/test_pyenv_feature_install.py7def test_check_pyenv_install_list(pyenv):CODE
LOWtests/test_pyenv_feature_install.py37def test_check_pyenv_installation():CODE
LOWtests/test_pyenv_feature_duplicate.py3def test_check_pyenv_duplicate(pyenv):CODE
LOWtests/test_pyenv_feature_duplicate.py9def test_check_pyenv_commands_help():CODE
LOWtests/test_pyenv_feature_versions.py22def test_list_current_global_version(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_versions.py38def test_list_current_local_version(local_path, pyenv):CODE
LOWtests/test_pyenv_feature_versions.py54def test_list_current_local_many_versions(local_path, pyenv):CODE
LOWtests/test_pyenv_feature_versions.py70def test_list_current_shell_version(pyenv):CODE
LOWtests/test_pyenv_feature_versions.py86def test_list_uninstalled_current_global_version(pyenv):CODE
LOWtests/test_pyenv_feature_versions.py102def test_list_uninstalled_local_version(pyenv):CODE
LOWtests/test_pyenv_feature_versions.py118def test_list_uninstalled_shell_version(pyenv):CODE
LOWtests/test_pyenv_feature_global.py26def test_global_version_defined(pyenv):CODE
LOWtests/test_pyenv_feature_global.py34def test_global_set_installed_version(pyenv):CODE
LOWtests/test_pyenv_feature_global.py49def test_global_set_unknown_version(pyenv):CODE
LOWtests/test_pyenv_feature_global.py65def test_global_set_many_versions(pyenv_path, pyenv):CODE
LOWtests/test_pyenv_feature_global.py74def test_global_set_many_versions_one_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_global.py79def test_global_many_versions_defined(pyenv):CODE
LOWtests/test_pyenv.py15def test_check_pyenv_features_list(pyenv):CODE
LOWtests/test_pyenv_feature_commands.py3def test_check_pyenv_commands_list(pyenv):CODE
LOWtests/test_pyenv_feature_commands.py9def test_check_pyenv_commands_help():CODE
LOWtests/test_pyenv_feature_shell.py36def test_shell_version_defined(pyenv):CODE
LOWtests/test_pyenv_feature_shell.py42def test_shell_set_installed_version(local_path, shell, shell_ext, run):CODE
LOWtests/test_pyenv_feature_shell.py57def test_shell_set_unknown_version(pyenv):CODE
LOWtests/test_pyenv_feature_shell.py66def test_shell_unset_unaffected(local_path, shell, shell_ext, run):CODE
LOWtests/test_pyenv_feature_shell.py81def test_shell_set_many_versions(local_path, shell, shell_ext, run):CODE
LOWtests/test_pyenv_feature_shell.py95def test_shell_set_many_versions_one_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_shell.py99def test_shell_many_versions_defined(pyenv):CODE
LOWtests/test_pyenv_feature_local.py11def test_local_version_defined(pyenv):CODE
LOWtests/test_pyenv_feature_local.py19def test_local_set_installed_version(pyenv):CODE
LOWtests/test_pyenv_feature_local.py28def test_local_set_minor_version(pyenv):CODE
LOWtests/test_pyenv_feature_local.py39def test_local_set_unknown_version(pyenv):CODE
LOWtests/test_pyenv_feature_local.py44def test_local_set_many_versions(local_path, pyenv):CODE
LOWtests/test_pyenv_feature_local.py50def test_local_set_many_versions_one_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_local.py55def test_local_many_versions_defined(pyenv):CODE
LOWtests/test_pyenv_feature_exec.py147def test_exec_local_not_installed(pyenv):CODE
LOWtests/test_pyenv_feature_exec.py157def test_removes_shims_from_path(pyenv):CODE
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/test_pyenv_feature_shell.py72 print(f'@call pyenv global --unset && call pyenv local --unset && call pyenv shell', file=f)CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/scripts/update_versions_cache.py96CODE
LOW.github/scripts/update_versions_cache.py152CODE
LOW.github/scripts/update_versions_cache.py234CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py1CODE
LOWtests/conftest.py7CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml61 # ℹ️ Command-line programs to run using the OS shell.COMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/update_versions_cache.py69 print(f"Error downloading from {url}: {e}", file=sys.stderr)CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/scripts/update_versions_cache.py255 # Check if webinstall has non-web equivalentCOMMENT