A set of tools to keep your pinned Python dependencies fresh.
This report presents the forensic synthetic code analysis of jazzband/pip-tools, a Python project with 8,009 GitHub stars. SynthScan v2.0 examined 20,220 lines of code across 109 source files, recording 429 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 19.4 places this repository in the Moderate 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).
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.
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.
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.
The scanner identified 429 distinct pattern matches across 11 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/sync.py | 155 | def _direct_url_has_archive_hash(direct_url: DirectUrl) -> bool: | CODE |
| LOW | piptools/build.py | 55 | def maybe_statically_parse_project_metadata( | CODE |
| LOW | piptools/build.py | 212 | def _temporary_constraints_file_set_for_pip( | CODE |
| LOW | piptools/build.py | 284 | def _build_project_wheel_metadata( | CODE |
| LOW | piptools/build.py | 326 | def _prepare_build_requirements( | CODE |
| LOW | piptools/utils.py | 122 | def _build_direct_reference_best_efforts(ireq: InstallRequirement) -> str: | CODE |
| LOW | piptools/utils.py | 404 | def get_required_pip_specification() -> SpecifierSet: | CODE |
| LOW | piptools/utils.py | 418 | def get_sys_path_for_python_executable(python_executable: str) -> list[str]: | CODE |
| LOW | piptools/utils.py | 445 | def override_defaults_from_config_file( | CODE |
| LOW | piptools/utils.py | 478 | def _assign_config_to_cli_context( | CODE |
| LOW | piptools/utils.py | 622 | def _normalize_keys_in_config(config: dict[str, _t.Any]) -> dict[str, _t.Any]: | CODE |
| LOW | piptools/utils.py | 626 | def _invert_negative_bool_options_in_config( | CODE |
| LOW | piptools/resolver.py | 78 | def combine_install_requirements( | CODE |
| LOW | piptools/resolver.py | 171 | def _filter_out_unsafe_constraints( | STRING |
| LOW | piptools/resolver.py | 716 | def _get_install_requirements( | STRING |
| LOW | piptools/resolver.py | 753 | def _get_reverse_dependencies( | CODE |
| LOW | piptools/resolver.py | 778 | def _get_install_requirement_from_candidate( | CODE |
| LOW | piptools/_internal/_pip_api/install_requirements.py | 14 | def create_install_requirement( | CODE |
| LOW | piptools/_internal/_pip_api/install_requirements.py | 37 | def create_install_requirement_from_line( | CODE |
| LOW | piptools/_internal/_pip_api/package_finder.py | 16 | def finder_allows_prereleases_of_req( | CODE |
| LOW | piptools/_internal/_pip_api/package_finder.py | 33 | def finder_allows_all_prereleases(finder: PackageFinder) -> bool: | CODE |
| LOW | piptools/_internal/_pip_api/pip_version.py | 16 | def get_pip_version_for_python_executable(python_executable: str) -> Version: | CODE |
| LOW | piptools/repositories/local.py | 20 | def ireq_satisfied_by_existing_pin( | CODE |
| LOW | piptools/repositories/pypi.py | 483 | def open_local_or_remote_file(link: Link, session: Session) -> Iterator[FileStream]: | CODE |
| LOW | piptools/scripts/sync.py | 174 | def _validate_python_executable(python_executable: str) -> None: | CODE |
| LOW | piptools/scripts/sync.py | 260 | def _get_installed_distributions( | CODE |
| LOW | piptools/scripts/_deprecations.py | 9 | def filter_deprecated_pip_args(args: list[str]) -> list[str]: | CODE |
| LOW | piptools/_compat/pip_compat.py | 133 | def _rewrite_comes_from_to_hardcoded_stdin_value(_: str, /) -> str: | CODE |
| LOW | piptools/_compat/pip_compat.py | 138 | def _relativize_comes_from_location(original_comes_from: str, /) -> str: | CODE |
| LOW | piptools/_compat/pip_compat.py | 170 | def _normalize_comes_from_location(original_comes_from: str, /) -> str: | CODE |
| LOW | tests/test_circular_imports.py | 44 | def _discover_path_importables(pkg_pth: Path, pkg_name: str) -> Iterator[str]: | CODE |
| LOW | tests/test_circular_imports.py | 66 | def _allowed_deprecation_warning_filters() -> list[str]: | CODE |
| LOW | tests/test_repository_local.py | 11 | def test_get_hashes_local_repository_cache_miss( | CODE |
| LOW | tests/test_repository_local.py | 24 | def test_get_hashes_local_repository_cache_hit(from_line, repository): | CODE |
| LOW | tests/test_repository_local.py | 43 | def test_toggle_reuse_hashes_local_repository( | CODE |
| LOW⚡ | tests/test_utils.py | 139 | def test_format_requirement_url(from_line, line, expected): | CODE |
| LOW⚡ | tests/test_utils.py | 144 | def test_format_requirement_editable_vcs(from_editable): | CODE |
| LOW⚡ | tests/test_utils.py | 149 | def test_format_requirement_editable_vcs_with_password(from_editable): | CODE |
| LOW⚡ | tests/test_utils.py | 156 | def test_format_requirement_editable_local_path(from_editable): | CODE |
| LOW⚡ | tests/test_utils.py | 161 | def test_format_requirement_ireq_with_hashes(from_line): | CODE |
| LOW⚡ | tests/test_utils.py | 272 | def test_is_pinned_requirement(from_line, line, expected): | CODE |
| LOW⚡ | tests/test_utils.py | 277 | def test_is_pinned_requirement_editable(from_editable): | CODE |
| LOW⚡ | tests/test_utils.py | 282 | def test_key_from_ireq_normalization(from_line): | CODE |
| LOW⚡ | tests/test_utils.py | 748 | def test_callback_config_file_defaults_unreadable_toml(make_config_file): | CODE |
| LOW⚡ | tests/test_utils.py | 758 | def test_select_config_file_no_files(tmpdir_cwd): | CODE |
| LOW⚡ | tests/test_utils.py | 763 | def test_select_config_file_returns_config_in_cwd(make_config_file, filename): | CODE |
| LOW⚡ | tests/test_utils.py | 768 | def test_select_config_file_returns_empty_config_file_in_cwd(tmpdir_cwd): | CODE |
| LOW⚡ | tests/test_utils.py | 775 | def test_select_config_file_cannot_find_config_in_cwd(tmpdir_cwd, make_config_file): | CODE |
| LOW⚡ | tests/test_utils.py | 780 | def test_select_config_file_with_config_file_in_subdir(tmpdir_cwd, make_config_file): | CODE |
| LOW⚡ | tests/test_utils.py | 789 | def test_select_config_file_prefers_pip_tools_toml_over_pyproject_toml(tmpdir_cwd): | CODE |
| LOW | tests/test_utils.py | 178 | def test_format_requirement_ireq_with_hashes_and_markers(from_line): | CODE |
| LOW | tests/test_utils.py | 243 | def test_get_hashes_from_ireq(from_line): | CODE |
| LOW | tests/test_utils.py | 298 | def test_key_from_req_on_install_requirement( | CODE |
| LOW | tests/test_utils.py | 318 | def test_key_from_req_on_specifier_requirement( | CODE |
| LOW | tests/test_utils.py | 346 | def test_is_url_requirement_filename(caplog, from_line, line): | CODE |
| LOW | tests/test_utils.py | 455 | def test_get_compile_command_with_config(tmpdir_cwd, config_file, expected_command): | CODE |
| LOW | tests/test_utils.py | 472 | def test_get_compile_command_does_not_include_default_config_if_reqs_file_in_subdir( | CODE |
| LOW | tests/test_utils.py | 493 | def test_get_compile_command_escaped_filenames(tmpdir_cwd): | CODE |
| LOW | tests/test_utils.py | 506 | def test_get_compile_command_with_files(tmpdir_cwd, filename): | CODE |
| LOW | tests/test_utils.py | 525 | def test_get_compile_command_sort_args(tmpdir_cwd): | CODE |
| 235 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/sync.py | 1 | CODE | |
| LOW | piptools/build.py | 1 | CODE | |
| LOW | piptools/logging.py | 1 | CODE | |
| LOW | piptools/cache.py | 1 | CODE | |
| LOW | piptools/__init__.py | 1 | CODE | |
| LOW | piptools/utils.py | 1 | CODE | |
| LOW | piptools/resolver.py | 1 | CODE | |
| LOW | piptools/exceptions.py | 1 | CODE | |
| LOW | piptools/writer.py | 1 | CODE | |
| LOW | piptools/__main__.py | 1 | CODE | |
| LOW | piptools/locations.py | 1 | CODE | |
| LOW | piptools/_internal/_subprocess.py | 3 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 6 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 8 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 9 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 9 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 9 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 14 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 14 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 18 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 18 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 18 | CODE | |
| LOW | piptools/_internal/_pip_api/__init__.py | 18 | CODE | |
| LOW | piptools/_internal/_pip_api/cli_options.py | 5 | CODE | |
| LOW | piptools/_internal/_pip_api/install_requirements.py | 1 | CODE | |
| LOW | piptools/_internal/_pip_api/package_finder.py | 8 | CODE | |
| LOW | piptools/_internal/_pip_api/pip_version.py | 1 | CODE | |
| LOW | piptools/repositories/local.py | 1 | CODE | |
| LOW | piptools/repositories/__init__.py | 1 | CODE | |
| LOW | piptools/repositories/__init__.py | 3 | CODE | |
| LOW | piptools/repositories/__init__.py | 4 | CODE | |
| LOW | piptools/repositories/pypi.py | 1 | CODE | |
| LOW | piptools/repositories/base.py | 1 | CODE | |
| LOW | piptools/scripts/sync.py | 1 | CODE | |
| LOW | piptools/scripts/options.py | 1 | CODE | |
| LOW | piptools/scripts/_deprecations.py | 3 | CODE | |
| LOW | piptools/scripts/compile.py | 1 | CODE | |
| LOW | piptools/_compat/path_compat.py | 6 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 1 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 6 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 6 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 6 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 8 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 8 | CODE | |
| LOW | piptools/_compat/_tomllib_compat.py | 8 | CODE | |
| LOW | piptools/_compat/pip_compat.py | 1 | CODE | |
| LOW | piptools/_compat/pip_compat.py | 37 | CODE | |
| LOW | piptools/_compat/__init__.py | 1 | CODE | |
| LOW | piptools/_compat/__init__.py | 3 | CODE | |
| LOW | piptools/_compat/__init__.py | 3 | CODE | |
| LOW | piptools/_compat/__init__.py | 3 | CODE | |
| LOW | piptools/_compat/__init__.py | 3 | CODE | |
| LOW | piptools/_compat/__init__.py | 3 | CODE | |
| LOW | piptools/_compat/tempfile_compat.py | 6 | CODE | |
| LOW | tests/test_circular_imports.py | 13 | CODE | |
| LOW | tests/test_repository_local.py | 1 | CODE | |
| LOW | tests/test_utils.py | 1 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/test_logging.py | 1 | CODE | |
| LOW | tests/test_sync.py | 1 | CODE | |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | piptools/writer.py | 135 | "# This file is autogenerated by pip-compile with Python " | CODE |
| MEDIUM | tests/test_repository_local.py | 25 | # Create an install requirement with the hashes included in its options | COMMENT |
| MEDIUM | tests/test_repository_local.py | 46 | # Create an install requirement with the hashes included in its options | COMMENT |
| MEDIUM | tests/conftest.py | 343 | # Create a README to avoid setuptools warnings. | STRING |
| MEDIUM | tests/conftest.py | 346 | # Create a module to make the package importable. | STRING |
| MEDIUM | tests/conftest.py | 512 | # Create a nested directory structure if config_file_name includes directories | COMMENT |
| MEDIUM | tests/test_writer.py | 212 | "# This file is autogenerated by pip-compile with Python " | CODE |
| MEDIUM | tests/test_writer.py | 231 | "# This file is autogenerated by pip-compile with Python " | CODE |
| MEDIUM | tests/test_cache.py | 23 | # Create the file and write to it | COMMENT |
| MEDIUM⚡ | tests/test_cache.py | 85 | # Create a cache object. The keys are packages, and the values are lists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 121 | django==4.1.7 | COMMENT |
| LOW | README.md | 381 | # by the following command: | COMMENT |
| LOW | README.md | 581 | # | COMMENT |
| LOW | README.md | 601 | # pytest | COMMENT |
| LOW | piptools/build.py | 221 | # NOTE: required on Windows so that the underlying `pip install` | COMMENT |
| LOW | tests/test_cli_compile.py | 3061 | # small-fake-with-build-deps (pyproject.toml::build-system.backend::editable) | COMMENT |
| LOW | docs/requirements.txt | 1 | # | COMMENT |
| LOW | docs/requirements.txt | 21 | certifi==2026.1.4 | COMMENT |
| LOW | docs/requirements.txt | 41 | # click-extra | COMMENT |
| LOW | docs/requirements.txt | 61 | markupsafe==3.0.3 | COMMENT |
| LOW | docs/requirements.txt | 81 | # furo | COMMENT |
| LOW | docs/requirements.txt | 101 | # via sphinx | COMMENT |
| LOW | docs/requirements.txt | 141 | typing-extensions==4.15.0 | COMMENT |
| LOW | examples/readme/constraints.txt | 1 | # | COMMENT |
| LOW | examples/readme/constraints.txt | 21 | # hatchling | COMMENT |
| LOW | .github/workflows/ci.yml | 481 | ${{ runner.os }}-pip- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/sync.py | 42 | CODE | |
| LOW | piptools/sync.py | 96 | CODE | |
| LOW | piptools/utils.py | 305 | CODE | |
| LOW | piptools/resolver.py | 550 | CODE | |
| LOW | piptools/scripts/sync.py | 198 | CODE | |
| LOW | piptools/scripts/compile.py | 47 | CODE | |
| LOW | piptools/scripts/compile.py | 145 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tox.ini | 90 | # FIXME: re-enable the "-r" + "-c" paradigm once the pip bug is fixed. | COMMENT |
| MEDIUM | tox.ini | 166 | # FIXME: re-enable the "-r" + "-c" paradigm once the pip bug is fixed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/repositories/__init__.py | 6 | __all__ = ["LocalRequirementsRepository", "PyPIRepository"] | CODE |
| LOW | piptools/_compat/_tomllib_compat.py | 11 | __all__ = ["TOMLDecodeError", "load", "loads"] | CODE |
| LOW | piptools/_compat/__init__.py | 11 | __all__ = [ | CODE |
| LOW | docs/conf.py | 13 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/conf.py | 83 | # ------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/utils.py | 143 | # Check if there is any fragment to add to the URI. | COMMENT |
| LOW | piptools/scripts/compile.py | 261 | # Close the file at the end of the context execution | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/utils.py | 533 | except Exception as e: | CODE |
| LOW | tests/test_cli_compile.py | 3605 | except Exception: # pragma: no cover | STRING |
| LOW | tests/test_cli_compile.py | 3669 | except Exception: # pragma: no cover | STRING |
| LOW | tests/test_cli_compile.py | 3737 | except Exception: # pragma: no cover | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | piptools/writer.py | 43 | "# WARNING: The following packages were not pinned, but pip requires them to be" | CODE |