AI Slop Code Risk Monitor

jupyterlab/jupyterlab

SlopCodeMonitor badge for jupyterlab/jupyterlab Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

JupyterLab computational environment.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jupyterlab/jupyterlab, a TypeScript project with 15,385 GitHub stars. SynthScan examined 424,166 lines of code across 2414 source files, recording 395 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low 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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
15.4K
Stars
TypeScript
Language
424.2K
Lines of Code
2.4K
Files
395
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.6/100 · LOW

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

Agent Over-Engineering Ratio 4.0/100 · LOW

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

PR Review Velocity Impact 9.8/100 · LOW

Which changes need focused human review? 395 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 25HIGH 46MEDIUM 14LOW 310

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 395 distinct pattern matches across 20 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.

Hallucination Indicators25 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALgalata/test/jupyterlab/outputarea-stdin.test.ts157 e.cmTile.view.state.doc.toString()CODE
CRITICALpackages/fileeditor/src/toc/markdown.ts52 const content = this.widget.content.model.sharedModel.getSource();CODE
CRITICALpackages/codeeditor/src/lineCol.tsx353 this._editor.model.selections.changed.connect(this._onSelectionChanged);CODE
CRITICALpackages/filebrowser-extension/src/index.ts2100 const driveName = browser.model.manager.services.contents.driveName(path);CODE
CRITICALpackages/notebook-extension/src/index.ts3053 panel.content.model.cells.changed.connect(CODE
CRITICALpackages/completer/test/inline.spec.ts117 editorWidget.editor.model.sharedModel.changed.connect(onContentChange);CODE
CRITICALpackages/completer/test/inline.spec.ts121 editorWidget.editor.model.sharedModel.changed.disconnect(CODE
CRITICALpackages/filebrowser/src/crumbs.ts448 const localPath = this._model.manager.services.contents.localPath(CODE
CRITICALpackages/filebrowser/src/crumbs.ts550 const currentPath = this._model.manager.services.contents.localPath(CODE
CRITICALpackages/filebrowser/src/pathnavigator.ts168 this._submittedLocalPath = this._model.manager.services.contents.localPath(CODE
CRITICALpackages/settingeditor/src/raweditor.ts71 user.editor.model.sharedModel.changed.connect(this._onTextChanged, this);CODE
CRITICALpackages/settingeditor/src/raweditor.ts119 this._user.editor.model.sharedModel.getSource() !==CODE
CRITICALpackages/settingeditor/src/raweditor.ts199 this._user.editor.model.sharedModel.setSource(this.settings?.raw ?? '');CODE
CRITICALpackages/settingeditor/src/raweditor.ts212 const source = this._user.editor.model.sharedModel.getSource();CODE
CRITICALpackages/settingeditor/src/raweditor.ts237 const raw = this._user.editor.model.sharedModel.getSource();CODE
CRITICAL⚡packages/debugger/src/handlers/editor.ts69 this._debuggerService.model.breakpoints.changed.connect(async () => {CODE
CRITICAL⚡packages/debugger/src/handlers/editor.ts77 this._debuggerService.model.breakpoints.restored.connect(async () => {CODE
CRITICAL⚡packages/debugger/src/handlers/editor.ts85 this._debuggerService.model.breakpoints.selectedChanged.connect(CODE
CRITICAL⚡packages/debugger/src/handlers/editor.ts93 this._debuggerService.model.callstack.currentFrameChanged.connect(CODE
CRITICALpackages/debugger/src/handlers/console.ts58 this._consolePanel.console.cells.changed.connect(addHandlers);CODE
CRITICALpackages/notebook/src/notebooklspadapter.ts238 this.widget.context.sessionContext.kernelChanged.disconnect(CODE
CRITICALpackages/notebook/src/notebooklspadapter.ts386 this.widget.context.sessionContext.kernelChanged.connect(CODE
CRITICALpackages/notebook/src/toc.ts113 this.widget.context.model.metadataChanged.connect(CODE
CRITICAL…uts-extension/src/components/ShortcutCustomOptions.tsx203 this._editor.model.sharedModel.changed.connect(this._validateJSON, this);CODE
CRITICAL…uts-extension/src/components/ShortcutCustomOptions.tsx231 this._editor.model.sharedModel.changed.disconnect(this._validateJSON, this);CODE
Hyper-Verbose Identifiers170 hits · 172 pts
SeverityFileLineSnippetContext
LOWconftest.py37def pytest_collection_modifyitems(config: Config, items: list[Item]):CODE
LOWbuildutils/src/update-staging-lock.ts140function extractNameFromDescriptor(name: string): string {CODE
LOWgalata/test/memory-leak/notebook.test.ts29async function captureNotebookPrototypes(CODE
LOWgalata/test/memory-leak/notebook.test.ts57async function waitForCurrentNotebookReady(CODE
LOWgalata/test/jupyterlab/terminal.test.ts23async function waitForTerminalLayoutSaved(CODE
LOWgalata/test/jupyterlab/notebook-navigate.test.ts62function attachNotebookMutationObserver() {CODE
LOWgalata/test/jupyterlab/notebook-toolbar.test.ts21async function addWidgetsInNotebookToolbar(CODE
LOWgalata/test/jupyterlab/metadataform.test.ts95async function activatePropertyInspector(page: IJupyterLabPageFixture) {CODE
LOWgalata/test/jupyterlab/utils.ts57export async function positionCellPartiallyBelowViewport(CODE
LOWgalata/test/jupyterlab/notebook-markdown.test.ts10async function enterEditingModeForScreenshot(CODE
LOWgalata/src/galata.ts641 export async function freezeContentLastModified(CODE
LOWgalata/src/utils.ts268export function xpBuildActivityTabSelector(name: string): string {CODE
LOWgalata/src/utils.ts283export function xpBuildActivityPanelSelector(id: string): string {CODE
LOWgalata/src/utils.ts296export function xpBuildActiveActivityTabSelector(): string {CODE
LOWgalata/src/helpers/terminal.ts151 export function workspaceSaveIncludesTitle(CODE
LOWdocs/source/conf.py223def copy_automated_screenshots(temp_folder: Path) -> list[Path]:CODE
LOWdocs/source/conf.py294def _format_command_arguments(args_schema: dict) -> str:CODE
LOWdocs/source/conf.py395def document_plugins_tokens_list(list_path: Path, output_path: Path) -> None:CODE
LOWdocs/source/_ext/shellcheck_builder.py173 def _disable_intersphinx_for_shellcheck(sphinx_app: Sphinx) -> None:CODE
LOWdev_mode/index.js278 async function loadDeferredDisabledFederatedPlugins() {CODE
LOWexamples/example_check.py84 def _jupyter_server_extension_points() -> list[dict[str, str | type]]:CODE
LOWexamples/app/main.py19def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/terminal/main.py29def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/cell/main.py29def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/filebrowser/main.py26def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/notebook/main.py29def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/federated/main.py19def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWexamples/localization/main.py31def _jupyter_server_extension_points() -> list[dict[str, str | type[ExampleApp]]]:CODE
LOWexamples/console/main.py26def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWscripts/unpack_snapshots.py168def collect_snapshot_attachments(CODE
LOWpackages/fileeditor-extension/src/commands.ts1462 export function addCreateNewMarkdownToLauncher(CODE
LOWpackages/fileeditor-extension/src/commands.ts1477 export function addKernelLanguageLauncherItems(CODE
LOWpackages/fileeditor-extension/src/commands.ts1525 export function addChangeTabsCommandsToPalette(CODE
LOWpackages/fileeditor-extension/src/commands.ts1547 export function addCreateNewCommandToPalette(CODE
LOWpackages/fileeditor-extension/src/commands.ts1562 export function addCreateNewMarkdownCommandToPalette(CODE
LOWpackages/fileeditor-extension/src/commands.ts1577 export function addMarkdownPreviewCommandToPalette(CODE
LOWpackages/fileeditor-extension/src/commands.ts1591 export function addChangeFontSizeCommandsToPalette(CODE
LOWpackages/fileeditor-extension/src/commands.ts1609 export function addKernelLanguagePaletteItems(CODE
LOWpackages/fileeditor-extension/src/commands.ts1686 export function addKernelLanguageMenuItems(CODE
LOWpackages/fileeditor-extension/src/index.ts596function activateFileEditorCompleterService(CODE
LOWpackages/fileeditor-extension/src/index.ts685function activateFileEditorLanguageServer(CODE
LOWpackages/codemirror/src/commands.ts164 export function simplifySelectionAndMaybeSwitchToCommandMode(target: {CODE
LOWpackages/codemirror/src/commands.ts186 export function dedentIfNotLaunchingTooltip(target: {CODE
LOWpackages/codemirror/src/extension.ts594 export function createConditionalExtension(CODE
LOWpackages/codemirror-extension/src/commands.ts51function toggleBlockCommentWithFallback(view: EditorView): boolean {CODE
LOWpackages/apputils-extension/test/state.spec.ts65 function getResetOnLoadRegistration(): {CODE
LOWpackages/rendermime/src/renderers.ts1749 export function registerFirstPaintResolver(CODE
LOWpackages/rendermime/src/livetext.ts387function computeSelectionCharacterOffset(CODE
LOWpackages/notebook-extension/src/index.ts2787function activateNotebookCompleterService(CODE
LOWpackages/notebook-extension/src/index.ts2911function activateNotebookLanguageServer(CODE
LOWpackages/notebook-extension/src/index.ts5886 export function isEnabledAndSingleSelected(CODE
LOWpackages/notebook-extension/src/index.ts5908 export function isEnabledAndHeadingSelected(CODE
LOW…es/ui-components/examples/simple-windowed-list/main.py29def _jupyter_server_extension_points() -> list[dict[str, str | type[LabServerApp]]]:CODE
LOWpackages/ui-components/src/components/toolbar.tsx1108export function CommandToolbarButtonComponent(CODE
LOWpackages/ui-components/src/components/toolbar.tsx1132export function addCommandToolbarButtonClass(w: Widget): Widget {CODE
LOWpackages/docregistry/src/kernelfilestypes.ts13export async function getAvailableKernelFileTypes(CODE
LOWpackages/docregistry/src/testutils.ts39export async function createFileContextWithKernel(CODE
LOWpackages/docregistry/src/testutils.ts59export async function createFileContextWithMockedServices(CODE
LOWpackages/docregistry/src/testutils.ts98export function createSimpleSessionContext(CODE
LOWpackages/docregistry/src/registry.ts1371 export function getDefaultNotebookFileType(CODE
110 more matches not shown…
Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHexamples/terminal/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGHexamples/cell/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGHexamples/notebook/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGHexamples/filebrowser/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGHexamples/console/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGH…es/ui-components/examples/simple-windowed-list/main.py0an example demonstrating a stand-alone windowed list. copyright (c) jupyter development team. distributed under the termSTRING
HIGHexamples/terminal/main.py0handle requests between the main app page and notebook server.STRING
HIGHexamples/cell/main.py0handle requests between the main app page and notebook server.STRING
HIGH…es/ui-components/examples/simple-windowed-list/main.py0handle requests between the main app page and notebook server.STRING
HIGH…rvices/examples/typescript-browser-with-output/main.py0handle requests between the main app page and notebook server.STRING
HIGHpackages/services/examples/browser-require/main.py0handle requests between the main app page and notebook server.STRING
HIGHpackages/services/examples/browser/main.py0handle requests between the main app page and notebook server.STRING
HIGH…rvices/examples/typescript-browser-with-output/main.py0copyright (c) jupyter development team. distributed under the terms of the modified bsd license.STRING
HIGHpackages/services/examples/browser-require/main.py0copyright (c) jupyter development team. distributed under the terms of the modified bsd license.STRING
HIGHpackages/services/examples/browser/main.py0copyright (c) jupyter development team. distributed under the terms of the modified bsd license.STRING
HIGHjupyterlab/extensions/readonly.py0install the required extension. note: if the user must be notified with a message (like asking to restart the server), tSTRING
HIGHjupyterlab/extensions/manager.py0install the required extension. note: if the user must be notified with a message (like asking to restart the server), tSTRING
HIGHjupyterlab/extensions/pypi.py0install the required extension. note: if the user must be notified with a message (like asking to restart the server), tSTRING
HIGHjupyterlab/extensions/readonly.py0uninstall the required extension. note: if the user must be notified with a message (like asking to restart the server),STRING
HIGHjupyterlab/extensions/pypi.py0uninstall the required extension. note: if the user must be notified with a message (like asking to restart the server),STRING
HIGHjupyterlab/extensions/manager.py0uninstall the required extension. note: if the user must be notified with a message (like asking to restart the server),STRING
Cross-Language Confusion (JS/TS)16 hits · 95 pts
SeverityFileLineSnippetContext
HIGHgalata/test/jupyterlab/outputarea-stdin.test.ts13print('before sleep')CODE
HIGHgalata/test/jupyterlab/outputarea-stdin.test.ts15print('after sleep')`;CODE
HIGHgalata/test/jupyterlab/console.test.ts99print("Hello")CODE
HIGHgalata/test/jupyterlab/console.test.ts100print("World")CODE
HIGHgalata/test/jupyterlab/console.test.ts126print(data.head())`;CODE
HIGHgalata/test/jupyterlab/console.test.ts147 print(f"Even: {i}")CODE
HIGHgalata/test/jupyterlab/console.test.ts149 print(f"Odd: {i}")CODE
HIGH⚡galata/test/jupyterlab/console.test.ts183 print("Line 1")CODE
HIGH⚡galata/test/jupyterlab/console.test.ts184 print("Line 2")CODE
HIGHgalata/test/jupyterlab/console.test.ts212print("Testing auto-resize")CODE
HIGHgalata/test/jupyterlab/console.test.ts213print("After execution")`;CODE
HIGH⚡galata/test/jupyterlab/console.test.ts231 print("This is line 1")CODE
HIGH⚡galata/test/jupyterlab/console.test.ts232 print("This is line 2")CODE
HIGH⚡galata/test/jupyterlab/console.test.ts233 print("This is line 3")CODE
HIGH⚡galata/test/jupyterlab/console.test.ts235 print(f"Loop iteration {i}")CODE
HIGHpackages/lsp/schema.js40print(files("${serverPackage}")/ "${schemaLocalPath}")CODE
Over-Commented Block30 hits · 30 pts
SeverityFileLineSnippetContext
LOWpyproject.toml341# S101 Use of `assert` detectedCOMMENT
LOWgalata/test/documentation/extension_manager.test.ts121 await waitRequest;COMMENT
LOWgalata/test/jupyterlab/windowed-notebook.test.ts301 await page.keyboard.press(testCase.key);COMMENT
LOWdocs/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdocs/source/conf.py501# -- Options for LaTeX output ---------------------------------------------COMMENT
LOWpackages/codemirror/src/extension.ts741 // with Ctrl+Shift+K.COMMENT
LOWpackages/rendermime/test/renderers.spec.ts501 it('keeps the default frame budget when sharing frames with another output', async () => {COMMENT
LOWpackages/rendermime/test/renderers.spec.ts961 const anchors = host.querySelectorAll('a');COMMENT
LOWpackages/rendermime/src/renderers.ts841 const { host, sanitizer, source } = options;COMMENT
LOWpackages/rendermime/src/renderers.ts901 // the remaining text, and the linkified nodes produced so far. PersistingCOMMENT
LOWpackages/rendermime/src/renderers.ts921 // The live `<pre>` this render commits its auto-linking progress intoCOMMENT
LOWpackages/rendermime/src/renderers.ts941 // render, which with streamed outputs would mean one per chunk): rendering isCOMMENT
LOWpackages/rendermime/src/renderers.ts1001 if (!host.isConnected) {COMMENT
LOWpackages/rendermime/src/renderers.ts1021 return stopRendering();COMMENT
LOWpackages/rendermime/src/renderers.ts1041 // paint is not held back; only subsequent work (auto-linking, streamCOMMENT
LOWpackages/rendermime/src/renderers.ts1061 // large outputs the browser-side frame cost (style/layout/paint of theCOMMENT
LOWpackages/rendermime/src/renderers.ts1141 // the seeded progress: adoption trims the committed region back toCOMMENT
LOWpackages/rendermime/src/renderers.ts1221 // Continue unless:COMMENT
LOWpackages/ui-components/test/toolbar.spec.ts861 it.skip('should add event listeners to the node', () => {COMMENT
LOWpackages/ui-components/src/svg.d.ts1// Copyright (c) Jupyter Development Team.COMMENT
LOWpackages/ui-components/src/svg.d.ts21// export default value;COMMENT
LOWpackages/ui-components/src/svg.d.ts41// }COMMENT
LOWpackages/ui-components/src/components/windowedlist.ts1141 // While we wait, the scroll has not happened yet, so theCOMMENT
LOWpackages/apputils/test/sessioncontext.spec.ts501 });COMMENT
LOWpackages/filebrowser/src/listing.ts2461 // focused-but-not-selected state.)COMMENT
LOWpackages/debugger/src/hash.ts1// Copyright (c) Jupyter Development Team.COMMENT
LOWpackages/services/src/kernel/future.ts181 // }COMMENT
LOW.github/openssf-scorecard.yml41 with:COMMENT
LOW.github/workflows/codeql-analysis.yml61 # ℹ️ Command-line programs to run using the OS shell.COMMENT
LOWjupyterlab/handlers/__init__.py1# Copyright (c) Jupyter Development Team.COMMENT
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHdocs/source/conf.py609except Exception: # noqa S110CODE
HIGHjupyterlab/debuglog.py76except FileNotFoundError:CODE
HIGHjupyterlab/labapp.py365except NoStart:CODE
HIGHjupyterlab/commands.py2169except URLError:CODE
HIGHjupyterlab/commands.py2275except StopIteration:CODE
HIGHjupyterlab/tests/test_app.py126except OSError:CODE
Excessive Try-Catch Wrapping27 hits · 28 pts
SeverityFileLineSnippetContext
LOWdocs/source/conf.py80 except Exception:CODE
LOWdocs/source/conf.py609 except Exception: # noqa S110CODE
MEDIUMscripts/milestone_check.py41 print("Error: exactly one argument expected, the milestone.")CODE
LOWjupyterlab/debuglog.py59 except Exception as ex:CODE
LOWjupyterlab/browser_check.py129 except Exception as e:CODE
LOWjupyterlab/browser_check.py147 except Exception as e:CODE
LOWjupyterlab/labapp.py214 except Exception as e:STRING
LOWjupyterlab/labapp.py872 except Exception as err:CODE
LOWjupyterlab/commands.py2237 except Exception:CODE
LOWjupyterlab/commands.py2284 except Exception as e:CODE
LOWjupyterlab/commands.py2316 except Exception:CODE
LOWjupyterlab/tests/test_app.py207 except Exception as e:CODE
LOWjupyterlab/extensions/pypi.py340 except Exception:CODE
LOWjupyterlab/extensions/pypi.py643 except Exception as err:CODE
LOWjupyterlab/extensions/pypi.py695 except Exception as e:CODE
LOWjupyterlab/extensions/pypi.py759 except Exception as e:CODE
LOWjupyterlab/extensions/manager.py274 except Exception as err:CODE
LOWjupyterlab/extensions/manager.py300 except Exception as err:CODE
LOWjupyterlab/handlers/plugin_manager_handler.py53 except Exception as e:CODE
LOWjupyterlab/handlers/build_handler.py78 except Exception as e:CODE
LOWjupyterlab/handlers/build_handler.py91 except Exception as e:CODE
LOWjupyterlab/handlers/build_handler.py143 except Exception:CODE
LOWjupyterlab/handlers/build_handler.py177 except Exception as e:CODE
LOWjupyterlab/handlers/build_handler.py187 except Exception as e:CODE
LOWjupyterlab/handlers/extension_manager_handler.py140 except Exception as e:CODE
LOWjupyterlab/handlers/announcements.py115 except Exception as e:CODE
LOWjupyterlab/handlers/announcements.py294 except Exception as e:CODE
Deep Nesting23 hits · 20 pts
SeverityFileLineSnippetContext
LOWconftest.py37CODE
LOWdocs/source/conf.py197CODE
LOWdocs/source/conf.py308CODE
LOWexamples/test_examples.py31CODE
LOWexamples/localization/main.py73CODE
LOWscripts/unpack_snapshots.py259CODE
LOWscripts/unpack_snapshots.py270CODE
LOWjupyterlab/upgrade_extension.py53CODE
LOWjupyterlab/commands.py165CODE
LOWjupyterlab/commands.py2244CODE
LOWjupyterlab/commands.py2383CODE
LOWjupyterlab/commands.py2458CODE
LOWjupyterlab/commands.py1818CODE
LOWjupyterlab/commands.py1964CODE
LOWjupyterlab/commands.py2159CODE
LOWjupyterlab/tests/test_build_api.py15CODE
LOWjupyterlab/extensions/pypi.py415CODE
LOWjupyterlab/extensions/pypi.py535CODE
LOWjupyterlab/extensions/pypi.py576CODE
LOWjupyterlab/extensions/manager.py462CODE
LOWjupyterlab/extensions/manager.py567CODE
LOWjupyterlab/handlers/extension_manager_handler.py99CODE
LOWjupyterlab/handlers/announcements.py215CODE
Unused Imports18 hits · 18 pts
SeverityFileLineSnippetContext
LOWconftest.py4CODE
LOWdocs/source/conf.py38CODE
LOWdocs/source/_ext/shellcheck_builder.py6CODE
LOWdocs/source/_ext/spelling_filters.py7CODE
LOWexamples/localization/main.py6CODE
LOWjupyterlab/__init__.py6CODE
LOWjupyterlab/__init__.py7CODE
LOWjupyterlab/__init__.py8CODE
LOWjupyterlab/__init__.py8CODE
LOWjupyterlab/__init__.py8CODE
LOWjupyterlab/browser_check.py9CODE
LOWjupyterlab/labapp.py6CODE
LOWjupyterlab/labapp.py959CODE
LOWjupyterlab/extensions/__init__.py10CODE
LOWjupyterlab/extensions/__init__.py10CODE
LOWjupyterlab/extensions/pypi.py6CODE
LOWjupyterlab/extensions/manager.py6CODE
LOWjupyterlab/handlers/announcements.py6CODE
Fake / Example Data18 hits · 17 pts
SeverityFileLineSnippetContext
LOWbuildutils/src/local-repository.ts179 const email = 'foo@bar.com';CODE
LOWgalata/test/benchmark/notebook.spec.ts73 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin molestie suscipit libero non volutpat. SuspendisseCODE
LOWgalata/test/benchmark/notebook.spec.ts73 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin molestie suscipit libero non volutpat. SuspendisseCODE
LOWgalata/test/benchmark/notebook.spec.ts171 'div[role="tabpanel"]:has-text("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mole")'CODE
LOWgalata/test/benchmark/notebook.spec.ts171 'div[role="tabpanel"]:has-text("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mole")'CODE
LOWgalata/test/benchmark/notebook.spec.ts215 'div[role="tabpanel"]:has-text("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mole")'CODE
LOWgalata/test/benchmark/notebook.spec.ts215 'div[role="tabpanel"]:has-text("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mole")'CODE
LOW…ata/test/documentation/data/extensions-search-all.json101 "author": "John Doe",CODE
LOWgalata/test/jupyterlab/file-search.test.ts8const TEST_FILE_CONTENT = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam urnaCODE
LOWgalata/test/jupyterlab/file-search.test.ts8const TEST_FILE_CONTENT = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam urnaCODE
LOWgalata/test/jupyterlab/texteditor.test.ts84 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam urnaCODE
LOWgalata/test/jupyterlab/texteditor.test.ts84 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam urnaCODE
LOWgalata/test/jupyterlab/notebooks/completer_panel.py6 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur velSTRING
LOWgalata/test/jupyterlab/notebooks/completer_panel.py6 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur velSTRING
LOWpackages/metadataform/test/metadataFormWidget.spec.ts988 '/a/b/c': { type: 'string', default: 'placeholder' }CODE
LOWpackages/metadataform/test/metadataFormWidget.spec.ts993 expect(input.value).toBe('placeholder');CODE
LOWpackages/apputils/src/sanitizer.ts925 'placeholder',CODE
LOWpackages/apputils/src/sanitizer.ts996 'placeholder',CODE
Self-Referential Comments6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMbuildutils/src/update-staging-lock.ts31 `# This file is generated by running "yarn install" inside your project.\n`,CODE
MEDIUMdocs/source/conf.py9# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdocs/source/_ext/typedoc_links.py83 # Create the reference node with <code> insideCOMMENT
MEDIUM.github/workflows/reject-core-meta-changes.yml2# This file is auto-copied from jupyterlab/staging/package.json of the matching JupyterLab release.COMMENT
MEDIUMjupyterlab/commands.py745 # Create the app dirs if needed.COMMENT
MEDIUMjupyterlab/pytest_plugin.py82 # Create the index files.COMMENT
Overly Generic Function Names20 hits · 15 pts
SeverityFileLineSnippetContext
LOW⚡galata/test/jupyterlab/console.test.ts182 const multiLineCode = `def test_function():CODE
LOWpackages/rendermime/src/outputmodel.ts263 export function getData(output: nbformat.IOutput): PartialJSONObject {CODE
LOWpackages/rendermime/src/outputmodel.ts286 export function getData(output: nbformat.IOutput): PartialJSONObject {CODE
LOWpackages/rendermime/src/attachmentmodel.ts182 export function getData(bundle: nbformat.IMimeBundle): PartialJSONObject {CODE
LOWpackages/rendermime/src/attachmentmodel.ts194 export function getData(bundle: nbformat.IMimeBundle): PartialJSONObject {CODE
LOWpackages/debugger/test/utils.ts62export function handleRequest(item: IService, status: number, body: any): void {CODE
LOWpackages/services/test/utils.ts116export function handleRequest(item: IService, status: number, body: any): void {CODE
LOWpackages/services/src/serverconnection.ts290 export function handleRequest(CODE
LOWjupyterlab/labextensions.py186 def run_task(self) -> bool | None:CODE
LOWjupyterlab/labextensions.py218 def run_task(self) -> bool:STRING
LOWjupyterlab/labextensions.py246 def run_task(self) -> bool:STRING
LOWjupyterlab/labextensions.py276 def run_task(self) -> bool:STRING
LOWjupyterlab/labextensions.py290 def run_task(self) -> bool:STRING
LOWjupyterlab/labextensions.py307 def run_task(self) -> bool:STRING
LOWjupyterlab/labextensions.py329 def run_task(self):STRING
LOWjupyterlab/labextensions.py349 def run_task(self):STRING
LOWjupyterlab/labextensions.py370 def run_task(self):STRING
LOWjupyterlab/labextensions.py397 def run_task(self):STRING
LOWjupyterlab/labextensions.py415 def run_task(self):STRING
LOWjupyterlab/labextensions.py438 def run_task(self):STRING
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHgalata/test/jupyterlab/windowed-notebook.test.ts299 // Press the key as many times as requestedCOMMENT
HIGH.github/pull_request_template.md30- **<!-- YES or NO -->**: Some or all of the content of this PR was generated by AI.CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMjupyterlab/labapp.py975# -----------------------------------------------------------------------------COMMENT
MEDIUMjupyterlab/labapp.py977# -----------------------------------------------------------------------------COMMENT
MEDIUMjupyterlab/commands.py681# ----------------------------------------------------------------------COMMENT
MEDIUMjupyterlab/commands.py683# ----------------------------------------------------------------------COMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMgalata/test/jupyterlab/notebook-toolbar.test.ts224 // FIXME Calling a second time `page.notebook.createNew` is not robustCOMMENT
MEDIUMpackages/toc/src/utils/markdown.ts329 // Case: HTML heading (WARNING: this is not particularly robust, as HTML headings can span multiple lines)COMMENT
MEDIUMpackages/testing/src/jest-resolver.ts27 // Call the defaultResolver, so we leverage its cache, error handling, etc.COMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHjupyterlab/extensions/pypi.py372Throttle XMLRPC API request Args: recursive: Whether to call the throttling recursively once or notSTRING
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOWjupyterlab/commands.py2479 # Set return_value to a sentinel valueCOMMENT
LOWjupyterlab/commands.py2395 if f is None: # Check if f is not None (safety check)CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/apputils/src/mainareawidget.ts40 // Don't forget to remove the CSS class when your remove the spinner to allowCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWjupyterlab/federated_labextensions.py42__all__ = [CODE
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWjupyterlab/commands.py542CODE