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,745 GitHub stars. SynthScan v2.0 examined 549,355 lines of code across 2714 source files, recording 9364 pattern matches distributed across 24 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-08-28
Last Push
11.7K
Stars
Python
Language
549.4K
Lines of Code
2.7K
Files
9.4K
Pattern Hits
2026-08-29
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 729MEDIUM 1458LOW 7176

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 9364 distinct pattern matches across 24 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 Comments1263 hits · 5182 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.py1502 # 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.py119 # 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.py169 # 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.py55# The following class allows for declarative instantiation of base class for SqlAlchemy. Adopted from # noqa: E501 # FICOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1024 # Create a mock engine with the specified dialectCOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1028 # Create a mock dialect and engineCOMMENT
MEDIUMtests/expectations/metrics/test_metrics_util.py1084 # Create a mock dialect that reports as RedshiftCOMMENT
MEDIUM…pectations/metrics/query_metrics/test_query_metrics.py246 # 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.py8# Define the Data Source's parameters:COMMENT
MEDIUM…/filesystem_data/_create_a_data_source/_gcs/_pandas.py15# Create the Data Source:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_gcs/_spark.py8# Define the Data Source's parameters:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_gcs/_spark.py17# 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.py8# Define the Data Source's parameters:COMMENT
MEDIUM…a/filesystem_data/_create_a_data_source/_s3/_pandas.py17# Create the Data Source:COMMENT
MEDIUM…ta/filesystem_data/_create_a_data_source/_s3/_spark.py8# Define the Data Source's parameters:COMMENT
MEDIUM…ta/filesystem_data/_create_a_data_source/_s3/_spark.py17# Create the Data Source:COMMENT
1203 more matches not shown…
Hyper-Verbose Identifiers4457 hits · 4145 pts
SeverityFileLineSnippetContext
LOWtasks.py571def _emit_datasource_factory_index(indent: int) -> str:CODE
LOWtasks.py609def _emit_expectation_catalog_index(CODE
LOWtasks.py813def _exit_with_error_if_not_in_repo_root(task_name: str):CODE
LOWtasks.py921def _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_installed_agent_skills.py65def check_bundled_skills_resolve() -> list[Path]:CODE
LOWci/checks/check_installed_agent_skills.py92def check_schema_counts_nonzero(installed_root: Path) -> dict[str, int]:CODE
LOWci/checks/check_installed_agent_skills.py103def check_skills_list_names_all(project_root: Path) -> str:CODE
LOWci/checks/check_installed_agent_skills.py120def check_installed_digests_match_manifest(project_root: Path) -> None:CODE
LOWci/checks/check_installed_agent_skills.py158def check_every_bundled_file_shipped(source_root: Path, installed_root: Path) -> None:CODE
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.py18def regex_for_deprecation_comments() -> Pattern:CODE
LOWtests/test_deprecation.py24def files_with_deprecation_warnings() -> List[str]:CODE
LOWtests/test_deprecation.py40def _deprecation_emission_count(source: str) -> int:CODE
LOWtests/test_deprecation.py90def test_deprecation_emission_count_follows_calls_not_mentions() -> None:STRING
LOWtests/test_deprecation.py101def test_deprecation_warnings_are_accompanied_by_appropriate_comment(STRING
LOWtests/test_deprecation.py126def test_deprecation_warnings_have_been_removed_after_two_minor_versions(STRING
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.py1532def expectation_suite_identifier():CODE
LOWtests/conftest.py1537def test_folder_connection_path_csv(tmp_path_factory):CODE
LOWtests/conftest.py1545def test_db_connection_string(tmp_path_factory, test_backends):CODE
LOWtests/conftest.py427def pytest_collection_modifyitems(config, items):CODE
LOWtests/conftest.py475def _reset_batch_parameter_deprecation_call_sites():CODE
LOWtests/conftest.py541def basic_spark_df_execution_engine(spark_session):CODE
4397 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 Imports1449 hits · 1252 pts
SeverityFileLineSnippetContext
LOWtasks.py12CODE
LOWtasks.py402CODE
LOWci/checks/validate_docs_snippets.py7CODE
LOWci/checks/check_installed_agent_skills.py29CODE
LOWtests/conftest.py1CODE
LOWtests/conftest.py21CODE
LOWtests/test_packaging.py1CODE
LOWtests/test_markers.py1CODE
LOWtests/sqlalchemy_test_doubles.py1CODE
LOWtests/test_sql_backend_registry.py1CODE
LOWtests/test_sql_backend_wiring.py19CODE
LOWtests/test_the_utils_in_self_check_utils.py1CODE
LOWtests/compatibility/test_aws.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.py1CODE
LOWtests/metrics/conftest.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_schema_catalog_index.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…atasource/fluent/test_batch_parameter_normalization.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
1389 more matches not shown…
Cross-Language Confusion194 hits · 1038 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
HIGH…ts/integration/test_utils/test_sql_batch_test_setup.py460 and test_config.data.equals(_CACHE_REGRESSION_DATA)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
HIGH…tations/test_expect_column_pair_values_to_be_in_set.py84 # The row after the ignored (null) row is a genuine violation of value_pairs_set. IfCOMMENT
HIGH…ctations/test_expect_multicolumn_values_to_be_equal.py33# Row 0 is entirely null, row 1 mixes a null with a value, row 2 matches.COMMENT
HIGH…urces_and_expectations/data_sources/test_clickhouse.py175 column that is entirely null, bypassing this backend's declared type overrides. Confirms aSTRING
HIGH…urces_and_expectations/data_sources/test_clickhouse.py223 assert not result.success, "each column carries exactly one null, so each should fail"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.py2081 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
134 more matches not shown…
Docstring Block Structure138 hits · 690 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…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.py90 Retrieves a batch from the underlying asset. Defaults to the last batch from the asset's batch list. STRING
HIGHgreat_expectations/core/batch_definition.py110 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
HIGH…expectations/core/expect_column_values_to_be_unique.py63{EXPECTATION_SHORT_DESCRIPTION} This expectation detects duplicates. All duplicated values are counted as exceptionSTRING
78 more matches not shown…
Decorative Section Separators148 hits · 520 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml378# -----------------------------------------------------------------COMMENT
MEDIUMreqs/requirements-dev-sqlalchemy2.txt12# -----------COMMENT
MEDIUMtests/test_sql_backend_wiring.py147# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_sql_backend_wiring.py152# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_sql_backend_wiring.py239# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_sql_backend_wiring.py243# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_sql_backend_wiring.py287# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_sql_backend_wiring.py291# --------------------------------------------------------------------------------------------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
MEDIUMtests/data_context/test_get_data_context.py331# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/data_context/test_get_data_context.py339# --------------------------------------------------------------------------------------------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
MEDIUMtests/agent_skills/test_installer.py1386# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1388# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1469# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1471# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1525# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1527# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1554# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/agent_skills/test_installer.py1556# ---------------------------------------------------------------------------COMMENT
88 more matches not shown…
Over-Commented Block327 hits · 322 pts
SeverityFileLineSnippetContext
LOWconstraints-dev.txt1# The pip resolver became more strict starting with version 20.3COMMENT
LOWtasks.py1041 # the docs fixtures are the only tests that reach Blob Storage at all. ItsCOMMENT
LOWpyproject.toml201 # https://beta.ruff.rs/docs/rules/#flake8-comprehensions-c4COMMENT
LOWpyproject.toml381# https://docs.python.org/3/library/warnings.html#the-warnings-filterCOMMENT
LOWpyproject.toml421 # but is still useful for building the configuration.COMMENT
LOWpyproject.toml441 # Example Actual Warning: (found in test_golden_path_sql_datasource_configuration)COMMENT
LOWpyproject.toml461 'once:String values for numeric batch parameters are deprecated:UserWarning',COMMENT
LOWpyproject.toml481 # python 3.11COMMENT
LOWpyproject.toml501 # pandasCOMMENT
LOWpyproject.toml521 # Example Actual Warning: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is depCOMMENT
LOWpyproject.toml541 # Example Actual Warning: RuntimeWarning: Mean of empty slice.COMMENT
LOWpyproject.toml561 # botoCOMMENT
LOWpyproject.toml581 # `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.COMMENT
LOWpyproject.toml601 # google-authCOMMENT
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
LOWreqs/requirements-dev-gx-redshift.txt1# Deprecated alias for requirements-dev-redshift.txt.COMMENT
LOWreqs/requirements-dev-redshift.txt1# The floor stays at 0.8.8 rather than 1.0.0 so that the extra stays installableCOMMENT
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
LOWci/constraints-test/marshmallow4-install.txt1# Lane pin for the dedicated marshmallow-4 CI job. requirements.txt carries noCOMMENT
LOWtests/test_sql_backend_registry.py1121# particular, before this module's own `_snapshot_registry` autouse fixture ever clears theCOMMENT
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.py101docs_test_matrix: List[IntegrationTestFixture] = []COMMENT
LOWtests/integration/test_script_runner.py121 # IntegrationTestFixture(COMMENT
LOWtests/integration/test_script_runner.py141 # backend_dependencies=[],COMMENT
LOWtests/integration/test_script_runner.py181 # user_flow_script="docs/docusaurus/docs/oss/guides/validation/checkpoints/how_to_pass_an_in_memory_dataframe_toCOMMENT
LOWtests/integration/test_script_runner.py221 # user_flow_script="docs/docusaurus/docs/oss/guides/connecting_to_your_data/fluent/filesystem/how_to_connect_to_COMMENT
LOWtests/integration/test_script_runner.py241 # data_context_dir="tests/integration/fixtures/no_datasources/great_expectations",COMMENT
LOWtests/integration/test_script_runner.py261 # ),COMMENT
LOWtests/integration/test_script_runner.py281 # name="how_to_connect_to_in_memory_data_using_spark",COMMENT
LOW…ntegration/test_utils/data_source_config/clickhouse.py41# framework's alias rather than a restatement of the signature.COMMENT
LOWtests/integration/test_utils/data_source_config/sql.py221 # dicts into synthetic per-position parameter names (`col_m0`, `col_m1`, ...).COMMENT
LOW…ts/integration/test_utils/data_source_config/oracle.py41 # `ORA-00906: missing left parenthesis`. SingleStore and MySQL declare the sameCOMMENT
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…ations/test_expect_column_values_to_not_be_outliers.py61 }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
LOWtests/agent_skills/test_skill_content.py441# Consent gates: an environment-mutating or disk-writing action that a skill'sCOMMENT
LOWtests/agent_skills/test_skill_content.py601#COMMENT
LOWtests/agent_skills/test_skill_content.py621# "...the user\n\nconfirms..." matches a "the user confirms" token. A listCOMMENT
LOWtests/agent_skills/test_snippets.py781# ---------------------------------------------------------------------------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
267 more matches not shown…
Excessive Try-Catch Wrapping192 hits · 224 pts
SeverityFileLineSnippetContext
MEDIUMtasks.py958 print(f"Error: {response.reason}\n{pf(response.json(), depth=2)}")CODE
LOWtests/test_utils.py846 except Exception as e:CODE
LOWtests/test_sql_backend_wiring.py82 except Exception as error: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.py533 except Exception as e:CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py133 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
LOWtests/agent_skills/test_installer.py811 except Exception as error:CODE
LOWtests/agent_skills/test_snippets.py1613 except Exception as error: # pragma: no cover - the failure is the reportCODE
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
132 more matches not shown…
Modern Structural Boilerplate213 hits · 216 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py38logger = logging.getLogger(__name__)CODE
LOWtests/conftest.py112logger = logging.getLogger(__name__)CODE
LOWtests/metrics/conftest.py17__all__ = [CODE
LOWtests/datasource/fluent/test_metadatasource.py46logger = logging.getLogger(__name__)CODE
LOW…/datasource/fluent/test_spark_filesystem_datasource.py72logger = 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.py83logger = logging.getLogger(__name__)CODE
LOWtests/integration/metrics/conftest.py17__all__ = [CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py36logger = logging.getLogger(__name__)CODE
LOWtests/integration/test_utils/data_source_config/sql.py40logger = 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
153 more matches not shown…
Deep Nesting218 hits · 196 pts
SeverityFileLineSnippetContext
LOWtasks.py705CODE
LOWtasks.py852CODE
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.py391CODE
LOWtests/test_packaging.py164CODE
LOWtests/datasource/fluent/test_postgres_datasource.py1042CODE
LOWtests/datasource/fluent/test_config.py300CODE
LOWtests/datasource/fluent/test_schemas.py62CODE
LOWtests/datasource/fluent/test_schemas.py90CODE
LOWtests/integration/test_script_runner.py444CODE
LOWtests/integration/test_script_runner.py546CODE
LOW…ntegration/test_utils/data_source_config/sql_server.py119CODE
LOWtests/integration/fluent/integration_test_utils.py127CODE
LOWtests/expectations/metrics/test_metrics_util.py965CODE
LOWtests/expectations/metrics/test_metrics_util.py988CODE
LOWtests/expectations/metrics/test_map_metric.py57CODE
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.py662CODE
LOWtests/agent_skills/test_installer.py301CODE
LOWtests/agent_skills/test_skill_content.py681CODE
LOWtests/agent_skills/test_snippets.py550CODE
LOWtests/agent_skills/test_snippets.py1064CODE
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
158 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.py244CODE
LOWtasks.py360CODE
LOWtasks.py1301CODE
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.py144CODE
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.py32CODE
LOW…expectations/data_context/store/tuple_store_backend.py225CODE
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 Vocabulary27 hits · 71 pts
SeverityFileLineSnippetContext
LOWversioneer.py452 # each be defined on a line of their own. _version.py will just callCOMMENT
MEDIUM…ntegration/test_utils/data_source_config/clickhouse.py47# reject nulls at insert. The harness's insert path converts pandas/numpy null sentinels to realCOMMENT
MEDIUM…ts/integration/test_utils/data_source_config/oracle.py34 # tear one down either way. Isolation rides the harness's generated random table namesCOMMENT
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.py473 # 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
MEDIUMscripts/cleanup/cleanup_big_query.py71 # A pattern that has drifted away from what the harness generates and a dataset that isCOMMENT
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
MEDIUMassets/docker/oracle/docker-compose.yml33 # MATERIALIZED VIEW, CREATE SYNONYM. This is the user the harness connects as, soCOMMENT
MEDIUMassets/docker/oracle/docker-compose.yml51 # own listener port and runs a real query, so "healthy" means what the harness actuallyCOMMENT
Structural Annotation Overuse44 hits · 57 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.py104 # NOTE: This method uses a hard-coded forward slash as a separator,STRING
LOW…configure-data-source/references/datasource-catalog.md37## Step 1: the type index gives you the factory nameCOMMENT
LOW…configure-data-source/references/datasource-catalog.md63## Step 2: the connection schema gives you the argumentsCOMMENT
LOW…configure-data-source/references/datasource-catalog.md98## Step 3: the sibling directory gives you the asset typesCOMMENT
LOW…configure-data-source/references/datasource-catalog.md129## Step 4: the asset object gives you the batch-definition surfaceCOMMENT
LOW…nfigure-expectations/references/expectation-catalog.md39## Step 1: what each index entry carriesCOMMENT
LOW…nfigure-expectations/references/expectation-catalog.md77## Step 2: matching what the user describedCOMMENT
LOW…nfigure-expectations/references/expectation-catalog.md117## Step 3: from a matched entry to a constructed expectationCOMMENT
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.py362 # 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.py1314 # Check if all parameter values are present in the queryCOMMENT
LOWgreat_expectations/expectations/metrics/util.py1325 # Check if this name appears in ANY of the parameter valuesCOMMENT
LOWgreat_expectations/expectations/metrics/util.py1440 # 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
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…kills/gx-configure-data-source/references/preflight.md77## Never scaffold a project yourselfCOMMENT
MEDIUM…skills/gx-configure-checkpoint/references/preflight.md77## Never scaffold a project yourselfCOMMENT
MEDIUM…ills/gx-configure-expectations/references/preflight.md77## Never scaffold a project yourselfCOMMENT
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.py807 # TODO: Update testsCOMMENT