Ready-to-run Docker images containing Jupyter applications
This report presents the forensic synthetic code analysis of jupyter/docker-stacks, a Python project with 8,444 GitHub stars. SynthScan v2.0 examined 12,326 lines of code across 215 source files, recording 51 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 5.9 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).
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.
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 51 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_image/docker-stacks-foundation/test_python_version.py | 26 | def test_python_pinned_version(container: TrackedContainer) -> None: | CODE |
| LOW | …sts/by_image/docker-stacks-foundation/test_packages.py | 79 | def check_import_python_package(container: TrackedContainer, package: str) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 38 | def test_log_format_includes_timestamp(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 50 | def test_quiet_mode_suppresses_info(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 62 | def test_quiet_mode_shows_warnings(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 74 | def test_log_without_level_defaults_to_info(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 102 | def test_log_no_color_without_tty(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 117 | def test_log_fatal_exits_nonzero(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 132 | def test_log_fatal_color_on_tty(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 147 | def test_log_no_color_env_override(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 42 | def test_run_hooks_missing_dir(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 58 | def test_run_hooks_dir_is_file(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 125 | def test_run_hooks_executables(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 146 | def test_sudo_path_without_grant(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 207 | def test_container_not_delete_bind_mount( | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 234 | def test_jupyter_env_vars_to_unset( | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 278 | def test_startsh_multiple_exec(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 293 | def test_rootless_triplet_change(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 306 | def test_rootless_triplet_home(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 318 | def test_rootless_triplet_sudo(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/base-notebook/test_container_options.py | 93 | def test_custom_internal_port( | CODE |
| LOW | wiki/update_wiki.py | 68 | def generate_home_wiki_tables(repository: str, all_years: list[YearFiles]) -> str: | CODE |
| LOW | tagging/utils/get_prefix.py | 8 | def get_file_prefix_for_platform(*, platform: str, variant: str) -> str: | CODE |
| LOW | tagging/utils/get_prefix.py | 12 | def _get_tag_prefix_for_platform(*, platform: str, variant: str) -> str: | CODE |
| LOW | tagging/taggers/versions.py | 28 | def python_major_minor_tagger(container: Container) -> str: | CODE |
| LOW | tagging/manifests/conda_environment.py | 10 | def conda_environment_manifest(container: Container) -> MarkdownPiece: | CODE |
| LOW | tagging/apps/merge_tags.py | 25 | def read_local_tags_from_files(config: Config) -> set[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 67 | "touch /tmp/some-file && source /usr/local/bin/run-hooks.sh /tmp/some-file", | CODE |
| HIGH | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 81 | "mkdir /tmp/empty-dir && source /usr/local/bin/run-hooks.sh /tmp/empty-dir/", | CODE |
| HIGH | …by_image/docker-stacks-foundation/test_user_options.py | 20 | command=["bash", "-c", "id && touch /opt/conda/test-file"], | CODE |
| HIGH | tests/by_image/scipy-notebook/test_cython.py | 21 | f"cp -r {cont_data_dir}/ /tmp/test/ && cd /tmp/test && python3 setup.py build_ext", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 1 | --- | COMMENT |
| LOW | mypy.ini | 1 | # Mypy is an optional static type checker for Python that aims to combine | COMMENT |
| LOW | .readthedocs.yaml | 21 | sphinx: | COMMENT |
| LOW | images/docker-stacks-foundation/10activate-conda-env.sh | 1 | #!/bin/bash | COMMENT |
| LOW | images/docker-stacks-foundation/start.sh | 41 | # shellcheck source=images/docker-stacks-foundation/run-hooks.sh | COMMENT |
| LOW | images/docker-stacks-foundation/start.sh | 161 | # happens to the environment will be determined by configuration in | COMMENT |
| LOW | …nimal-notebook/setup-scripts/setup-julia-packages.bash | 1 | #!/bin/bash | COMMENT |
| LOW | images/pyspark-notebook/ipython_kernel_config.py | 1 | # Configuration file for ipython-kernel. | COMMENT |
| LOW | tests/utils/conda_package_helper.py | 1 | # Copyright (c) Jupyter Development Team. | COMMENT |
| LOW | docs/contributing/packages.md | 21 | # INFO test_outdated:test_outdated.py:80 3/8 (38%) packages could be updated | COMMENT |
| LOW | docs/using/specifics.md | 81 | # / __/__ ___ _____/ /__ | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | - name: "Run analysis" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/make-deploy/README.md | 109 | SOFTLAYER_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/docker-compose/notebook/up.sh | 64 | # Create a Docker volume to store notebooks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 3 | CODE | |
| LOW | tests/by_image/pyspark-notebook/units/unit_spark.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/by_image/pytorch-notebook/units/unit_pytorch.py | 7 | # Check if GPU is available | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wiki/update_wiki.py | 151 | def update_monthly_wiki_page(wiki_dir: Path, build_history_line: str) -> None: | CODE |
| LOW | wiki/update_wiki.py | 203 | def update_wiki(config: Config) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tagging/apps/common_cli_arguments.py | 10 | CODE |