Repository Analysis

fivetran/great_expectations

Always know what to expect from your data.

29.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of fivetran/great_expectations, a Python project with 11,639 GitHub stars. SynthScan v2.0 examined 514,980 lines of code across 2636 source files, recording 8491 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 29.5 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

29.5
Adjusted Score
29.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.6K
Stars
Python
Language
515.0K
Lines of Code
2.6K
Files
8.5K
Pattern Hits
2026-07-14
Scan Date
0.27
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 710MEDIUM 1372LOW 6408

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 8491 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Self-Referential Comments1264 hits · 5186 pts
SeverityFileLineSnippetContext
MEDIUMversioneer.py436# This file is released into the public domain. Generated byCOMMENT
MEDIUMci/azure-pipelines-packaging.yml1# This file is responsible for configuring the `packaging_and_installation` pipeline (https://dev.azure.com/great-expectCOMMENT
MEDIUMci/azure-pipelines-sqlalchemy-compatibility.yml1# This file is responsible for configuring the `sqlalchemy-compatibility` pipeline (https://dev.azure.com/great-expectatCOMMENT
MEDIUMtests/test_utils.py830 # The following code fetches the names of external schemas and tables from a special tableCOMMENT
MEDIUMtests/conftest.py1496 # Create a small in-memory engine with two views, one of which is temporaryCOMMENT
MEDIUMtests/test_setup.py93 """# This file contains only commentsSTRING
MEDIUMtests/sqlalchemy_test_doubles.py51 """This method is needed because currently we sometimes use aSTRING
MEDIUM…s/datasource/test_sqlalchemy_datasource_workarounds.py1# This file is intended for tests whose functionality is a workaround for deficiencies in upstream libraries. # noqa: ECOMMENT
MEDIUMtests/data_context/store/test_store_backends.py118 # Create a new store with the same config and make sure it reports the same store_backend_idCOMMENT
MEDIUMtests/data_context/store/test_store_backends.py168 # Create a new store with the same config and make sure it reports the same store_backend_idSTRING
MEDIUMtests/core/test_expectation_validation_result.py445 # Create an expectation config with severity enum at top levelCOMMENT
MEDIUMtests/core/test_expectation_suite.py1325 # Create a suite with expectations that have different severitiesCOMMENT
MEDIUMtests/integration/fluent/integration_test_utils.py40 # Define an expectation suiteCOMMENT
MEDIUM…nfiguration/datasource_configuration_test_utilities.py7# The following method is used to ensure that the dictionary used to verify universal configuration elementsCOMMENT
MEDIUM…_column_proportion_of_non_null_values_to_be_between.py49# Create a sample dataframe with different proportions of nonnull valuesCOMMENT
MEDIUM…_column_proportion_of_non_null_values_to_be_between.py61# Create an empty dataframeCOMMENT
MEDIUM…_column_proportion_of_non_null_values_to_be_between.py93# Define a data source config that only includes SQLiteCOMMENT
MEDIUM…ations/test_dataclass_serializable_dot_dict_pattern.py467 """This method is an adapter to allow typing of legacy my_class_e dictionary objects, without needing to immSTRING
MEDIUMtests/expectations/metrics/test_metrics_util.py50# The following class allows for declarative instantiation of base class for SqlAlchemy. Adopted from # noqa: E501 # FICOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1019 # Create a mock engine with the specified dialectCOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1023 # Create a mock dialect and engineCOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1079 # Create a mock dialect that reports as RedshiftCOMMENT
MEDIUM…pectations/metrics/query_metrics/test_query_metrics.py245 # Create a Select statement with a column that will be compiledSTRING
MEDIUMtests/execution_engine/test_sqlalchemy_batch_data.py62# # Create a larger table so that we can downsample meaningfullyCOMMENT
MEDIUMtests/actions/test_core_actions.py118 # Create a real failed expectation validation resultCOMMENT
MEDIUM…allery/azure-pipelines-manual-staging-json-to-prod.yml1# This file is responsible for configuring the `manual-staging-json-to-prod` pipeline (https://dev.azure.com/great-expecCOMMENT
MEDIUMdocs/sphinx_api_docs_source/build_sphinx_api_docs.py1"""This module provides logic for building Sphinx Docs via an Invoke command.STRING
MEDIUM…s/docs/snippets/expect_column_values_to_equal_three.py38# This class defines a Metric to support your Expectation.COMMENT
MEDIUM…s/docs/snippets/expect_column_values_to_equal_three.py49 # This method implements the core logic for the PandasExecutionEngineCOMMENT
MEDIUM…s/docs/snippets/expect_column_values_to_equal_three.py126# This class defines the Expectation itselfCOMMENT
MEDIUM…_to_data/dataframes/_examples/_pandas_df_data_asset.py18# Define the Data Asset nameCOMMENT
MEDIUM…frames/_examples/_batch_parameters_batch_definition.py48# Create an Expectation to testCOMMENT
MEDIUM…to_data/dataframes/_examples/_pandas_df_data_source.py9# Define the Data Source nameCOMMENT
MEDIUM…ta/dataframes/_examples/_pandas_df_batch_definition.py21# Define the Batch Definition nameCOMMENT
MEDIUM…s/_examples/_batch_parameters_validation_definition.py17 # Create an Expectation SuiteCOMMENT
MEDIUM…_to_data/dataframes/_examples/_spark_df_data_source.py9# Define the Data Source nameCOMMENT
MEDIUM…lesystem_data/_create_a_data_asset/_gcs/_file_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…tem_data/_create_a_data_asset/_gcs/_directory_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…lesystem_data/_create_a_data_asset/_abs/_file_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…tem_data/_create_a_data_asset/_abs/_directory_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…create_a_data_asset/_local_or_networked/_file_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…e_a_data_asset/_local_or_networked/_directory_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…ilesystem_data/_create_a_data_asset/_s3/_file_asset.py13# Define the Data Asset's parameters:COMMENT
MEDIUM…stem_data/_create_a_data_asset/_s3/_directory_asset.py12# Define the Data Asset's parameters:COMMENT
MEDIUM…/filesystem_data/_create_a_data_source/_gcs/_pandas.py6# Define the Data Source's parameters:COMMENT
MEDIUM…/filesystem_data/_create_a_data_source/_gcs/_pandas.py11# Create the Data Source:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_gcs/_spark.py6# Define the Data Source's parameters:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_gcs/_spark.py13# Create the Data Source:COMMENT
MEDIUM…/filesystem_data/_create_a_data_source/_abs/_pandas.py6# Define the Data Source's parameters:COMMENT
MEDIUM…/filesystem_data/_create_a_data_source/_abs/_pandas.py14# Create the Data Source:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_abs/_spark.py6# Define the Data Source's parameters:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_abs/_spark.py15# Create the Data Source:COMMENT
MEDIUM…a/_create_a_data_source/_local_or_networked/_pandas.py6# Define the Data Source's parameters:COMMENT
MEDIUM…a/_create_a_data_source/_local_or_networked/_pandas.py13# Create the Data Source:COMMENT
MEDIUM…ta/_create_a_data_source/_local_or_networked/_spark.py6# Define the Data Source's parameters:COMMENT
MEDIUM…ta/_create_a_data_source/_local_or_networked/_spark.py13# Create the Data Source:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_s3/_pandas.py6# Define the Data Source's parameters:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_s3/_pandas.py13# Create the Data Source:COMMENT
MEDIUM…ta/filesystem_data/_create_a_data_source/_s3/_spark.py6# Define the Data Source's parameters:COMMENT
MEDIUM…ta/filesystem_data/_create_a_data_source/_s3/_spark.py13# Create the Data Source:COMMENT
1204 more matches not shown…
Hyper-Verbose Identifiers3832 hits · 3641 pts
SeverityFileLineSnippetContext
LOWtasks.py645def _exit_with_error_if_not_in_repo_root(task_name: str):CODE
LOWtasks.py753def _exit_with_error_if_not_run_from_correct_dir(CODE
LOWversioneer.py590def git_versions_from_keywords(keywords, tag_prefix, verbose):CODE
LOWversioneer.py982def git_versions_from_keywords(keywords, tag_prefix, verbose):STRING
LOWci/checks/check_integration_test_gets_run.py106def get_test_files_in_test_suite(target_dir: pathlib.Path) -> Set[str]:CODE
LOWtests/test_configs.py8def test_instantiate_class_from_config():CODE
LOWtests/test_configs.py21def test_instantiate_class_from_config_with_overriden_defaults():CODE
LOWtests/test_configs.py54def test_instantiate_class_from_config_with_config_defaults():CODE
LOWtests/test_the_utils_in_test_utils.py11def test_get_awsathena_connection_url(monkeypatch):CODE
LOWtests/test_the_utils_in_test_utils.py32def test_get_clickhouse_sqlalchemy_potential_type():CODE
LOWtests/test_not_imported.py14def test_get_attr_on_not_installed(not_imported):CODE
LOWtests/test_not_imported.py19def test_set_attr_on_not_installed(not_imported):CODE
LOWtests/test_not_imported.py24def test_calling_not_installed(not_imported):CODE
LOWtests/test_deprecation.py17def regex_for_deprecation_comments() -> Pattern:CODE
LOWtests/test_deprecation.py23def files_with_deprecation_warnings() -> List[str]:CODE
LOWtests/test_deprecation.py40def test_deprecation_warnings_are_accompanied_by_appropriate_comment(CODE
LOWtests/test_deprecation.py65def test_deprecation_warnings_have_been_removed_after_two_minor_versions(CODE
LOWtests/test_utils.py52def create_files_in_directory(CODE
LOWtests/test_utils.py104def get_sqlite_temp_table_names(execution_engine: SqlAlchemyExecutionEngine):CODE
LOWtests/test_utils.py119def get_sqlite_temp_table_names_from_engine(engine: Engine):CODE
LOWtests/test_utils.py127def build_tuple_filesystem_store_backend(CODE
LOWtests/test_utils.py151def save_config_to_filesystem(CODE
LOWtests/test_utils.py171def load_config_from_filesystem(CODE
LOWtests/test_utils.py189def build_configuration_store(CODE
LOWtests/test_utils.py226def delete_config_from_store_backend(CODE
LOWtests/test_utils.py246def delete_checkpoint_config_from_store_backend(CODE
LOWtests/test_utils.py261def build_checkpoint_store_using_store_backend(CODE
LOWtests/test_utils.py278def save_config_to_store_backend(CODE
LOWtests/test_utils.py299def load_config_from_store_backend(CODE
LOWtests/test_utils.py319def delete_config_from_filesystem(CODE
LOWtests/test_utils.py338def get_snowflake_connection_url() -> str:CODE
LOWtests/test_utils.py369def get_snowflake_private_key() -> Optional[str]:CODE
LOWtests/test_utils.py390def get_snowflake_connection_kwargs() -> dict:CODE
LOWtests/test_utils.py409def get_redshift_connection_url() -> str:CODE
LOWtests/test_utils.py425def get_bigquery_table_prefix() -> str:CODE
LOWtests/test_utils.py443def get_bigquery_connection_url() -> str:CODE
LOWtests/test_utils.py469def load_and_concatenate_csvs(CODE
LOWtests/test_utils.py509def convert_string_columns_to_datetime(CODE
LOWtests/test_utils.py524def load_data_into_test_database( # noqa: C901, PLR0912, PLR0915 # FIXME CoPCODE
LOWtests/test_utils.py645def load_data_into_test_bigquery_database_with_bigquery_client(CODE
LOWtests/test_utils.py679def load_dataframe_into_test_athena_database_as_table(CODE
LOWtests/test_utils.py716def clean_up_tables_with_prefix(connection_string: str, table_prefix: str) -> List[str]:CODE
LOWtests/test_utils.py946def get_default_sql_server_url() -> str:CODE
LOWtests/test_utils.py973def get_awsathena_connection_url(db_name_env_var: str = "ATHENA_DB_NAME") -> str:CODE
LOWtests/test_utils.py989def get_connection_string_and_dialect(CODE
LOWtests/conftest.py1526def expectation_suite_identifier():CODE
LOWtests/conftest.py1531def test_folder_connection_path_csv(tmp_path_factory):CODE
LOWtests/conftest.py1539def test_db_connection_string(tmp_path_factory, test_backends):CODE
LOWtests/conftest.py417def pytest_collection_modifyitems(config, items):CODE
LOWtests/conftest.py535def basic_spark_df_execution_engine(spark_session):CODE
LOWtests/conftest.py547def spark_df_taxi_data_schema(spark_session):CODE
LOWtests/conftest.py804def deterministic_asset_data_connector_context(CODE
LOWtests/conftest.py1081def empty_context_with_checkpoint(empty_data_context):CODE
LOWtests/conftest.py1096def empty_data_context_stats_enabled(tmp_path_factory, monkeypatch):CODE
LOWtests/conftest.py1138def titanic_data_context_no_data_docs_no_checkpoint_store(tmp_path_factory):CODE
LOWtests/conftest.py1169def titanic_data_context_no_data_docs(tmp_path_factory):CODE
LOWtests/conftest.py1200def titanic_data_context_stats_enabled(tmp_path_factory, monkeypatch):CODE
LOWtests/conftest.py1345def titanic_sqlite_db_connection_string(sa):CODE
LOWtests/conftest.py1362def titanic_expectation_suite(empty_data_context_stats_enabled):CODE
LOWtests/conftest.py1398def data_context_parameterized_expectation_suite(tmp_path_factory):CODE
3772 more matches not shown…
Cross-File Repetition395 hits · 1975 pts
SeverityFileLineSnippetContext
HIGH…/fluent/test_pandas_google_cloud_storage_datasource.py0tests that the abs_recursive_file_discovery-flag is passed on to the list_keys-function as the recursive-parameter this STRING
HIGH…e/fluent/test_spark_google_cloud_storage_datasource.py0tests that the abs_recursive_file_discovery-flag is passed on to the list_keys-function as the recursive-parameter this STRING
HIGH…rce/fluent/test_spark_azure_blob_storage_datasource.py0tests that the abs_recursive_file_discovery-flag is passed on to the list_keys-function as the recursive-parameter this STRING
HIGH…ce/fluent/test_pandas_azure_blob_storage_datasource.py0tests that the abs_recursive_file_discovery-flag is passed on to the list_keys-function as the recursive-parameter this STRING
HIGHtests/datasource/fluent/conftest.py0initialize an regular/old-style filedatacontext project config directory. removed on teardown.STRING
HIGHtests/datasource/fluent/test_config.py0initialize an regular/old-style filedatacontext project config directory. removed on teardown.STRING
HIGHtests/integration/fluent/conftest.py0initialize an regular/old-style filedatacontext project config directory. removed on teardown.STRING
HIGHtests/datasource/fluent/test_fabric.py0capture the `reader_options` arguments being passed to the `pandasexecutionengine`. note this fixture is heavily reliantSTRING
HIGHtests/datasource/fluent/test_pandas_datasource.py0capture the `reader_options` arguments being passed to the `pandasexecutionengine`. note this fixture is heavily reliantSTRING
HIGH…datasource/fluent/test_pandas_filesystem_datasource.py0capture the `reader_options` arguments being passed to the `pandasexecutionengine`. note this fixture is heavily reliantSTRING
HIGHtests/data_context/store/test_metric_store.py0what does this test and why? a store should be able to report it's store_backend_id which is set when the storebackend iSTRING
HIGHtests/data_context/store/test_expectations_store.py0what does this test and why? a store should be able to report it's store_backend_id which is set when the storebackend iSTRING
HIGH…ts/data_context/store/test_validation_results_store.py0what does this test and why? a store should be able to report it's store_backend_id which is set when the storebackend iSTRING
HIGH…d_sample/test_sparkdf_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed a single element lSTRING
HIGH…nd_sample/test_pandas_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed a single element lSTRING
HIGH…ample/test_sqlalchemy_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed a single element lSTRING
HIGH…d_sample/test_sparkdf_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed date parts that arSTRING
HIGH…nd_sample/test_pandas_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed date parts that arSTRING
HIGH…ample/test_sqlalchemy_execution_engine_partitioning.py0what does this test and why? partition_on_date_parts should still build the correct query when passed date parts that arSTRING
HIGH…d_sample/test_sparkdf_execution_engine_partitioning.py0test that a partially pre-filled version of partition_on_date_parts() was called with the appropriate params. for examplSTRING
HIGH…nd_sample/test_pandas_execution_engine_partitioning.py0test that a partially pre-filled version of partition_on_date_parts() was called with the appropriate params. for examplSTRING
HIGH…ample/test_sqlalchemy_execution_engine_partitioning.py0test that a partially pre-filled version of partition_on_date_parts() was called with the appropriate params. for examplSTRING
HIGH…s/docs/snippets/expect_column_values_to_equal_three.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…n-0.18/snippets/expect_column_values_to_equal_three.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…pect_column_values_to_be_string_integers_increasing.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…filer_metrics/data_profiler_profile_numeric_columns.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…profiler_metrics/data_profiler_profile_percent_diff.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…ct_profile_numeric_columns_diff_less_than_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…ric_columns_diff_greater_than_or_equal_to_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…profile_numeric_columns_diff_greater_than_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…umns_percent_diff_between_exclusive_threshold_range.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…umns_percent_diff_between_inclusive_threshold_range.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…le_numeric_columns_percent_diff_less_than_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…mns_percent_diff_greater_than_or_equal_to_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…eric_columns_diff_between_inclusive_threshold_range.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…umeric_columns_diff_less_than_or_equal_to_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…numeric_columns_percent_diff_greater_than_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…olumns_percent_diff_less_than_or_equal_to_threshold.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…eric_columns_diff_between_exclusive_threshold_range.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…ics/column_aggregate_metrics/column_distinct_values.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…s/column_aggregate_metrics/column_most_common_value.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…/column_aggregate_metrics/column_standard_deviation.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…ns/metrics/column_map_metrics/column_values_z_score.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…ics/multicolumn_map_metrics/compound_columns_unique.py0returns a dictionary of given metric names and their corresponding configuration, specifying the metric types and their STRING
HIGH…urus/docs/snippets/aws_redshift_deployment_patterns.py0# <snippet name="docs/docusaurus/docs/snippets/aws_cloud_storage_spark.py existing_expectations_store"> stores: expectatSTRING
HIGH…sion-0.18/snippets/aws_redshift_deployment_patterns.py0# <snippet name="docs/docusaurus/docs/snippets/aws_cloud_storage_spark.py existing_expectations_store"> stores: expectatSTRING
HIGH…docs/version-0.18/snippets/aws_cloud_storage_pandas.py0# <snippet name="docs/docusaurus/docs/snippets/aws_cloud_storage_spark.py existing_expectations_store"> stores: expectatSTRING
HIGH…_docs/version-0.18/snippets/aws_cloud_storage_spark.py0# <snippet name="docs/docusaurus/docs/snippets/aws_cloud_storage_spark.py existing_expectations_store"> stores: expectatSTRING
HIGH…to_explicitly_instantiate_an_ephemeral_data_context.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…to_explicitly_instantiate_an_ephemeral_data_context.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…usaurus/docs/snippets/how_to_connect_to_a_sql_table.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…version-0.18/snippets/how_to_connect_to_a_sql_table.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…w_to_initialize_a_filesystem_data_context_in_python.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…w_to_initialize_a_filesystem_data_context_in_python.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…w_to_instantiate_a_specific_filesystem_data_context.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…w_to_instantiate_a_specific_filesystem_data_context.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…t/database/how_to_connect_to_sql_data_using_a_query.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…t/database/how_to_connect_to_sql_data_using_a_query.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…a/fluent/database/how_to_connect_to_postgresql_data.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
HIGH…a/fluent/database/how_to_connect_to_postgresql_data.py0to run this code as a local test, use the following console command: ``` pytest -v --docs-tests -k "how_to_connect_to_daSTRING
335 more matches not shown…
Unused Imports1365 hits · 1182 pts
SeverityFileLineSnippetContext
LOWtasks.py12CODE
LOWtasks.py396CODE
LOWci/checks/validate_docs_snippets.py7CODE
LOWtests/conftest.py1CODE
LOWtests/conftest.py21CODE
LOWtests/test_packaging.py1CODE
LOWtests/test_markers.py1CODE
LOWtests/sqlalchemy_test_doubles.py1CODE
LOWtests/test_the_utils_in_self_check_utils.py1CODE
LOWtests/datasource/test_datasource_dict.py1CODE
LOWtests/datasource/data_connector/test_batch_filter.py1CODE
LOW…/fluent/test_pandas_google_cloud_storage_datasource.py1CODE
LOW…e/fluent/test_spark_google_cloud_storage_datasource.py1CODE
LOWtests/datasource/fluent/test_sql_server_datasource.py1CODE
LOWtests/datasource/fluent/conftest.py1CODE
LOWtests/datasource/fluent/tasks.py5CODE
LOWtests/datasource/fluent/test_metadatasource.py1CODE
LOWtests/datasource/fluent/test_pandas_dbfs_datasource.py1CODE
LOWtests/datasource/fluent/test_spark_s3_datasource.py1CODE
LOWtests/datasource/fluent/test_postgres_datasource.py1CODE
LOWtests/datasource/fluent/test_spark_datasource.py1CODE
LOWtests/datasource/fluent/test_viral_snippets.py1CODE
LOWtests/datasource/fluent/test_contexts.py1CODE
LOWtests/datasource/fluent/test_fabric_datasource.py1CODE
LOWtests/datasource/fluent/test_pandas_s3_datasource.py1CODE
LOWtests/datasource/fluent/test_invalid_datasource.py1CODE
LOW…rce/fluent/test_spark_azure_blob_storage_datasource.py1CODE
LOWtests/datasource/fluent/test_spark_dbfs_datasource.py1CODE
LOWtests/datasource/fluent/test_config.py1CODE
LOWtests/datasource/fluent/test_fabric.py1CODE
LOWtests/datasource/fluent/test_schemas.py1CODE
LOW…/datasource/fluent/test_spark_filesystem_datasource.py1CODE
LOWtests/datasource/fluent/test_pandas_datasource.py1CODE
LOW…ce/fluent/test_pandas_azure_blob_storage_datasource.py1CODE
LOW…datasource/fluent/test_pandas_filesystem_datasource.py1CODE
LOWtests/datasource/fluent/test_snowflake_datasource.py1CODE
LOWtests/datasource/fluent/test_batch.py1CODE
LOWtests/datasource/fluent/test_sql_datasources.py1CODE
LOWtests/datasource/fluent/test_config_str.py1CODE
LOW…ts/datasource/fluent/test_databricks_sql_datasource.py1CODE
LOWtests/datasource/fluent/test_batch_request.py1CODE
LOWtests/datasource/fluent/test_sqlite_datasource.py1CODE
LOW…/fluent/data_asset/data_connector/test_regex_parser.py1CODE
LOW…/data_asset/data_connector/test_dbfs_data_connector.py1CODE
LOW…/serializable_types/test_pyspark_serializable_types.py1CODE
LOW…s/experimental/metric_repository/test_column_filter.py1CODE
LOWtests/data_context/conftest.py1CODE
LOWtests/data_context/conftest.py9CODE
LOWtests/data_context/test_data_context_variables.py1CODE
LOWtests/data_context/test_gx_cloud_shutdown.py17CODE
LOWtests/data_context/test_data_context.py1CODE
LOWtests/data_context/test_data_context_datasources.py1CODE
LOW…sts/data_context/test_data_context_state_management.py1CODE
LOW…data_context/store/test_validation_definition_store.py1CODE
LOWtests/data_context/store/test_expectations_store.py1CODE
LOWtests/data_context/store/test_data_asset_store.py1CODE
LOWtests/data_context/store/test_v1_checkpoint_store.py1CODE
LOWtests/checkpoint/test_checkpoint_id_pk.py1CODE
LOWtests/checkpoint/test_checkpoint.py1CODE
LOWtests/core/test_batch_definition.py1CODE
1305 more matches not shown…
Cross-Language Confusion177 hits · 950 pts
SeverityFileLineSnippetContext
HIGHtests/datasource/fluent/test_pandas_datasource.py470 b.data.dataframe.equals(test_df_pandas)CODE
HIGHtests/integration/conftest.py64 self.data.equals(value.data),CODE
HIGHtests/integration/conftest.py72 and self.secondary_data.equals(value.secondary_data)CODE
HIGH…sts/integration/metrics/column/test_values_non_null.py39 assert metric_result.value.equals(expected_value)CODE
HIGHtests/integration/fluent/test_integration_datasource.py475 assert batch.data.dataframe.equals(df)CODE
HIGHtests/integration/fluent/test_integration_datasource.py485 assert batch.data.dataframe.equals(df)CODE
HIGHtests/expectations/test_expectation_atomic_renderers.py1628 "template": "$column values must not be null, at least $mostly_pct % of the time.",CODE
HIGHtests/expectations/test_expectation_atomic_renderers.py1316 "template": "$column values must be null, at least $mostly_pct % of the time.",CODE
HIGHtests/expectations/metrics/test_core.py2052 assert ser_expected_lengths.equals(result_series)CODE
HIGH…etrics/column_map_metrics/test_column_values_in_set.py52 # We expect the predicate to look similar to "column_name in (true, false, null)"COMMENT
HIGH…ts/expectations/core/test_expectation_serialization.py21 '{"id": null, "meta": null, "notes": null, "result_format": "BASIC", 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py22 '"description": null, "catch_exceptions": false, "rendered_content": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py23 '"severity": "critical", "windows": null, "batch_id": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py24 '"column": "test_column", "row_condition": null, "condition_parser": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py25 '"min_value": 1.0, "max_value": null, "strict_min": false, "strict_max": false}'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py34 '{"id": null, "meta": null, "notes": null, "result_format": "BASIC", 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py35 '"description": null, "catch_exceptions": true, "rendered_content": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py36 '"severity": "critical", "windows": null, "batch_id": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py37 '"column": "test_column", "mostly": 0.82, "row_condition": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py38 '"condition_parser": null}'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py47 '{"id": null, "meta": null, "notes": null, "result_format": "BASIC", 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py49 '"rendered_content": null, "severity": "critical", "windows": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py50 '"batch_id": null, "unexpected_rows_query": "SELECT * FROM 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py68 '{"id": null, "meta": null, "notes": null, "result_format": "BASIC", 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py69 '"description": null, "catch_exceptions": true, "rendered_content": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py72 '"negative": 0.2}, "strict": false}], "batch_id": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py73 '"column": "test_column", "mostly": 0.82, "row_condition": null, 'CODE
HIGH…ts/expectations/core/test_expectation_serialization.py74 '"condition_parser": null}'CODE
HIGHtests/render/test_column_section_renderer.py1209 "values must not be null, at least $mostly_pct % of the time." in content_block_stringifiedCODE
HIGHtests/execution_engine/test_pandas_execution_engine.py244 assert data.equals(expected_multicolumn_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py259 assert data.equals(df), "Data does not match after getting compute domain"CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py267 assert data.equals(df), "Data does not match after getting compute domain"CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py282 assert data.equals(df), "Data does not match after getting compute domain"CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py302 assert data.equals(df), "Data does not match after getting compute domain"CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py317 assert data.equals(df), "Data does not match after getting compute domain"CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py86 assert data.equals(expected_column_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py122 assert data.equals(expected_column_pair_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py141 assert data.equals(expected_column_pair_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py163 assert data.equals(expected_column_pair_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py195 assert data.equals(expected_multicolumn_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py213 assert data.equals(expected_multicolumn_df), (CODE
HIGHtests/execution_engine/test_pandas_execution_engine.py451 assert engine.dataframe.equals(df)CODE
HIGH…ocusaurus/docs/core/introduction/try_gx_exploratory.py89 "exception_traceback": null,CODE
HIGH…ng_data_docs/how_to_host_and_share_data_docs_on_gcs.py180gcloud auth login && gcloud config set project <YOUR GCP PROJECT NAME>STRING
HIGH…ng_data_docs/how_to_host_and_share_data_docs_on_gcs.py186gcloud auth login && gcloud config set project <YOUR GCP PROJECT NAME>STRING
HIGH…amically_load_evaluation_parameters_from_a_database.py90 "exception_traceback": null,CODE
HIGH…ueried_column_pair_values_to_be_both_filled_or_null.py40 ({column_a} is not null and {column_b} is null)CODE
HIGH…ueried_column_pair_values_to_be_both_filled_or_null.py42 ({column_a} is null and {column_b} is not null)CODE
HIGH…mn_values_to_not_be_null_and_column_to_not_be_empty.py164 template_str = "values must not be null, at least $mostly_pct % of the time."CODE
HIGH…mn_values_to_not_be_null_and_column_to_not_be_empty.py200 "$column values must not be null, at least $mostly_pct % of the time."CODE
HIGH…mn_values_to_not_be_null_and_column_to_not_be_empty.py203 template_str = "values must not be null, at least $mostly_pct % of the time."CODE
HIGH…ions/expect_column_values_to_be_nonempty_geometries.py44 """Expect values in a column to be shapely geometries that aren't empty (however, they can be null).STRING
HIGH…expectations/datasource/fluent/snowflake_datasource.py72 # If there's unicode, an exception will be thrown and the function will return falseCOMMENT
HIGH…ectations/data_context/store/gx_cloud_store_backend.py235 str(response.text), # type: ignore[possibly-undefined] # will be present for json errorCODE
HIGHgreat_expectations/checkpoint/actions.py488 f"Request to Slack webhook returned error {response.status_code}: {response.text}" # type: ignore[possiCODE
HIGHgreat_expectations/checkpoint/actions.py626 f"Request to Microsoft Teams API returned error {response.status_code}: {e}" # type: ignore[possibly-unCODE
HIGHgreat_expectations/checkpoint/actions.py735 logger.warning(f"Request to Opsgenie API returned error {response.status_code}: {e}") # type: ignore[possibCODE
HIGHgreat_expectations/expectations/expectation.py3075 Counter(immutable_unexpected_list).most_common( # type: ignore[possibly-undefined] # FIXMECODE
HIGH…pectations/metrics/column_aggregate_metric_provider.py90 if filter_column_isnull:CODE
HIGH…pectations/metrics/column_aggregate_metric_provider.py153 if filter_column_isnull:CODE
117 more matches not shown…
Docstring Block Structure136 hits · 680 pts
SeverityFileLineSnippetContext
HIGHtests/core/test__docs_decorators.py599My docstring. Longer description. Usage: Some usage example. Args: arg_not_decorated: desSTRING
HIGHtests/core/test_serialization.py304Generic assertions for testing configuration serialization. Args: config: config object to check serializatSTRING
HIGH…ectation_gallery/3-expectation-docstring-formatting.md14Expect the column maximum to be between a minimum value and a maximum value. expect_column_max_to_be_between is a \STRING
HIGH…pect_column_values_to_be_string_integers_increasing.py139Expect a column to contain string-typed integers to be increasing. expect_column_values_to_be_string_integers_increSTRING
HIGH…/expectations/expect_multicolumn_values_to_be_equal.py98Expect the list of multicolumn values to be equal. To be counted as an exception if any one column in the given colSTRING
HIGH…tions/expect_column_values_to_not_contain_character.py46Expect the set of column values to not contain a given character. expect_column_values_to_not_contain_character is STRING
HIGH…ctations/expect_table_checksum_to_equal_other_table.py248Expect the checksum for one batch table to equal the checksum of another table. expect_table_checksum_to_equal_otheSTRING
HIGH…pectations/expect_column_values_to_match_xml_schema.py82Expect column entries to be XML documents matching a given [XMLSchema](https://en.wikipedia.org/wiki/XML_schema). eSTRING
HIGH…ations/expect_column_discrete_entropy_to_be_between.py125Expect the column discrete entropy to be between a minimum value and a maximum value. The Shannon entropy ofSTRING
HIGH…ectations/expect_column_values_to_be_edtf_parseable.py96Expect column entries to be parsable using the [Extended Date/Time Format (EDTF) specification](https://www.loc.gov/stanSTRING
HIGH…mn_values_to_not_be_null_and_column_to_not_be_empty.py46Expect column values to not be null and column to not be empty. To be counted as an exception, values must be expliSTRING
HIGH…tions/expectations/expect_column_values_to_be_ascii.py58Expect the set of column values to be ASCII characters. expect_column_values_to_be_ascii is a \ [Column Map ExpSTRING
HIGH…tations/expect_column_values_to_be_secure_passwords.py90Expect column entries to be secure passwords, as defined by expectation parameters. expect_column_values_to_be_secuSTRING
HIGH…pectations/expect_column_values_to_be_xml_parseable.py68Expect column entries to be data written in XML. expect_column_values_to_be_xml_parseable is a \ [Column Map ExSTRING
HIGH…s_to_be_lat_lon_coordinates_in_range_of_given_point.py162Expect values in a column to be tuples of degree-decimal (latitude, longitude) within a specified range of a given degreSTRING
HIGH…expect_column_minimum_bounding_radius_to_be_between.py58Expect that column values as geometry points to be contained within a bounding circle with a given radius (or diameter).STRING
HIGH…ns/expect_column_values_geometry_to_be_within_shape.py78Expect that column values as geometries are within a given reference shape. expect_column_values_geometry_to_be_witSTRING
HIGH…n_values_geometry_distance_to_address_to_be_between.py156Expect that column values as geometry points to be between a certain distance from a geocoded object. expect_columnSTRING
HIGH…ns/expect_column_values_geometry_to_intersect_shape.py74Expect that column values as geometries intersect a given reference shape. expect_column_values_geometry_to_interseSTRING
HIGH…ions/expect_column_values_geometry_to_be_near_shape.py81Expect that column values as geometries are near (within a given distance) of a given reference shape in the units of thSTRING
HIGH…column_values_geometry_centroids_to_be_within_shape.py77Expect that column values as geometries each have a centroid that are within a given reference shape. expect_columnSTRING
HIGH…ns/expect_column_values_geometry_to_be_within_place.py94Expect that column values as geometries are within a place that can be returned through geocoding (as a shape). expSTRING
HIGH…tions/expect_column_max_to_match_prophet_date_model.py8Expect the column maximum to match the predictions of a prophet model for a given date. expect_column_max_to_match_STRING
HIGH…/expect_batch_row_count_to_match_prophet_date_model.py16Expect the number of rows in a batch to match the predictions of a prophet model for a given date. expect_batch_rowSTRING
HIGH…pect_column_pair_values_to_match_prophet_date_model.py84Expect the values in column A to match the predictions of a prophet model based on the timestamp in column B. expecSTRING
HIGH…expectations/generator/hourly_time_series_generator.py91Generate a time series as a pandas dataframe. Keyword Args: size: The number of days in the time seSTRING
HIGH…expectations/generator/weekly_time_series_generator.py26Generate a time series as a pandas dataframe. Keyword Args: size: The number of days in the time seSTRING
HIGH…_expectations/generator/daily_time_series_generator.py180Generate a time series as a pandas dataframe. Keyword Args: size: The number of days in the time seSTRING
HIGH…xpectations/generator/monthly_time_series_generator.py25Generate a time series as a pandas dataframe. Keyword Args: size: The number of days in the time seSTRING
HIGHgreat_expectations/util.py1092Converts an object to one that is JSON-serializable. WARNING, data may be converted in place. Args: daSTRING
HIGHgreat_expectations/datasource/fluent/interfaces.py1184 Validate the Batch using the provided Expectation or Expectation Suite. Args: expect: The STRING
HIGHgreat_expectations/datasource/fluent/interfaces.py1274Compute one or more metrics on this Batch. Args: metrics: A single Metric or list of Metrics to comSTRING
HIGHgreat_expectations/datasource/fluent/sources.py426Validates the input is a datasource or a set of constructor parameters The first argument can be a non-keyword STRING
HIGH…ectations/data_context/data_context/context_factory.py538Method to return the appropriate Data Context depending on parameters and environment. Usage: `import greatSTRING
HIGH…ons/data_context/data_context/abstract_data_context.py871Retrieve a given Datasource by name from the context's underlying DatasourceStore. Args: name: The STRING
HIGH…ons/data_context/data_context/abstract_data_context.py1069Retrieve a Validator with a batch list and an `ExpectationSuite`. `get_validator` first calls `get_batch_list` STRING
HIGH…ons/data_context/data_context/abstract_data_context.py1245Get an expectation suite from optional inputs. Also validates inputs. Args: expectation_suite: An ESTRING
HIGH…ons/data_context/data_context/abstract_data_context.py1357Get the list of zero or more batches, based on a variety of flexible input types. `get_batch_list` is the main STRING
HIGH…ons/data_context/data_context/abstract_data_context.py1505Inspect datasource and batch kwargs generators to provide available data_asset objects. Args: datasSTRING
HIGH…ons/data_context/data_context/abstract_data_context.py1820Utility method to take in an input config and ensure its conversion to a rich DataContextConfig. If the input isSTRING
HIGH…ons/data_context/data_context/abstract_data_context.py2127Build Data Docs for your project. --Documentation-- - https://docs.greatexpectations.io/docs/terms/STRING
HIGH…at_expectations/data_context/store/datasource_store.py152Retrieves a Datasource persisted in the store by it's given name. Args: name: The name of the DatasSTRING
HIGHgreat_expectations/checkpoint/checkpoint.py296 Runs the Checkpoint's underlying Validation Definitions and Actions. Args: batch_parameterSTRING
HIGHgreat_expectations/checkpoint/actions.py150 Return a ValidationAction class based on its type. Used when instantiating actions from a checkpoint coSTRING
HIGHgreat_expectations/core/batch.py567A RuntimeBatchRequest creates a Batch for a RuntimeDataConnector. Instead of serving as a description of what data STRING
HIGHgreat_expectations/core/batch_definition.py83 Retrieves a batch from the underlying asset. Defaults to the last batch from the asset's batch list. STRING
HIGHgreat_expectations/core/batch_definition.py100 Retrieves a list of available batch identifiers. These identifiers can be used to fetch specific batcheSTRING
HIGHgreat_expectations/core/expectation_suite.py381Remove an ExpectationConfiguration from the ExpectationSuite. Args: expectation_configuration: A poSTRING
HIGHgreat_expectations/core/expectation_suite.py439 Find indexes of Expectations matching the given ExpectationConfiguration on the given match_type. If a STRING
HIGHgreat_expectations/core/expectation_suite.py493 If successful, upserts ExpectationConfiguration into this ExpectationSuite. Args: expectatSTRING
HIGHgreat_expectations/core/expectation_suite.py553Upsert a list of ExpectationConfigurations into this ExpectationSuite. Args: expectation_configuratSTRING
HIGHgreat_expectations/core/expectation_suite.py587Upsert specified ExpectationConfiguration into this ExpectationSuite. Args: expectation_configuratiSTRING
HIGHgreat_expectations/core/validation_definition.py395Fetch all failing rows for an UnexpectedRowsExpectation without the 200-row limit. Args: expectatioSTRING
HIGHgreat_expectations/validator/validator.py849Remove an ExpectationConfiguration from the ExpectationSuite associated with the Validator. Args: eSTRING
HIGHgreat_expectations/validator/validator.py1099Run all expectations and return the outcome of the run. Args: expectation_suite: If None, uses the STRING
HIGHgreat_expectations/validator/validator.py1310Test a generic expectation function Args: function (func): The function to be tested. (Must be a vaSTRING
HIGH…expectations/expectations/expectation_configuration.py108Defines the parameters and name of a specific Expectation. Args: type: The name of the expectation class toSTRING
HIGHgreat_expectations/expectations/expectation.py1461Validates the expectation against the provided data. Args: validator: A Validator object that can bSTRING
HIGHgreat_expectations/expectations/row_conditions.py448Validate row_condition according to GX Cloud UI constraints. 1. Flatten nested AndConditions within AndConditions STRING
HIGH…ctations/core/expect_column_values_to_not_be_in_set.py66{EXPECTATION_SHORT_DESCRIPTION} ExpectColumnValuesToNotBeInSet is a \ Column Map Expectation. Column Map ESTRING
76 more matches not shown…
Over-Commented Block293 hits · 290 pts
SeverityFileLineSnippetContext
LOWconstraints-dev.txt1# The pip resolver became more strict starting with version 20.3COMMENT
LOWpyproject.toml441 # Example: Mocks returned by pytest-mock do not need to be used as context managers.COMMENT
LOWpyproject.toml481 # --------------------------------------- Great Expectations Deprecation Warnings ----------------------------------COMMENT
LOWpyproject.toml501 # --------------------------------------- Great Expectations Deprecation Warnings ----------------------------------COMMENT
LOWpyproject.toml521 'ignore: NotImplemented should not be used in a boolean context:DeprecationWarning',COMMENT
LOWpyproject.toml541 'ignore: _SixMetaPathImporter.exec_module\(\) not found:ImportWarning',COMMENT
LOWpyproject.toml561 # Example Actual Warning: Found by running tests/expectations/metrics/test_core.py::test_value_counts_metric_sparkCOMMENT
LOWpyproject.toml581 'ignore: Passing a BlockManager to CustomPandasDataset is deprecated and will raise in a future version. Use public COMMENT
LOWpyproject.toml601 # Example Actual Warning: pymysql.err.Warning: (1292, "Truncated incorrect DOUBLE value: 'cat'")COMMENT
LOWpyproject.toml621 # UserWarning: You have an incompatible version of 'pyarrow' installed (11.0.0), please install a version that adherCOMMENT
LOWpyproject.toml641 # https://github.com/python-jsonschema/referencing library,COMMENT
LOWversioneer.py1521 return get_versions()["version"]COMMENT
LOWreqs/requirements-dev-spark.txt1# The ceiling admits the 4.x line (tested through 4.1.x) while keeping the 2.3.2 floor.COMMENT
LOWci/azure-pipelines-packaging.yml1# This file is responsible for configuring the `packaging_and_installation` pipeline (https://dev.azure.com/great-expectCOMMENT
LOWci/user-install-matrix.yml21 python -c "import great_expectations as gx; print('Successfully imported GX Version:', gx.__version__)"COMMENT
LOWci/user-install-matrix.yml41# - script: |COMMENT
LOWci/constraints-test/pyspark4-install.txt1# Lane pin for the dedicated pyspark-4 CI job: exercises great_expectations[spark]COMMENT
LOW…s/datasource/test_sqlalchemy_datasource_workarounds.py1# This file is intended for tests whose functionality is a workaround for deficiencies in upstream libraries. # noqa: ECOMMENT
LOWtests/datasource/fluent/test_viral_snippets.py261COMMENT
LOW…xtures/great_expectations_custom_local_site_config.yml21 validation_results_store:COMMENT
LOWtests/integration/test_script_runner.py101 # user_flow_script="docs/docusaurus/docs/oss/guides/validation/checkpoints/how_to_add_validations_data_or_suitesCOMMENT
LOWtests/integration/test_script_runner.py121 # IntegrationTestFixture(COMMENT
LOWtests/integration/test_script_runner.py201 # IntegrationTestFixture(COMMENT
LOWtests/integration/test_script_runner.py221 # IntegrationTestFixture(COMMENT
LOWtests/integration/test_script_runner.py241 user_flow_script="docs/docusaurus/docs/snippets/how_to_connect_to_a_sql_table.py",COMMENT
LOWtests/integration/test_script_runner.py261 # backend_dependencies=[],COMMENT
LOWtests/integration/test_script_runner.py281]COMMENT
LOWtests/integration/test_utils/data_source_config/sql.py261COMMENT
LOW…gration/test_definitions/redshift/integration_tests.py1from tests.integration.backend_dependencies import BackendDependenciesCOMMENT
LOW…/integration/test_definitions/gcs/integration_tests.py21 # user_flow_script="docs/docusaurus/docs/oss/guides/setup/configuring_data_docs/how_to_host_and_share_data_docs_COMMENT
LOW…expectations/test_expect_table_columns_to_match_set.py121 result_format=ResultFormat.SUMMARY,COMMENT
LOW…ations/test_expect_column_values_to_be_in_type_list.py221 # Complex data types which are not hashable by testing framework currentlyCOMMENT
LOW…ations/test_expect_column_values_to_be_in_type_list.py521 gxe.ExpectColumnValuesToBeInTypeList(column="TINYINT", type_list=["TINYINT"]),COMMENT
LOW…ations/test_dataclass_serializable_dot_dict_pattern.py501COMMENT
LOWtests/expectations/test_run_diagnostics.py321 "tags": ["core expectation", "column map expectation"],COMMENT
LOWtests/execution_engine/test_sqlalchemy_batch_data.py61# def test_head(sqlite_view_engine):COMMENT
LOWdocs/docusaurus/docs/snippets/quickstart.py41# <snippet name="tutorials/quickstart/quickstart.py run_checkpoint">COMMENT
LOW…_to_data/dataframes/_examples/_pandas_df_data_asset.py21# </snippet>COMMENT
LOW…to_data/dataframes/_examples/_pandas_df_data_source.py1# <snippet name="docs/docusaurus/docs/core/connect_to_data/dataframes/_examples/_pandas_df_data_source.py - full exampleCOMMENT
LOW…ta/dataframes/_examples/_pandas_df_batch_definition.py21# Define the Batch Definition nameCOMMENT
LOW…_to_data/dataframes/_examples/_spark_df_data_source.py1# <snippet name="docs/docusaurus/docs/core/connect_to_data/dataframes/_examples/_spark_df_data_source.py - full example"COMMENT
LOW…a/sql_data/_create_a_data_asset/create_a_data_asset.py61# Verify that the Data Assets were createdCOMMENT
LOW…ect_to_data/sql_data/_create_a_data_source/postgres.py21# <snippet name="docs/docusaurus/docs/core/connect_to_data/sql_data/_create_a_data_source/postgres.py name and connectioCOMMENT
LOW…lesystem_data/_create_a_data_asset/_gcs/_file_asset.py21# </snippet>COMMENT
LOW…create_a_data_asset/_local_or_networked/_file_asset.py1# <snippet name="docs/docusaurus/docs/core/connect_to_data/filesystem_data/_create_a_data_asset/_local_or_networked/_filCOMMENT
LOW…n_validations/_examples/run_a_validation_definition.py61# <snippet name="docs/docusaurus/docs/core/run_validations/_examples/run_a_validation_definition.py - define batch paramCOMMENT
LOW…ons_based_on_results/_examples/choose_result_format.py81COMMENT
LOW…ons_based_on_results/_examples/choose_result_format.py101# checkpoint.run(result_format=summary_result_format_dict)COMMENT
LOW…s_based_on_results/_examples/create_a_custom_action.py21COMMENT
LOW…_results/_examples/create_a_checkpoint_with_actions.py101# Save the Checkpoint to the Data ContextCOMMENT
LOW…_project_settings/_examples/toggle_analytics_events.py21COMMENT
LOW…amples/retrieve_a_batch_of_test_data_pandas_default.py21# Provide the path to a data file:COMMENT
LOW…trieve_a_batch_of_test_data_from_a_batch_definition.py81# </snippet>COMMENT
LOW…tations/_examples/organize_expectations_into_suites.py21# Create an Expectation SuiteCOMMENT
LOW…a_gx_environment/_create_a_data_context/quick_start.py21# </snippet>COMMENT
LOW…source_local_spark_no_assets/gx/great_expectations.yml1# Welcome to Great Expectations! Always know what to expect from your data.COMMENT
LOW…source_local_spark_no_assets/gx/great_expectations.yml21# which is defined through the `config_variables_file_path`.COMMENT
LOW…tasource_gcs_spark_no_assets/gx/great_expectations.yml1# Welcome to Great Expectations! Always know what to expect from your data.COMMENT
LOW…tasource_gcs_spark_no_assets/gx/great_expectations.yml21# which is defined through the `config_variables_file_path`.COMMENT
LOW…tasource_aws_spark_no_assets/gx/great_expectations.yml1# Welcome to Great Expectations! Always know what to expect from your data.COMMENT
233 more matches not shown…
Decorative Section Separators72 hits · 246 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml429# -----------------------------------------------------------------COMMENT
MEDIUMreqs/requirements-dev-sqlalchemy2.txt12# -----------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py82# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py152# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py182# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py184# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py209# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_gx_cloud_shutdown.py211# ---------------------------------------------------------------------------COMMENT
MEDIUM…ions/test_expect_column_value_lengths_to_be_between.py193# ---------------------------------------------------------------------------COMMENT
MEDIUM…ions/test_expect_column_value_lengths_to_be_between.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/expectations/test_type_comparison.py202# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py204# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py688# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py690# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py739# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py741# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py115# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py117# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py316# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py318# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py401# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py403# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py488# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py490# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py568# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py570# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py628# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py630# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py779# ===========================================================================COMMENT
MEDIUMtests/expectations/test_type_comparison.py781# ===========================================================================COMMENT
MEDIUM…s/core/test_expect_column_values_to_be_in_type_list.py165# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/core/test_expect_column_values_to_be_in_type_list.py167# ---------------------------------------------------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md80 #--------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md82 #--------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md103 #--------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md105 #--------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md167 #--------------------------------COMMENT
MEDIUM…_trigger_slack_notifications_as_a_validation_action.md169 #--------------------------------COMMENT
MEDIUM…actions/how_to_trigger_email_as_a_validation_action.md98 #--------------------------------COMMENT
MEDIUM…actions/how_to_trigger_email_as_a_validation_action.md100 #--------------------------------COMMENT
MEDIUMgreat_expectations/expectations/type_comparison.py160# ---------------------------------------------------------------------------COMMENT
MEDIUMgreat_expectations/expectations/type_comparison.py162# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci_health_report.py99# ---------------------------------------------------------------------------COMMENT
12 more matches not shown…
Modern Structural Boilerplate211 hits · 214 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py38logger = logging.getLogger(__name__)CODE
LOWtests/conftest.py109logger = logging.getLogger(__name__)CODE
LOWtests/datasource/fluent/test_metadatasource.py46logger = logging.getLogger(__name__)CODE
LOW…/datasource/fluent/test_spark_filesystem_datasource.py70logger = logging.getLogger(__name__)CODE
LOW…nt/data_asset/data_connector/test_s3_data_connector.py32logger = logging.getLogger(__name__)CODE
LOW…ta_connector/test_azure_blob_storage_data_connector.py27logger = logging.getLogger(__name__)CODE
LOW…_connector/test_google_cloud_storage_data_connector.py27logger = logging.getLogger(__name__)CODE
LOWtests/data_context/test_configuration_storage.py15logger = logging.getLogger(__name__)CODE
LOWtests/data_context/test_gx_cloud_shutdown.py57def set_cloud_env_vars(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/data_context/store/test_configuration_store.py30logger = logging.getLogger(__name__)CODE
LOWtests/integration/sql_session_manager.py14logger = logging.getLogger(__name__)CODE
LOWtests/integration/conftest.py26logger = logging.getLogger(__name__)CODE
LOWtests/integration/test_script_runner.py78logger = logging.getLogger(__name__)CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py31logger = logging.getLogger(__name__)CODE
LOWtests/integration/test_utils/data_source_config/sql.py38logger = logging.getLogger(__name__)CODE
LOWtests/integration/fluent/conftest.py47logger = logging.getLogger(__name__)CODE
LOWtests/integration/fluent/integration_test_utils.py31logger = logging.getLogger(__name__)CODE
LOWtests/integration/spark/test_spark_connect.py14logger = logging.getLogger(__name__)CODE
LOWtests/integration/spark/test_spark_config.py11logger = logging.getLogger(__name__)CODE
LOWtests/expectations/test_util.py52logger = logging.getLogger(__name__)CODE
LOWtests/actions/test_core_actions.py61logger = logging.getLogger(__name__)CODE
LOWtests/actions/test_action_serialization.py20logger = logging.getLogger(__name__)CODE
LOWdocs/sphinx_api_docs_source/public_api_report.py76logger = logging.getLogger(__name__)CODE
LOWdocs/sphinx_api_docs_source/build_sphinx_api_docs.py47logger = logging.getLogger(__name__)CODE
LOW…/sphinx_api_docs_source/check_public_api_docstrings.py28logger = logging.getLogger(__name__)CODE
LOW…al/great_expectations_experimental/metrics/__init__.py5__all__ = [CODE
LOW…pect_column_values_to_be_string_integers_increasing.py35logger = logging.getLogger(__name__)CODE
LOW…ctations/expect_table_checksum_to_equal_other_table.py48logger = logging.getLogger(__name__)CODE
LOW…eat_expectations_experimental/expectations/__init__.py5__all__ = [CODE
LOW…ental/expectations/expect_column_skew_to_be_between.py28logger = logging.getLogger(__name__)CODE
LOWcontrib/cli/great_expectations_contrib/package.py20logger = logging.getLogger(__name__)CODE
LOWcontrib/cli/great_expectations_contrib/package.py106 def update_package_state(self) -> None:CODE
LOWcontrib/cli/great_expectations_contrib/package.py115 def _update_attrs_with_diagnostics(self, diagnostics: List[ExpectationDiagnostics]) -> None:CODE
LOWcontrib/cli/great_expectations_contrib/package.py121 def _update_from_package_info(self, path: str) -> None: # noqa: C901 - too complexCODE
LOWcontrib/cli/great_expectations_contrib/package.py186 def _update_expectations(self, diagnostics: List[ExpectationDiagnostics]) -> None:CODE
LOWcontrib/cli/great_expectations_contrib/package.py207 def _update_dependencies(self, path: str) -> None:CODE
LOWcontrib/cli/great_expectations_contrib/package.py232 def _update_contributors(self, diagnostics: List[ExpectationDiagnostics]) -> None:CODE
LOWcontrib/cli/great_expectations_contrib/commands.py15logger = logging.getLogger(__name__)CODE
LOW…filer_metrics/data_profiler_profile_metric_provider.py11logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/util.py81logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/_docs_decorators.py14logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/__init__.py25__all__ = [CODE
LOW…ons/compatibility/sqlalchemy_compatibility_wrappers.py13logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/compatibility/pydantic.py51__all__ = [CODE
LOWgreat_expectations/compatibility/pyparsing.py45__all__ = [CODE
LOWgreat_expectations/compatibility/typing_extensions.py20__all__ = ["Annotated", "override"]CODE
LOWgreat_expectations/datasource/datasource_dict.py22logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/datasource/fluent/interfaces.py465 def update_batch_definition_field_set(self) -> None:CODE
LOWgreat_expectations/datasource/fluent/interfaces.py71logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/datasource/fluent/interfaces.py952 def _update_asset_forward_refs(asset_type: Type[_DataAssetT]) -> None:CODE
LOW…ions/datasource/fluent/pandas_filesystem_datasource.py20logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/datasource/fluent/config.py56logger = logging.getLogger(__name__)CODE
LOWgreat_expectations/datasource/fluent/config.py155 def update_datasources(self, datasources: Dict[str, Datasource]) -> None:CODE
LOW…expectations/datasource/fluent/pandas_s3_datasource.py27logger = logging.getLogger(__name__)CODE
LOW…asource/fluent/pandas_azure_blob_storage_datasource.py26logger = logging.getLogger(__name__)CODE
LOW…_expectations/datasource/fluent/spark_s3_datasource.py28logger = logging.getLogger(__name__)CODE
LOW…ource/fluent/pandas_google_cloud_storage_datasource.py25logger = logging.getLogger(__name__)CODE
LOW…at_expectations/datasource/fluent/pandas_datasource.py79logger = logging.getLogger(__name__)CODE
LOW…xpectations/datasource/fluent/spark_dbfs_datasource.py19logger = logging.getLogger(__name__)CODE
LOW…tasource/fluent/spark_azure_blob_storage_datasource.py22logger = logging.getLogger(__name__)CODE
151 more matches not shown…
Excessive Try-Catch Wrapping176 hits · 206 pts
SeverityFileLineSnippetContext
MEDIUMtasks.py790 print(f"Error: {response.reason}\n{pf(response.json(), depth=2)}")CODE
LOWtests/test_utils.py846 except Exception as e:CODE
LOWtests/datasource/conftest.py156 except Exception:CODE
LOWtests/datasource/conftest.py173 except Exception:CODE
LOWtests/datasource/conftest.py177 except Exception:CODE
LOWtests/core/test_batch_related_objects.py93 except Exception:CODE
LOWtests/integration/sql_session_manager.py90 except Exception:CODE
LOWtests/integration/sql_session_manager.py99 except Exception:CODE
LOWtests/integration/sql_session_manager.py125 except Exception as e:CODE
LOWtests/integration/test_script_runner.py484 except Exception as e:CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py130 except Exception as err:CODE
LOW…n/execution_engine/test_databricks_execution_engine.py59 except Exception as e:CODE
LOW…nfiguration/datasource_configuration_test_utilities.py14 except Exception:CODE
MEDIUMtests/expectations/test_expectation.py122def test_multicolumn_expectation_has_default_mostly(fake_expectation_cls, configCODE
LOWtests/expectations/test_expectation.py125 except Exception:CODE
LOWtests/expectations/metrics/test_map_metric.py107 except Exception:CODE
LOWtests/expectations/metrics/test_map_metric.py111 except Exception:CODE
LOW…s/how_to_configure_a_validation_result_store_in_gcs.py133except Exception:STRING
LOW…stores/how_to_configure_an_expectation_store_in_gcs.py98except Exception:STRING
LOW…ng_data_docs/how_to_host_and_share_data_docs_on_gcs.py54except Exception:CODE
LOW…ng_data_docs/how_to_host_and_share_data_docs_on_gcs.py160 except Exception as e:CODE
LOW…s/how_to_configure_a_validation_result_store_in_gcs.py138except Exception:STRING
LOW…stores/how_to_configure_an_expectation_store_in_gcs.py92except Exception:STRING
LOW…ctations/expect_column_values_not_to_be_future_date.py32 except Exception:CODE
LOW…ect_column_values_number_of_decimal_places_to_equal.py32 except Exception:CODE
MEDIUM…ect_column_values_number_of_decimal_places_to_equal.py28def decimal_func(x):CODE
LOW…/expectations/expect_column_values_to_be_valid_zip5.py17 except Exception:CODE
LOW…ns/expect_column_values_to_be_valid_general_zipcode.py22 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_zip9.py17 except Exception:CODE
LOW…expectations/expect_column_values_to_be_not_holiday.py25 except Exception:CODE
MEDIUM…expectations/expect_column_values_to_be_not_holiday.py18def is_not_holiday(date, country_code) -> bool:CODE
LOW…tations/expect_column_values_password_is_not_leaked.py21 except Exception:CODE
LOW…ns/expect_column_values_imsi_belong_to_country_code.py23 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_ismn.py20 except Exception:CODE
LOW…ations/expect_column_values_to_be_valid_ltc_address.py21 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_isin.py21 except Exception as e:CODE
LOW…olumn_values_to_be_gtin_variable_measure_trade_item.py22 except Exception:CODE
LOW…ions/expect_column_values_to_be_valid_formatted_vat.py21 except Exception:CODE
LOW…tions/expect_column_values_to_be_valid_doge_address.py21 except Exception:CODE
LOW…s/expectations/expect_column_values_to_be_valid_ean.py20 except Exception:CODE
LOW…tions/expect_column_values_to_be_valid_dash_address.py21 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_date.py24 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_imei.py20 except Exception:CODE
LOW…s/expect_column_values_to_be_valid_ethereum_address.py21 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_imsi.py20 except Exception:CODE
LOW…ectations/expect_column_values_to_be_gtin_base_unit.py22 except Exception:CODE
LOW…ct_column_values_to_be_valid_mic_match_country_code.py24 except Exception:CODE
LOW…s/expect_column_values_eth_address_positive_balance.py26 except Exception:CODE
LOW…s/expectations/expect_column_values_are_in_language.py25 except Exception:CODE
MEDIUM…s/expectations/expect_column_values_are_in_language.py22def identify_language(text):CODE
LOW…ectations/expect_column_values_to_be_valid_vies_vat.py21 except Exception:CODE
LOW…ns/expect_column_values_to_be_valid_bitcoin_address.py21 except Exception as e:CODE
LOW…tions/expect_column_values_to_be_private_ipv4_class.py30 except Exception:CODE
LOW…ectations/expect_column_values_to_be_valid_arxiv_id.py17 except Exception:CODE
LOW…ations/expect_column_values_to_be_valid_dot_address.py21 except Exception:CODE
LOW…/expectations/expect_column_values_to_be_valid_meid.py20 except Exception:CODE
LOW…/expectations/expect_column_values_url_is_available.py20 except Exception:CODE
LOW…tations/expect_column_values_url_has_got_valid_cert.py31 except Exception:CODE
LOW…tations/expect_column_values_url_has_got_valid_cert.py46 except Exception:CODE
MEDIUM…tations/expect_column_values_url_has_got_valid_cert.py21def get_certificate_exp_date(host, port=443, timeout=1):CODE
116 more matches not shown…
Deep Nesting215 hits · 194 pts
SeverityFileLineSnippetContext
LOWtasks.py493CODE
LOWtasks.py684CODE
LOWsetup.py13CODE
LOWversioneer.py953CODE
LOWversioneer.py1144CODE
LOWversioneer.py1396CODE
LOWversioneer.py1753CODE
LOWtests/test_utils.py524CODE
LOWtests/test_utils.py753CODE
LOWtests/test_utils.py989CODE
LOWtests/test_utils.py1010CODE
LOWtests/conftest.py381CODE
LOWtests/test_packaging.py163CODE
LOWtests/datasource/fluent/test_postgres_datasource.py950CODE
LOWtests/datasource/fluent/test_config.py300CODE
LOWtests/datasource/fluent/test_schemas.py62CODE
LOWtests/datasource/fluent/test_schemas.py90CODE
LOWtests/integration/test_script_runner.py396CODE
LOWtests/integration/test_script_runner.py497CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py116CODE
LOWtests/integration/fluent/integration_test_utils.py127CODE
LOWtests/expectations/metrics/test_metrics_util.py960CODE
LOWtests/expectations/metrics/test_metrics_util.py983CODE
LOWtests/expectations/metrics/test_map_metric.py57CODE
LOWtests/render/test_data_documentation_site_builder.py21CODE
LOW…nd_sample/test_sqlalchemy_execution_engine_sampling.py130CODE
LOW…nd_sample/test_sqlalchemy_execution_engine_sampling.py184CODE
LOW…ample/test_sqlalchemy_execution_engine_partitioning.py446CODE
LOWdocs/sphinx_api_docs_source/conf.py150CODE
LOWdocs/sphinx_api_docs_source/utils.py88CODE
LOW…s/docs/snippets/expect_column_values_to_equal_three.py311CODE
LOW…ocs/snippets/expect_column_max_to_be_between_custom.py256CODE
LOW…n-0.18/snippets/expect_column_values_to_equal_three.py311CODE
LOW….18/snippets/expect_column_max_to_be_between_custom.py258CODE
LOW…ations/expect_column_discrete_entropy_to_be_between.py280CODE
LOW…tations/expect_column_values_to_be_secure_passwords.py25CODE
LOW…tations/expect_column_values_to_be_secure_passwords.py37CODE
LOW…tions/expect_column_values_to_be_private_ipv4_class.py17CODE
LOWcontrib/cli/great_expectations_contrib/package.py121CODE
LOW…ons/expect_column_values_to_be_polygon_area_between.py197CODE
LOW…s_to_be_lat_lon_coordinates_in_range_of_given_point.py46CODE
LOW…s_to_be_lat_lon_coordinates_in_range_of_given_point.py72CODE
LOW…expect_column_minimum_bounding_radius_to_be_between.py207CODE
LOW…ns/expect_column_values_geometry_to_be_within_shape.py21CODE
LOW…n_values_geometry_distance_to_address_to_be_between.py38CODE
LOW…ns/expect_column_values_geometry_to_intersect_shape.py21CODE
LOW…ions/expect_column_values_geometry_to_be_near_shape.py26CODE
LOW…column_values_geometry_centroids_to_be_within_shape.py21CODE
LOW…umns_percent_diff_between_exclusive_threshold_range.py40CODE
LOW…umns_percent_diff_between_inclusive_threshold_range.py42CODE
LOW…le_numeric_columns_percent_diff_less_than_threshold.py40CODE
LOW…mns_percent_diff_greater_than_or_equal_to_threshold.py42CODE
LOW…numeric_columns_percent_diff_greater_than_threshold.py40CODE
LOW…olumns_percent_diff_less_than_or_equal_to_threshold.py42CODE
LOWgreat_expectations/_version.py138CODE
LOWgreat_expectations/_version.py462CODE
LOWgreat_expectations/util.py1002CODE
LOWgreat_expectations/_docs_decorators.py121CODE
LOWgreat_expectations/datasource/fluent/config.py393CODE
LOWgreat_expectations/datasource/fluent/config.py334CODE
155 more matches not shown…
Slop Phrases184 hits · 193 pts
SeverityFileLineSnippetContext
MEDIUMtests/render/test_column_section_renderer.py342 notes=["#### These are expectation notes \n - you can use markdown \n - or just strings"],CODE
LOW…_expectations/column_aggregate_expectation_template.py117 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…ting_custom_expectations/batch_expectation_template.py156 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…m_expectations/column_pair_map_expectation_template.py115 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…custom_expectations/column_map_expectation_template.py108 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…ectations/set_based_column_map_expectation_template.py47 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…tations/regex_based_column_map_expectation_template.py44 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…ting_custom_expectations/query_expectation_template.py97 "@your_name_here", # Don't forget to add your github handle here!STRING
LOW…m_expectations/multicolumn_map_expectation_template.py118 "@your_name_here", # Don't forget to add your github handle here!CODE
LOW…xpect_column_values_to_be_valid_scientific_notation.py70 "@rdodev", # Don't forget to add your github handle here!CODE
LOW…n_kolmogoro_smirnov_test_p_value_to_be_greater_than.py135 "@HaebichanGX", # Don't forget to add your github handle here!CODE
LOW…ctations/expect_column_values_not_to_be_future_date.py145 "@prachijain136", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_not_contain_character.py162 # "@your_name_here", # Don't forget to add your github handle here!COMMENT
LOW…tions/expect_column_values_after_split_to_be_in_set.py143 "@ace-racer", # Don't forget to add your github handle here!CODE
MEDIUM…ctations/expect_table_checksum_to_equal_other_table.py54 # a metric that does not yet exist, you can use the template below to implement it!COMMENT
MEDIUM…ctations/expect_table_checksum_to_equal_other_table.py165 # a metric that does not yet exist, you can use the template below to implement it!COMMENT
LOW…/expectations/expect_column_values_to_be_valid_json.py109 "@rdodev", # Don't forget to add your github handle here!CODE
LOW…ns/expect_column_distribution_to_match_benfords_law.py219 "@vinodkri1", # Don't forget to add your github handle here!CODE
LOW…mn_chisquare_simple_test_p_value_to_be_greater_than.py135 "@HaebichanGX", # Don't forget to add your github handle here!CODE
LOW…tations/expect_multicolumn_sum_values_to_be_between.py167 "@swittchawa", # Don't forget to add your github handle here!CODE
LOW…ations/expect_multicolumn_values_not_to_be_all_null.py180 "@itaise", # Don't forget to add your github handle here!CODE
LOW…s_experimental/expectations/expect_column_sum_to_be.py68 "@joshua-stauffer", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_after_split_to_be_unique.py118 "@ace-racer", # Don't forget to add your github handle here!CODE
LOW…xpectations/expect_column_values_to_be_alphabetical.py213 "@Harriee02", # Don't forget to add your github handle here!CODE
LOW…ctations/expect_column_percentile_value_to_be_above.py113 "@kurt1984", # Don't forget to add your github handle here!CODE
LOW…s/expect_column_values_to_be_in_set_spark_optimized.py204 "@derek-hk", # Don't forget to add your github handle here!CODE
LOW…tal/expectations/expect_column_values_to_match_thai.py68 "@swittchawa", # Don't forget to add your github handle here!CODE
LOW…ons_experimental/expectations/expect_value_at_index.py191 # "@your_name_here", # Don't forget to add your github handle here!COMMENT
LOW…ations/expect_column_values_to_match_powers_of_base.py240 "@rifatKomodoDragon", # Don't forget to add your GitHub handle here!CODE
LOW…expectations/expect_column_values_to_change_between.py135 "contributors": ["@maikelpenz"], # Don't forget to add your github handle here!CODE
LOW…l/expectations/expect_column_values_to_be_valid_arn.py90 "@rdodev", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_virginia_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…expect_column_values_to_be_valid_north_carolina_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_delaware_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_arkansas_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ctations/expect_column_values_to_be_valid_texas_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ations/expect_column_values_to_be_valid_montana_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_kentucky_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tations/expect_column_values_to_be_valid_alaska_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tations/expect_column_values_to_be_valid_oregon_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…expect_column_values_to_be_valid_south_carolina_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…s/expect_column_values_to_be_valid_pennsylvania_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…s/expect_column_values_to_be_valid_south_dakota_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…/expect_column_values_to_be_valid_washington_dc_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ctations/expect_column_values_to_be_valid_india_zip.py126 "@jainamshahh", # Don't forget to add your github handle here!CODE
LOW…/expect_column_values_to_be_valid_west_virginia_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…expect_column_values_to_be_valid_new_york_state_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ations/expect_column_values_to_be_valid_florida_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_colorado_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ons/expect_column_values_to_be_valid_california_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ons/expect_column_values_to_be_valid_washington_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ectations/expect_column_values_to_be_valid_iowa_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ectations/expect_column_values_to_be_valid_ohio_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ns/expect_column_values_to_be_valid_connecticut_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…/expectations/expect_column_values_to_be_valid_zip5.py96 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ons/expect_column_values_to_be_valid_new_mexico_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…ations/expect_column_values_to_be_valid_georgia_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…s/expect_column_values_to_be_valid_north_dakota_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…/expect_column_values_to_be_valid_new_hampshire_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
LOW…tions/expect_column_values_to_be_valid_nebraska_zip.py94 "@derekma73", # Don't forget to add your github handle here!CODE
124 more matches not shown…
AI Structural Patterns84 hits · 77 pts
SeverityFileLineSnippetContext
LOWtasks.py243CODE
LOWtasks.py354CODE
LOWtasks.py1100CODE
LOWtests/test_utils.py524CODE
LOWtests/datasource/data_connector/sorters/conftest.py22CODE
LOWtests/data_context/test_data_context_config_ui.py38CODE
LOWtests/expectations/test_expectation_atomic_renderers.py48CODE
LOWtests/expectations/test_expectation_atomic_renderers.py84CODE
LOWtests/expectations/metrics/test_map_metric.py193CODE
LOWdocs/sphinx_api_docs_source/build_sphinx_api_docs.py318CODE
LOW…ctations/expect_column_values_not_to_be_future_date.py55CODE
LOW…n_average_lat_lon_pairwise_distance_to_be_less_than.py29CODE
LOW…pect_column_pair_values_to_match_prophet_date_model.py80CODE
LOW…expectations/generator/hourly_time_series_generator.py78CODE
LOW…expectations/generator/weekly_time_series_generator.py14CODE
LOW…_expectations/generator/daily_time_series_generator.py169CODE
LOW…xpectations/generator/monthly_time_series_generator.py14CODE
LOW…/domain_builder/data_profiler_column_domain_builder.py34CODE
LOW…eat_expectations/compatibility/pandas_compatibility.py12CODE
LOWgreat_expectations/datasource/fluent/config.py260CODE
LOWgreat_expectations/datasource/fluent/config.py276CODE
LOWgreat_expectations/datasource/fluent/config.py292CODE
LOWgreat_expectations/datasource/fluent/config_str.py150CODE
LOW…at_expectations/datasource/fluent/pandas_datasource.py257CODE
LOW…at_expectations/datasource/fluent/pandas_datasource.py550CODE
LOWgreat_expectations/datasource/fluent/batch_request.py141CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py77CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py93CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py108CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py150CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py192CODE
LOW…at_expectations/datasource/fluent/fluent_base_model.py224CODE
LOW…ations/data_context/data_context/cloud_data_context.py66CODE
LOW…ectations/data_context/data_context/context_factory.py430CODE
LOW…ectations/data_context/data_context/context_factory.py446CODE
LOW…ectations/data_context/data_context/context_factory.py461CODE
LOW…ectations/data_context/data_context/context_factory.py477CODE
LOW…ectations/data_context/data_context/context_factory.py493CODE
LOW…ectations/data_context/data_context/context_factory.py509CODE
LOW…ectations/data_context/data_context/context_factory.py525CODE
LOW…ectations/data_context/data_context/context_factory.py64CODE
LOW…ectations/data_context/data_context/context_factory.py162CODE
LOW…ectations/data_context/data_context/context_factory.py264CODE
LOW…ectations/data_context/data_context/context_factory.py331CODE
LOW…ons/data_context/data_context/abstract_data_context.py1039CODE
LOW…ons/data_context/data_context/abstract_data_context.py1333CODE
LOW…ons/data_context/data_context/abstract_data_context.py1430CODE
LOWgreat_expectations/data_context/types/base.py294CODE
LOWgreat_expectations/data_context/types/base.py457CODE
LOWgreat_expectations/data_context/types/base.py912CODE
LOWgreat_expectations/data_context/types/base.py1424CODE
LOW…expectations/data_context/store/tuple_store_backend.py31CODE
LOW…expectations/data_context/store/tuple_store_backend.py224CODE
LOWgreat_expectations/data_context/store/_store_backend.py123CODE
LOWgreat_expectations/checkpoint/checkpoint.py152CODE
LOWgreat_expectations/core/batch.py977CODE
LOWgreat_expectations/core/batch.py1137CODE
LOWgreat_expectations/core/expectation_suite.py698CODE
LOWgreat_expectations/validator/validator.py1085CODE
LOW…expectations/expectations/expectation_configuration.py133CODE
24 more matches not shown…
AI Slop Vocabulary22 hits · 56 pts
SeverityFileLineSnippetContext
LOWversioneer.py452 # each be defined on a line of their own. _version.py will just callCOMMENT
LOWdocs/sphinx_api_docs_source/build_sphinx_api_docs.py313 # NOTE: this can be simplified to just use pathlib.Path::relative_to with walk_up=True in python 3.12COMMENT
MEDIUM…m_expectations/column_pair_map_expectation_template.py31 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…m_expectations/multicolumn_map_expectation_template.py31 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…lumn_datetime_difference_to_be_less_than_two_months.py24 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…ctations/expect_table_checksum_to_equal_other_table.py478 # This method will utilize the computed metric to validate that your Expectation about the Table is trueCOMMENT
MEDIUM…multicolumn_sum_values_to_be_equal_to_single_column.py27 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…ns/expect_multicolumn_datetime_difference_in_months.py22 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…tations/expect_multicolumn_sum_values_to_be_between.py27 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…ations/expect_multicolumn_values_not_to_be_all_null.py22 # These point your metric at the provided keys to facilitate calculationCOMMENT
MEDIUM…icolumn_product_values_to_be_equal_to_single_column.py26 # These point your metric at the provided keys to facilitate calculationCOMMENT
LOWgreat_expectations/_version.py23 # each be defined on a line of their own. _version.py will just callCOMMENT
MEDIUMgreat_expectations/datasource/fluent/sql_datasource.py438 # The superclass version of param_defaults is correct, but here we leverage thatCOMMENT
MEDIUM…s/datasource/fluent/data_asset/path/path_data_asset.py219 """If present, override DataConnector behavior in order toSTRING
MEDIUM…ations/datasource/fluent/schemas/SqliteDatasource.json3 "description": "--Public API--Adds a sqlite datasource to the data context.\n\nArgs:\n name: The name of this sqlCODE
MEDIUM…ectations/datasource/fluent/schemas/SQLDatasource.json3 "description": "--Public API--Adds a generic SQL datasource to the data context.\n\nArgs:\n name: The name of thiCODE
MEDIUM…xpectations/data_context/types/resource_identifiers.py175 """A MetricIdentifier serves as a key to store and retrieve Metrics."""STRING
LOWgreat_expectations/data_context/types/base.py1479 # If missing individual stores, just add what is missingCOMMENT
MEDIUMgreat_expectations/validator/validation_graph.py165 # TODO: <Alex>In the future, provide a more robust cycle detection mechanism.</Alex>COMMENT
MEDIUM…expectations/expectations/expectation_configuration.py106# Please utilize Expectation objects directly when possible.COMMENT
LOW.github/teams.yml1# To add an additional team, simply add a top-level key with a list of users.COMMENT
MEDIUM.github/workflows/ci.yml3# This pipeline is intended to facilitate the full coverage of tests for OSS GX.COMMENT
Structural Annotation Overuse37 hits · 46 pts
SeverityFileLineSnippetContext
LOWdocs/docusaurus/docs/snippets/result_format.py18# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…s/how_to_configure_a_validation_result_store_in_gcs.py18# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…stores/how_to_configure_an_expectation_store_in_gcs.py15# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…uides/expectations/how_to_edit_an_expectation_suite.py11# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…/how_to_pass_an_in_memory_dataframe_to_a_checkpoint.py31# NOTE: The following code is only for testing and can be ignoredCOMMENT
LOW…/how_to_pass_an_in_memory_dataframe_to_a_checkpoint.py56# NOTE: The following code is only for testing and can be ignoredCOMMENT
LOW…_docs/version-0.18/snippets/redshift_python_example.py75# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…_docs/version-0.18/snippets/redshift_python_example.py92# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…ion-0.18/snippets/inferred_and_runtime_yaml_example.py75# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…ion-0.18/snippets/inferred_and_runtime_yaml_example.py107# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…ed_docs/version-0.18/snippets/redshift_yaml_example.py77# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…ed_docs/version-0.18/snippets/redshift_yaml_example.py92# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…n-0.18/snippets/inferred_and_runtime_python_example.py71# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…n-0.18/snippets/inferred_and_runtime_python_example.py99# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…n-0.18/snippets/how_to_configure_a_spark_datasource.py815 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…oned_docs/version-0.18/snippets/pandas_yaml_example.py66# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…oned_docs/version-0.18/snippets/pandas_yaml_example.py107# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…-0.18/snippets/how_to_configure_a_pandas_datasource.py1279 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…-0.18/snippets/how_to_configure_a_pandas_datasource.py1135 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…-0.18/snippets/how_to_configure_a_pandas_datasource.py1177 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…-0.18/snippets/how_to_configure_a_pandas_datasource.py1206 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…-0.18/snippets/how_to_configure_a_pandas_datasource.py1249 # NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…/versioned_docs/version-0.18/snippets/result_format.py27# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…/versioned_docs/version-0.18/snippets/result_format.py200# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…ng_data_docs/how_to_host_and_share_data_docs_on_gcs.py25# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…s/how_to_configure_a_validation_result_store_in_gcs.py15# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…stores/how_to_configure_an_expectation_store_in_gcs.py14# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…uides/expectations/how_to_edit_an_expectation_suite.py10# NOTE: The following code is only for testing and can be ignored by users.COMMENT
LOW…uent/database/gcp_deployment_patterns_file_bigquery.py20# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…ta/fluent/database/gcp_deployment_patterns_file_gcs.py22# NOTE: The following code is only for testing and depends on an environmentCOMMENT
LOW…ta/fluent/database/gcp_deployment_patterns_file_gcs.py273# NOTE: The following code is only for testing and can be ignored by users.STRING
LOW…/how_to_pass_an_in_memory_dataframe_to_a_checkpoint.py26# NOTE: The following code is only for testing and can be ignoredCOMMENT
LOW…/how_to_pass_an_in_memory_dataframe_to_a_checkpoint.py53# NOTE: The following code is only for testing and can be ignoredCOMMENT
LOW…expectations/data_context/store/tuple_store_backend.py103 # NOTE: This method uses a hard-coded forward slash as a separator,STRING
LOW…expectations/expectations/expectation_configuration.py104# NOTE: This class is a legacy class that is being replaced by the new class-first expectations.COMMENT
LOW…xpectations/core/expect_column_values_to_be_between.py360 # NOTE: This method is a pretty good example of good usage of `params`.STRING
LOWgreat_expectations/render/renderer/site_builder.py512 # NOTE: This method is almost identical to DefaultSiteSectionBuilderSTRING
Redundant / Tautological Comments12 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/datasource/fluent/test_snowflake_datasource.py961 # Check if this config has private_key in connect_args (deprecated pattern)COMMENT
LOWtests/integration/test_utils/data_source_config/sql.py367 # Check if all values match the normalized typeCOMMENT
LOW…pair_values_to_have_difference_of_custom_percentage.py124 # Check if both columns are provided and values of mostly and percentage are correctCOMMENT
LOW…ations/expect_column_values_point_within_geo_region.py40 # Check if the parameter are NoneCOMMENT
LOW…pectations/expect_column_values_to_be_valid_geojson.py36 # Check if values is a valid GeoJSON by parsing it and returning False if there's an errorCOMMENT
LOW…ect_column_values_to_be_line_miles_distance_between.py29 # Set crs to metersCOMMENT
LOW…expectations/expect_column_values_to_have_elevation.py26 # Set crs to metersCOMMENT
LOW…expect_column_values_to_be_line_km_distance_between.py29 # Set crs to metersCOMMENT
LOWgreat_expectations/expectations/metrics/util.py1304 # Check if all parameter values are present in the queryCOMMENT
LOWgreat_expectations/expectations/metrics/util.py1315 # Check if this name appears in ANY of the parameter valuesCOMMENT
LOWgreat_expectations/expectations/metrics/util.py1430 # Check if substitution failed and fall back to literal_binds if neededCOMMENT
LOWgreat_expectations/render/renderer/page_renderer.py88 # Check if expectation_suite_name follows datasource.batch_kwargs_generator.data_asset_name.suite_name patteCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…xpectations/test_expect_column_values_to_be_of_type.py162 dialect_name = batch_for_datasource.data.execution_engine.engine.dialect.name.lower()CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/core/factory/test_suite_factory.py231 # in a bad state. To do that I've created this FakeExpectation.COMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…igger_opsgenie_notifications_as_a_validation_action.md38opsgenie_api_key: YOUR-API-KEYCODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/docusaurus/src/css/typography.scss37/* TODO: this rule should probably be deleted but we need to check if it is still necessary */COMMENT
LOWcontrib/cli/great_expectations_contrib/package.py138 # If the user has provided an icon, we need to check if it is a relative URL.COMMENT
LOWcontrib/cli/great_expectations_contrib/package.py169 # If the user has provided a picture, we need to check if it is a relative URL.COMMENT
Overly Generic Function Names6 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/core/test__docs_decorators.py80 def my_method(self):STRING
LOWgreat_expectations/_docs_decorators.py144 def my_method(some_argument):STRING
LOWgreat_expectations/_docs_decorators.py164 def my_method(some_argument):STRING
LOWgreat_expectations/_docs_decorators.py199 def my_method(some_argument):STRING
LOWgreat_expectations/_docs_decorators.py235 def my_method(some_argument):STRING
LOWgreat_expectations/_docs_decorators.py278 def my_method(some_argument):STRING
Fake / Example Data3 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ions/expect_queried_custom_query_to_return_num_rows.py47 "value": "dummy_value",STRING
LOWcontrib/cli/tests/test_package.py113 code_owners = [GitHubUser("John Doe")]STRING
LOWcontrib/cli/tests/test_package.py133 code_owners = [GitHubUser("John Doe")]STRING
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgreat_expectations/render/renderer/page_renderer.py805 # TODO: Update testsCOMMENT