AI Slop Code RIsk Monitor

bokeh/bokeh

Interactive Data Visualization in the browser, from Python

101.8 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for bokeh/bokeh, a TypeScript project with 20,455 GitHub stars. SynthScan examined 380,569 lines of code across 2798 source files, recording 12121 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 101.8 (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.

101.8
Adjusted Signal
101.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
20.5K
Stars
TypeScript
Language
380.6K
Lines of Code
2.8K
Files
12.1K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 28.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 18.3/100 · LOW

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

Agent Over-Engineering Ratio 99.1/100 · CRITICAL

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

PR Review Velocity Impact 98.1/100 · CRITICAL

Which changes need focused human review? 12121 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 282MEDIUM 8340LOW 3486

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 12121 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 Separators8325 hits · 34091 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
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.py23#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ci/import_all_modules.py25#-----------------------------------------------------------------------------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/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
MEDIUM⚡tests/test_bokehjs.py15#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py17#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py23#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_bokehjs.py25#-----------------------------------------------------------------------------COMMENT
8265 more matches not shown…
Hyper-Verbose Identifiers1663 hits · 1424 pts
SeverityFileLineSnippetContext
LOWtools/backport/git.py283 def remove_worktree_and_branch(CODE
LOWtools/backport/planning.py133def _advance_dedicated_commits(CODE
LOWtools/backport/planning.py197def continue_dedicated_commit(CODE
LOWtools/backport/planning.py379def _validate_candidate_sequence(git: GitRepo, state: PlanState, head: str) -> None:CODE
LOWtools/backport/candidates.py230def candidate_source_problems(CODE
LOWtools/backport/candidates.py256def candidate_policy_problems(CODE
LOWtools/backport/candidates.py280def candidate_target_problems(CODE
LOWtools/backport/__main__.py38def _require_supported_python() -> None:CODE
LOW⚡tools/release/build.py298def verify_pip_install_from_sdist(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/build.py305def verify_pip_install_using_sdist(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/build.py312def verify_pip_install_using_wheel(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py45def upload_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py53def download_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tools/release/deployment.py61def unpack_deployment_tarball(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py74def check_release_notes_present(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py84def check_checkout_on_base_branch(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py107def check_checkout_matches_remote(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py127def check_docs_version_config(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py168def check_release_tag_is_available(config: Config, system: System) -> ActionReturn:CODE
LOWtools/release/checks.py197def check_staging_branch_is_available(config: Config, system: System) -> ActionReturn:CODE
LOW⚡tests/conftest.py66def pandas_nullable_constructor(obj) -> IntoDataFrame:CODE
LOW⚡tests/conftest.py70def pandas_pyarrow_constructor(obj) -> IntoDataFrame:CODE
LOW⚡tests/conftest.py79def pyarrow_table_constructor(obj) -> IntoDataFrame:CODE
LOW⚡tests/unit/bokeh/test_resources.py114def test_resource_override_version_rejects_invalid_values(version: Any) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py119def test_resource_override_version_is_preserved() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py127def test_cdn_version_does_not_affect_other_resource_modes(CODE
LOW⚡tests/unit/bokeh/test_resources.py179def test_build_rejects_unknown_dev_resource_settings(setting: str) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py184def test_get_all_sri_versions_valid_format() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py189def test_get_sri_hashes_for_standard_versions(version: str) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py199def test_get_sri_hashes_for_weird_versions(version: str) -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py208def test_get_sri_hashes_for_version_rejects_unknown_version() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py213def test_session_coordinates_normalizes_default_url() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py219def test_session_coordinates_rejects_websocket_url() -> None:CODE
LOW⚡tests/unit/bokeh/test_resources.py224def test_session_coordinates_lazily_generates_session_id() -> None:CODE
LOWtests/unit/bokeh/test_resources.py30def test_public_resource_configuration() -> None:CODE
LOWtests/unit/bokeh/test_resources.py39def test_cdn_version_defaults_to_payload_version(CODE
LOWtests/unit/bokeh/test_resources.py56def test_cdn_version_environment_override(CODE
LOWtests/unit/bokeh/test_resources.py73def test_cdn_version_programmatic_override_takes_precedence(CODE
LOWtests/unit/bokeh/test_resources.py86def test_cdn_version_override_is_captured_by_resource_policy(CODE
LOWtests/unit/bokeh/test_resources.py102def test_explicit_resource_override_version_takes_precedence_over_setting(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/bokeh/test_resources.py146def test_cdn_version_override_selects_matching_integrity_hash(CODE
LOWtests/unit/bokeh/test_resources.py165def test_build_accepts_dev_resource_settings(setting: resources.ResourcesSetting, mode: resources.ResourcesMode) -> NoneCODE
LOW⚡tests/unit/bokeh/test_palettes.py30def test_cmap_generator_function() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py40def test_all_palettes___palettes__() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py76def test_diverging_palette_returns_n_colors() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py82def test_diverging_palette_returns_n_colors_for_off_center_midpoint() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py87def test_diverging_palette_splits_across_both_palettes() -> None:CODE
LOW⚡tests/unit/bokeh/test_palettes.py92def test_varying_alpha_palette() -> None:CODE
LOW⚡tests/unit/bokeh/test_layouts__typing.py33def test_gridplot_typing_no_ncols() -> None:CODE
LOWtests/unit/bokeh/test_layouts__typing.py48def test_gridplot_typing_using_ncols() -> None:CODE
LOW⚡tests/unit/bokeh/test_typing.py59def mypy_test_figure_list_attr_splat() -> None:CODE
LOW⚡tests/unit/bokeh/test_themes.py71 def test_construct_empty_theme_from_json(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py76 def test_construct_no_json_or_filename(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py81 def test_construct_json_and_filename(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py290 def test_setting_built_in_theme_obj(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py297 def test_setting_built_in_theme_str(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py304 def test_setting_built_in_theme_missing(self) -> None:STRING
LOW⚡tests/unit/bokeh/test_themes.py311 def test_setting_built_in_theme_error(self) -> None:STRING
LOWtests/unit/bokeh/test_themes.py60 def test_construct_empty_theme_from_file(self) -> None:STRING
LOWtests/unit/bokeh/test_themes.py93 def test_construct_bad_class_props(self) -> None:STRING
1603 more matches not shown…
Unused Imports912 hits · 728 pts
SeverityFileLineSnippetContext
LOWsetup.py7CODE
LOWtools/milestone.py3CODE
LOWtools/ci/notify_full_ci.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/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
LOWtests/unit/bokeh/core/property/test_instance.py11CODE
LOWtests/unit/bokeh/core/property/test_singletons.py11CODE
852 more matches not shown…
Over-Commented Block705 hits · 644 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_defaults.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_palettes.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_palettes.py121 assert pal.varying_alpha_palette("#12345680", 3, start_alpha=0, end_alpha=128) == ("#12345600", "#12345620", "#12345COMMENT
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_transform.py301COMMENT
LOWtests/unit/bokeh/test___init__.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_driving.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_typing.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_typing.py101# Dev APICOMMENT
LOWtests/unit/bokeh/test_themes.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_themes.py321#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_client_server.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_server.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_server.py61# Private APICOMMENT
LOWtests/unit/bokeh/test___main__.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test___main__.py61#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_ext.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_events.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_events.py421 assert isinstance(event.msg_data, ClearInput)COMMENT
LOWtests/unit/bokeh/test_regressions.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_regressions.py61 assert obj0.p0 == [obj1]COMMENT
LOWtests/unit/bokeh/test_free_threading.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_objects.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_layouts.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/test_settings.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_validation.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_templates.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_templates.py101COMMENT
LOWtests/unit/bokeh/core/test_json_encoder.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_enums.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_enums.py521# Private APICOMMENT
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_has_props.py1041#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_serialization.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_serialization.py1601COMMENT
LOWtests/unit/bokeh/core/test_properties.py1#-----------------------------------------------------------------------------COMMENT
LOWtests/unit/bokeh/core/test_properties.py521 assert 12 == f_base.properties_with_values(include_defaults=True)['x']COMMENT
LOWtests/unit/bokeh/core/test_properties.py661#-----------------------------------------------------------------------------COMMENT
LOW…sts/unit/bokeh/core/property/test_string_properties.py1#-----------------------------------------------------------------------------COMMENT
LOW…sts/unit/bokeh/core/property/test_string_properties.py81# Dev APICOMMENT
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
645 more matches not shown…
Cross-Language Confusion88 hits · 494 pts
SeverityFileLineSnippetContext
HIGHtools/backport/publishing.py123 git.push(worktree, state.branch)CODE
HIGHtests/test_examples.py316 width: Math.max(1, Math.ceil(right + parseFloat(style.marginRight || 0))),CODE
HIGHtests/test_examples.py317 height: Math.max(1, Math.ceil(bottom + parseFloat(style.marginBottom || 0))),CODE
HIGHtests/test_examples.py280 return width > 0 && height > 0STRING
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py44[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\CODE
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py48[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\CODE
HIGH⚡tests/unit/bokeh/core/test_json_encoder.py53 null,CODE
HIGHtests/unit/bokeh/core/test_json_encoder.py70 null,CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py418 assert p1.equals(p2)CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py420 assert not p1.equals(p2)CODE
HIGH⚡tests/unit/bokeh/core/test_has_props.py422 assert p1.equals(p2)CODE
HIGHtests/unit/bokeh/core/test_serialization.py1551 '"name":null,' +STRING
HIGHtests/unit/bokeh/core/test_serialization.py1552 '"null_child":null,' +STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1132 Bokeh: failure == "missing-api" ? {version: "3.10.1"} : undefined,STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1136const before_dom = targets.every((target) => target.bokehMountError == null)STRING
HIGH⚡tests/unit/bokeh/embed/test_result.py1143 events: targets.map((target) => target.events.length), unrelated: unrelated.bokehMountError == null,STRING
HIGHtests/unit/bokeh/embed/test_result.py1113 this.addEventListener("bokeh:mount-error", (event) => this.events.push(event.detail))STRING
HIGHtests/unit/bokeh/util/test_compiler.py248 formatted.push(`+${difference}}`)CODE
HIGHtests/tools/backport/test_git.py61 git.push(worktree, branch)CODE
HIGHtests/integration/server_e2e/test_embed_resources.py64 this.define<any>(({Any}) => ({child: [Any, null]}))CODE
HIGHtests/integration/server_e2e/test_embed_resources.py132 return target?.bokehMount != null || target?.bokehMountError != nullSTRING
HIGHtests/integration/server_e2e/test_embed_resources.py156 return Definition != null && Definition.create().child.type === hidden_nameCODE
HIGHtests/integration/server_e2e/test_examples.py136 "() => globalThis.Bokeh != null && Bokeh.documents.length === 1",CODE
HIGH⚡tests/codebase/test_ci_workflows.py58 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/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.py40 colors.push(`${color} ${offset}px`)CODE
HIGHexamples/models/custom.py42 colors.push(`${color} ${offset}px`)CODE
HIGH⚡examples/models/buttons.py23button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))CODE
HIGH⚡examples/models/buttons.py24button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))CODE
HIGH⚡examples/models/buttons.py27button_disabled.js_on_event("button_click", CustomJS(code="console.log('button(disabled): click ', this.toString())"))CODE
HIGH⚡examples/models/buttons.py30toggle_inactive.js_on_event('button_click', CustomJS(code="console.log('toggle(inactive): active=' + this.origin.active,CODE
HIGH⚡examples/models/buttons.py33toggle_active.js_on_event('button_click', CustomJS(code="console.log('toggle(active): active=' + this.origin.active, thiCODE
HIGH⚡examples/models/buttons.py38dropdown.js_on_event("button_click", CustomJS(code="console.log('dropdown: click ' + this.toString())"))CODE
HIGH⚡examples/models/buttons.py39dropdown.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown: ' + this.item, this.toString())"))CODE
HIGH⚡examples/models/buttons.py42dropdown_disabled.js_on_event("button_click", CustomJS(code="console.log('dropdown(disabled): click ' + this.toString())CODE
HIGH⚡examples/models/buttons.py43dropdown_disabled.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown(disabled): ' + this.item, this.toSCODE
HIGH⚡examples/models/buttons.py46dropdown_split.js_on_event("button_click", CustomJS(code="console.log('dropdown(split): click ' + this.toString())"))CODE
HIGH⚡examples/models/buttons.py47dropdown_split.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown(split): ' + this.item, this.toString(CODE
HIGH⚡examples/models/buttons.py50checkbox_group.js_on_change('active', CustomJS(code="console.log('checkbox_group: active=' + this.active, this.toString(CODE
HIGH⚡examples/models/buttons.py53radio_group.js_on_change('active', CustomJS(code="console.log('radio_group: active=' + this.active, this.toString())"))CODE
HIGH⚡examples/models/buttons.py56checkbox_button_group.js_on_event("button_click", CustomJS(code="console.log('checkbox_button_group: active=' + this.oriCODE
HIGH⚡examples/models/buttons.py59radio_button_group.js_on_event("button_click", CustomJS(code="console.log('radio_button_group: active=' + this.origin.acCODE
HIGHexamples/interaction/tools/hover_tooltip_advanced.py21x_filter = CustomJS(code="""export default (args, tool, {value: x}) => 20 <= x && x <= 80""")CODE
HIGHexamples/interaction/tools/hover_tooltip_advanced.py22y_filter = CustomJS(code="""export default (args, tool, {value: y}) => 20 <= y && y <= 80""")CODE
HIGH…amples/interaction/widgets/multiple_datetime_picker.py16 console.log("multiple_datetime_picker: value=" + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/radio_button_group.py8 console.log('radio_button_group: active=' + btn.active, this.toString())CODE
HIGHexamples/interaction/widgets/datetime_picker.py11 console.log("datetime_picker: value=" + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/checkbox_button_group.py8 console.log('checkbox_button_group: active=' + btn.active, this.toString())CODE
HIGHexamples/interaction/widgets/time_picker.py6 console.log("time_picker: value=" + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/toggle_button.py6 console.log('toggle: active=' + btn.active, this.toString())CODE
HIGHexamples/interaction/widgets/dateslider.py10 console.log('date_slider: value=' + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/radio_group.py8 console.log('radio_group: active=' + this.origin.active, this.toString())CODE
HIGHexamples/interaction/widgets/date_picker.py11 console.log("date_picker: value=" + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/date_range_picker.py12 console.log("date_range_picker: value=" + this.value, this.toString())CODE
HIGHexamples/interaction/widgets/datetime_range_picker.py12 console.log("datetime_range_picker: value=" + this.value, this.toString())CODE
28 more matches not shown…
Docstring Block Structure67 hits · 335 pts
SeverityFileLineSnippetContext
HIGHsrc/bokeh/palettes.py1510 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.py1532 Generate a new palette by combining exactly two input palettes. Given an input ``palette1`` and ``palette2``, takeSTRING
HIGHsrc/bokeh/palettes.py1575 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.py1643 Generate a new palette by interpolating a given palette. Linear interpolation is performed separately on each of tSTRING
HIGHsrc/bokeh/palettes.py1680 Generate a palette of colors from the Magma palette. The full Magma palette that serves as input for deriving new STRING
HIGHsrc/bokeh/palettes.py1709 Generate a palette of colors from the Inferno palette. The full Inferno palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1738 Generate a palette of colors from the Plasma palette. The full Plasma palette that serves as input for deriving neSTRING
HIGHsrc/bokeh/palettes.py1767 Generate a palette of colors from the Viridis palette. The full Viridis palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1796 Generate a palette of colors from the Cividis palette. The full Cividis palette that serves as input for deriving STRING
HIGHsrc/bokeh/palettes.py1825 Generate a palette of colors from the Turbo palette. Turbo is described here: https://ai.googleblog.com/2019/STRING
HIGHsrc/bokeh/palettes.py1858 Generate a palette of colors from the Greys palette. The full Greys palette that serves as input for deriving new STRING
HIGHsrc/bokeh/palettes.py1890 Generate a palette of colors or from the Greys palette. The full Greys palette that serves as input for deriving nSTRING
HIGHsrc/bokeh/settings.py195 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.py262Convert 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.py299Convert a string to a validation level If a validation level is passed in, it is returned as-is. Args: STRING
HIGHsrc/bokeh/settings.py323Convert a string to an .ico path Args: value (str): A string value to convert to a .ico path STRING
HIGHsrc/bokeh/settings.py461Return the setting value according to the standard precedence. Args: value (any, optional): STRING
HIGHsrc/bokeh/resources.py456 Report SRI script hashes for a specific version of BokehJS. Bokeh provides `Subresource Integrity`_ hashes for allSTRING
HIGHsrc/bokeh/layouts.py91 Create a row of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for compleSTRING
HIGHsrc/bokeh/layouts.py126 Create a column of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for comSTRING
HIGHsrc/bokeh/layouts.py157 Create a grid-based arrangement of Bokeh Layout objects. Args: children (list of lists of :class:`~bokeh.mSTRING
HIGHsrc/bokeh/layouts.py234 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.py63 Query a collection of Bokeh models and yield any that match the a selector. Args: objs (Iterable[ModelSTRING
HIGHsrc/bokeh/core/json_encoder.py72 Convert an object or a serialized representation to a JSON string. This function accepts Python-serializable oSTRING
HIGHsrc/bokeh/core/property/descriptors.py331 Implement the getter for the Python `descriptor protocol`_. For instance attribute access, we delegate to the STRING
HIGHsrc/bokeh/core/property/descriptors.py612 Internal implementation of instance attribute access for the ``PropertyDescriptor`` getter. If the valSTRING
HIGHsrc/bokeh/core/property/wrappers.py120 A decorator for mutating methods of property container classes that notifies owners of the property container aboutSTRING
HIGHsrc/bokeh/core/property/bases.py300 Determine whether we can set this property from this value. Validation happens before transform() ArgSTRING
HIGHsrc/bokeh/core/validation/decorators.py101 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.py141 Decorator to mark a validator method for a Bokeh error condition Args: code_or_name (int, str or Issue) : STRING
HIGHsrc/bokeh/embed/standalone.py81 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.py64 Join together sequences of strings into English-friendly phrases using the conjunction ``or`` when appropriate. STRING
HIGHsrc/bokeh/util/dependencies.py70 Attempt to import a required dependency. Raises a RuntimeError if the requested module is not available. ArgsSTRING
HIGHsrc/bokeh/io/util.py77 Generate a default filename with a given extension, attempting to use the filename of the currently running processSTRING
HIGHsrc/bokeh/io/notebook.py188 Install a new notebook display hook. Bokeh comes with support for Jupyter notebooks built-in. However, there are STRING
HIGHsrc/bokeh/io/notebook.py271 Update Bokeh plots in a Jupyter notebook output cells with new data or property values. When working inside thSTRING
HIGHsrc/bokeh/io/notebook.py361 Run an installed notebook hook with supplied arguments. Args: notebook_type (str) : Name of anSTRING
HIGHsrc/bokeh/server/server.py554 Create a ``Server`` instance, applying any relevant ``Server`` settings from the global settings module, if theSTRING
HIGHsrc/bokeh/server/util.py95 This allowlist can be used to restrict websocket or other connections to only those explicitly originating froSTRING
HIGHsrc/bokeh/server/util.py158 Match a host string against a pattern Args: host (str) A hostname to compare to the given pattSTRING
HIGHsrc/bokeh/models/sources.py466 Efficiently update data source columns with new append-only data. In cases where it is necessary to update datSTRING
HIGHsrc/bokeh/models/sources.py509 Internal implementation to efficiently update data source columns with new append-only data. The internal impleSTRING
HIGHsrc/bokeh/models/sources.py627 Efficiently update data source columns at specific locations If it is only necessary to update a small subset STRING
HIGHsrc/bokeh/models/plots.py125 Query this object and all of its references for objects that match the given selector. There are a fewSTRING
HIGHsrc/bokeh/models/widgets/tables.py843 Create a simple table from a pandas dataframe, dictionary or ColumnDataSource. Args: data (DataFraSTRING
HIGHsrc/bokeh/document/document.py754 Remove a callback added earlier with ``add_next_tick_callback``. Args: callback_obj : a value retuSTRING
HIGHsrc/bokeh/document/document.py784 Remove a callback added earlier with ``add_periodic_callback`` Args: callback_obj : a value returnSTRING
HIGHsrc/bokeh/document/document.py830 Remove a callback added earlier with ``add_timeout_callback``. Args: callback_obj : a value returnSTRING
HIGHsrc/bokeh/document/callbacks.py168 Internal implementation for adding session callbacks. Args: callback_obj (SessionCallback) : STRING
HIGHsrc/bokeh/plotting/graph.py45 Generate a ``GraphRenderer`` from a ``networkx.Graph`` object and networkx layout function. Any keywordSTRING
HIGHsrc/bokeh/plotting/_renderer.py153 Applies basic cascading logic to deduce properties for a glyph. Args: glyphclass : the typSTRING
HIGHsrc/bokeh/plotting/_figure.py385 Generate multiple ``HArea`` renderers for levels stacked left to right. Args: stackers (seSTRING
HIGHsrc/bokeh/plotting/_figure.py431 Generate multiple ``HBar`` renderers for levels stacked left to right. Args: stackers (seq[str]) :STRING
HIGHsrc/bokeh/plotting/_figure.py477 Generate multiple ``Line`` renderers for lines stacked vertically or horizontally. Args: sSTRING
HIGHsrc/bokeh/plotting/_figure.py527 Generate multiple ``Line`` renderers for lines stacked horizontally. Args: stackers (seq[str]) : aSTRING
HIGHsrc/bokeh/plotting/_figure.py570 Generate multiple ``VArea`` renderers for levels stacked bottom to top. Args: stackers (seSTRING
HIGHsrc/bokeh/plotting/_figure.py616 Generate multiple ``VBar`` renderers for levels stacked bottom to top. Args: stackers (seqSTRING
HIGHsrc/bokeh/plotting/_figure.py662 Generate multiple ``Line`` renderers for lines stacked vertically. Args: stackers (seq[str]) : a lSTRING
HIGHsrc/bokeh/model/util.py149 Look up a Bokeh model class, given its view model name. Args: view_model_name (str) : A view mSTRING
7 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 Handlers43 hits · 215 pts
SeverityFileLineSnippetContext
HIGHtests/test_examples.py374except subprocess.TimeoutExpired:CODE
HIGHtests/test_examples.py338except OSError:CODE
HIGHtests/test_examples.py369except OSError:CODE
HIGH…ts/unit/bokeh/core/property/test_wrappers__property.py550except Exception:CODE
HIGH…ts/unit/bokeh/core/property/test_wrappers__property.py555except Exception:CODE
HIGHtests/unit/bokeh/server/test_asgi.py1286except asyncio.CancelledError:CODE
HIGHtests/unit/bokeh/model/test_model.py226except BokehDeprecationWarning:CODE
HIGHtests/unit/bokeh/command/subcommands/test_serve.py440except Exception:CODE
HIGHtests/integration/server_proxy/test_proxy.py53except (OSError, URLError):CODE
HIGHtests/integration/server_e2e/test_examples.py72except (OSError, URLError):CODE
HIGHtests/support/plugins/file_server.py110except OSError:CODE
HIGHdocs/bokeh/docserver.py94except KeyboardInterrupt:CODE
HIGHdocs/bokeh/api_reference/__main__.py337except OSError:CODE
HIGHsrc/bokeh/settings.py955except Exception:CODE
HIGHsrc/bokeh/core/property/either.py86except ValueError:CODE
HIGHsrc/bokeh/core/property/nullable.py61except ValueError:CODE
HIGHsrc/bokeh/core/property/dataspec.py238except ValueError:CODE
HIGHsrc/bokeh/core/property/dataspec.py467except TypeError:CODE
HIGHsrc/bokeh/core/property/dataspec.py482except TypeError:CODE
HIGHsrc/bokeh/core/property/dataspec.py496except TypeError:CODE
HIGHsrc/bokeh/core/property/datetime.py117except Exception:CODE
HIGHsrc/bokeh/core/property/datetime.py145except ValueError:CODE
HIGHsrc/bokeh/util/asyncio.py161except asyncio.CancelledError:CODE
HIGHsrc/bokeh/util/asyncio.py109except BaseException:CODE
HIGHsrc/bokeh/util/asyncio.py199except ValueError:CODE
HIGHsrc/bokeh/util/browser.py129except Exception:CODE
HIGHsrc/bokeh/util/serialization.py258except (TypeError, ValueError):CODE
HIGHsrc/bokeh/util/dependencies.py60except ImportError:CODE
HIGHsrc/bokeh/io/browser.py557except Exception:CODE
HIGHsrc/bokeh/io/browser.py199except Exception:CODE
HIGHsrc/bokeh/io/browser.py206except Exception:CODE
HIGHsrc/bokeh/server/callbacks.py225except ValueError:CODE
HIGHsrc/bokeh/server/executor.py69except BaseException:CODE
HIGHsrc/bokeh/server/views/static_handler.py140except Exception:CODE
HIGHsrc/bokeh/server/views/embed_json_handler.py53except HTTPError:CODE
HIGHsrc/bokeh/models/util/structure.py174except (TypeError, UnsetValueError):CODE
HIGHsrc/bokeh/models/util/structure.py178except (TypeError, UnsetValueError):CODE
HIGHsrc/bokeh/models/util/structure.py182except (AttributeError, ValueError, UnsetValueError):CODE
HIGHsrc/bokeh/models/widgets/sliders.py84except UnsetValueError:CODE
HIGHsrc/bokeh/models/widgets/sliders.py86except AttributeError:CODE
HIGHsrc/bokeh/plotting/_plot.py96except ValueError: # @mattpap suggests ValidationError insteadCODE
HIGHsrc/bokeh/plotting/_plot.py176except ValueError:CODE
HIGHsrc/bokeh/command/subcommands/__init__.py69except TypeError:CODE
Hallucination Indicators13 hits · 160 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/bokeh/io/test_saving.py52 mock_open.return_value.__enter__.return_value.write.assert_called_once_with("<html></html>")CODE
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts57 this.plot_view.canvas.ui_event_bus.focus.connect(() => {CODE
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts60 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)27 hits · 152 pts
SeverityFileLineSnippetContext
HIGHbokehjs/make/task.ts68 print(`${chalk.red("failed:")} ${msg}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts72 print(`${cyan("npm install")} failed with exit code ${red(`${status}`)}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts78 print(`Using nodejs ${magenta(node_version)} and npm ${magenta(npm_version(base_dir))}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts79 print(`Working directory: ${cyan(base_dir)}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts218 print(`Created empty ${cyan("index.ts")}. This is the entry point of your extension.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts221 print(`You can build your extension with ${magenta(`bokeh build ${rel}`)}`)CODE
HIGH⚡bokehjs/src/compiler/build.ts223 print("All done.")CODE
HIGH⚡bokehjs/src/compiler/build.ts264 print("Using different version of bokeh, rebuilding from scratch.")CODE
HIGH⚡bokehjs/src/compiler/build.ts274 print(`${cyan(package_json_path)} doesn't exist. Not a npm package.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts277 print(`Running ${cyan("npm install")}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts282 print(`${result} Running ${cyan("npm install")}.`)CODE
HIGH⚡bokehjs/src/compiler/build.ts359 print(report_diagnostics(tsconfig2.diagnostics).text)CODE
HIGH⚡bokehjs/src/compiler/build.ts367 print(`Compiling TypeScript (${magenta(count_files(files))})`)CODE
HIGH⚡bokehjs/src/compiler/build.ts374 print(report_diagnostics(tsoutput.diagnostics).text)CODE
HIGHbokehjs/src/compiler/build.ts51 print(` ${file}`)CODE
HIGHbokehjs/src/compiler/build.ts143 print("Already a bokeh extension. Quitting.")CODE
HIGHbokehjs/src/compiler/build.ts149 print(`Wrote ${cyan(path)}`)CODE
HIGHbokehjs/src/compiler/build.ts188 print(`${red("Invalid input")}. Assuming no.`)CODE
HIGHbokehjs/src/compiler/build.ts246 print("Not a bokeh extension. Quitting.")CODE
HIGHbokehjs/src/compiler/build.ts305 print(`TypeScript lib: ${cyan(tslib_dir)}`)CODE
HIGHbokehjs/src/compiler/build.ts309 print(`Using ${cyan(tsconfig_path)}`)CODE
HIGHbokehjs/src/compiler/build.ts330 print(report_diagnostics(tsconfig.diagnostics).text)CODE
HIGHbokehjs/src/compiler/build.ts346 print(`Compiling styles (${magenta(count_files(styles))})`)CODE
HIGHbokehjs/src/compiler/build.ts397 print("Linking modules")CODE
HIGHbokehjs/src/compiler/build.ts418 print(`Failed to license text from ${magenta(license_path)}`)CODE
HIGHbokehjs/src/compiler/build.ts460 print(`Output written to ${cyan(dist_dir)}`)CODE
HIGHbokehjs/src/compiler/build.ts461 print("All done.")CODE
Deep Nesting93 hits · 72 pts
SeverityFileLineSnippetContext
LOWtools/milestone.py366CODE
LOWtools/backport/updating.py180CODE
LOWtools/release/build.py127CODE
LOWtools/release/build.py185CODE
LOWtools/release/checks.py107CODE
LOWtools/release/checks.py127CODE
LOWtests/test_examples.py175CODE
LOWtests/unit/bokeh/test_events.py63CODE
LOWtests/unit/bokeh/embed/test_result.py390CODE
LOWtests/unit/bokeh/embed/test_result.py393CODE
LOWtests/unit/bokeh/server/test_asgi.py797CODE
LOWtests/unit/bokeh/server/test_asgi.py815CODE
LOW…sts/unit/bokeh/server/views/test_embed_json_handler.py244CODE
LOWtests/unit/bokeh/command/subcommands/test_serve.py513CODE
LOWtests/tools/release/test_build.py165CODE
LOWtests/integration/server_proxy/test_proxy.py44CODE
LOWtests/integration/server_e2e/test_embed_resources.py39CODE
LOWtests/integration/server_e2e/test_examples.py63CODE
LOWtests/support/util/filesystem.py79CODE
LOWtests/support/util/examples.py151CODE
LOWtests/support/util/compare.py47CODE
LOWexamples/server/app/image_blur.py33CODE
LOWexamples/server/app/ohlc/main.py67CODE
LOWexamples/server/api/asgi/framework_free.py41CODE
LOWexamples/server/api/asgi/streamlit_particles/ui.py58CODE
LOWsrc/bokeh/resources.py245CODE
LOWsrc/bokeh/layouts.py223CODE
LOWsrc/bokeh/layouts.py417CODE
LOWsrc/bokeh/layouts.py615CODE
LOWsrc/bokeh/layouts.py689CODE
LOWsrc/bokeh/layouts.py492CODE
LOWsrc/bokeh/layouts.py507CODE
LOWsrc/bokeh/core/query.py108CODE
LOWsrc/bokeh/core/has_props.py241CODE
LOWsrc/bokeh/core/has_props.py851CODE
LOWsrc/bokeh/core/serialization.py294CODE
LOWsrc/bokeh/core/serialization.py533CODE
LOWsrc/bokeh/core/serialization.py672CODE
LOWsrc/bokeh/core/property/descriptors.py908CODE
LOWsrc/bokeh/core/property/wrappers.py450CODE
LOWsrc/bokeh/core/property/wrappers.py518CODE
LOWsrc/bokeh/core/property/struct.py85CODE
LOWsrc/bokeh/core/property/bases.py349CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_model.py245CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_model.py275CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_prop.py178CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py127CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py169CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_example_metadata.py123CODE
LOWsrc/bokeh/embed/_output.py218CODE
LOWsrc/bokeh/embed/_output.py258CODE
LOWsrc/bokeh/embed/result.py435CODE
LOWsrc/bokeh/embed/_util.py275CODE
LOWsrc/bokeh/embed/_util.py368CODE
LOWsrc/bokeh/embed/resources.py392CODE
LOWsrc/bokeh/embed/resources.py569CODE
LOWsrc/bokeh/embed/resources.py254CODE
LOWsrc/bokeh/util/package.py43CODE
LOWsrc/bokeh/util/compiler.py527CODE
LOWsrc/bokeh/util/compiler.py546CODE
33 more matches not shown…
Excessive Try-Catch Wrapping68 hits · 64 pts
SeverityFileLineSnippetContext
LOWsetup.py138 except Exception:CODE
MEDIUMtools/ci/notify_full_ci.py133 print(f"Error: {error.stderr.strip() or str(error)}", file=sys.stderr)STRING
LOWtools/release/build.py160 except Exception as e:CODE
LOWtools/release/build.py177 except Exception as e:CODE
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py550 except Exception:CODE
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py555 except Exception:CODE
LOWtests/unit/bokeh/model/test_model.py228 except Exception:CODE
MEDIUM⚡tests/unit/bokeh/command/subcommands/test_serve.py435 print("An error occurred: %s", e)CODE
LOW⚡tests/unit/bokeh/command/subcommands/test_serve.py432 except Exception as e:CODE
LOW⚡tests/unit/bokeh/command/subcommands/test_serve.py440 except Exception:CODE
LOWtests/unit/bokeh/command/subcommands/test_serve.py533 except Exception:CODE
LOWtests/support/util/filesystem.py67 except Exception as e:CODE
LOWexamples/server/app/taylor.py51 except Exception as exception:CODE
MEDIUMexamples/server/app/taylor.py48def 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.py243 except Exception:CODE
LOW⚡src/bokeh/settings.py955 except Exception:STRING
LOWsrc/bokeh/settings.py935 except Exception:STRING
LOWsrc/bokeh/resources.py500 except Exception as e:CODE
LOWsrc/bokeh/core/property/datetime.py77 except Exception:CODE
LOWsrc/bokeh/core/property/datetime.py117 except Exception:CODE
LOWsrc/bokeh/sphinxext/bokeh_plot.py196 except Exception as e:CODE
LOWsrc/bokeh/sphinxext/bokeh_plot.py259 except Exception as e:CODE
LOWsrc/bokeh/sphinxext/_internal/bokeh_palette.py137 except Exception as e:CODE
LOWsrc/bokeh/util/asyncio.py137 except Exception:CODE
LOW⚡src/bokeh/util/browser.py129 except Exception:CODE
LOWsrc/bokeh/util/info.py72 except Exception:CODE
LOWsrc/bokeh/util/dependencies.py62 except Exception:CODE
LOW⚡src/bokeh/io/browser.py287 except Exception:CODE
LOW⚡src/bokeh/io/browser.py303 except Exception as e:CODE
LOW⚡src/bokeh/io/browser.py557 except Exception:CODE
LOWsrc/bokeh/io/browser.py199 except Exception:CODE
LOWsrc/bokeh/io/browser.py206 except Exception:CODE
LOWsrc/bokeh/io/browser.py236 except Exception as e:CODE
LOWsrc/bokeh/io/browser.py275 except Exception as e:CODE
LOWsrc/bokeh/io/browser.py315 except Exception:CODE
LOWsrc/bokeh/io/browser.py543 except Exception as e:CODE
LOWsrc/bokeh/io/notebook.py126 except Exception as e:CODE
LOWsrc/bokeh/io/notebook.py407 except Exception as e:CODE
LOW⚡src/bokeh/io/webdriver.py269 except Exception:CODE
LOW⚡src/bokeh/io/webdriver.py298 except Exception:STRING
LOW⚡src/bokeh/io/webdriver.py304 except Exception:STRING
LOWsrc/bokeh/server/server.py525 except Exception:CODE
LOWsrc/bokeh/server/asgi.py201 except Exception as error:CODE
LOWsrc/bokeh/server/asgi.py520 except Exception:CODE
LOW⚡src/bokeh/server/connection.py90 except Exception:CODE
MEDIUMsrc/bokeh/server/contexts.py201def run_load_hook(self) -> None:CODE
MEDIUMsrc/bokeh/server/contexts.py207def run_unload_hook(self) -> None:CODE
LOWsrc/bokeh/server/contexts.py204 except Exception as e:CODE
LOWsrc/bokeh/server/contexts.py210 except Exception as e:CODE
LOWsrc/bokeh/server/contexts.py270 except Exception as error:CODE
LOWsrc/bokeh/server/contexts.py303 except Exception as e:CODE
LOWsrc/bokeh/server/contexts.py363 except Exception as e:CODE
LOWsrc/bokeh/server/views/ws.py176 except Exception as e:CODE
LOWsrc/bokeh/server/views/ws.py257 except Exception as e:CODE
LOWsrc/bokeh/server/views/ws.py274 except Exception as e:CODE
LOWsrc/bokeh/server/views/static_handler.py140 except Exception:CODE
LOWsrc/bokeh/models/plots.py987 except Exception:STRING
8 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.yml401 # 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.py42 # if BOKEH_DOCS_CDN is unset just use default CDN resourcesCOMMENT
LOW⚡src/bokeh/sphinxext/_internal/bokeh_example_metadata.py143 # just use class role as-is for anything elseCOMMENT
Modern Structural Boilerplate27 hits · 19 pts
SeverityFileLineSnippetContext
LOWtools/release/build.py130 def update_dependencies(content: dict[str, Any]) -> None:CODE
LOWtools/release/build.py141 def update_package_json(content: dict[str, Any]) -> None:CODE
LOWtools/release/build.py146 def update_package_lock_json(content: dict[str, Any]) -> None:CODE
LOW…sts/unit/bokeh/server/views/test_embed_json_handler.py71 def set_header(self, name: str, value: str) -> None:CODE
LOWtests/integration/server_e2e/test_examples.py141def _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.py203 def update_presentation(state: Snapshot) -> None:CODE
LOWsrc/bokeh/settings.py491 def set_value(self, value: str | T) -> None:CODE
LOWsrc/bokeh/core/has_props.py528 def set_from_json(self, name: str, value: Any, *, setter: Setter | None = None) -> None:CODE
LOWsrc/bokeh/core/property/descriptors.py224 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:CODE
LOWsrc/bokeh/core/property/descriptors.py498 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:STRING
LOWsrc/bokeh/core/property/descriptors.py670 def _set_value(self, obj: HasProps, value: Any) -> None:STRING
LOWsrc/bokeh/core/property/descriptors.py908 def set_from_json(self, obj: HasProps, value: Any, *, setter: Setter | None = None) -> None:STRING
LOWsrc/bokeh/sphinxext/_internal/timing.py51def _setup_docs_profile(app: Any) -> None:CODE
LOWsrc/bokeh/util/callback_manager.py119 def _update_event_callbacks(self) -> None:CODE
LOWsrc/bokeh/util/compiler.py280def set_cache_hook(hook: Callable[[CustomModel, Implementation], AttrDict | None]) -> None:CODE
LOWsrc/bokeh/io/doc.py94def set_curdoc(doc: Document) -> None:CODE
LOWsrc/bokeh/server/contexts.py105 def _set_session(self, session: ServerSession) -> None:CODE
LOWsrc/bokeh/server/views/embed_json_handler.py37 def set_default_headers(self) -> None:CODE
LOWsrc/bokeh/models/layouts.py286 def _set_background(self, color: ColorLike) -> None:STRING
LOWsrc/bokeh/models/renderers/contour_renderer.py73 def set_data(self, data: ContourData) -> None:STRING
LOWsrc/bokeh/document/models.py257 def update_name(self, model: Model, old_name: str | None, new_name: str | None) -> None:CODE
LOWsrc/bokeh/document/document.py895 def set_select(self, selector: SelectorType | type[Model], updates: dict[str, Any]) -> None:STRING
LOWsrc/bokeh/document/document.py916 def set_title(self, title: str, setter: Setter | None = None) -> None:STRING
LOWsrc/bokeh/document/document.py1095 def _set_config(self, config: DocumentConfig) -> None:STRING
LOWsrc/bokeh/model/model.py551 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.py748 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.py15# Create an array of synthetic times, starting at the current time, and extending 24hrsCOMMENT
AI Structural Patterns7 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/bokeh/events.py650CODE
LOWsrc/bokeh/core/property/datetime.py169CODE
LOWsrc/bokeh/embed/_util.py190CODE
LOWsrc/bokeh/io/showing.py64CODE
LOWsrc/bokeh/server/server.py537CODE
LOWsrc/bokeh/server/core.py187CODE
LOWsrc/bokeh/server/tornado.py260CODE
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/milestone.py168 def helper(cursor: str | None = None) -> int | None:CODE
LOWtools/milestone.py283 def helper(kind: MilestoneKind, cursor: str | None = None) -> None:STRING
LOWtests/support/plugins/bokeh_server.py94 def helper() -> Any:CODE
LOWtests/support/plugins/jupyter_notebook.py148 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