AI Slop Code RIsk Monitor

jupyterlab/jupyter-ai

An open source extension that connects AI agents to computational notebooks in JupyterLab.

7.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jupyterlab/jupyter-ai, a Python project with 4,411 GitHub stars. SynthScan examined 11,999 lines of code across 72 source files, recording 77 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 7.6 (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.

7.6
Adjusted Signal
7.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
4.4K
Stars
Python
Language
12.0K
Lines of Code
72
Files
77
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 51 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.3/100 · LOW

Are imports declared and package/API names verified? 8 finding(s).

Agent Over-Engineering Ratio 22.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 55 finding(s).

PR Review Velocity Impact 35.4/100 · MEDIUM

Which changes need focused human review? 77 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 2MEDIUM 9LOW 66

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 77 distinct pattern matches across 9 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.

Hyper-Verbose Identifiers37 hits · 26 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/subpackage_docs.py109def _inject_subpackage_toctrees(app: Sphinx, docname: str, source: list[str]) -> None:CODE
LOW…e/developers/entry_points_api/model_providers_group.md175 async def generate_inline_completions(self, request: InlineCompletionRequest):CODE
LOW…e/developers/entry_points_api/model_providers_group.md184 async def stream_inline_completions(self, request: InlineCompletionRequest):CODE
LOW…e/developers/entry_points_api/model_providers_group.md302 async def generate_inline_completions(self, request: InlineCompletionRequest):CODE
LOWdocs/tests/test_release_notes.py165def test_demote_headings_shifts_all_levels():CODE
LOWdocs/tests/test_release_notes.py179def test_strip_to_pr_groups_drops_heading_link_and_contributors():CODE
LOWdocs/tests/test_release_notes.py193def test_strip_to_pr_groups_keeps_subsection_headings():CODE
LOWdocs/tests/test_release_notes.py199def test_submodule_section_format(monkeypatch):CODE
LOWdocs/tests/test_release_notes.py222def test_submodule_section_added_when_no_prev_floor(monkeypatch):CODE
LOWdocs/tests/test_release_notes.py238def test_submodule_section_optional_note(monkeypatch):CODE
LOWdocs/tests/test_release_notes.py258def test_submodule_section_no_optional_note_by_default(monkeypatch):CODE
LOWdocs/tests/test_release_notes.py273def test_optional_only_names_excludes_core_deps():CODE
LOW⚡docs/tests/test_release_notes.py44def test_norm_unifies_separators_and_case():STRING
LOW⚡docs/tests/test_release_notes.py48def test_spec_floor_reads_lower_bound():STRING
LOW⚡docs/tests/test_release_notes.py54def test_spec_floor_none_without_lower_bound():STRING
LOW⚡docs/tests/test_release_notes.py59def test_load_floors_covers_deps_and_extras():STRING
LOW⚡docs/tests/test_release_notes.py68def test_load_ranges_normalizes_names():STRING
LOW⚡docs/tests/test_release_notes.py74def test_resolve_tag_picks_max_matching():STRING
LOW⚡docs/tests/test_release_notes.py80def test_resolve_tag_none_when_no_match():STRING
LOW⚡docs/tests/test_release_notes.py84def test_resolve_floor_tag_exact_and_spelling_tolerant():STRING
LOW⚡docs/tests/test_release_notes.py91def test_resolve_floor_tag_none_when_absent():STRING
LOW⚡docs/tests/test_release_notes.py109def test_window_start_inline_returns_tag(monkeypatch):STRING
LOW⚡docs/tests/test_release_notes.py119def test_window_start_diverged_returns_merge_base(monkeypatch):STRING
LOW⚡docs/tests/test_release_notes.py129def test_window_start_missing_merge_base_falls_back(monkeypatch):STRING
LOW⚡docs/tests/test_release_notes.py135def test_normalize_version_adds_v_prefix():STRING
LOWdocs/tests/test_release_notes.py292def test_submodule_section_omits_empty_pr_body(monkeypatch):STRING
LOWdocs/tests/test_release_notes.py368def test_build_page_covers_extra_changelog_repos(monkeypatch, tmp_path):STRING
LOWdocs/tests/test_release_notes.py421def test_extra_changelog_repos_disjoint_from_manifest():STRING
LOWdocs/tests/test_release_notes.py437def test_default_summary_omits_window_line_without_prev_tag():STRING
LOWdocs/tests/test_release_notes.py470def test_regenerate_auto_regions_preserves_summary_and_out_of_band_edits():STRING
LOWdocs/tests/test_release_notes.py495def test_regenerate_auto_regions_aborts_on_region_count_mismatch():STRING
LOWdocs/tests/test_release_notes.py503def test_update_index_toctree_inserts_sorted_descending(tmp_path):STRING
LOWdocs/tests/test_release_notes.py518def test_update_index_toctree_is_idempotent(tmp_path):STRING
LOWdocs/tests/test_release_notes.py529def test_update_index_toctree_preserves_options(tmp_path):STRING
LOWdocs/tests/test_subpackage_docs.py89def test_neither_and_missing_index_skipped(make_site):CODE
LOWdocs/tests/test_subpackage_docs.py111def test_full_subtree_with_nested_page_and_image(make_site):CODE
LOWdocs/tests/test_subpackage_docs.py153def test_baseline_no_submodules(make_site):CODE
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMdocs/source/roadmap/new-persona-api.md103 # ─── Lifecycle methods ────────────────────────────────COMMENT
MEDIUMdocs/source/roadmap/new-persona-api.md117 # ─── Process message (delegates to self.engine) ───────COMMENT
MEDIUMdocs/source/roadmap/new-persona-api.md120 # ─── Runtime update APIs ────────────────────────────────COMMENT
MEDIUMdocs/source/roadmap/new-persona-api.md132 # ─── Lifecycle methods ────────────────────────────────COMMENT
MEDIUMdocs/source/roadmap/new-persona-api.md141 # ─── Process message ────────────────────────────────COMMENT
Modern AI Meta-Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md11Agents in Jupyter AI can read and write files, run terminal commands, and interact with notebooks through a built-in [JuCODE
MEDIUMdocs/source/roadmap/new-persona-api.md232### Example 1: Defining agentic AI personas powered by local modelsCOMMENT
MEDIUMdocs/source/users/magic_commands/index.md206### Configuring context windowCOMMENT
MEDIUM…elopers/entry_points_api/embeddings_providers_group.md21## How-to: Define a custom embedding model providerCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/source/_ext/autodoc_subpackages.py119except Exception:CODE
HIGHdocs/source/_ext/autodoc_subpackages.py324except Exception:CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpyproject.toml81# release is committed and tagged, freeze the documentation submodules to theCOMMENT
LOWscripts/update-doc-submodules.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/rtd-post-checkout.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/generate_release_notes.py81# a contributor added outside the auto regions — is preserved verbatim. This letsCOMMENT
LOWscripts/freeze-doc-submodules.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/prep-release-docs.yml1name: "Step 0: Prep release documentation"COMMENT
LOW.github/workflows/update-submodule-docs.yml1name: Update submodule documentationCOMMENT
LOWui-tests/jupyter_server_test_config.py41# playwright.config.js); persona-manager reads the MCP port to build itsCOMMENT
Excessive Try-Catch Wrapping8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/autodoc_subpackages.py119 except Exception:CODE
LOWdocs/source/_ext/autodoc_subpackages.py125 except Exception:CODE
LOWdocs/source/_ext/autodoc_subpackages.py143 except Exception:CODE
LOWdocs/source/_ext/autodoc_subpackages.py250 except Exception as exc: # pragma: no cover - defensiveCODE
LOWdocs/source/_ext/autodoc_subpackages.py324 except Exception:CODE
LOWscripts/_submodule_versions.py72 except Exception: # pragma: no cover - defensiveCODE
LOWscripts/_submodule_versions.py129 except Exception: # pragma: no cover - defensiveCODE
LOWscripts/_submodule_versions.py137 except Exception: # pragma: no cover - defensiveCODE
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/autodoc_subpackages.py35CODE
LOWdocs/source/_ext/subpackage_docs.py38CODE
LOWdocs/tests/conftest.py19CODE
LOWdocs/tests/test_release_notes.py12CODE
LOWdocs/tests/test_subpackage_docs.py18CODE
LOWscripts/_resolve_doc_submodules.py42CODE
LOWscripts/generate_release_notes.py48CODE
LOWscripts/_submodule_versions.py25CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/autodoc_subpackages.py51logger = logging.getLogger(__name__)CODE
LOWdocs/source/_ext/subpackage_docs.py47logger = logging.getLogger(__name__)CODE
LOWscripts/generate_release_notes.py553def update_index_toctree(index_path: str, stem: str) -> None:CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocs/tests/conftest.py107CODE
LOWdocs/tests/conftest.py122CODE