AI Slop Code Risk Monitor

bokeh/bokeh

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

Interactive Data Visualization in the browser, from Python

95.5 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for bokeh/bokeh, a TypeScript project with 20,468 GitHub stars. SynthScan examined 411,451 lines of code across 2917 source files, recording 12549 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 95.5 (High 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.

95.5
Adjusted Signal
95.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
20.5K
Stars
TypeScript
Language
411.5K
Lines of Code
2.9K
Files
12.5K
Pattern Hits
2026-10-31
Scan Date
0.11
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 28.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 18.6/100 · LOW

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

Agent Over-Engineering Ratio 98.8/100 · CRITICAL

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

PR Review Velocity Impact 97.7/100 · CRITICAL

Which changes need focused human review? 12549 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 13HIGH 318MEDIUM 8347LOW 3871

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

Decorative Section Separators8331 hits · 34148 pts
SeverityFileLineSnippetContext
MEDIUMsetup.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMsetup.py6#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/__init__.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/__init__.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/notify_full_ci.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/notify_full_ci.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/check_jupyter_artifacts.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/check_jupyter_artifacts.py6# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py1#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py7#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py9#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py11#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py14#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py16#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py21#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py23#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/build.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/build.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/git.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/git.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/system.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/system.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/enums.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/enums.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/config.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/config.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/deployment.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/deployment.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/util.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/util.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/ui.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/ui.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/checks.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/checks.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/__init__.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/__init__.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/docs.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/docs.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/npm.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/npm.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/action.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/action.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/stages.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/stages.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/publishing.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/publishing.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/pipeline.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/pipeline.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/__main__.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/release/__main__.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/hooks/__init__.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/hooks/__init__.py6# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py6#-----------------------------------------------------------------------------COMMENT
MEDIUMtests/__init__.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMtests/__init__.py7#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py1#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py6#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py8#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py10#-----------------------------------------------------------------------------COMMENT
8271 more matches not shown…
Hyper-Verbose Identifiers1997 hits · 1693 pts
SeverityFileLineSnippetContext
LOWtools/backport/git.py281 def remove_worktree_and_branch(CODE
LOWtools/backport/planning.py131def _advance_dedicated_commits(CODE
LOWtools/backport/planning.py195def continue_dedicated_commit(CODE
LOWtools/backport/planning.py377def _validate_candidate_sequence(git: GitRepo, state: PlanState, head: str) -> None:CODE
LOWtools/backport/candidates.py228def candidate_source_problems(CODE
LOWtools/backport/candidates.py254def candidate_policy_problems(CODE
LOWtools/backport/candidates.py278def candidate_target_problems(CODE
LOWtools/backport/__main__.py35def _require_supported_python() -> None:CODE
LOW⚡tools/release/build.py399def verify_pip_install_from_sdist(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/build.py406def verify_pip_install_using_sdist(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/build.py413def verify_pip_install_using_wheel(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py44def upload_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py52def download_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py60def unpack_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py71def check_release_notes_present(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py81def check_checkout_on_base_branch(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py104def check_checkout_matches_remote(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py124def check_docs_version_config(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py165def check_release_tag_is_available(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py194def check_staging_branch_is_available(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tests/conftest.py67def pandas_nullable_constructor(obj) -> IntoDataFrame:CODE
LOW⚡tests/conftest.py71def pandas_pyarrow_constructor(obj) -> IntoDataFrame:CODE
LOW⚡tests/conftest.py80def pyarrow_table_constructor(obj) -> IntoDataFrame:CODE
LOWtests/conftest.py106def chromedriver_startup_logs() -> Iterator[None]:CODE
LOW⚡tests/unit/bokeh/test_resources.py111def test_resource_override_version_rejects_invalid_values(version: Any) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py116def test_resource_override_version_is_preserved() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py124def test_cdn_version_does_not_affect_other_resource_modes(CODE
LOW⚡tests/unit/bokeh/test_resources.py195def test_get_all_sri_versions_valid_format() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py200def test_get_sri_hashes_for_standard_versions(version: str) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py210def test_get_sri_hashes_for_weird_versions(version: str) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py219def test_get_sri_hashes_for_version_rejects_unknown_version() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py224def test_session_coordinates_normalizes_default_url() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py230def test_session_coordinates_rejects_websocket_url() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py235def test_session_coordinates_lazily_generates_session_id() -> None:CODE
LOWtests/unit/bokeh/test_resources.py27def test_public_resource_configuration() -> None:CODE
LOWtests/unit/bokeh/test_resources.py36def test_cdn_version_defaults_to_payload_version(CODE
LOWtests/unit/bokeh/test_resources.py53def test_cdn_version_environment_override(CODE
LOWtests/unit/bokeh/test_resources.py70def test_cdn_version_programmatic_override_takes_precedence(CODE
LOWtests/unit/bokeh/test_resources.py83def test_cdn_version_override_is_captured_by_resource_policy(CODE
LOWtests/unit/bokeh/test_resources.py99def test_explicit_resource_override_version_takes_precedence_over_setting(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/bokeh/test_resources.py143def test_cdn_version_override_selects_matching_integrity_hash(CODE
LOWtests/unit/bokeh/test_resources.py162def test_build_accepts_dev_resource_settings(setting: resources.ResourcesSetting, mode: resources.ResourcesMode) -> NoneCODE
LOWtests/unit/bokeh/test_resources.py176def test_build_rejects_unknown_dev_resource_settings(setting: str) -> None:CODE
LOWtests/unit/bokeh/test_resources.py181def test_inline_resource_cache_is_invalidated_by_file_changes(tmp_path: Path) -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py29def test_cmap_generator_function() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py39def test_all_palettes___palettes__() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py75def test_diverging_palette_returns_n_colors() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py81def test_diverging_palette_returns_n_colors_for_off_center_midpoint() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py86def test_diverging_palette_splits_across_both_palettes() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py91def test_varying_alpha_palette() -> None:CODE
LOW⚡tests/unit/bokeh/test_layouts__typing.py32def test_gridplot_typing_no_ncols() -> None:CODE
LOWtests/unit/bokeh/test_layouts__typing.py47def test_gridplot_typing_using_ncols() -> None:CODE
LOWtests/unit/bokeh/test___init__.py85def test_jupyter_labextension_path_is_relative_to_the_bokeh_package() -> None:STRING
LOW⚡tests/unit/bokeh/test_typing.py54def mypy_test_figure_list_attr_splat() -> None:CODE
LOW⚡tests/unit/bokeh/test_themes.py68 def test_construct_empty_theme_from_json(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py73 def test_construct_no_json_or_filename(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py78 def test_construct_json_and_filename(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py287 def test_setting_built_in_theme_obj(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py294 def test_setting_built_in_theme_str(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py301 def test_setting_built_in_theme_missing(self) -> None:STRING
1937 more matches not shown…
Unused Imports939 hits · 753 pts
SeverityFileLineSnippetContext
LOWsetup.py7CODE
LOWtools/milestone.py3CODE
LOWtools/ci/notify_full_ci.py10CODE
LOWtools/ci/check_jupyter_artifacts.py10CODE
LOWtools/ci/import_all_modules.py12CODE
LOWtools/release/build.py10CODE
LOWtools/release/git.py10CODE
LOWtools/release/system.py10CODE
LOWtools/release/enums.py10CODE
LOWtools/release/config.py10CODE
LOWtools/release/deployment.py7CODE
LOWtools/release/util.py10CODE
LOWtools/release/ui.py10CODE
LOWtools/release/checks.py7CODE
LOWtools/release/__init__.py7CODE
LOWtools/release/docs.py8CODE
LOWtools/release/npm.py7CODE
LOWtools/release/action.py10CODE
LOWtools/release/stages.py7CODE
LOWtools/release/publishing.py7CODE
LOWtools/release/pipeline.py10CODE
LOWtools/release/__main__.py7CODE
LOWtests/conftest.py7CODE
LOWtests/test_bokehjs.py11CODE
LOWtests/test_cross.py11CODE
LOWtests/test_examples.py11CODE
LOWtests/test_defaults.py11CODE
LOWtests/unit/bokeh/test_resources.py8CODE
LOWtests/unit/bokeh/test_palettes.py11CODE
LOWtests/unit/bokeh/test_transform.py11CODE
LOWtests/unit/bokeh/test___init__.py11CODE
LOWtests/unit/bokeh/test_driving.py11CODE
LOWtests/unit/bokeh/test_typing.py24CODE
LOWtests/unit/bokeh/test_themes.py11CODE
LOWtests/unit/bokeh/test_client_server.py11CODE
LOWtests/unit/bokeh/test_server.py11CODE
LOWtests/unit/bokeh/test___main__.py11CODE
LOWtests/unit/bokeh/test_ext.py11CODE
LOWtests/unit/bokeh/test_events.py11CODE
LOWtests/unit/bokeh/test_regressions.py11CODE
LOWtests/unit/bokeh/test_free_threading.py11CODE
LOWtests/unit/bokeh/test_objects.py11CODE
LOWtests/unit/bokeh/test_layouts.py11CODE
LOWtests/unit/bokeh/test_settings.py11CODE
LOWtests/unit/bokeh/core/test_validation.py11CODE
LOWtests/unit/bokeh/core/test_templates.py11CODE
LOWtests/unit/bokeh/core/test_json_encoder.py11CODE
LOWtests/unit/bokeh/core/test_enums.py11CODE
LOWtests/unit/bokeh/core/test_query.py11CODE
LOWtests/unit/bokeh/core/test_has_props.py11CODE
LOWtests/unit/bokeh/core/test_serialization.py11CODE
LOWtests/unit/bokeh/core/test_properties.py11CODE
LOW…sts/unit/bokeh/core/property/test_string_properties.py11CODE
LOWtests/unit/bokeh/core/property/test_color__property.py11CODE
LOWtests/unit/bokeh/core/property/test_required.py11CODE
LOWtests/unit/bokeh/core/property/test_vectorization.py11CODE
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py11CODE
LOWtests/unit/bokeh/core/property/test_primitive.py11CODE
LOWtests/unit/bokeh/core/property/test_visual.py11CODE
LOWtests/unit/bokeh/core/property/test_container.py11CODE
879 more matches not shown…
Over-Commented Block696 hits · 636 pts
SeverityFileLineSnippetContext
LOWtools/__init__.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ci/import_all_modules.py1#-----------------------------------------------------------------------------COMMENT
LOWtools/hooks/__init__.py1# -----------------------------------------------------------------------------COMMENT
LOWtests/__init__.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/test_bokehjs.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/test_bokehjs.py41COMMENT
LOWtests/test_cross.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/test_examples.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/test_examples.py441 assert port is not NoneCOMMENT
LOWtests/test_defaults.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_palettes.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_palettes.py121COMMENT
LOWtests/unit/bokeh/test_layouts__typing.py1# -----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_layouts__typing.py61COMMENT
LOWtests/unit/bokeh/test_transform.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test___init__.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test___init__.py121# CodeCOMMENT
LOWtests/unit/bokeh/test_driving.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_typing.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_typing.py101#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_themes.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_themes.py321# Private APICOMMENT
LOWtests/unit/bokeh/test_client_server.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_server.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test___main__.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_ext.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_events.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_events.py421COMMENT
LOWtests/unit/bokeh/test_regressions.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_regressions.py61COMMENT
LOWtests/unit/bokeh/test_free_threading.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_free_threading.py101 assert len(model_id_sets) == workers * roundsCOMMENT
LOWtests/unit/bokeh/test_objects.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_objects.py601 x.update(dict(b=7, c=8))COMMENT
LOWtests/unit/bokeh/test_layouts.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_layouts.py321COMMENT
LOWtests/unit/bokeh/test_settings.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_validation.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_validation.py401#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_templates.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_templates.py61#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_json_encoder.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_json_encoder.py101"""COMMENT
LOWtests/unit/bokeh/core/test_enums.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_query.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_query.py281#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_has_props.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_serialization.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_properties.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_properties.py521 assert 'x' not in f_base.properties_with_values(include_defaults=False)COMMENT
LOW…sts/unit/bokeh/core/property/test_string_properties.py1#-----------------------------------------------------------------------------COMMENT
LOW…sts/unit/bokeh/core/property/test_string_properties.py81COMMENT
LOWtests/unit/bokeh/core/property/test_color__property.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_required.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_vectorization.py1#-----------------------------------------------------------------------------COMMENT
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_primitive.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_visual.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_container.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/property/test_instance.py1#-----------------------------------------------------------------------------COMMENT
636 more matches not shown…
Cross-Language Confusion115 hits · 620 pts
SeverityFileLineSnippetContext
HIGHtools/backport/publishing.py121 git.push(worktree, state.branch)CODE
HIGHtests/test_examples.py311 width: Math.max(1, Math.ceil(right + parseFloat(style.marginRight || 0))),CODE
HIGHtests/test_examples.py312 height: Math.max(1, Math.ceil(bottom + parseFloat(style.marginBottom || 0))),CODE
HIGHtests/test_examples.py275 return width > 0 && height > 0STRING
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py39[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\CODE
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py43[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\CODE
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py48 null,CODE
HIGHtests/unit/bokeh/core/test_json_encoder.py65 null,CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py415 assert p1.equals(p2)CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py417 assert not p1.equals(p2)CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py419 assert p1.equals(p2)CODE
HIGHtests/unit/bokeh/core/test_serialization.py1652 '"name":null,' +STRING
HIGHtests/unit/bokeh/core/test_serialization.py1653 '"null_child":null,' +STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1129 Bokeh: failure == "missing-api" ? {version: "3.10.1"} : undefined,STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1133const before_dom = targets.every((target) => target.bokehMountError == null)STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1140 events: targets.map((target) => target.events.length), unrelated: unrelated.bokehMountError == null,STRING
HIGHtests/unit/bokeh/embed/test_result.py1110 this.addEventListener("bokeh:mount-error", (event) => this.events.push(event.detail))STRING
HIGHtests/unit/bokeh/util/test_compiler.py246 formatted.push(`+${difference}}`)CODE
HIGHtests/tools/backport/test_git.py59 git.push(worktree, branch)CODE
HIGH⚡tests/integration/test_jupyter_extension.py312 return current != null && current !== previous && !current.includes("*") && current !== "[ ]:"STRING
HIGH⚡tests/integration/test_jupyter_extension.py322 prompt: cell.querySelector(".jp-InputPrompt")?.textContent?.trim() ?? null,STRING
HIGH⚡tests/integration/test_jupyter_extension.py324 output: cell.querySelector(".jp-OutputArea")?.textContent?.trim() ?? null,STRING
HIGH⚡tests/integration/test_jupyter_extension.py351 if (mount !== direct || mount.view_lookup == null)STRING
HIGH⚡tests/integration/test_jupyter_extension.py351 if (mount !== direct || mount.view_lookup == null)STRING
HIGH⚡tests/integration/test_jupyter_extension.py355 if (model != null && (title == null || model.title?.text === title) &&STRING
HIGH⚡tests/integration/test_jupyter_extension.py356 (serverSession == null || ownsServerSession === serverSession))STRING
HIGH⚡tests/integration/test_jupyter_extension.py357 return trueSTRING
HIGH⚡tests/integration/test_jupyter_extension.py359 return falseSTRING
HIGHtests/integration/test_jupyter_resources.py64 window.__resourceEvents.push({kind, detail: event.detail})CODE
HIGHtests/integration/test_jupyter_resources.py91 ensure: async (...args) => window.__ensureCalls.push(args),CODE
HIGHtests/integration/test_jupyter_resources.py193 ensure: async (requirements) => window.__ensureCalls.push(requirements.components),CODE
HIGHtests/integration/test_jupyter_resources.py221 window.__ensureCalls.push(args)CODE
HIGHtests/integration/test_jupyter_resources.py299 ensure: async (...args) => window.__ensureCalls.push(args),CODE
HIGHtests/integration/test_jupyter_resources.py321 resource_loader: {ensure: async () => undefined},CODE
HIGH⚡tests/integration/server_e2e/test_react_mount.py114 assert original.evaluate("saved => saved.view != null && saved.node != null")CODE
HIGH⚡tests/integration/server_e2e/test_react_mount.py124 return host.bokehMount == null && host.childElementCount === 0CODE
HIGH⚡tests/integration/server_e2e/test_react_mount.py134 host.bokehMount === saved.mount && host.firstElementChild === saved.node &&CODE
HIGHtests/integration/server_e2e/test_react_mount.py159 host.bokehMount !== saved.mount && host.bokehMount.document === saved.mount.document &&CODE
HIGHtests/integration/server_e2e/test_react_mount.py170 assert original.evaluate("({mount}) => mount.document.is_destroyed && mount.document.views_manager == null")STRING
HIGHtests/integration/server_e2e/test_react_mount.py197 assert original.evaluate("mount => mount.session.document === mount.document && mount.views.length === 3")STRING
HIGHtests/integration/server_e2e/test_react_mount.py212 return extra != null && mount.view(extra.id) != null && mount.views.length === 4CODE
HIGHtests/integration/server_e2e/test_react_mount.py223 return mount.document.roots().length === 3 && mount.views.length === 3CODE
HIGHtests/integration/server_e2e/test_react_mount.py235 assert original.evaluate("mount => mount.views.length === 0 && mount.document.views_manager == null")CODE
HIGHtests/integration/server_e2e/test_react_mount.py236 assert target.evaluate("host => host.childElementCount === 0 && host.bokehMount == null")CODE
HIGHtests/integration/server_e2e/test_embed_resources.py61 this.define<any>(({Any}) => ({child: [Any, null]}))CODE
HIGHtests/integration/server_e2e/test_embed_resources.py129 return target?.bokehMount != null || target?.bokehMountError != nullSTRING
HIGHtests/integration/server_e2e/test_embed_resources.py153 return Definition != null && Definition.create().child.type === hidden_nameCODE
HIGHtests/integration/server_e2e/test_examples.py134 "() => globalThis.Bokeh != null && Bokeh.documents.length === 1",CODE
HIGH⚡tests/codebase/test_ci_workflows.py56 assert concurrency["group"] == "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"CODE
HIGHexamples/advanced/extensions/ticking.py17 formatted.push(`+${(Number(ticks[i]) - Number(ticks[0])).toPrecision(2)}`)CODE
HIGHexamples/basic/annotations/path_markings.py90 if (source.document == null) {CODE
HIGHexamples/basic/data/server_sent_events_source.py17 result.x.push(pts[i][0])CODE
HIGHexamples/basic/data/server_sent_events_source.py18 result.y.push(pts[i][1])CODE
HIGHexamples/basic/data/ajax_source.py13 result.x.push(x)CODE
HIGHexamples/basic/data/ajax_source.py14 result.y.push(y)CODE
HIGHexamples/server/app/events_app.py28 args.push(attrs[i] + '=' + val)CODE
HIGHexamples/models/custom.py48 colors.push(`${color} ${offset}px`)CODE
HIGHexamples/models/custom.py50 colors.push(`${color} ${offset}px`)CODE
HIGH⚡examples/models/buttons.py32button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))CODE
HIGH⚡examples/models/buttons.py33button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))CODE
55 more matches not shown…
Docstring Block Structure70 hits · 350 pts
SeverityFileLineSnippetContext
HIGHsrc/bokeh/palettes.py1507 Generate a new palette as a subset of a given palette. Given an input ``palette``, take ``n`` colors from it by diSTRING
HIGHsrc/bokeh/palettes.py1529 Generate a new palette by combining exactly two input palettes. Given an input ``palette1`` and ``palette2``, takeSTRING
HIGHsrc/bokeh/palettes.py1572 Generate a palette that is a single color with linearly varying alpha. Alpha may vary from low to high or high to STRING
HIGHsrc/bokeh/palettes.py1640 Generate a new palette by interpolating a given palette. Linear interpolation is performed separately on each of tSTRING
HIGHsrc/bokeh/palettes.py1677 Generate a palette of colors from the Magma palette. The full Magma palette that serves as input for deriving new STRING
HIGHsrc/bokeh/palettes.py1706 Generate a palette of colors from the Inferno palette. The full Inferno palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1735 Generate a palette of colors from the Plasma palette. The full Plasma palette that serves as input for deriving neSTRING
HIGHsrc/bokeh/palettes.py1764 Generate a palette of colors from the Viridis palette. The full Viridis palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1793 Generate a palette of colors from the Cividis palette. The full Cividis palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1822 Generate a palette of colors from the Turbo palette. Turbo is described here: https://ai.googleblog.com/2019/STRING
HIGHsrc/bokeh/palettes.py1855 Generate a palette of colors from the Greys palette. The full Greys palette that serves as input for deriving new STRING
HIGHsrc/bokeh/palettes.py1887 Generate a palette of colors or from the Greys palette. The full Greys palette that serves as input for deriving nSTRING
HIGHsrc/bokeh/settings.py192 Convert a string to True or False. If a boolean is passed in, it is returned as-is. Otherwise the function mapSTRING
HIGHsrc/bokeh/settings.py259Convert a string to a Python logging level If a log level is passed in, it is returned as-is. Otherwise the functioSTRING
HIGHsrc/bokeh/settings.py296Convert a string to a validation level If a validation level is passed in, it is returned as-is. Args: STRING
HIGHsrc/bokeh/settings.py320Convert a string to an .ico path Args: value (str): A string value to convert to a .ico path STRING
HIGHsrc/bokeh/settings.py458Return the setting value according to the standard precedence. Args: value (any, optional): STRING
HIGHsrc/bokeh/resources.py455 Report SRI script hashes for a specific version of BokehJS. Bokeh provides `Subresource Integrity`_ hashes for allSTRING
HIGHsrc/bokeh/layouts.py89 Create a row of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for compleSTRING
HIGHsrc/bokeh/layouts.py124 Create a column of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for comSTRING
HIGHsrc/bokeh/layouts.py155 Create a grid-based arrangement of Bokeh Layout objects. Args: children (list of lists of :class:`~bokeh.mSTRING
HIGHsrc/bokeh/layouts.py232 Create a grid of plots rendered on separate canvases. The ``gridplot`` function builds a single toolbar for all thSTRING
HIGHsrc/bokeh/core/enums.py215 Create an |Enumeration| object from a sequence of values. Call ``enumeration`` with a sequence of (unique) stringsSTRING
HIGHsrc/bokeh/core/query.py62 Query a collection of Bokeh models and yield any that match the a selector. Args: objs (Iterable[ModelSTRING
HIGHsrc/bokeh/core/json_encoder.py70 Convert an object or a serialized representation to a JSON string. This function accepts Python-serializable oSTRING
HIGHsrc/bokeh/core/property/descriptors.py329 Implement the getter for the Python `descriptor protocol`_. For instance attribute access, we delegate to the STRING
HIGHsrc/bokeh/core/property/descriptors.py610 Internal implementation of instance attribute access for the ``PropertyDescriptor`` getter. If the valSTRING
HIGHsrc/bokeh/core/property/wrappers.py117 A decorator for mutating methods of property container classes that notifies owners of the property container aboutSTRING
HIGHsrc/bokeh/core/property/bases.py299 Determine whether we can set this property from this value. Validation happens before transform() ArgSTRING
HIGHsrc/bokeh/core/validation/decorators.py99 Decorator to mark a validator method for a Bokeh error condition Args: code_or_name (int, str or Issue) : STRING
HIGHsrc/bokeh/core/validation/decorators.py139 Decorator to mark a validator method for a Bokeh error condition Args: code_or_name (int, str or Issue) : STRING
HIGHsrc/bokeh/embed/standalone.py79 Return HTML components to embed a Bokeh plot. The data for the plot is stored directly in the returned HTML. ASTRING
HIGHsrc/bokeh/util/strings.py63 Join together sequences of strings into English-friendly phrases using the conjunction ``or`` when appropriate. STRING
HIGHsrc/bokeh/util/dependencies.py69 Attempt to import a required dependency. Raises a RuntimeError if the requested module is not available. ArgsSTRING
HIGHsrc/bokeh/io/jupyter_export.py135Associate a validated correlation identifier with the current export. Args: export_id: The fronSTRING
HIGHsrc/bokeh/io/jupyter_export.py192Store bounded frontend state for exactly one correlated export request. Args: path: The notebooSTRING
HIGHsrc/bokeh/io/util.py74 Generate a default filename with a given extension, attempting to use the filename of the currently running processSTRING
HIGHsrc/bokeh/io/notebook.py1289Build a notebook application URL with an optional loopback port. Args: url: The notebook URL orSTRING
HIGHsrc/bokeh/io/jupyter.py316Render the portable executable owner for a resource record. Args: payload: The metadata describSTRING
HIGHsrc/bokeh/io/jupyter.py398Describe a safe file link relative to the current notebook. Args: path: A POSIX-style path relaSTRING
HIGHsrc/bokeh/server/server.py551 Create a ``Server`` instance, applying any relevant ``Server`` settings from the global settings module, if theSTRING
HIGHsrc/bokeh/server/util.py95 Validate host patterns used to allow WebSocket connections. Args: host_list (seq[str]) : A seqSTRING
HIGHsrc/bokeh/server/util.py140 This allowlist can be used to restrict websocket or other connections to only those explicitly originating froSTRING
HIGHsrc/bokeh/server/util.py196 Match a host string against a pattern Args: host (str) A hostname to compare to the given pattSTRING
HIGHsrc/bokeh/models/sources.py457 Efficiently update data source columns with new append-only data. In cases where it is necessary to update datSTRING
HIGHsrc/bokeh/models/sources.py500 Internal implementation to efficiently update data source columns with new append-only data. The internal impleSTRING
HIGHsrc/bokeh/models/sources.py621 Efficiently update data source columns at specific locations If it is only necessary to update a small subset STRING
HIGHsrc/bokeh/models/plots.py119 Query this object and all of its references for objects that match the given selector. There are a fewSTRING
HIGHsrc/bokeh/models/widgets/tables.py768 Create a simple table from a pandas dataframe, dictionary or ColumnDataSource. Args: data (DataFraSTRING
HIGHsrc/bokeh/document/document.py751 Remove a callback added earlier with ``add_next_tick_callback``. Args: callback_obj : a value retuSTRING
HIGHsrc/bokeh/document/document.py781 Remove a callback added earlier with ``add_periodic_callback`` Args: callback_obj : a value returnSTRING
HIGHsrc/bokeh/document/document.py827 Remove a callback added earlier with ``add_timeout_callback``. Args: callback_obj : a value returnSTRING
HIGHsrc/bokeh/document/callbacks.py166 Internal implementation for adding session callbacks. Args: callback_obj (SessionCallback) : STRING
HIGHsrc/bokeh/plotting/graph.py43 Generate a ``GraphRenderer`` from a ``networkx.Graph`` object and networkx layout function. Any keywordSTRING
HIGHsrc/bokeh/plotting/_renderer.py150 Applies basic cascading logic to deduce properties for a glyph. Args: glyphclass : the typSTRING
HIGHsrc/bokeh/plotting/_figure.py382 Generate multiple ``HArea`` renderers for levels stacked left to right. Args: stackers (seSTRING
HIGHsrc/bokeh/plotting/_figure.py428 Generate multiple ``HBar`` renderers for levels stacked left to right. Args: stackers (seq[str]) :STRING
HIGHsrc/bokeh/plotting/_figure.py474 Generate multiple ``Line`` renderers for lines stacked vertically or horizontally. Args: sSTRING
HIGHsrc/bokeh/plotting/_figure.py524 Generate multiple ``Line`` renderers for lines stacked horizontally. Args: stackers (seq[str]) : aSTRING
HIGHsrc/bokeh/plotting/_figure.py567 Generate multiple ``VArea`` renderers for levels stacked bottom to top. Args: stackers (seSTRING
10 more matches not shown…
Cross-File Repetition57 hits · 285 pts
SeverityFileLineSnippetContext
HIGHsrc/bokeh/core/property/constraints.py0clone this property and allow to override ``default`` and ``help``.STRING
HIGHsrc/bokeh/core/property/enum.py0clone this property and allow to override ``default`` and ``help``.STRING
HIGHsrc/bokeh/core/property/bases.py0clone this property and allow to override ``default`` and ``help``.STRING
HIGHsrc/bokeh/server/views/session_handler.py0implements a custom tornado handler for document display pageSTRING
HIGHsrc/bokeh/server/views/doc_handler.py0implements a custom tornado handler for document display pageSTRING
HIGHsrc/bokeh/server/views/metadata_handler.py0implements a custom tornado handler for document display pageSTRING
HIGHsrc/bokeh/models/transforms.py0a mapping of names to python objects. in particular those can be bokeh's models. these objects are made available to theSTRING
HIGHsrc/bokeh/models/tickers.py0a mapping of names to python objects. in particular those can be bokeh's models. these objects are made available to theSTRING
HIGHsrc/bokeh/models/formatters.py0a mapping of names to python objects. in particular those can be bokeh's models. these objects are made available to theSTRING
HIGHsrc/bokeh/models/callbacks.py0a mapping of names to python objects. in particular those can be bokeh's models. these objects are made available to theSTRING
HIGHsrc/bokeh/models/filters.py0a mapping of names to python objects. in particular those can be bokeh's models. these objects are made available to theSTRING
HIGHsrc/bokeh/models/expressions.py0filter data sources with a custom defined javascript function. .. warning:: the explicit purpose of this bokeh model is STRING
HIGHsrc/bokeh/models/callbacks.py0filter data sources with a custom defined javascript function. .. warning:: the explicit purpose of this bokeh model is STRING
HIGHsrc/bokeh/models/filters.py0filter data sources with a custom defined javascript function. .. warning:: the explicit purpose of this bokeh model is STRING
HIGHsrc/bokeh/models/glyphs.py0the angles to rotate the text, as measured from the horizontal.STRING
HIGHsrc/bokeh/models/annotations/labels.py0the angles to rotate the text, as measured from the horizontal.STRING
HIGHsrc/bokeh/models/annotations/html/labels.py0the angles to rotate the text, as measured from the horizontal.STRING
HIGHsrc/bokeh/models/glyphs.py0offset values to apply to the y-coordinates. this is useful, for instance, if it is desired to "float" text a fixed distSTRING
HIGHsrc/bokeh/models/annotations/labels.py0offset values to apply to the y-coordinates. this is useful, for instance, if it is desired to "float" text a fixed distSTRING
HIGHsrc/bokeh/models/annotations/html/labels.py0offset values to apply to the y-coordinates. this is useful, for instance, if it is desired to "float" text a fixed distSTRING
HIGHsrc/bokeh/models/glyphs.py0extra space between the text of a label and its bounding box (border). .. note:: this property is experimental and may cSTRING
HIGHsrc/bokeh/models/annotations/labels.py0extra space between the text of a label and its bounding box (border). .. note:: this property is experimental and may cSTRING
HIGHsrc/bokeh/models/annotations/html/labels.py0extra space between the text of a label and its bounding box (border). .. note:: this property is experimental and may cSTRING
HIGHsrc/bokeh/models/glyphs.py0allows label's box to have rounded corners. for the best results, it should be used in combination with ``padding``. .. STRING
HIGHsrc/bokeh/models/annotations/labels.py0allows label's box to have rounded corners. for the best results, it should be used in combination with ``padding``. .. STRING
HIGHsrc/bokeh/models/annotations/html/labels.py0allows label's box to have rounded corners. for the best results, it should be used in combination with ``padding``. .. STRING
HIGHsrc/bokeh/models/annotations/labels.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/models/annotations/geometry.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/models/annotations/html/labels.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/models/annotations/labels.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/models/annotations/geometry.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/models/annotations/html/labels.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.STRING
HIGHsrc/bokeh/document/models.py0args: document (document): a document to manage modules for a weak reference to the document will be retainedSTRING
HIGHsrc/bokeh/document/callbacks.py0args: document (document): a document to manage modules for a weak reference to the document will be retainedSTRING
HIGHsrc/bokeh/document/modules.py0args: document (document): a document to manage modules for a weak reference to the document will be retainedSTRING
HIGHsrc/bokeh/model/util.py0provide a base class for all objects (called bokeh models) that can go in a bokeh |document|.STRING
HIGHsrc/bokeh/model/docs.py0provide a base class for all objects (called bokeh models) that can go in a bokeh |document|.STRING
HIGHsrc/bokeh/model/model.py0provide a base class for all objects (called bokeh models) that can go in a bokeh |document|.STRING
HIGHsrc/bokeh/model/data_model.py0provide a base class for all objects (called bokeh models) that can go in a bokeh |document|.STRING
HIGHsrc/bokeh/application/application.py0processes incoming http request returning a dictionary of additional data to add to the session_context. args: request: STRING
HIGHsrc/bokeh/application/handlers/handler.py0processes incoming http request returning a dictionary of additional data to add to the session_context. args: request: STRING
HIGHsrc/bokeh/application/handlers/directory.py0processes incoming http request returning a dictionary of additional data to add to the session_context. args: request: STRING
HIGHsrc/bokeh/application/handlers/request_handler.py0processes incoming http request returning a dictionary of additional data to add to the session_context. args: request: STRING
HIGH…c/bokeh/application/handlers/server_request_handler.py0bokeh application handler to look for bokeh server lifecycle callbacks in a specified python module.STRING
HIGHsrc/bokeh/application/handlers/request_handler.py0bokeh application handler to look for bokeh server lifecycle callbacks in a specified python module.STRING
HIGHsrc/bokeh/application/handlers/server_lifecycle.py0bokeh application handler to look for bokeh server lifecycle callbacks in a specified python module.STRING
HIGHsrc/bokeh/application/handlers/lifecycle.py0bokeh application handler to look for bokeh server lifecycle callbacks in a specified python module.STRING
HIGH…c/bokeh/application/handlers/server_request_handler.py0if the handler fails, may contain a related error message.STRING
HIGHsrc/bokeh/application/handlers/handler.py0if the handler fails, may contain a related error message.STRING
HIGHsrc/bokeh/application/handlers/server_lifecycle.py0if the handler fails, may contain a related error message.STRING
HIGHsrc/bokeh/application/handlers/code.py0if the handler fails, may contain a related error message.STRING
HIGHsrc/bokeh/application/handlers/directory.py0if the handler fails, may contain a related error message.STRING
HIGH…c/bokeh/application/handlers/server_request_handler.py0if the handler fails, may contain a traceback or other details.STRING
HIGHsrc/bokeh/application/handlers/handler.py0if the handler fails, may contain a traceback or other details.STRING
HIGHsrc/bokeh/application/handlers/server_lifecycle.py0if the handler fails, may contain a traceback or other details.STRING
HIGHsrc/bokeh/application/handlers/code.py0if the handler fails, may contain a traceback or other details.STRING
HIGHsrc/bokeh/application/handlers/directory.py0if the handler fails, may contain a traceback or other details.STRING
Empty Error Handlers48 hits · 240 pts
SeverityFileLineSnippetContext
HIGHtests/test_examples.py369except subprocess.TimeoutExpired:CODE
HIGHtests/test_examples.py333except OSError:CODE
HIGHtests/test_examples.py364except OSError:CODE
HIGH…ts/unit/bokeh/core/property/test_wrappers__property.py545except Exception:CODE
HIGH…ts/unit/bokeh/core/property/test_wrappers__property.py550except Exception:CODE
HIGHtests/unit/bokeh/server/test_asgi.py1363except asyncio.CancelledError:CODE
HIGHtests/unit/bokeh/model/test_model.py433except BokehDeprecationWarning:CODE
HIGHtests/integration/test_jupyter_extension.py374except (OSError, ValueError):CODE
HIGHtests/integration/server_proxy/test_proxy.py51except (OSError, URLError):CODE
HIGHtests/integration/server_e2e/test_examples.py70except (OSError, URLError):CODE
HIGHtests/support/plugins/file_server.py108except OSError:CODE
HIGHdocs/bokeh/docserver.py94except KeyboardInterrupt:CODE
HIGHdocs/bokeh/api_reference/__main__.py358except OSError:CODE
HIGHsrc/bokeh/settings.py952except Exception:CODE
HIGHsrc/bokeh/core/property/either.py84except ValueError:CODE
HIGHsrc/bokeh/core/property/nullable.py59except ValueError:CODE
HIGHsrc/bokeh/core/property/dataspec.py236except ValueError:CODE
HIGHsrc/bokeh/core/property/dataspec.py465except TypeError:CODE
HIGHsrc/bokeh/core/property/dataspec.py480except TypeError:CODE
HIGHsrc/bokeh/core/property/dataspec.py494except TypeError:CODE
HIGHsrc/bokeh/core/property/datetime.py115except Exception:CODE
HIGHsrc/bokeh/core/property/datetime.py143except ValueError:CODE
HIGHsrc/bokeh/util/asyncio.py159except asyncio.CancelledError:CODE
HIGHsrc/bokeh/util/asyncio.py107except BaseException:CODE
HIGHsrc/bokeh/util/asyncio.py197except ValueError:CODE
HIGHsrc/bokeh/util/browser.py127except Exception:CODE
HIGHsrc/bokeh/util/serialization.py255except (TypeError, ValueError):CODE
HIGHsrc/bokeh/util/dependencies.py59except ImportError:CODE
HIGHsrc/bokeh/io/saving.py178except OSError:CODE
HIGHsrc/bokeh/io/browser.py589except Exception:CODE
HIGHsrc/bokeh/io/browser.py225except Exception:CODE
HIGHsrc/bokeh/io/browser.py232except Exception:CODE
HIGHsrc/bokeh/io/_anywidget.py176except Exception:CODE
HIGHsrc/bokeh/io/notebook.py808except Exception:CODE
HIGHsrc/bokeh/server/callbacks.py223except ValueError:CODE
HIGHsrc/bokeh/server/executor.py68except BaseException:CODE
HIGHsrc/bokeh/server/views/static_handler.py137except Exception:CODE
HIGHsrc/bokeh/server/views/embed_json_handler.py49except HTTPError:CODE
HIGHsrc/bokeh/models/util/structure.py172except (TypeError, UnsetValueError):CODE
HIGHsrc/bokeh/models/util/structure.py176except (TypeError, UnsetValueError):CODE
HIGHsrc/bokeh/models/util/structure.py180except (AttributeError, ValueError, UnsetValueError):CODE
HIGHsrc/bokeh/models/widgets/sliders.py86except UnsetValueError:CODE
HIGHsrc/bokeh/models/widgets/sliders.py88except AttributeError:CODE
HIGHsrc/bokeh/plotting/_plot.py93except ValueError: # @mattpap suggests ValidationError insteadCODE
HIGHsrc/bokeh/plotting/_plot.py173except ValueError:CODE
HIGHsrc/bokeh/model/model.py115except (TypeError, ValueError):CODE
HIGHsrc/bokeh/model/model.py129except (TypeError, ValueError):CODE
HIGHsrc/bokeh/command/subcommands/__init__.py68except TypeError:CODE
Hallucination Indicators13 hits · 160 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/bokeh/io/test_saving.py201 mock_open.return_value.__enter__.return_value.write.assert_called_once_with("<html></html>")CODE
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts62 this.plot_view.canvas.ui_event_bus.focus.connect(() => {CODE
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts65 this.plot_view.canvas.ui_event_bus.blur.connect(() => {CODE
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts86 graph_view.edge_view.model.data_source.inspect.emit([graph_view.edge_view.model, {geometry}])CODE
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts130 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts205 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts209 const edge_inspection = graph_view.edge_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts215 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts281 const edge_inspection = graph_view.edge_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts285 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.CODE
CRITICAL⚡bokehjs/src/lib/models/graphs/graph_hit_test_policy.ts291 graph_view.edge_view.model.data_source.inspect.emit([graph_view.edge_view.model, {geometry}])CODE
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts370 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.CODE
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts380 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])CODE
Cross-Language Confusion (JS/TS)28 hits · 158 pts
SeverityFileLineSnippetContext
HIGHbokehjs/make/task.ts68 print(`${chalk.red("failed:")} ${msg}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts71 print(`${cyan("npm install")} failed to start: ${red(error.message)}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts75 print(`${cyan("npm install")} failed with exit code ${red(`${status}`)}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts81 print(`Using nodejs ${magenta(node_version)} and npm ${magenta(npm_version(base_dir))}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts82 print(`Working directory: ${cyan(base_dir)}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts221 print(`Created empty ${cyan("index.ts")}. This is the entry point of your extension.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts224 print(`You can build your extension with ${magenta(`bokeh build ${rel}`)}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts226 print("All done.")CODE
HIGH⚡bokehjs/src/compiler/build.ts267 print("Using different version of bokeh, rebuilding from scratch.")CODE
HIGH⚡bokehjs/src/compiler/build.ts277 print(`${cyan(package_json_path)} doesn't exist. Not a npm package.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts280 print(`Running ${cyan("npm install")}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts285 print(`${result} Running ${cyan("npm install")}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts362 print(report_diagnostics(tsconfig2.diagnostics).text)CODE
HIGH⚡bokehjs/src/compiler/build.ts370 print(`Compiling TypeScript (${magenta(count_files(files))})`)CODE
HIGH⚡bokehjs/src/compiler/build.ts377 print(report_diagnostics(tsoutput.diagnostics).text)CODE
HIGHbokehjs/src/compiler/build.ts51 print(` ${file}`)CODE
HIGHbokehjs/src/compiler/build.ts146 print("Already a bokeh extension. Quitting.")CODE
HIGHbokehjs/src/compiler/build.ts152 print(`Wrote ${cyan(path)}`)CODE
HIGHbokehjs/src/compiler/build.ts191 print(`${red("Invalid input")}. Assuming no.`)CODE
HIGHbokehjs/src/compiler/build.ts249 print("Not a bokeh extension. Quitting.")CODE
HIGHbokehjs/src/compiler/build.ts308 print(`TypeScript lib: ${cyan(tslib_dir)}`)CODE
HIGHbokehjs/src/compiler/build.ts312 print(`Using ${cyan(tsconfig_path)}`)CODE
HIGHbokehjs/src/compiler/build.ts333 print(report_diagnostics(tsconfig.diagnostics).text)CODE
HIGHbokehjs/src/compiler/build.ts349 print(`Compiling styles (${magenta(count_files(styles))})`)CODE
HIGHbokehjs/src/compiler/build.ts400 print("Linking modules")CODE
HIGHbokehjs/src/compiler/build.ts421 print(`Failed to license text from ${magenta(license_path)}`)CODE
HIGHbokehjs/src/compiler/build.ts463 print(`Output written to ${cyan(dist_dir)}`)CODE
HIGHbokehjs/src/compiler/build.ts464 print("All done.")CODE
Excessive Try-Catch Wrapping93 hits · 81 pts
SeverityFileLineSnippetContext
LOWsetup.py187 except Exception:CODE
MEDIUMtools/ci/notify_full_ci.py132 print(f"Error: {error.stderr.strip() or str(error)}", file=sys.stderr)STRING
LOWtools/release/build.py193 except Exception as e:CODE
LOWtools/release/build.py210 except Exception as e:CODE
LOWtools/release/build.py246 except Exception as e:CODE
LOWtools/release/build.py281 except Exception as e:CODE
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py545 except Exception:CODE
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py550 except Exception:CODE
LOWtests/unit/bokeh/model/test_model.py435 except Exception:CODE
LOWtests/unit/bokeh/command/subcommands/test_serve.py581 except Exception:CODE
LOWtests/integration/test_marimo.py42 except Exception:CODE
LOWtests/integration/test_jupyter_extension.py194 except Exception:STRING
LOWtests/support/util/filesystem.py65 except Exception as e:CODE
LOWexamples/server/app/taylor.py57 except Exception as exception:CODE
MEDIUMexamples/server/app/taylor.py54def update():CODE
LOWexamples/server/app/server_auth/auth.py30 except Exception:CODE
MEDIUMexamples/server/app/server_auth/auth.py27def get(self):CODE
LOWexamples/server/app/spectrogram/audio.py37 except Exception:CODE
LOWsrc/bokeh/settings.py240 except Exception:CODE
LOW⚡src/bokeh/settings.py952 except Exception:STRING
LOWsrc/bokeh/settings.py932 except Exception:STRING
LOWsrc/bokeh/resources.py499 except Exception as e:CODE
LOWsrc/bokeh/core/property/datetime.py75 except Exception:CODE
LOWsrc/bokeh/core/property/datetime.py115 except Exception:CODE
LOWsrc/bokeh/sphinxext/bokeh_plot.py194 except Exception as e:CODE
LOWsrc/bokeh/sphinxext/bokeh_plot.py257 except Exception as e:CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_palette.py134 except Exception as e:CODE
LOWsrc/bokeh/util/asyncio.py135 except Exception:CODE
LOW⚡src/bokeh/util/browser.py127 except Exception:CODE
LOWsrc/bokeh/util/info.py74 except Exception:CODE
LOWsrc/bokeh/util/dependencies.py61 except Exception:CODE
LOWsrc/bokeh/io/jupyter_export.py399 except Exception as error:CODE
LOWsrc/bokeh/io/jupyter_export.py485 except Exception:CODE
LOWsrc/bokeh/io/jupyter_app.py100 except Exception:CODE
LOWsrc/bokeh/io/jupyter_app.py196 except Exception:CODE
LOW⚡src/bokeh/io/jupyter_app.py231 except Exception:CODE
LOWsrc/bokeh/io/jupyter_app.py340 except Exception:CODE
MEDIUMsrc/bokeh/io/jupyter_app.py76def _run(self) -> None:CODE
LOW⚡src/bokeh/io/browser.py316 except Exception:CODE
LOW⚡src/bokeh/io/browser.py332 except Exception as e:CODE
LOW⚡src/bokeh/io/browser.py589 except Exception:CODE
LOWsrc/bokeh/io/browser.py225 except Exception:CODE
LOWsrc/bokeh/io/browser.py232 except Exception:CODE
LOWsrc/bokeh/io/browser.py262 except Exception as e:CODE
LOWsrc/bokeh/io/browser.py301 except Exception as e:CODE
LOWsrc/bokeh/io/browser.py347 except Exception:CODE
LOWsrc/bokeh/io/browser.py575 except Exception as e:CODE
LOWsrc/bokeh/io/_anywidget.py176 except Exception:CODE
MEDIUMsrc/bokeh/io/notebook.py241def _headless_notebook_environment() -> bool:CODE
LOWsrc/bokeh/io/notebook.py174 except Exception:CODE
LOWsrc/bokeh/io/notebook.py190 except Exception:CODE
LOWsrc/bokeh/io/notebook.py238 except Exception:CODE
LOWsrc/bokeh/io/notebook.py255 except Exception:CODE
LOWsrc/bokeh/io/notebook.py394 except Exception:CODE
LOWsrc/bokeh/io/notebook.py406 except Exception:CODE
LOWsrc/bokeh/io/notebook.py500 except Exception:CODE
LOWsrc/bokeh/io/notebook.py505 except Exception:CODE
LOWsrc/bokeh/io/notebook.py643 except Exception:CODE
LOWsrc/bokeh/io/notebook.py655 except Exception:CODE
LOWsrc/bokeh/io/notebook.py696 except Exception:CODE
33 more matches not shown…
Deep Nesting99 hits · 78 pts
SeverityFileLineSnippetContext
LOWtools/milestone.py364CODE
LOWtools/backport/updating.py178CODE
LOWtools/release/build.py160CODE
LOWtools/release/build.py286CODE
LOWtools/release/checks.py104CODE
LOWtools/release/checks.py124CODE
LOWtests/test_examples.py170CODE
LOWtests/unit/bokeh/test_events.py61CODE
LOWtests/unit/bokeh/embed/test_result.py387CODE
LOWtests/unit/bokeh/embed/test_result.py390CODE
LOWtests/unit/bokeh/server/test_server__server.py154CODE
LOWtests/unit/bokeh/server/test_asgi.py794CODE
LOWtests/unit/bokeh/server/test_asgi.py812CODE
LOW…sts/unit/bokeh/server/views/test_embed_json_handler.py241CODE
LOWtests/unit/bokeh/command/subcommands/test_serve.py561CODE
LOWtests/tools/release/test_build.py210CODE
LOWtests/integration/server_proxy/test_proxy.py42CODE
LOWtests/integration/server_e2e/test_embed_resources.py36CODE
LOWtests/integration/server_e2e/test_examples.py61CODE
LOWtests/support/util/filesystem.py77CODE
LOWtests/support/util/examples.py149CODE
LOWtests/support/util/compare.py45CODE
LOWexamples/server/app/image_blur.py33CODE
LOWexamples/server/app/ohlc/main.py67CODE
LOWexamples/server/api/asgi/react_mount.py123CODE
LOWexamples/server/api/asgi/framework_free.py41CODE
LOWexamples/server/api/asgi/streamlit_particles/ui.py59CODE
LOWsrc/bokeh/resources.py244CODE
LOWsrc/bokeh/layouts.py221CODE
LOWsrc/bokeh/layouts.py419CODE
LOWsrc/bokeh/layouts.py623CODE
LOWsrc/bokeh/layouts.py697CODE
LOWsrc/bokeh/layouts.py494CODE
LOWsrc/bokeh/layouts.py509CODE
LOWsrc/bokeh/core/query.py107CODE
LOWsrc/bokeh/core/has_props.py239CODE
LOWsrc/bokeh/core/has_props.py849CODE
LOWsrc/bokeh/core/serialization.py293CODE
LOWsrc/bokeh/core/serialization.py541CODE
LOWsrc/bokeh/core/serialization.py680CODE
LOWsrc/bokeh/core/property/descriptors.py906CODE
LOWsrc/bokeh/core/property/wrappers.py447CODE
LOWsrc/bokeh/core/property/wrappers.py515CODE
LOWsrc/bokeh/core/property/struct.py83CODE
LOWsrc/bokeh/core/property/bases.py348CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_model.py241CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_model.py271CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_prop.py174CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py125CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py168CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_example_metadata.py120CODE
LOWsrc/bokeh/sphinxext/_internal/parallel.py42CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_toc.py50CODE
LOWsrc/bokeh/embed/_output.py216CODE
LOWsrc/bokeh/embed/_output.py256CODE
LOWsrc/bokeh/embed/result.py433CODE
LOWsrc/bokeh/embed/_util.py273CODE
LOWsrc/bokeh/embed/_util.py366CODE
LOWsrc/bokeh/embed/resources.py391CODE
LOWsrc/bokeh/embed/resources.py577CODE
39 more matches not shown…
AI Slop Vocabulary9 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMtests/examples.yaml29 "spectrogram", # Custom models not working in CI test harnessCODE
MEDIUMbokehjs/src/lib/models/glyphs/webgl/polygon.ts132 // robust tessellation path.COMMENT
MEDIUMbokehjs/src/lib/models/glyphs/webgl/polygon.ts246 // retaining the robust path for crossings, overlaps, and large contours.COMMENT
MEDIUM…s/src/lib/models/formatters/datetime_tick_formatter.ts317 // For repeating labels only utilize the first entryCOMMENT
MEDIUM…/src/lib/models/formatters/timedelta_tick_formatter.ts290 // For repeating labels only utilize the first entryCOMMENT
MEDIUM.github/workflows/bokeh-ci.yml464 # and included examples can utilize newest available syntax and standard APIs.COMMENT
MEDIUM.github/workflows/bokeh-ci-full.yml18 cancel-in-progress: false # Don't cancel comprehensive testsCODE
LOW⚡src/bokeh/sphinxext/_internal/util.py41 # if BOKEH_DOCS_CDN is unset just use default CDN resourcesCOMMENT
LOW⚡src/bokeh/sphinxext/_internal/bokeh_example_metadata.py140 # just use class role as-is for anything elseCOMMENT
Modern Structural Boilerplate30 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/backport/merging.py114def set_accepted_status(api: GitHubAPI, repository: str, number: int) -> None:CODE
LOWtools/release/build.py163 def update_dependencies(content: dict[str, Any]) -> None:CODE
LOWtools/release/build.py174 def update_package_json(content: dict[str, Any]) -> None:CODE
LOWtools/release/build.py179 def update_package_lock_json(content: dict[str, Any]) -> None:CODE
LOW…sts/unit/bokeh/server/views/test_embed_json_handler.py68 def set_header(self, name: str, value: str) -> None:CODE
LOWtests/integration/server_e2e/test_react_mount.py87def _set_client_value(page: Any, value: int) -> None:CODE
LOWtests/integration/server_e2e/test_examples.py139def _set_fourier_terms(target: Any, terms: int) -> None:CODE
LOWexamples/server/api/asgi/fourier_studio.py157 def update_data() -> None:STRING
LOWexamples/server/api/asgi/fastapi_shared_data.py92 def update_document(doc: Document) -> None:CODE
LOW…ples/server/api/asgi/streamlit_particles/simulation.py211 def update_presentation(state: Snapshot) -> None:CODE
LOWsrc/bokeh/settings.py488 def set_value(self, value: str | T) -> None:CODE
LOWsrc/bokeh/core/has_props.py526 def set_from_json(self, name: str, value: Any, *, setter: Setter | None = None) -> None:CODE
LOWsrc/bokeh/core/property/descriptors.py222 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:CODE
LOWsrc/bokeh/core/property/descriptors.py496 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:STRING
LOWsrc/bokeh/core/property/descriptors.py668 def _set_value(self, obj: HasProps, value: Any) -> None:STRING
LOWsrc/bokeh/core/property/descriptors.py906 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:STRING
LOW⚡src/bokeh/core/property/validation.py41def set_validation_default(value: bool) -> None:CODE
LOWsrc/bokeh/sphinxext/_internal/timing.py50def _setup_docs_profile(app: Any) -> None:CODE
LOWsrc/bokeh/util/callback_manager.py118 def _update_event_callbacks(self) -> None:CODE
LOWsrc/bokeh/util/compiler.py278def set_cache_hook(hook: Callable[[CustomModel, Implementation], AttrDict | None]) -> None:CODE
LOWsrc/bokeh/io/doc.py92def set_curdoc(doc: Document) -> None:CODE
LOWsrc/bokeh/server/contexts.py103 def _set_session(self, session: ServerSession) -> None:CODE
LOWsrc/bokeh/server/views/embed_json_handler.py33 def set_default_headers(self) -> None:CODE
LOWsrc/bokeh/models/layouts.py281 def _set_background(self, color: ColorLike) -> None:STRING
LOWsrc/bokeh/models/renderers/contour_renderer.py67 def set_data(self, data: ContourData) -> None:STRING
LOWsrc/bokeh/document/models.py255 def update_name(self, model: Model, old_name: str | None, new_name: str | None) -> None:CODE
LOWsrc/bokeh/document/document.py892 def set_select(self, selector: SelectorType | type[Model], updates: dict[str, Any]) -> None:STRING
LOWsrc/bokeh/document/document.py913 def set_title(self, title: str, setter: Setter | None = None) -> None:STRING
LOWsrc/bokeh/document/document.py1092 def _set_config(self, config: DocumentConfig) -> None:STRING
LOWsrc/bokeh/model/model.py607 def set_select(self, selector: type[Model] | SelectorType, updates: dict[str, Any]) -> None:STRING
TODO Padding6 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡bokehjs/src/lib/core/util/svg.ts363 globalCompositeOperation: GlobalCompositeOperation // TODO: implementCODE
LOW⚡bokehjs/src/lib/core/util/svg.ts370 filter: string // TODO: implementCODE
LOW⚡bokehjs/src/lib/core/util/svg.ts371 imageSmoothingEnabled: boolean // TODO: implementCODE
LOW⚡bokehjs/src/lib/core/util/svg.ts372 imageSmoothingQuality: ImageSmoothingQuality // TODO: implementCODE
LOWbokehjs/src/lib/core/serialization/deserializer.ts224 this.error(`can't resolve named symbol '${obj.name}'`) // TODO: implement symbol resolutionCODE
LOWsrc/bokeh/core/serialization.py756 self.error(f"can't resolve named symbol '{name}'") # TODO: implement symbol resolutionCODE
Self-Referential Comments2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/unit/bokeh/test_typing.py10# This file is meant only for type-checking with mypy. Thus "test" functionsCOMMENT
MEDIUMexamples/models/dateaxis.py21# Create an array of synthetic times, starting at the current time, and extending 24hrsCOMMENT
AI Structural Patterns7 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/bokeh/events.py648CODE
LOWsrc/bokeh/core/property/datetime.py167CODE
LOWsrc/bokeh/embed/_util.py188CODE
LOWsrc/bokeh/server/server.py534CODE
LOWsrc/bokeh/server/core.py185CODE
LOWsrc/bokeh/server/tornado.py257CODE
LOWsrc/bokeh/plotting/glyph_api.py84CODE
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/milestone.py166 def helper(cursor: str | None = None) -> int | None:CODE
LOWtools/milestone.py281 def helper(kind: MilestoneKind, cursor: str | None = None) -> None:STRING
LOWtests/support/plugins/bokeh_server.py91 def helper() -> Any:CODE
LOWtests/support/plugins/jupyter_notebook.py145 def helper() -> Any:STRING
LOWexamples/server/app/gapminder/data.py4def process_data():CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWbokehjs/test/unit/models/sources/ajax_data_source.ts177 const source = AjaxDataSource.create({data_url: "/ajax/dummy_data", polling_interval: 100, if_modified: trueCODE
LOWbokehjs/test/devtools/server.ts163app.post("/ajax/dummy_data", async (_req, res) => {CODE
LOWbokehjs/src/lib/core/dom.ts198 placeholder: HTMLInputElement["placeholder"]CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/interaction/tools/toolbar_autohide.py17# Set autohide to true to only show the toolbar when mouse is over plotCOMMENT