Repository Analysis

apache/superset

Apache Superset is a Data Visualization and Data Exploration Platform

11.4 Low AI signal View on GitHub
11.4
Adjusted Score
11.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
73,079
Stars
TypeScript
Language
1,250,734
Lines of Code
7091
Files
12433
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 3HIGH 254MEDIUM 683LOW 11493

Pattern Findings

12433 matches across 19 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers7478 hits · 6675 pts
SeverityFileLineSnippet
LOW…erset-core/src/superset_core/semantic_layers/config.py25def build_configuration_schema(
LOWsuperset-core/src/superset_core/semantic_layers/daos.py67 def validate_update_uniqueness(cls, layer_uuid: str, name: str) -> bool:
LOWsuperset-core/src/superset_core/semantic_layers/daos.py137 def validate_update_uniqueness(
LOWsuperset-core/src/superset_core/semantic_layers/view.py106 def get_compatible_dimensions(
LOWtests/conftest.py79def pandas_loader_configuration(
LOWtests/unit_tests/conftest.py194 def test_your_feature_enabled(self):
LOWtests/unit_tests/conftest.py198 def test_your_feature_disabled(self):
LOWtests/unit_tests/core_tests.py60def test_get_metric_name_saved_metric():
LOWtests/unit_tests/core_tests.py65def test_get_metric_name_adhoc():
LOWtests/unit_tests/core_tests.py88def test_get_metric_name_invalid_metric():
LOWtests/unit_tests/core_tests.py130def test_get_column_name_physical_column():
LOWtests/unit_tests/core_tests.py135def test_get_column_name_adhoc():
LOWtests/unit_tests/core_tests.py159def test_get_column_name_invalid_metric():
LOWtests/unit_tests/core_tests.py173def test_get_time_filter_status_time_col():
LOWtests/unit_tests/core_tests.py181def test_get_time_filter_status_time_range():
LOWtests/unit_tests/core_tests.py189def test_get_time_filter_status_time_grain():
LOWtests/unit_tests/core_tests.py197def test_get_time_filter_status_no_temporal_col():
LOWtests/unit_tests/jinja_context_test.py120def test_filter_values_default() -> None:
LOWtests/unit_tests/jinja_context_test.py129def test_filter_values_remove_not_present() -> None:
LOWtests/unit_tests/jinja_context_test.py138def test_filter_values_no_default() -> None:
LOWtests/unit_tests/jinja_context_test.py146def test_get_filters_adhoc_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py57def test_filter_values_adhoc_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py104def test_filter_values_extra_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py223def test_get_filters_is_null_operator() -> None:
LOWtests/unit_tests/jinja_context_test.py253def test_get_filters_remove_not_present() -> None:
LOWtests/unit_tests/jinja_context_test.py262def test_get_filters_query_context_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py278def test_get_filters_query_context_filters_remove_filter() -> None:
LOWtests/unit_tests/jinja_context_test.py293def test_get_filters_query_context_filters_is_null() -> None:
LOWtests/unit_tests/jinja_context_test.py304def test_get_filters_query_context_filters_is_not_null() -> None:
LOWtests/unit_tests/jinja_context_test.py317def test_get_filters_adhoc_filters_take_precedence_over_query_context_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py346def test_filter_values_query_context_filters() -> None:
LOWtests/unit_tests/jinja_context_test.py375def test_url_param_no_default() -> None:
LOWtests/unit_tests/jinja_context_test.py395def test_url_param_escaped_form_data() -> None:
LOWtests/unit_tests/jinja_context_test.py407def test_url_param_escaped_default_form_data() -> None:
LOWtests/unit_tests/jinja_context_test.py418def test_url_param_unescaped_form_data() -> None:
LOWtests/unit_tests/jinja_context_test.py430def test_url_param_unescaped_default_form_data() -> None:
LOWtests/unit_tests/jinja_context_test.py441def test_safe_proxy_primitive() -> None:
LOWtests/unit_tests/jinja_context_test.py476def test_safe_proxy_nested_lambda() -> None:
LOWtests/unit_tests/jinja_context_test.py535def test_user_macros_without_user_info(mocker: MockerFixture):
LOWtests/unit_tests/jinja_context_test.py549def test_current_user_rls_rules_with_no_table(mocker: MockerFixture):
LOWtests/unit_tests/jinja_context_test.py570def test_current_user_rls_rules_guest_user(mocker: MockerFixture):
LOWtests/unit_tests/jinja_context_test.py760def test_dataset_macro_mutator_with_comments(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py783def test_metric_macro_with_dataset_id(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py803def test_metric_macro_recursive(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py830def test_metric_macro_expansion(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py858def test_metric_macro_recursive_compound(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py888def test_metric_macro_recursive_cyclic(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py919def test_metric_macro_recursive_infinite(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py948def test_metric_macro_with_dataset_id_invalid_key(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py970def test_metric_macro_invalid_dataset_id(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py984def test_metric_macro_no_dataset_id_no_context(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py1002def test_metric_macro_no_dataset_id_with_context_missing_info(
LOWtests/unit_tests/jinja_context_test.py1039def test_metric_macro_no_dataset_id_with_context_datasource_id(
LOWtests/unit_tests/jinja_context_test.py1092def test_metric_macro_no_dataset_id_with_context_datasource_id_none(
LOWtests/unit_tests/jinja_context_test.py1143def test_metric_macro_no_dataset_id_with_context_chart_id(
LOWtests/unit_tests/jinja_context_test.py1201def test_metric_macro_no_dataset_id_with_context_slice_id_none(
LOWtests/unit_tests/jinja_context_test.py1252def test_metric_macro_no_dataset_id_with_context_deleted_chart(
LOWtests/unit_tests/jinja_context_test.py1305def test_metric_macro_no_dataset_id_available_in_request_form_data(
LOWtests/unit_tests/jinja_context_test.py1350def test_metric_macro_regular_user_uses_base_filter(mocker: MockerFixture) -> None:
LOWtests/unit_tests/jinja_context_test.py1377def test_metric_macro_regular_user_raises_no_access(mocker: MockerFixture) -> None:
7418 more matches not shown…
Over-Commented Block2094 hits · 1970 pts
SeverityFileLineSnippet
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under one
LOWdocker-compose-image-tag.yml1#
LOWpytest.ini1#
LOW.pre-commit-config.yaml1#
LOW.fossa.yml1#
LOWpyproject.toml1# Licensed to the Apache Software Foundation (ASF) under one
LOWpyproject.toml421
LOWlintconf.yaml1#
LOWsetup.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWdocker-compose-non-dev.yml1#
LOWdocker-compose-light.yml1#
LOWdocker-compose-light.yml21#
LOWdocker-compose-light.yml41#
LOWdocker-compose.yml1#
LOWsuperset_text.yml1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset_text.yml21# DB_IMAGES:
LOWdocker/frontend-mem-nag.sh1#!/usr/bin/env bash
LOWdocker/tag_latest_release.sh1#! /bin/bash
LOWdocker/docker-bootstrap.sh1#!/usr/bin/env bash
LOWdocker/docker-healthcheck.sh1#!/usr/bin/env bash
LOWdocker/apt-install.sh1#!/usr/bin/env bash
LOWdocker/docker-pytest-entrypoint.sh1#!/bin/bash
LOWdocker/pip-install.sh1#!/usr/bin/env bash
LOWdocker/docker-init.sh1#!/usr/bin/env bash
LOWdocker/docker-frontend.sh1#!/usr/bin/env bash
LOWdocker/pythonpath_dev/superset_config_docker_light.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWdocker/pythonpath_dev/superset_config.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWdocker/pythonpath_dev/superset_test_config_light.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWdocker/docker-entrypoint-initdb.d/examples-init.sh1#!/usr/bin/env bash
LOWdocker/docker-entrypoint-initdb.d/cypress-init.sh1#!/usr/bin/env bash
LOWdocker/entrypoints/run-server.sh1#!/usr/bin/env bash
LOWdocker/entrypoints/docker-ci.sh1#!/usr/bin/env bash
LOWsuperset-core/pyproject.toml1
LOWsuperset-core/src/superset_core/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/tasks/models.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/tasks/daos.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/tasks/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/tasks/types.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/tasks/decorators.py1# Licensed to the Apache Software Foundation (ASF) under one
LOW…erset-core/src/superset_core/semantic_layers/config.py1# Licensed to the Apache Software Foundation (ASF) under one
LOW…erset-core/src/superset_core/semantic_layers/models.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/semantic_layers/daos.py1# Licensed to the Apache Software Foundation (ASF) under one
LOW…perset-core/src/superset_core/semantic_layers/types.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/semantic_layers/view.py1# Licensed to the Apache Software Foundation (ASF) under one
LOW…perset-core/src/superset_core/semantic_layers/layer.py1# Licensed to the Apache Software Foundation (ASF) under one
LOW…t-core/src/superset_core/semantic_layers/decorators.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/queries/models.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/queries/query.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/queries/daos.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/queries/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/queries/types.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/mcp/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/mcp/decorators.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/extensions/constants.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/extensions/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/extensions/types.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/common/models.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/common/daos.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/common/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
LOWsuperset-core/src/superset_core/rest_api/__init__.py1# Licensed to the Apache Software Foundation (ASF) under one
2034 more matches not shown…
Decorative Section Separators456 hits · 1702 pts
SeverityFileLineSnippet
MEDIUMdocker-compose-image-tag.yml18# -----------------------------------------------------------------------
MEDIUMdocker-compose-image-tag.yml26# -----------------------------------------------------------------------
MEDIUMpyproject.toml77 # --------------------------
MEDIUMpyproject.toml81 # --------------------------
MEDIUMpyproject.toml470# --------------------------------------------------------------
MEDIUMpyproject.toml475# --------------------------------------------------------------
MEDIUMdocker-compose-non-dev.yml18# -----------------------------------------------------------------------
MEDIUMdocker-compose-non-dev.yml26# -----------------------------------------------------------------------
MEDIUMdocker-compose-light.yml18# -----------------------------------------------------------------------
MEDIUMdocker-compose-light.yml61# -----------------------------------------------------------------------
MEDIUMdocker-compose.yml18# -----------------------------------------------------------------------
MEDIUMdocker-compose.yml26# -----------------------------------------------------------------------
MEDIUMdocker/docker-entrypoint-initdb.d/examples-init.sh20# ------------------------------------------------------------------------
MEDIUMdocker/docker-entrypoint-initdb.d/examples-init.sh23# ------------------------------------------------------------------------
MEDIUMdocker/docker-entrypoint-initdb.d/cypress-init.sh20# ------------------------------------------------------------------------
MEDIUMdocker/docker-entrypoint-initdb.d/cypress-init.sh23# ------------------------------------------------------------------------
MEDIUMsuperset-core/src/superset_core/extensions/types.py82# =============================================================================
MEDIUMsuperset-core/src/superset_core/extensions/types.py84# =============================================================================
MEDIUMsuperset-core/src/superset_core/extensions/types.py109# =============================================================================
MEDIUMsuperset-core/src/superset_core/extensions/types.py111# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py113# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py115# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py196# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py198# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py399# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py401# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py454# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py456# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py31# =============================================================================
MEDIUMtests/unit_tests/tasks/test_timeout.py33# =============================================================================
MEDIUMtests/unit_tests/dao/base_dao_test.py50# =============================================================================
MEDIUMtests/unit_tests/dao/base_dao_test.py52# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/mapper_test.py2914# ---------------------------------------------------------------------------
MEDIUMtests/unit_tests/semantic_layers/mapper_test.py2916# ---------------------------------------------------------------------------
MEDIUMtests/unit_tests/semantic_layers/models_test.py43# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py45# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py107# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py109# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py153# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py155# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py206# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py208# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py819# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py821# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py843# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py845# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py952# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py954# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1019# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1021# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1035# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1037# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1146# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py1148# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py259# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/models_test.py261# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/schemas_test.py87# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/schemas_test.py89# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/schemas_test.py163# =============================================================================
MEDIUMtests/unit_tests/semantic_layers/schemas_test.py165# =============================================================================
396 more matches not shown…
Cross-File Repetition170 hits · 850 pts
SeverityFileLineSnippet
HIGHtests/unit_tests/pandas_postprocessing/test_cum.py0count_metric sum_metric country uk us uk us dttm 2019-01-01 1 2 5 6 2019-01-02 3 4 7 8
HIGHtests/unit_tests/pandas_postprocessing/test_rolling.py0count_metric sum_metric country uk us uk us dttm 2019-01-01 1 2 5 6 2019-01-02 3 4 7 8
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py0count_metric sum_metric country uk us uk us dttm 2019-01-01 1 2 5 6 2019-01-02 3 4 7 8
HIGHtests/unit_tests/security/manager_test.py0test that the security manager can raise an exception for chart access, when the user does not have access to the chart
HIGHtests/unit_tests/security/manager_test.py0test that the security manager can raise an exception for chart access, when the user does not have access to the chart
HIGHtests/unit_tests/security/manager_test.py0test that the security manager can raise an exception for chart access, when the user does not have access to the chart
HIGHtests/unit_tests/charts/test_client_processing.py0pivot table when a single column and 2 metrics are selected.
HIGHtests/unit_tests/charts/test_client_processing.py0pivot table when a single column and 2 metrics are selected.
HIGHtests/unit_tests/charts/test_client_processing.py0pivot table when a single column and 2 metrics are selected.
HIGHtests/unit_tests/charts/test_client_processing.py0pivot table when a single column and 2 metrics are selected.
HIGHtests/unit_tests/models/core_test.py0a custom exception that is raised by the snowflake driver.
HIGHtests/unit_tests/models/core_test.py0a custom exception that is raised by the snowflake driver.
HIGHtests/unit_tests/models/core_test.py0a custom exception that is raised by the snowflake driver.
HIGHtests/unit_tests/models/core_test.py0a custom exception that is raised by the snowflake driver.
HIGHtests/unit_tests/models/core_test.py0a custom exception that is raised by the snowflake driver.
HIGH…t_tests/mcp_service/dataset/tool/test_dataset_tools.py0test that minimal default columns are properly defined.
HIGH…/unit_tests/mcp_service/chart/tool/test_list_charts.py0test that minimal default columns are properly defined.
HIGH…sts/mcp_service/dashboard/tool/test_dashboard_tools.py0test that minimal default columns are properly defined.
HIGHtests/unit_tests/db_engine_specs/test_snowflake.py0test the ``adjust_engine_params`` method when the url has catalog and schema.
HIGHtests/unit_tests/db_engine_specs/test_presto.py0test the ``adjust_engine_params`` method when the url has catalog and schema.
HIGHtests/unit_tests/db_engine_specs/test_trino.py0test the ``adjust_engine_params`` method when the url has catalog and schema.
HIGHtests/unit_tests/db_engine_specs/test_snowflake.py0test the ``adjust_engine_params`` method when the url has only the catalog.
HIGHtests/unit_tests/db_engine_specs/test_presto.py0test the ``adjust_engine_params`` method when the url has only the catalog.
HIGHtests/unit_tests/db_engine_specs/test_trino.py0test the ``adjust_engine_params`` method when the url has only the catalog.
HIGHtests/unit_tests/db_engine_specs/test_snowflake.py0test that the private key is masked when the database is edited.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that the private key is masked when the database is edited.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that the private key is masked when the database is edited.
HIGHtests/unit_tests/db_engine_specs/test_base.py0test that the private key is masked when the database is edited.
HIGHtests/unit_tests/db_engine_specs/test_gsheets.py0test that the private key is masked when the database is edited.
HIGHtests/unit_tests/db_engine_specs/test_databricks.py0test that the result from ``get_parameters_from_uri`` is json serializable.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that the result from ``get_parameters_from_uri`` is json serializable.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that the result from ``get_parameters_from_uri`` is json serializable.
HIGHtests/unit_tests/db_engine_specs/test_databricks.py0test that custom error messages are extracted correctly.
HIGHtests/unit_tests/db_engine_specs/test_athena.py0test that custom error messages are extracted correctly.
HIGHtests/unit_tests/db_engine_specs/test_mssql.py0test that custom error messages are extracted correctly.
HIGH…ts/integration_tests/db_engine_specs/postgres_tests.py0test that custom error messages are extracted correctly.
HIGHtests/integration_tests/db_engine_specs/mysql_tests.py0test that custom error messages are extracted correctly.
HIGH…ts/integration_tests/db_engine_specs/redshift_tests.py0test that custom error messages are extracted correctly.
HIGH…sts/integration_tests/db_engine_specs/gsheets_tests.py0test that custom error messages are extracted correctly.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that the private key can be reused from the previous `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that the private key can be reused from the previous `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_base.py0test that the private key can be reused from the previous `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_gsheets.py0test that the private key can be reused from the previous `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that the private key is not reused when the field has changed.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that the private key is not reused when the field has changed.
HIGHtests/unit_tests/db_engine_specs/test_gsheets.py0test that the private key is not reused when the field has changed.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that a `none` value for the old field works for `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that a `none` value for the old field works for `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_gsheets.py0test that a `none` value for the old field works for `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_bigquery.py0test that a `none` value for the new field works for `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_datastore.py0test that a `none` value for the new field works for `encrypted_extra`.
HIGHtests/unit_tests/db_engine_specs/test_gsheets.py0test that a `none` value for the new field works for `encrypted_extra`.
HIGHtests/unit_tests/commands/semantic_layer/create_test.py0test that the command copies input data and does not mutate it.
HIGHtests/unit_tests/commands/semantic_layer/update_test.py0test that the command copies input data and does not mutate it.
HIGHtests/unit_tests/commands/semantic_layer/update_test.py0test that the command copies input data and does not mutate it.
HIGHtests/unit_tests/reports/notifications/slack_tests.py0*test alert* <p>this is <a href="#">a test</a> alert</p><br /> <none|explore in superset> ``` | | a | b | c | |---:|----
HIGHtests/unit_tests/reports/notifications/slack_tests.py0*test alert* <p>this is <a href="#">a test</a> alert</p><br /> <none|explore in superset> ``` | | a | b | c | |---:|----
HIGHtests/unit_tests/reports/notifications/slack_tests.py0*test alert* <p>this is <a href="#">a test</a> alert</p><br /> <none|explore in superset> ``` | | a | b | c | |---:|----
HIGHtests/integration_tests/sqllab_tests.py0-- comment set @value = 42; select /*+ hint */ @value as foo;
HIGHtests/integration_tests/sqllab_tests.py0-- comment set @value = 42; select /*+ hint */ @value as foo;
110 more matches not shown…
Unused Imports884 hits · 784 pts
SeverityFileLineSnippet
LOWdocker/pythonpath_dev/superset_config_docker_light.py23
LOWdocker/pythonpath_dev/superset_config.py134
LOWdocker/pythonpath_dev/superset_config.py144
LOWdocker/pythonpath_dev/superset_test_config_light.py26
LOWsuperset-core/src/superset_core/tasks/models.py28
LOWsuperset-core/src/superset_core/tasks/models.py37
LOWsuperset-core/src/superset_core/tasks/types.py18
LOWsuperset-core/src/superset_core/tasks/decorators.py18
LOWsuperset-core/src/superset_core/tasks/decorators.py25
LOW…erset-core/src/superset_core/semantic_layers/config.py18
LOW…erset-core/src/superset_core/semantic_layers/models.py32
LOWsuperset-core/src/superset_core/semantic_layers/daos.py32
LOW…perset-core/src/superset_core/semantic_layers/types.py18
LOWsuperset-core/src/superset_core/semantic_layers/view.py18
LOW…perset-core/src/superset_core/semantic_layers/layer.py18
LOW…perset-core/src/superset_core/semantic_layers/layer.py24
LOW…t-core/src/superset_core/semantic_layers/decorators.py42
LOWsuperset-core/src/superset_core/queries/models.py28
LOWsuperset-core/src/superset_core/queries/query.py35
LOWsuperset-core/src/superset_core/queries/types.py25
LOWsuperset-core/src/superset_core/extensions/types.py26
LOWsuperset-core/src/superset_core/common/models.py33
LOWsuperset-core/src/superset_core/common/models.py43
LOWsuperset-core/src/superset_core/common/models.py43
LOWsuperset-core/src/superset_core/common/models.py43
LOWsuperset-core/src/superset_core/rest_api/decorators.py36
LOWtests/conftest.py26
LOWtests/unit_tests/jinja_context_test.py18
LOWtests/unit_tests/legacy_tests.py23
LOWtests/unit_tests/databases/api_test.py20
LOWtests/unit_tests/security/guest_rls_test.py25
LOWtests/unit_tests/dao/user_test.py17
LOWtests/unit_tests/dao/user_test.py27
LOWtests/unit_tests/dao/key_value_test.py18
LOWtests/unit_tests/dao/key_value_test.py41
LOWtests/unit_tests/semantic_layers/decorators_test.py18
LOWtests/unit_tests/semantic_layers/models_test.py20
LOWtests/unit_tests/semantic_layers/dao_test.py20
LOWtests/unit_tests/semantic_layers/types_test.py18
LOWtests/unit_tests/charts/test_chart_data_api.py17
LOW…sts/unit_tests/charts/test_dashboard_filter_context.py17
LOWtests/unit_tests/models/test_no_filter_time_range.py19
LOWtests/unit_tests/models/test_soft_delete_mixin.py26
LOWtests/unit_tests/models/core_test.py1152
LOWtests/unit_tests/models/helpers_test.py20
LOWtests/unit_tests/models/helpers_test.py37
LOW…s/unit_tests/models/test_double_rls_virtual_dataset.py25
LOW…it_tests/models/test_time_filter_double_application.py19
LOWtests/unit_tests/models/test_virtual_dataset_format.py33
LOWtests/unit_tests/extensions/test_sqlalchemy.py286
LOW…t_tests/mcp_service/dataset/tool/test_query_dataset.py20
LOWtests/unit_tests/db_engine_specs/test_aurora.py20
LOWtests/unit_tests/db_engine_specs/test_elasticsearch.py21
LOWtests/unit_tests/db_engine_specs/test_datastore.py20
LOWtests/unit_tests/db_engine_specs/test_redshift_iam.py20
LOWtests/unit_tests/db_engine_specs/test_mysql.py39
LOWtests/unit_tests/db_engine_specs/test_tdengine.py19
LOWtests/unit_tests/db_engine_specs/test_aws_iam.py20
LOWtests/unit_tests/db_engine_specs/test_ydb.py18
LOWtests/unit_tests/db_engine_specs/utils.py17
824 more matches not shown…
Self-Referential Comments188 hits · 592 pts
SeverityFileLineSnippet
MEDIUMdocker/docker-init.sh51# Create an admin user
MEDIUMdocker/pythonpath_dev/superset_config.py18# This file is included in the final Docker image and SHOULD be overridden when
MEDIUMtests/unit_tests/connectors/sqla/models_test.py743 # Create a Postgres-like engine to test proper quoting
MEDIUMtests/unit_tests/connectors/sqla/models_test.py780 # Create a PostgreSQL engine (doesn't support cross-catalog queries)
MEDIUMtests/unit_tests/connectors/sqla/models_test.py931 # Create a mock slice whose get_query_context raises DatasourceNotFound
MEDIUMtests/unit_tests/pandas_postprocessing/test_compare.py194 # Define a non-lexicographical column order
MEDIUMtests/unit_tests/databases/api_test.py626 # Create a mock object
MEDIUMtests/unit_tests/databases/api_test.py2384 # Create a database with a non-default configuration_method
MEDIUMtests/unit_tests/security/manager_test.py1208 # Create a mock table where .data raises an exception if accessed
MEDIUMtests/unit_tests/dao/tag_test.py150 # Define a list of objects to tag
MEDIUMtests/unit_tests/semantic_layers/mapper_test.py1718 # Create main dataframe
MEDIUMtests/unit_tests/utils/test_date_parsing.py194 # Create a DataFrame with string values representing dates that are
MEDIUMtests/unit_tests/utils/test_date_parsing.py199 # Create a mock type that raises ValueError when pd.Timestamp is called on it
MEDIUMtests/unit_tests/utils/test_core.py475 # Create a mock SQLAlchemy database object
MEDIUMtests/unit_tests/utils/test_core.py478 # Define the table name and constraint details
MEDIUMtests/unit_tests/utils/test_core.py484 # Create a mock table object with the same structure
MEDIUMtests/unit_tests/utils/test_core.py489 # Create a mock for the referred_table with a name attribute
MEDIUMtests/unit_tests/utils/test_core.py493 # Create a mock for the foreign key constraint with a name attribute
MEDIUMtests/unit_tests/utils/test_core.py518 # Create a mock SQLAlchemy database object
MEDIUMtests/unit_tests/utils/test_core.py521 # Define the table name and constraint details
MEDIUMtests/unit_tests/utils/test_core.py526 # Create a mock table object with the same structure but no matching constraint
MEDIUMtests/unit_tests/utils/test_core.py407 # Create a DataFrame with timestamp strings
MEDIUMtests/unit_tests/utils/test_core.py550 # Create a mock for the foreign key constraint as a dictionary
MEDIUMtests/unit_tests/models/helpers_test.py382 # Create a mock table for testing
MEDIUMtests/unit_tests/models/helpers_test.py413 # Create a condition factory that always returns True
MEDIUMtests/unit_tests/models/helpers_test.py474 # Create a mock table for testing
MEDIUMtests/unit_tests/models/helpers_test.py491 # Create a condition factory that always returns False
MEDIUMtests/unit_tests/models/helpers_test.py537 # Create a real table instance
MEDIUMtests/unit_tests/models/helpers_test.py635 # Create a table instance
MEDIUMtests/unit_tests/models/helpers_test.py900 # Create a mock template processor
MEDIUMtests/unit_tests/models/helpers_test.py1142 # Create a mock template processor
MEDIUMtests/unit_tests/models/helpers_test.py1272 # Create a simple query
MEDIUMtests/unit_tests/models/helpers_test.py1328 # Create a simple query
MEDIUMtests/unit_tests/models/helpers_test.py1378 # Create a query with GROUP BY
MEDIUMtests/unit_tests/models/helpers_test.py1439 # Create a simple query
MEDIUMtests/unit_tests/models/helpers_test.py1484 # Create a simple query
MEDIUMtests/unit_tests/models/helpers_test.py1646 # Create a table with a temporal column
MEDIUMtests/unit_tests/models/helpers_test.py1729 # Create a mock SqlaTable with columns
MEDIUM…it_tests/models/test_time_filter_double_application.py54 # Create a virtual dataset that uses get_time_filter with
MEDIUM…it_tests/models/test_time_filter_double_application.py93 # Create a query object with a time filter
MEDIUMtests/unit_tests/tags/models_test.py154 # Create an existing tag
MEDIUMtests/unit_tests/tags/commands/create_test.py77 # Define a list of objects to tag
MEDIUMtests/unit_tests/tags/commands/create_test.py120 # Define a list of objects to tag
MEDIUMtests/unit_tests/tags/commands/update_test.py237 # Create a tag with multiple objects
MEDIUMtests/unit_tests/mcp_service/chart/test_chart_utils.py1220 # Create a time series chart configuration
MEDIUM…it_tests/mcp_service/chart/tool/test_generate_chart.py145 # Create a validation error with the correct structure
MEDIUMtests/unit_tests/common/test_query_context_processor.py595 # Create a dataframe for testing
MEDIUMtests/unit_tests/common/test_query_context_processor.py604 # Create a properly mocked datasource
MEDIUMtests/unit_tests/common/test_query_context_processor.py1099 # Create a mock query context
MEDIUMtests/unit_tests/common/test_query_context_processor.py1104 # Create a mock datasource
MEDIUMtests/unit_tests/common/test_query_context_processor.py49 # Create a processor instance
MEDIUMtests/unit_tests/common/test_query_context_processor.py530 # Create a dataframe for testing
MEDIUMtests/unit_tests/common/test_query_context_processor.py944 # Create a mock datasource
MEDIUMtests/unit_tests/common/test_query_context_processor.py1118 # Create a query object with unsanitized where clause
MEDIUMtests/unit_tests/common/test_query_context_processor.py1185 # Create a mock datasource
MEDIUMtests/unit_tests/db_engine_specs/test_snowflake.py363 # Create a mock SQLAlchemy column
MEDIUMtests/unit_tests/db_engine_specs/test_athena.py101 # Create a mock SQLAlchemy column
MEDIUMtests/unit_tests/db_engine_specs/test_base.py492 # Create a mock SQLAlchemy column
MEDIUMtests/unit_tests/db_engine_specs/test_base.py511 # Create a test engine spec that uses equality
MEDIUMtests/unit_tests/examples/data_loading_test.py178 # Create a simple example with data.parquet and dataset.yaml
128 more matches not shown…
Excessive Try-Catch Wrapping450 hits · 466 pts
SeverityFileLineSnippet
LOWsetup.py35 except Exception: # pylint: disable=broad-except
MEDIUMsetup.py31def get_git_sha() -> str:
LOWtests/unit_tests/utils/test_core.py1644 except Exception:
LOWtests/unit_tests/utils/test_core.py1651 except Exception:
LOWtests/unit_tests/models/core_test.py1079 except Exception:
LOWtests/unit_tests/extensions/test_sqlalchemy.py131 except Exception as e:
LOWtests/unit_tests/extensions/test_sqlalchemy.py172 except Exception as e:
LOWtests/unit_tests/extensions/test_sqlalchemy.py207 except Exception as e:
LOWtests/unit_tests/extensions/test_sqlalchemy.py251 except Exception as e:
LOWtests/unit_tests/extensions/test_sqlalchemy.py316 except Exception as e:
LOWtests/unit_tests/extensions/test_sqlalchemy.py350 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py675 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py719 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py778 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py841 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py882 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py930 except Exception as e:
LOWtests/unit_tests/commands/dataset/update_test.py955 except Exception as e:
LOWtests/integration_tests/conftest.py127 except Exception: # noqa: S110
LOWtests/integration_tests/tasks/api_tests.py110 except Exception: # noqa: S110
LOWtests/integration_tests/tasks/api_tests.py115 except Exception:
LOW…sts/integration_tests/tags/mysql_compatibility_test.py263 except Exception as e:
LOW…integration_tests/dashboards/test_theme_integration.py82 except Exception:
LOW…integration_tests/dashboards/test_theme_integration.py329 except Exception:
MEDIUM…/integration_tests/dashboards/superset_factory_util.py191def delete_all_inserted_dashboards():
MEDIUM…/integration_tests/dashboards/superset_factory_util.py242def delete_all_inserted_slices():
MEDIUM…/integration_tests/dashboards/superset_factory_util.py273def delete_all_inserted_tables():
MEDIUM…/integration_tests/dashboards/superset_factory_util.py308def delete_all_inserted_dbs():
LOW…/integration_tests/dashboards/superset_factory_util.py250 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py256 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py283 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py289 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py203 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py209 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py318 except Exception:
LOW…/integration_tests/dashboards/superset_factory_util.py324 except Exception:
LOW…integration_tests/themes/test_theme_api_permissions.py66 except Exception:
LOW…integration_tests/themes/test_theme_api_permissions.py71 except Exception:
LOWtests/integration_tests/reports/utils.py207 except Exception as ex: # pylint: disable=broad-except
LOW…rsion-6.1.0/guidelines/backend/dao-style-guidelines.md251 except Exception:
LOW…eloper_docs/guidelines/backend/dao-style-guidelines.md251 except Exception:
MEDIUMdocs/scripts/fix-openapi-spec.py795 print(f"Error: OpenAPI spec not found at {spec_path}", file=sys.stderr)
MEDIUMdocs/scripts/extract_custom_errors.py182 print(f"Error parsing {filepath}: {e}", file=sys.stderr)
MEDIUMdocs/scripts/extract_custom_errors.py274 print(f"Error: Engine specs directory not found: {specs_dir}", file=sys.stderr)
LOWscripts/benchmark_migration.py202 except Exception:
LOWsuperset/config.py125 except Exception: # pylint: disable=broad-except
LOWsuperset/config.py133 except Exception: # pylint: disable=broad-except
LOWsuperset/config.py2609 except Exception:
LOWsuperset/config.py2624 except Exception:
LOWsuperset/stats_logger.py108except Exception as e: # pylint: disable=broad-except # noqa: S110
LOWsuperset/sql_lab.py158 except Exception as ex:
LOWsuperset/sql_lab.py194 except Exception as ex: # pylint: disable=broad-except
LOWsuperset/sql_lab.py311 except Exception as ex:
LOWsuperset/sql_lab.py511 except Exception as ex: # pylint: disable=broad-except
LOWsuperset/app.py94 except Exception:
LOWsuperset/app.py148 except Exception as e:
LOWsuperset/app.py186 except Exception as e:
LOWsuperset/result_set.py217 except Exception as ex: # pylint: disable=broad-except
LOWsuperset/result_set.py232 except Exception as ex: # pylint: disable=broad-except
LOWsuperset/viz.py567 except Exception as ex: # pylint: disable=broad-except
390 more matches not shown…
Cross-Language Confusion56 hits · 282 pts
SeverityFileLineSnippet
HIGHtests/unit_tests/sql_lab_test.py199 app_context.push()
HIGHtests/unit_tests/pandas_postprocessing/test_cum.py39 assert _timeseries_df.equals(timeseries_df)
HIGHtests/unit_tests/pandas_postprocessing/test_cum.py122 assert cum_and_flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_cum.py168 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_rolling.py40 assert _timeseries_df.equals(timeseries_df)
HIGHtests/unit_tests/pandas_postprocessing/test_rolling.py161 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_rolling.py212 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py34 assert _timeseries_df.equals(timeseries_df)
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py49 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py72 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py95 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py120 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py194 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_resample.py241 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_sort.py49 assert df.equals(timeseries_df)
HIGHtests/unit_tests/pandas_postprocessing/test_rename.py34 assert _categories_df.equals(categories_df)
HIGHtests/unit_tests/pandas_postprocessing/test_rename.py54 assert not new_categories_df.equals(categories_df)
HIGHtests/unit_tests/pandas_postprocessing/test_rename.py67 assert _categories_df_inplaced.equals(_categories_df)
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py36 assert _timeseries_df2.equals(timeseries_df2)
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py54 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py74 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py100 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py128 assert post_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py170 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py234 assert flat_df.equals(
HIGHtests/unit_tests/pandas_postprocessing/test_compare.py286 assert flat_df.equals(
HIGH…it_tests/datasets/commands/importers/v1/import_test.py188 assert sqla_table.metrics[0].extra == '{"warning_markdown": null}'
HIGH…it_tests/datasets/commands/importers/v1/import_test.py429 assert sqla_table.metrics[0].extra == '{"warning_markdown": null}'
HIGH…it_tests/datasets/commands/importers/v1/import_test.py491 "extra": '{"warning_markdown": null}',
HIGH…it_tests/datasets/commands/importers/v1/import_test.py519 assert sqla_table.metrics[0].extra == '{"warning_markdown": null}'
HIGHtests/unit_tests/charts/test_client_processing.py2790 ) # Second data row should have empty last_name (NA converted to null)
HIGHtests/unit_tests/examples/utils_test.py125 # Verify schema normalization happened (main -> null)
HIGH…s/scripts/translations/build_translation_index_test.py222 """Empty plural forms across the board → null, not an empty dict."""
HIGH…ts/unit_tests/scripts/translations/backfill_po_test.py94 Non-object JSON (list, string, null, number) must raise ValueError so
HIGHtests/unit_tests/sql/dialects/vertica_tests.py69 sql = "SELECT a::INT, b || c FROM t WHERE d ~ '^foo'"
HIGHtests/unit_tests/sql/dialects/vertica_tests.py74 assert regenerated == "SELECT CAST(a AS INT), b || c FROM t WHERE d ~ '^foo'"
HIGHtests/integration_tests/model_tests.py475 else "state || gender || '_test'"
HIGHtests/integration_tests/sqla_models_tests.py1143 assert df.equals(result.df)
HIGHtests/integration_tests/result_set_tests.py272 "metadata": '["test", [["foo", 123456, [[["test"], 3432546, 7657658766], [["fake"], 656756765, 324324324
HIGHtests/integration_tests/query_context_tests.py1299 assert df.equals(
HIGHtests/integration_tests/query_context_tests.py1351 assert df.equals(
HIGHtests/integration_tests/utils/hashing_tests.py166 '{"company": "Gobias Industries", "price": null, "product": "Coffee"}'
HIGHtests/integration_tests/utils/hashing_tests.py193 '{"company": "Gobias Industries", "price": null, "product": "Coffee"}'
HIGHtests/integration_tests/db_engine_specs/presto_tests.py370 {"row_column": "[[null]]"},
HIGHtests/integration_tests/db_engine_specs/presto_tests.py371 {"row_column": "[null]"},
HIGHscripts/translations/backfill_po.py263 # response (list, scalar, null) must surface as ValueError rather than
HIGHsuperset/charts/schemas.py401 "metrics have a unique identifier. If undefined, a random name"
HIGHsuperset/charts/schemas.py727 "When metrics is undefined or null, the query is executed without a groupby. " # noqa: E501
HIGHsuperset/utils/encrypt.py312 " %d null, %d failed",
HIGHsuperset/utils/encrypt.py315 stats.null,
HIGHsuperset/utils/screenshot_utils.py160 if (r.top < window.innerHeight && r.bottom > 0) {
HIGHsuperset/utils/core.py1489 current user (which may be undefined) to different one, execute some SQLAlchemy
HIGHsuperset/utils/webdriver.py52 "pip install playwright && playwright install chromium"
HIGHsuperset/utils/pandas_postprocessing/select.py37 If left undefined, all columns will be selected. If columns are
HIGHsuperset/cli/update.py131 f"{stats.skipped} skipped, {stats.null} null, {stats.failed} failed.",
HIGHsuperset/mcp_service/chart/tool/get_chart_data.py437 # Only use if it's actually a dict (not null, list, etc.)
Deep Nesting272 hits · 244 pts
SeverityFileLineSnippet
LOW…/unit_tests/distributed_lock/distributed_lock_tests.py63
LOW…/unit_tests/distributed_lock/distributed_lock_tests.py93
LOWtests/unit_tests/utils/date_parser_tests.py42
LOW…ts/unit_tests/mcp_service/test_auth_user_resolution.py236
LOWtests/unit_tests/mcp_service/test_mcp_caching.py158
LOWtests/unit_tests/mcp_service/test_mcp_storage.py61
LOW…it_tests/mcp_service/chart/tool/test_get_chart_data.py96
LOW…t_tests/mcp_service/sql_lab/test_execute_sql_helper.py26
LOWtests/unit_tests/common/test_query_context_processor.py524
LOWtests/unit_tests/common/test_query_context_processor.py590
LOWtests/unit_tests/common/test_query_context_processor.py1545
LOWtests/unit_tests/common/test_query_context_processor.py1615
LOWtests/unit_tests/common/test_query_context_processor.py1675
LOWtests/unit_tests/commands/databases/csv_reader_test.py1260
LOWtests/unit_tests/commands/dataset/test_create.py29
LOWtests/unit_tests/commands/dataset/test_create.py78
LOWtests/unit_tests/commands/dataset/test_create.py139
LOWtests/integration_tests/base_tests.py639
LOWtests/integration_tests/datasource_tests.py373
LOWtests/integration_tests/tasks/commands/test_cancel.py342
LOWtests/integration_tests/tasks/commands/test_cancel.py379
LOWtests/integration_tests/tasks/commands/test_cancel.py453
LOWtests/integration_tests/charts/data/api_tests.py1627
LOWtests/integration_tests/dashboards/commands_tests.py773
LOWdocs/scripts/fix-openapi-spec.py327
LOWdocs/scripts/fix-openapi-spec.py548
LOWdocs/scripts/fix-openapi-spec.py652
LOWdocs/scripts/fix-openapi-spec.py711
LOWdocs/scripts/fix-openapi-spec.py746
LOWdocs/scripts/extract_custom_errors.py119
LOWdocs/scripts/extract_custom_errors.py139
LOWscripts/cypress_run.py106
LOWscripts/extract_feature_flags.py50
LOWscripts/extract_feature_flags.py118
LOWscripts/benchmark_migration.py73
LOWscripts/benchmark_migration.py141
LOWscripts/translations/build_translation_index.py76
LOWsuperset/sql_lab.py249
LOWsuperset/sql_lab.py374
LOWsuperset/result_set.py66
LOWsuperset/result_set.py135
LOWsuperset/viz.py180
LOWsuperset/viz.py216
LOWsuperset/viz.py537
LOWsuperset/viz.py791
LOWsuperset/viz.py978
LOWsuperset/viz.py1114
LOWsuperset/viz.py1708
LOWsuperset/viz.py2076
LOWsuperset/viz.py2215
LOWsuperset/viz.py2287
LOWsuperset/viz.py2484
LOWsuperset/viz.py2855
LOWsuperset/jinja_context.py346
LOWsuperset/jinja_context.py486
LOWsuperset/connectors/sqla/models.py501
LOWsuperset/connectors/sqla/models.py645
LOWsuperset/connectors/sqla/models.py764
LOWsuperset/connectors/sqla/models.py1567
LOWsuperset/connectors/sqla/models.py1641
212 more matches not shown…
Redundant / Tautological Comments148 hits · 234 pts
SeverityFileLineSnippet
LOWdocker/frontend-mem-nag.sh26 # Check if running in Codespaces first
LOWdocker/docker-pytest-entrypoint.sh89# Check if test database exists
LOWtests/unit_tests/tasks/test_handlers.py562 # Set task to SUCCESS (not aborting) so only cleanup handlers run
LOWtests/unit_tests/tasks/test_handlers.py614 # Set task to ABORTING so both abort and cleanup handlers run
LOWtests/unit_tests/security/manager_test.py556 # Check if Alpha role already exists
LOWtests/unit_tests/security/manager_test.py563 # Check if user already exists
LOWtests/unit_tests/dao/base_dao_test.py205 # Set model_cls to None but allow method to proceed past guard clause
LOWtests/unit_tests/utils/test_screenshot_cache_fix.py249 # Set TTL to 300 seconds
LOWtests/unit_tests/utils/test_screenshot_cache_fix.py196 # Set TTL to 300 seconds
LOWtests/unit_tests/utils/test_screenshot_cache_fix.py211 # Set TTL to 300 seconds
LOWtests/unit_tests/utils/test_screenshot_cache_fix.py263 # Set TTL to 300 seconds
LOW…it_tests/models/test_time_filter_double_application.py135 # Check if there's a WHERE clause after the subquery closes
LOW…it_tests/models/test_time_filter_double_application.py358 # Check if there's a WHERE clause after the subquery
LOW…s/unit_tests/mcp_service/test_mcp_tool_registration.py104 # Check if it has any .py files in it or its subdirectories
LOW…t_tests/mcp_service/sql_lab/test_execute_sql_helper.py36 # Check if it's a Pydantic model with model_dump
LOWtests/unit_tests/db_engine_specs/test_trino.py409 # Set stats to FINISHED so the progress loop exits immediately
LOWtests/unit_tests/commands/databases/csv_reader_test.py262 # Check if both values are NaN
LOW…sts/unit_tests/commands/databases/excel_reader_test.py185 # Check if both values are NaN
LOW…/unit_tests/commands/databases/columnar_reader_test.py129 # Check if both values are NaN
LOWtests/unit_tests/sql/execution/test_celery_task.py84 # Set end_time to trigger the branch skip
LOWtests/integration_tests/tasks/test_event_handlers.py251 # Set status to ABORTING (simulating CancelTaskCommand)
LOW…integration_tests/dashboards/test_theme_integration.py89 # Assign theme to dashboard
LOW…integration_tests/dashboards/test_theme_integration.py100 # Assign theme to dashboard
LOW…integration_tests/dashboards/test_theme_integration.py332 # Set theme to None so tearDown doesn't try to delete it
LOW…integration_tests/dashboards/test_theme_integration.py157 # Assign theme to dashboard
LOW…integration_tests/dashboards/test_theme_integration.py182 # Assign theme to dashboard
LOW…integration_tests/dashboards/test_theme_integration.py211 # Assign theme to dashboard
LOW…integration_tests/dashboards/test_theme_integration.py231 # Set theme to None so tearDown doesn't try to delete it
LOW…integration_tests/dashboards/test_theme_integration.py251 # Assign theme to both dashboards
LOW…integration_tests/dashboards/test_theme_integration.py374 # Assign theme to dashboard
LOWdocs/scripts/fix-openapi-spec.py467 # Check if endpoint has a request body
LOWdocs/scripts/fix-openapi-spec.py504 # Check if already configured
LOWdocs/scripts/fix-openapi-spec.py780 # Check if this suffix is already in the summary
LOW.devcontainer/start-superset.sh7# Check if MCP is enabled
LOW.devcontainer/start-superset.sh21# Check if docker is running
LOWscripts/docker-compose-up.sh131# Check if containers are running and get actual ports, otherwise use available ports
LOWscripts/change_detector.py146 # Output results
LOW.github/workflows/claude.yml31 # Check if user is in allowed list
LOW.github/workflows/bashlib.sh337 # Check if there are any test files in the specified path
LOWsuperset/config.py2545# Set CACHE_TYPE to 'RedisCache' for standard Redis or 'RedisSentinelCache' for
LOWsuperset/sql_lab.py487 # Check if stopped
LOWsuperset/app.py166 # Check if database is up-to-date with migrations
LOWsuperset/connectors/sqla/models.py270 # Check if all requested columns are drillable
LOWsuperset/databases/schemas.py1013 # Check if any sensitive field is still masked
LOWsuperset/tasks/context.py372 # Check if task execution has already completed (late abort race).
LOWsuperset/tasks/context.py433 # Check if all abort handlers completed successfully
LOWsuperset/tasks/context.py479 # Check if task already has an error (preserve original context)
LOWsuperset/tasks/context.py545 # Check if task has abort handler (requires app context)
LOWsuperset/tasks/context.py564 # Set status to ABORTING (same as user abort)
LOWsuperset/tasks/manager.py81 # Check if thread is still running after timeout
LOWsuperset/tasks/manager.py540 # Check if stop was requested - if so, this may be expected
LOWsuperset/tasks/manager.py591 # Check if we were asked to stop - if so, this is expected
LOWsuperset/tasks/decorators.py336 # Check if already in terminal state
LOWsuperset/security/manager.py884 # Check if this is actually a multi-layer deck.gl chart
LOWsuperset/security/manager.py1844 # Check if database name has changed
LOWsuperset/security/manager.py2157 # Check if watched fields have changed
LOWsuperset/semantic_layers/mapper.py791 # Check if we need separate filters for the group limit subquery
LOWsuperset/semantic_layers/mapper.py818 # Check if inner time bounds are explicitly set and differ from outer bounds
LOWsuperset/charts/client_processing.py365 # Check if the DataFrame has a default RangeIndex, which should not be shown
LOWsuperset/charts/data/api.py510 # Check if we should use streaming for large datasets
88 more matches not shown…
Docstring Block Structure26 hits · 130 pts
SeverityFileLineSnippet
HIGH…t-core/src/superset_core/semantic_layers/decorators.py55 Decorator to register a semantic layer implementation. Automatically detects extension context and applies app
HIGHsuperset-core/src/superset_core/mcp/decorators.py62 Decorator to register an MCP tool with optional authentication. This decorator combines FastMCP tool registrat
HIGHsuperset-core/src/superset_core/mcp/decorators.py139 Decorator to register an MCP prompt with optional authentication. This decorator combines FastMCP prompt regis
HIGHsuperset-core/src/superset_core/rest_api/decorators.py48 Unified API decorator for both host and extension APIs. Automatically detects context: - Host context: /ap
HIGHsuperset/tasks/decorators.py560 Schedule this task for asynchronous execution. The signature mirrors the original task function, with
HIGHsuperset/utils/cache_manager.py59 Create a hash object using the configured algorithm. Args: data: Optional initial data to
HIGHsuperset/utils/date_parser.py186 Generates a datetime expression for the start of a given unit (e.g., start of month, start of year). This
HIGHsuperset/utils/date_parser.py216 Generates a datetime expression for the end of a given unit (e.g., end of month, end of year). This funct
HIGHsuperset/utils/date_parser.py251 Handles "first" time expressions like "first of the month" or "first week of this year". This handler retu
HIGHsuperset/utils/date_parser.py308 Generates a datetime expression based on a modifier, scope, delta, unit, and relative base. This function h
HIGHsuperset/utils/date_parser.py353 Generates a datetime expression based on the scope, delta, unit, and relative base. This function handles queri
HIGHsuperset/utils/hashing.py49 Generate a hash from a string using the configured or specified algorithm. Args: val: String to hash
HIGHsuperset/mcp_service/auth.py218 Load a user with all relationships needed for permission checks. This function eagerly loads User.roles, User.
HIGHsuperset/mcp_service/storage.py40 Create a store instance with the specified prefix. Uses shared MCP_STORE_CONFIG for Redis URL and wrapper type
HIGHsuperset/mcp_service/storage.py187 Import a wrapper class from a dotted path. Args: class_path: Dotted path like 'key_value.a
HIGHsuperset/mcp_service/utils/schema_utils.py53 Parse a value that can be either a JSON string or a native Python object. This function handles the common pat
HIGHsuperset/mcp_service/utils/schema_utils.py114 Parse a value into a list, accepting JSON string, list, or comma-separated string. This function provides maxi
HIGHsuperset/mcp_service/utils/schema_utils.py186 Parse a value into a Pydantic model, accepting JSON string or dict. Args: value: Input value to parse
HIGHsuperset/mcp_service/utils/schema_utils.py230 Parse a value into a list of Pydantic models, accepting JSON string or list. Args: value: Input value
HIGHsuperset/mcp_service/utils/sanitization.py344 Centralized sanitization for user-provided text inputs. Uses nh3 to strip HTML tags and performs additional se
HIGHsuperset/mcp_service/utils/sanitization.py408 Sanitize filter values which can be strings or other types. For non-string values, returns as-is (no sanitizat
HIGHsuperset/examples/helpers.py94Normalize example data URLs for consistency. This function ensures that example data URLs are properly formatted.
HIGHsuperset/examples/helpers.py148Load data from local Parquet files. Examples are organized as: superset/examples/{example_name}/data.parque
HIGHsuperset-extensions-cli/tests/utils.py106 Load and parse a JSON file. Args: path: Path to the JSON file Returns: Parsed JSON conten
HIGH…et-extensions-cli/src/superset_extensions_cli/utils.py258 Validate and normalize display name format. Args: display_name: Human-readable extension name Ret
HIGH…et-extensions-cli/src/superset_extensions_cli/utils.py337 Generate all extension name variants from input. Args: display_name: Human-readable name (e.g., "Dashb
Fake / Example Data107 hits · 121 pts
SeverityFileLineSnippet
LOWtests/unit_tests/models/helpers_test.py2203 "val": ["John Doe", "Jane Doe"],
LOWtests/unit_tests/models/helpers_test.py2203 "val": ["John Doe", "Jane Doe"],
LOW…ts/unit_tests/mcp_service/user/tool/test_user_tools.py206 user = create_mock_user(email="admin@example.com", roles=["Admin"])
LOW…ts/unit_tests/mcp_service/user/tool/test_user_tools.py216 assert data["users"][0]["email"] == "admin@example.com"
LOW…ts/unit_tests/mcp_service/user/tool/test_user_tools.py224 user = create_mock_user(email="admin@example.com")
LOW…ts/unit_tests/mcp_service/user/tool/test_user_tools.py44 email: str = "admin@example.com",
LOW…sts/mcp_service/dashboard/tool/test_dashboard_tools.py524 refreshed_user.email = "admin@example.com"
LOW…sts/mcp_service/dashboard/tool/test_dashboard_tools.py528 current_user.email = "admin@example.com"
LOW…sts/mcp_service/dashboard/tool/test_dashboard_tools.py543 email="admin@example.com"
LOW…cp_service/dashboard/tool/test_dashboard_generation.py155 mock_user.email = "admin@example.com"
LOW…cp_service/dashboard/tool/test_dashboard_generation.py445 email="admin@example.com",
LOW…tests/mcp_service/system/test_serialize_user_object.py40 user.email = "admin@example.com"
LOW…tests/mcp_service/system/test_serialize_user_object.py51 assert result.email == "admin@example.com"
LOW…tests/mcp_service/system/test_serialize_user_object.py68 user.email = "admin@example.com"
LOWtests/unit_tests/db_engine_specs/test_gsheets.py144 g.user.email = "admin@example.com"
LOWtests/unit_tests/db_engine_specs/test_gsheets.py221 subject="admin@example.com",
LOWtests/unit_tests/db_engine_specs/test_gsheets.py234 g.user.email = "admin@example.com"
LOWtests/unit_tests/db_engine_specs/test_gsheets.py288 subject="admin@example.com",
LOW…s/unit_tests/commands/report/test_create_recipients.py33 mock_user.email = "user@example.com"
LOW…s/unit_tests/commands/report/test_create_recipients.py56 == "user@example.com"
LOW…s/unit_tests/commands/report/test_create_recipients.py95 "recipient_config_json": {"target": "admin@example.com"},
LOW…s/unit_tests/commands/report/test_create_recipients.py166 "recipient_config_json": {"target": "user@example.com"},
LOWtests/unit_tests/reports/schemas_test.py91 "recipient_config_json": {"target": "user@example.com"},
LOWtests/unit_tests/reports/schemas_test.py94 assert result["recipient_config_json"]["target"] == "user@example.com"
LOWtests/unit_tests/reports/schemas_test.py118 "target": "user@example.com",
LOWtests/unit_tests/reports/schemas_test.py134 "target": "user@example.com",
LOWtests/unit_tests/reports/schemas_test.py149 "target": "user@example.com",
LOWtests/unit_tests/reports/schemas_test.py154 assert result["recipient_config_json"]["target"] == "user@example.com"
LOWtests/unit_tests/reports/schemas_test.py164 "target": "user@example.com",
LOWtests/unit_tests/reports/schemas_test.py169 assert result["recipient_config_json"]["target"] == "user@example.com"
LOWtests/integration_tests/charts/api_tests.py138 certified_by="John Doe",
LOWtests/integration_tests/charts/api_tests.py550 "certified_by": "John Doe",
LOWtests/integration_tests/dashboards/api_tests.py112 certified_by="John Doe",
LOW…/plugins/preset-chart-deckgl/src/layers/common.test.ts163 object: { name: 'John Doe' },
LOW…/plugins/preset-chart-deckgl/src/layers/common.test.ts167 expect(mockOnSelect).toHaveBeenCalledWith('John Doe');
LOW…s/superset-core/src/components/Alert/Alert.stories.tsx26const smallText = 'Lorem ipsum dolor sit amet';
LOW…s/superset-core/src/components/Alert/Alert.stories.tsx26const smallText = 'Lorem ipsum dolor sit amet';
LOW…s/superset-core/src/components/Alert/Alert.stories.tsx28 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. ' +
LOW…s/superset-core/src/components/Alert/Alert.stories.tsx28 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. ' +
LOW…umber-format/factories/createD3NumberFormatter.test.ts67 description: 'lorem ipsum',
LOW…umber-format/factories/createD3NumberFormatter.test.ts70 expect(formatter.description).toEqual('lorem ipsum');
LOW…umber-format/factories/createD3NumberFormatter.test.ts76 description: 'lorem ipsum',
LOW…perset-ui-core/test/query/getClientErrorObject.test.ts69 const htmlString = '<!doctype html><div>Foo bar Lorem Ipsum</div>';
LOW…ui-core/src/components/TableView/TableView.stories.tsx68 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx68 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx75 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx75 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx82 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx82 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id porta neque, a vehicula orci. Maecenas rhoncus
LOW…ui-core/src/components/TableView/TableView.stories.tsx141 summary: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOW…ui-core/src/components/TableView/TableView.stories.tsx141 summary: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOW…ui-core/src/components/TableView/TableView.stories.tsx167 { id: 123, age: 27, name: 'Emily', summary: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' },
LOW…ui-core/src/components/TableView/TableView.stories.tsx167 { id: 123, age: 27, name: 'Emily', summary: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' },
LOW…e/src/components/ListViewCard/ListViewCard.stories.tsx43 description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...',
LOW…e/src/components/ListViewCard/ListViewCard.stories.tsx43 description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...',
LOW…e/src/components/ListViewCard/ListViewCard.stories.tsx108 description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...',
LOW…e/src/components/ListViewCard/ListViewCard.stories.tsx108 description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...',
LOW…ore/src/components/MetadataBar/MetadataBar.stories.tsx80 owners: ['John Doe', 'Mary Wilson'],
LOW…ore/src/components/MetadataBar/MetadataBar.stories.tsx124 owners: ['John Doe', 'Mary Wilson'],
LOW…ore/src/components/MetadataBar/MetadataBar.stories.tsx154 owners: ['John Doe', 'Mary Wilson'],
47 more matches not shown…
Verbosity Indicators63 hits · 119 pts
SeverityFileLineSnippet
LOW…commands/importers/v1/test_find_existing_for_import.py165 # Step 1: find (pure). Caller now has the row to make decisions on.
LOW…commands/importers/v1/test_find_existing_for_import.py170 # Step 2: caller decides to clear (in real code, after overwrite +
LOW…commands/importers/v1/test_find_existing_for_import.py174 # Step 3: caller can now re-insert with the same UUID without
LOW…ntegration_tests/tasks/test_subscription_visibility.py47 # Step 1: Gamma submits a shared task
LOW…ntegration_tests/tasks/test_subscription_visibility.py66 # Step 2: Admin joins the same task
LOW…ntegration_tests/tasks/test_subscription_visibility.py84 # Step 3: Gamma cancels (unsubscribes)
LOW…ntegration_tests/tasks/test_subscription_visibility.py96 # Step 4: Verify gamma can no longer see the task
LOW…ntegration_tests/tasks/test_subscription_visibility.py103 # Step 5: Verify admin still sees the task
LOWtests/integration_tests/utils/encrypt_tests.py170 # Step 1: Encrypt with KEY_A
LOWtests/integration_tests/utils/encrypt_tests.py175 # Step 2: Verify decryption with KEY_A works
LOWtests/integration_tests/utils/encrypt_tests.py179 # Step 3: Rotate key to KEY_B
LOWtests/integration_tests/utils/encrypt_tests.py182 # Step 4: Re-encrypt with KEY_B (simulating SecretsMigrator logic)
LOWtests/integration_tests/utils/encrypt_tests.py193 # Step 5: Verify decryption with KEY_B works
LOWtests/integration_tests/utils/encrypt_tests.py197 # Step 6: Verify KEY_A can no longer decrypt the new ciphertext
LOWtests/integration_tests/dashboards/commands_tests.py814 # Step 1: Add an embedded dashboard
LOWtests/integration_tests/dashboards/commands_tests.py821 # Step 2: Assert that the embedded dashboard was added
LOWtests/integration_tests/dashboards/commands_tests.py826 # Step 3: Delete the embedded dashboard
LOWtests/integration_tests/dashboards/commands_tests.py831 # Step 4: Assert that the embedded dashboard was deleted
LOW…gin-chart-echarts/src/utils/safeEChartOptionsParser.ts410 // Step 1: Parse into AST
LOW…gin-chart-echarts/src/utils/safeEChartOptionsParser.ts444 // Step 2: Validate AST for security (no functions, eval, etc.)
LOW…gin-chart-echarts/src/utils/safeEChartOptionsParser.ts452 // Step 3: Convert AST to JavaScript object
LOW…gin-chart-echarts/src/utils/safeEChartOptionsParser.ts455 // Step 4: Validate against Zod schema with partial/lenient mode
LOW…ents/TimeGrain/TimeGrainPreFilter.integration.test.tsx45 // Step 1: Simulate saved dashboard config
LOW…ents/TimeGrain/TimeGrainPreFilter.integration.test.tsx79 // Step 2: Render the dashboard filter
LOW…ents/TimeGrain/TimeGrainPreFilter.integration.test.tsx85 // Step 3: Verify only pre-filtered options appear
LOW…ents/TimeGrain/TimeGrainPreFilter.integration.test.tsx101 // Step 4: Selecting one allowed option should update runtime payload
LOW…-frontend/src/dashboard/reducers/nativeFilters.test.ts474 // Step 1: filter(Boolean) — as hydrate.ts does
LOW…-frontend/src/dashboard/reducers/nativeFilters.test.ts476 // Step 2: migrate — as hydrate.ts does
LOW…-frontend/src/dashboard/reducers/nativeFilters.test.ts478 // Step 3: combine with native filters and pass to getInitialState
LOWsuperset/semantic_layers/mapper.py116 # Step 1: Convert QueryObject to list of SemanticQuery objects
LOWsuperset/semantic_layers/mapper.py120 # Step 2: Execute the main query (first in the list)
LOWsuperset/semantic_layers/mapper.py178 # Step 5: Perform left join on dimension columns
LOWsuperset/mcp_service/jwt_verifier.py404 # Step 1: Decode header and check algorithm
LOWsuperset/mcp_service/jwt_verifier.py424 # Step 2: Get verification key (static or JWKS)
LOWsuperset/mcp_service/jwt_verifier.py433 # Step 3: Decode and verify signature
LOWsuperset/mcp_service/jwt_verifier.py458 # Step 4: Check expiration
LOWsuperset/mcp_service/jwt_verifier.py466 # Step 5: Validate issuer
LOWsuperset/mcp_service/jwt_verifier.py484 # Step 6: Validate audience
LOWsuperset/mcp_service/jwt_verifier.py511 # Step 7: Check required scopes
LOWsuperset/mcp_service/dataset/tool/query_dataset.py155 # Step 1: Check data-model metadata access BEFORE the dataset lookup.
LOWsuperset/mcp_service/dataset/tool/query_dataset.py171 # Step 2: Resolve dataset
LOWsuperset/mcp_service/dataset/tool/query_dataset.py205 # Step 2: Validate requested columns and metrics
LOWsuperset/mcp_service/dataset/tool/query_dataset.py239 # Step 3: Build filters and time range
LOWsuperset/mcp_service/dataset/tool/query_dataset.py301 # Step 4: Build query dict
LOWsuperset/mcp_service/dataset/tool/query_dataset.py322 # Step 5: Create QueryContext and execute
LOWsuperset/mcp_service/dataset/tool/query_dataset.py355 # Step 6: Format response
LOW…erset/mcp_service/chart/prompts/create_chart_guided.py88### Step 1: Find a Dataset
LOW…erset/mcp_service/chart/prompts/create_chart_guided.py91### Step 2: Examine Columns
LOW…erset/mcp_service/chart/prompts/create_chart_guided.py94### Step 3: Choose Chart Configuration
LOW…erset/mcp_service/chart/prompts/create_chart_guided.py101### Step 4: Create the Chart
LOW…erset/mcp_service/chart/prompts/create_chart_guided.py133### Step 5: Validate Results
LOWsuperset/db_engine_specs/aws_iam.py481 # Step 1: Assume the IAM role
LOWsuperset/db_engine_specs/aws_iam.py489 # Step 2: Generate the RDS auth token
LOWsuperset/db_engine_specs/aws_iam.py498 # Step 3: Update connection parameters
LOWsuperset/db_engine_specs/aws_iam.py507 # Step 4: Enable SSL (required for IAM authentication)
LOWsuperset/db_engine_specs/aws_iam.py616 # Step 1: Assume the IAM role
LOWsuperset/db_engine_specs/aws_iam.py624 # Step 2: Get Redshift credentials based on deployment type
LOWsuperset/db_engine_specs/aws_iam.py652 # Step 3: Update connection parameters
LOWsuperset/db_engine_specs/aws_iam.py657 # Step 4: Enable SSL (required for Redshift IAM authentication)
LOWsuperset/db_engine_specs/base.py2068 # signature, so we need to check if the method has the old signature.
3 more matches not shown…
AI Slop Vocabulary22 hits · 48 pts
SeverityFileLineSnippet
MEDIUMtests/unit_tests/utils/webdriver_test.py278 """Test comprehensive Playwright availability checking."""
MEDIUM…tegration_tests/tasks/commands/test_internal_update.py263 """Test atomic conditional status transitions with comprehensive scenarios.
MEDIUMtests/integration_tests/dao/base_dao_test.py51# Create a test model for comprehensive testing
LOWtests/integration_tests/charts/commands_tests.py623 # can just pass in chart as well
MEDIUM…frontend/plugins/plugin-chart-table/src/TableChart.tsx1569 // Use a ref to store previous clientViewRows and exportColumns for robust change detection
MEDIUM…nd/src/pages/DatasetList/DatasetList.listview.test.tsx1797 // Select row by dataset name (row-scoped query is more robust than array index)
MEDIUM…nd/src/pages/DatasetList/DatasetList.listview.test.tsx1860 // Select row by dataset name (row-scoped query is more robust than array index)
MEDIUM…nd/src/pages/DatasetList/DatasetList.listview.test.tsx1934 // Select first virtual dataset by name (row-scoped query is more robust than array index)
MEDIUM…nd/src/pages/DatasetList/DatasetList.listview.test.tsx1980 // Select first physical dataset by name (row-scoped query is more robust than array index)
MEDIUM…nd/src/pages/DatasetList/DatasetList.listview.test.tsx2030 // Select first dataset by name (row-scoped query is more robust than array index)
MEDIUMsuperset/config.py1514# This is move involved example where depending on the database you can leverage data
MEDIUMsuperset/viz.py258 payload = self.get_df_payload(query_obj) # leverage caching logic
MEDIUMsuperset/viz.py705 df = self.get_df_payload()["df"] # leverage caching logic
LOWsuperset/tasks/context.py501 # No original error, just use handler failures
MEDIUMsuperset/mcp_service/mcp_core.py673 """Tool interface for generating comprehensive instance information."""
MEDIUMsuperset/mcp_service/mcp_core.py682 """Generate comprehensive instance information."""
MEDIUMsuperset/mcp_service/mcp_core.py816 """Execute schema discovery and return comprehensive schema info."""
LOW…vice/chart/validation/runtime/cardinality_validator.py90 # but that requires DB access - for now just return OK
MEDIUMsuperset/mcp_service/chart/tool/generate_chart.py207 # Run comprehensive validation pipeline
MEDIUMsuperset/mcp_service/chart/tool/get_chart_data.py761 # Generate comprehensive summary with cache info
LOWsuperset/db_engine_specs/lint_metadata.py364 # f-strings - just return placeholder
MEDIUMsuperset/views/redirect.py65 # Block dangerous schemes using urlparse for robust detection
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippet
CRITICAL…art-point-cluster-map/test/ScatterPlotOverlay.test.tsx885 redrawParams.ctx.arc.mock.calls.forEach(call => {
CRITICAL.github/workflows/check_db_migration_confict.yml40 const opts = github.rest.pulls.list.endpoint.merge({
CRITICAL.github/workflows/check_db_migration_confict.yml54 const listFilesOpts = await github.rest.pulls.listFiles.endpoint.merge({
Slop Phrases11 hits · 18 pts
SeverityFileLineSnippet
LOWdocker-compose-image-tag.yml20# If you choose to use this type of deployment make sure to
LOWdocker-compose-non-dev.yml20# If you choose to use this type of deployment make sure to
LOWdocker-compose.yml20# If you choose to use this type of deployment make sure to
LOWtests/integration_tests/reports/utils.py210 # make sure to clean up in case of yield exceptions
MEDIUMsuperset/config.py84# Note that you can use `StdOutEventLogger` for debugging
MEDIUMsuperset/config.py247# Note that you can use this to set the isolation level of your database, as in
MEDIUMsuperset/config.py479# for adding your own map tiles, you can use the following format:
LOWsuperset/config.py187# You should also make sure to configure your WSGI server
LOWsuperset/constants.py18# ATTENTION: If you change any constants, make sure to also change utils/common.js
LOWsuperset/utils/pandas_postprocessing/utils.py205 # make sure to return a new DataFrame instead of changing the `base_df`.
LOWhelm/superset/values.yaml736 # Make sure you are giving a strong password for the admin user creation( else make sure you are changing after setup)
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippet
HIGHsuperset/mcp_service/jwt_verifier.py154 ' "Authorization": "Bearer <your-api-key>"\n'
HIGHsuperset/mcp_service/jwt_verifier.py190 "and <code>&lt;your-api-key&gt;</code> with a valid API key or JWT token."
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/docker-compose-up.sh27# Usage:
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippet
LOWsuperset/viz.py1040 def process_data(self, df: pd.DataFrame, aggregate: bool = False) -> VizData:
LOWsuperset/tasks/scheduler.py240def execute_task( # noqa: C901