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.
This report summarizes scanner evidence for pyenv-win/pyenv-win, a VBScript project with 7,413 GitHub stars. SynthScan examined 7,722 lines of code across 46 source files, recording 62 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 10.8 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 57 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 53 finding(s).
Which changes need focused human review? 62 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 62 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_pyenv_feature_which.py | 29 | def test_which_exists_is_global(pyenv_path, pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 41 | def test_which_exists_is_local(pyenv_path, pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 50 | def test_which_exists_is_shell(pyenv_path, pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 60 | def test_which_exists_is_global_not_installed(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 66 | def test_which_exists_is_local_not_installed(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 71 | def test_which_exists_is_shell_not_installed(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_which.py | 81 | def test_which_exists_is_global_other_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_which.py | 100 | def test_which_exists_is_local_other_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_which.py | 118 | def test_which_exists_is_shell_other_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_which.py | 138 | def test_which_command_not_found(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_which.py | 144 | def test_which_no_version_defined(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_which.py | 163 | def test_which_many_local_versions(pyenv_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_rehash.py | 28 | def test_rehash_global_version(pyenv_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_rehash.py | 39 | def test_rehash_local_version(pyenv_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_rehash.py | 50 | def test_rehash_shell_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_install.py | 7 | def test_check_pyenv_install_list(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_install.py | 37 | def test_check_pyenv_installation(): | CODE |
| LOW | tests/test_pyenv_feature_duplicate.py | 3 | def test_check_pyenv_duplicate(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_duplicate.py | 9 | def test_check_pyenv_commands_help(): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 22 | def test_list_current_global_version(pyenv_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 38 | def test_list_current_local_version(local_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 54 | def test_list_current_local_many_versions(local_path, pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 70 | def test_list_current_shell_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 86 | def test_list_uninstalled_current_global_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 102 | def test_list_uninstalled_local_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_versions.py | 118 | def test_list_uninstalled_shell_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_global.py | 26 | def test_global_version_defined(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_global.py | 34 | def test_global_set_installed_version(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_global.py | 49 | def test_global_set_unknown_version(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_global.py | 65 | def test_global_set_many_versions(pyenv_path, pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_global.py | 74 | def test_global_set_many_versions_one_not_installed(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_global.py | 79 | def test_global_many_versions_defined(pyenv): | CODE |
| LOW | tests/test_pyenv.py | 15 | def test_check_pyenv_features_list(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_commands.py | 3 | def test_check_pyenv_commands_list(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_commands.py | 9 | def test_check_pyenv_commands_help(): | CODE |
| LOW | tests/test_pyenv_feature_shell.py | 36 | def test_shell_version_defined(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_shell.py | 42 | def test_shell_set_installed_version(local_path, shell, shell_ext, run): | CODE |
| LOW⚡ | tests/test_pyenv_feature_shell.py | 57 | def test_shell_set_unknown_version(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_shell.py | 66 | def test_shell_unset_unaffected(local_path, shell, shell_ext, run): | CODE |
| LOW⚡ | tests/test_pyenv_feature_shell.py | 81 | def test_shell_set_many_versions(local_path, shell, shell_ext, run): | CODE |
| LOW | tests/test_pyenv_feature_shell.py | 95 | def test_shell_set_many_versions_one_not_installed(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_shell.py | 99 | def test_shell_many_versions_defined(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 11 | def test_local_version_defined(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 19 | def test_local_set_installed_version(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 28 | def test_local_set_minor_version(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 39 | def test_local_set_unknown_version(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 44 | def test_local_set_many_versions(local_path, pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 50 | def test_local_set_many_versions_one_not_installed(pyenv): | CODE |
| LOW⚡ | tests/test_pyenv_feature_local.py | 55 | def test_local_many_versions_defined(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_exec.py | 147 | def test_exec_local_not_installed(pyenv): | CODE |
| LOW | tests/test_pyenv_feature_exec.py | 157 | def test_removes_shims_from_path(pyenv): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/test_pyenv_feature_shell.py | 72 | print(f'@call pyenv global --unset && call pyenv local --unset && call pyenv shell', file=f) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/scripts/update_versions_cache.py | 252 | except (ValueError, IndexError): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/update_versions_cache.py | 96 | CODE | |
| LOW | .github/scripts/update_versions_cache.py | 152 | CODE | |
| LOW | .github/scripts/update_versions_cache.py | 234 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/conftest.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 61 | # ℹ️ Command-line programs to run using the OS shell. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/scripts/update_versions_cache.py | 69 | print(f"Error downloading from {url}: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/update_versions_cache.py | 255 | # Check if webinstall has non-web equivalent | COMMENT |