Repository Analysis

jupyter/docker-stacks

Ready-to-run Docker images containing Jupyter applications

5.9 Low AI signal View on GitHub

Analysis Overview

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).

5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-07-13
Last Push
8.4K
Stars
Python
Language
12.3K
Lines of Code
215
Files
51
Pattern Hits
2026-07-14
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

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.

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 5MEDIUM 1LOW 45

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 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.

Hyper-Verbose Identifiers27 hits · 27 pts
SeverityFileLineSnippetContext
LOW…_image/docker-stacks-foundation/test_python_version.py26def test_python_pinned_version(container: TrackedContainer) -> None:CODE
LOW…sts/by_image/docker-stacks-foundation/test_packages.py79def check_import_python_package(container: TrackedContainer, package: str) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py38def test_log_format_includes_timestamp(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py50def test_quiet_mode_suppresses_info(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py62def test_quiet_mode_shows_warnings(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py74def test_log_without_level_defaults_to_info(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py102def test_log_no_color_without_tty(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py117def test_log_fatal_exits_nonzero(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py132def test_log_fatal_color_on_tty(container: TrackedContainer) -> None:CODE
LOWtests/by_image/docker-stacks-foundation/test_logging.py147def test_log_no_color_env_override(container: TrackedContainer) -> None:CODE
LOW…ts/by_image/docker-stacks-foundation/test_run_hooks.py42def test_run_hooks_missing_dir(container: TrackedContainer) -> None:CODE
LOW…ts/by_image/docker-stacks-foundation/test_run_hooks.py58def test_run_hooks_dir_is_file(container: TrackedContainer) -> None:CODE
LOW…ts/by_image/docker-stacks-foundation/test_run_hooks.py125def test_run_hooks_executables(container: TrackedContainer) -> None:CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py146def test_sudo_path_without_grant(container: TrackedContainer) -> None:CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py207def test_container_not_delete_bind_mount(CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py234def test_jupyter_env_vars_to_unset(CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py278def test_startsh_multiple_exec(container: TrackedContainer) -> None:CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py293def test_rootless_triplet_change(container: TrackedContainer) -> None:CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py306def test_rootless_triplet_home(container: TrackedContainer) -> None:CODE
LOW…by_image/docker-stacks-foundation/test_user_options.py318def test_rootless_triplet_sudo(container: TrackedContainer) -> None:CODE
LOWtests/by_image/base-notebook/test_container_options.py93def test_custom_internal_port(CODE
LOWwiki/update_wiki.py68def generate_home_wiki_tables(repository: str, all_years: list[YearFiles]) -> str:CODE
LOWtagging/utils/get_prefix.py8def get_file_prefix_for_platform(*, platform: str, variant: str) -> str:CODE
LOWtagging/utils/get_prefix.py12def _get_tag_prefix_for_platform(*, platform: str, variant: str) -> str:CODE
LOWtagging/taggers/versions.py28def python_major_minor_tagger(container: Container) -> str:CODE
LOWtagging/manifests/conda_environment.py10def conda_environment_manifest(container: Container) -> MarkdownPiece:CODE
LOWtagging/apps/merge_tags.py25def read_local_tags_from_files(config: Config) -> set[str]:CODE
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…ts/by_image/docker-stacks-foundation/test_run_hooks.py67 "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.py81 "mkdir /tmp/empty-dir && source /usr/local/bin/run-hooks.sh /tmp/empty-dir/",CODE
HIGH…by_image/docker-stacks-foundation/test_user_options.py20 command=["bash", "-c", "id && touch /opt/conda/test-file"],CODE
HIGHtests/by_image/scipy-notebook/test_cython.py21 f"cp -r {cont_data_dir}/ /tmp/test/ && cd /tmp/test && python3 setup.py build_ext",CODE
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1---COMMENT
LOWmypy.ini1# Mypy is an optional static type checker for Python that aims to combineCOMMENT
LOW.readthedocs.yaml21sphinx:COMMENT
LOWimages/docker-stacks-foundation/10activate-conda-env.sh1#!/bin/bashCOMMENT
LOWimages/docker-stacks-foundation/start.sh41# shellcheck source=images/docker-stacks-foundation/run-hooks.shCOMMENT
LOWimages/docker-stacks-foundation/start.sh161 # happens to the environment will be determined by configuration inCOMMENT
LOW…nimal-notebook/setup-scripts/setup-julia-packages.bash1#!/bin/bashCOMMENT
LOWimages/pyspark-notebook/ipython_kernel_config.py1# Configuration file for ipython-kernel.COMMENT
LOWtests/utils/conda_package_helper.py1# Copyright (c) Jupyter Development Team.COMMENT
LOWdocs/contributing/packages.md21# INFO test_outdated:test_outdated.py:80 3/8 (38%) packages could be updatedCOMMENT
LOWdocs/using/specifics.md81# / __/__ ___ _____/ /__COMMENT
LOW.github/workflows/scorecard.yml41 - name: "Run analysis"COMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexamples/make-deploy/README.md109 SOFTLAYER_API_KEY=your_api_keyCODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/docker-compose/notebook/up.sh64# Create a Docker volume to store notebooksCOMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ts/by_image/docker-stacks-foundation/test_run_hooks.py3CODE
LOWtests/by_image/pyspark-notebook/units/unit_spark.py3CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/by_image/pytorch-notebook/units/unit_pytorch.py7# Check if GPU is availableCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWwiki/update_wiki.py151def update_monthly_wiki_page(wiki_dir: Path, build_history_line: str) -> None:CODE
LOWwiki/update_wiki.py203def update_wiki(config: Config) -> None:STRING
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtagging/apps/common_cli_arguments.py10CODE