AI Slop Code RIsk Monitor

kedro-org/kedro

Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.

28.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kedro-org/kedro, a Python project with 11,016 GitHub stars. SynthScan examined 90,969 lines of code across 509 source files, recording 2044 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 28.8 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

28.8
Adjusted Signal
28.8
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
11.0K
Stars
Python
Language
91.0K
Lines of Code
509
Files
2.0K
Pattern Hits
2026-10-12
Scan Date
0.19
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 65.4/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 13.2/100 · LOW

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

Agent Over-Engineering Ratio 63.8/100 · HIGH

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

PR Review Velocity Impact 78.1/100 · CRITICAL

Which changes need focused human review? 2044 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 99MEDIUM 111LOW 1834

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2044 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1425 hits · 1412 pts
SeverityFileLineSnippetContext
LOWtools/databricks_build.py16def _uninstall_existing_build() -> None:CODE
LOWtools/databricks_build.py27def _restart_cluster_if_running() -> None:CODE
LOWkedro_benchmarks/benchmark_ocl.py92 def time_loading_parameters_runtime(self):CODE
LOWkedro_benchmarks/benchmark_validation.py129def _make_scoped_pipeline_dict(node_count: int, typed_params_per_node: int = 1):CODE
LOWkedro_benchmarks/benchmark_validation.py189 def time_extract_types_from_pipelines(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py245 def time_context_params_uncached(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py250 def time_context_params_cached(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py282 def time_context_params_scoped_validation(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py319 def time_build_without_validators(self, entry_count):CODE
LOWkedro_benchmarks/benchmark_validation.py322 def time_build_with_validator_specs(self, entry_count):CODE
LOW⚡kedro_benchmarks/benchmark_validation.py348 def time_load_no_validator_declared(self):CODE
LOW⚡kedro_benchmarks/benchmark_validation.py353 def time_load_with_cached_validator(self):CODE
LOW⚡kedro_benchmarks/benchmark_validation.py357 def time_save_with_cached_validator(self):CODE
LOW⚡kedro_benchmarks/benchmark_validation.py361 def time_first_load_resolves_validator(self):CODE
LOW⚡kedro_benchmarks/benchmark_session.py30 def time_session_run_single_pipeline(self):CODE
LOW⚡kedro_benchmarks/benchmark_session.py37 def time_session_run_all_pipelines(self):CODE
LOW⚡kedro_benchmarks/benchmark_session.py44 def time_session_startup_only(self):CODE
LOW⚡kedro_benchmarks/benchmark_session.py51 def time_session_startup_and_context_load(self):CODE
LOW⚡kedro_benchmarks/benchmark_service_session.py30 def time_session_run_single_pipeline(self):CODE
LOW⚡kedro_benchmarks/benchmark_service_session.py35 def time_session_run_all_pipelines(self):CODE
LOW⚡kedro_benchmarks/benchmark_service_session.py40 def time_session_run_multiple_times(self):CODE
LOW⚡kedro_benchmarks/benchmark_service_session.py46 def time_session_startup_only(self):CODE
LOW⚡kedro_benchmarks/benchmark_service_session.py51 def time_session_startup_and_context_load(self):CODE
LOWkedro_benchmarks/benchmark_runner.py70def create_compute_bound_node(inputs=None, outputs=None, name=None):STRING
LOWkedro_benchmarks/benchmark_runner.py75def create_compute_bound_pipeline():STRING
LOWkedro_benchmarks/benchmark_runner.py147 def time_compute_bound_runner(self, runner):CODE
LOWkedro_benchmarks/_utils.py145def teardown_benchmark_project(original_cwd: Path, project_path: Path) -> None:CODE
LOWfeatures/environment.py126def _install_project_requirements(context):CODE
LOWfeatures/steps/validation_steps.py27def add_validator_to_example_dataset(context, kind):STRING
LOWfeatures/steps/validation_steps.py50def disable_dataset_validation(context):STRING
LOWfeatures/steps/cli_steps.py172def create_config_file_without_starter(context):STRING
LOWfeatures/steps/cli_steps.py193def create_config_file_with_tools(context, tools):STRING
LOWfeatures/steps/cli_steps.py232def install_project_package_via_pip(context):CODE
LOWfeatures/steps/cli_steps.py292def create_project_with_starter(context, starter):CODE
LOWfeatures/steps/cli_steps.py317def create_project_without_starter(context):CODE
LOWfeatures/steps/cli_steps.py500def check_created_project_structure(context):CODE
LOWfeatures/steps/cli_steps.py512def check_created_project_structure_from_tools(context, tools):CODE
LOWfeatures/steps/cli_steps.py624def check_message_not_printed(context, msg):CODE
LOWfeatures/steps/cli_steps.py640def check_error_message_printed(context, msg):CODE
LOWfeatures/steps/cli_steps.py656def check_additional_cell_added(context):CODE
LOWfeatures/steps/cli_steps.py676def check_jupyter_nb_proc_on_port(context: behave.runner.Context, port: int):CODE
LOWfeatures/steps/cli_steps.py692def check_jupyter_lab_proc_on_port(context: behave.runner.Context, port: int):CODE
LOWfeatures/steps/cli_steps.py748def pip_install_project_and_dev_dependencies(context):CODE
LOWfeatures/steps/cli_steps.py772def step_break_pipeline_import(context, pipeline_name):CODE
LOWfeatures/steps/cli_steps.py800def call_get_project_snapshot(context):CODE
LOWfeatures/steps/cli_steps.py821def check_snapshot_parameters(context, names):CODE
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py200def remove_arrows_in_examples(lines):CODE
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py205def autodoc_process_docstring(app, what, name, obj, options, lines):CODE
LOW⚡tests/test_utils.py26 def test_string_input_returns_close_matches(self):CODE
LOW⚡tests/test_utils.py32 def test_list_input_returns_list(self):CODE
LOW⚡tests/test_utils.py39 def test_list_input_deduplicates_shared_matches(self):CODE
LOW⚡tests/test_utils.py45 def test_list_input_accepts_one_shot_iterator_targets(self):CODE
LOW⚡tests/test_utils.py170def test_function_emits_warning():CODE
LOW⚡tests/test_utils.py179def test_function_has_marker_and_wrapped():CODE
LOW⚡tests/test_utils.py185def test_class_emits_warning_on_instantiation():CODE
LOW⚡tests/test_utils.py194def test_class_has_marker_and_wrapped_init():CODE
LOWtests/test_utils.py58 def test_load_obj_default_path(self):CODE
LOWtests/test_utils.py62 def test_load_obj_invalid_module(self):CODE
LOWtests/test_utils.py93 def test_none_prefixes_are_ignored(self):CODE
LOWtests/test_utils.py207def test_class_unwrap_recovers_original_init():CODE
1365 more matches not shown…
Docstring Block Structure54 hits · 270 pts
SeverityFileLineSnippetContext
HIGHfeatures/steps/util.py45Run specified function until it returns expected result until timeout. Args: func: Specified function. STRING
HIGHdocs/deploy/supported-platforms/dask.md210Run only the missing outputs from the ``Pipeline`` using the datasets provided by ``catalog``, and save results STRING
HIGHdocs/tutorials/test_a_project.md26Splits data into features and targets training and test sets. Args: data: Data containing features STRING
HIGHdocs/tutorials/add_another_pipeline.md39Splits data into features and targets training and test sets. Args: data: Data containing features STRING
HIGHkedro/utils.py89Extract an object from a given path. Args: obj_path: Path to an object to be extracted, including the objecSTRING
HIGHkedro/pipeline/pipeline.py144Initialise ``Pipeline`` with a list of ``Node`` instances. Args: nodes: The iterable of nodes the `STRING
HIGHkedro/pipeline/pipeline.py631Create a new ``Pipeline`` which will contain only the specified nodes by name. Args: *node_STRING
HIGHkedro/pipeline/pipeline.py670Creates a new ``Pipeline`` containing only nodes with the specified namespaces. Args: node_STRING
HIGHkedro/pipeline/pipeline.py777Create a new ``Pipeline`` object with the nodes which depend directly on the provided inputs. If provideSTRING
HIGHkedro/pipeline/pipeline.py803Create a new ``Pipeline`` object with the nodes which depend directly or transitively on the provided inputs. STRING
HIGHkedro/pipeline/pipeline.py843Create a new ``Pipeline`` object with the nodes which are directly required to produce the provided outputs. STRING
HIGHkedro/pipeline/pipeline.py868Create a new ``Pipeline`` object with the nodes which are directly or transitively required to produce the proviSTRING
HIGHkedro/pipeline/pipeline.py907Create a new ``Pipeline`` object with the nodes which depend directly or transitively on the provided nodes. STRING
HIGHkedro/pipeline/pipeline.py928Create a new ``Pipeline`` object with the nodes required directly or transitively by the provided nodes. STRING
HIGHkedro/pipeline/pipeline.py975Creates a new ``Pipeline`` object with the nodes that meet all of the specified filtering conditions. TSTRING
HIGHkedro/pipeline/pipeline.py1235Create a ``Pipeline`` from a collection of nodes and/or ``Pipeline``\s. Args: nodes: The nodes the ``PipeliSTRING
HIGHkedro/pipeline/pipeline.py1297Take a name or a collection of dataset names and turn it into a mapping from the old dataset names to the provided oSTRING
HIGHkedro/pipeline/pipeline.py1338Take a parameter or a collection of parameter names and turn it into a mapping from existing parameter names to new STRING
HIGHkedro/pipeline/node.py421Execute the preview function if available and validate its return type. Returns: A preview payload STRING
HIGHkedro/pipeline/node.py505Run this node using the provided inputs and return its results in a dictionary. Args: inputSTRING
HIGHkedro/framework/startup.py44Read project metadata from `<project_root>/pyproject.toml` config file, under the `[tool.kedro]` section. Args:STRING
HIGHkedro/framework/context/context.py63Turn all relative paths inside ``conf_dictionary`` into absolute paths by appending them to ``project_path`` and conSTRING
HIGHkedro/framework/cli/starters.py694Obtains configuration for a new kedro project non-interactively from a file. Validates that: 1. All keys specifiSTRING
HIGHkedro/framework/cli/utils.py357Load package entry point commands. Args: name: The key value specified in ENTRY_POINT_GROUPS. Raises: STRING
HIGHkedro/framework/cli/utils.py379Find the run command to be executed. This is either the default run command defined in the Kedro framework or a rSTRING
HIGHkedro/framework/cli/jupyter.py107Creates an IPython kernel for the kedro project. If one with the same kernel_name exists already it will be replacedSTRING
HIGHkedro/framework/project/__init__.py350Resolve and validate that a class referenced in logging configuration is a legitimate logging class (i.e. a subcSTRING
HIGHkedro/framework/project/__init__.py622Automatically find modular pipelines having a ``create_pipeline`` function. By default, projects created using KedroSTRING
HIGHkedro/framework/session/session.py291Runs the pipeline with a specified runner. Args: pipeline_name: Name of the pipeline that is being STRING
HIGHkedro/config/omegaconf_config.py203Get configuration files by key, load and merge them, and return them in the form of a config dictionary. STRING
HIGHkedro/config/omegaconf_config.py349Recursively load and merge all configuration files in a directory using OmegaConf, which satisfy a given list ofSTRING
HIGHkedro/runner/runner.py68Run the ``Pipeline`` using the datasets provided by ``catalog`` and save results back to the same objects. STRING
HIGHkedro/runner/runner.py383 Validates and returns the number of workers. Sets to os.cpu_count() or 1 if max_workers is None, and liSTRING
HIGHkedro/io/data_catalog.py519 Get a dataset by name from the catalog. If a dataset is not materialized but matches dataset_pattern oSTRING
HIGHkedro/io/data_catalog.py686Create a ``DataCatalog`` instance from configuration. This is a factory method used to provide developers with aSTRING
HIGHkedro/io/data_catalog.py1123Loads a registered dataset. Args: ds_name: The name of the dataset to be loaded. versioSTRING
HIGHkedro/io/data_catalog.py1194Apply the dataset's declared validator to `data` if applicable. This is the single validation funnel for cataloSTRING
HIGHkedro/io/data_catalog.py1331Validates and synchronises dataset versions for loading and saving. Ensures consistency of dataset versions acrSTRING
HIGHkedro/io/memory_dataset.py117Returns the copied data using the copy mode specified. If no copy mode is provided, then it is inferred based on theSTRING
HIGHkedro/io/catalog_config_resolver.py26Fetch the specified credentials from the provided credentials dictionary. Args: credentials_name: CredentiaSTRING
HIGHkedro/io/catalog_config_resolver.py227Sort a dictionary of dataset patterns according to parsing rules. Patterns are sorted in the following order: STRING
HIGHkedro/io/catalog_config_resolver.py602 Resolve credentials for datasets in the catalog configuration. This method replaces credential referenSTRING
HIGHkedro/io/core.py267Create a dataset instance using the configuration provided. Args: name: Data set name. STRING
HIGHkedro/io/core.py626Parse and instantiate a dataset class using the configuration provided. Args: config: Data set config dictiSTRING
HIGHkedro/io/core.py971List all available versions of this dataset. This method allows you to retrieve all existing versions of a versSTRING
HIGHkedro/io/core.py1084Parses filepath on protocol and path. .. warning:: Versioning is not supported for HTTP protocols. ArgSTRING
HIGHkedro/server/utils.py23Resolve the Kedro project path from environment variable or function argument. The project path is expected to be sSTRING
HIGHkedro/validation/parameter_validator.py38Apply validation to parameters and return transformed dictionary. Args: raw_params: Original parameSTRING
HIGHkedro/validation/parameter_validator.py110Validate raw parameters and return transformed dictionary. Args: raw_params: Parameters from configSTRING
HIGHkedro/validation/core.py105Build a spec from a catalog `validator:` value. Accepts a plain string (shorthand class path) or a dictionary STRING
HIGHkedro/validation/core.py276Resolve a `ValidatorSpec` into a usable validator instance. Resolution order: 1. Import the object at `spec.clSTRING
HIGHkedro/validation/api.py283Validate one catalog dataset against its declared validator. This never raises for validation outcomes. Explicit caSTRING
HIGHkedro/validation/pandera_validator.py124Adapt a pandera schema object into a `PanderaValidator`. Args: obj: The imported object from a validator `cSTRING
HIGHkedro/validation/model_factory.py16Instantiate a typed model from a raw value. Supports Pydantic models and dataclasses. Returns the raw value uncSTRING
Unused Imports178 hits · 171 pts
SeverityFileLineSnippetContext
LOWfeatures/environment.py3CODE
LOWfeatures/steps/validation_steps.py3CODE
LOWfeatures/steps/util.py3CODE
LOWfeatures/steps/sh_run.py1CODE
LOW…{{ cookiecutter.python_package }}/pipeline_registry.py2CODE
LOW…r.python_package }}/pipelines/data_science/__init__.py7CODE
LOW…tter.python_package }}/pipelines/data_science/nodes.py7CODE
LOW…thon_package }}/pipelines/data_engineering/__init__.py7CODE
LOW….python_package }}/pipelines/data_engineering/nodes.py6CODE
LOWtests/framework/context/test_context.py1CODE
LOWtests/framework/cli/test_cli_hooks.py1CODE
LOWtests/framework/cli/starters/test_new_from_cli_flags.py3CODE
LOWtests/framework/cli/starters/test_starters_flow.py3CODE
LOWtests/framework/cli/starters/test_new_from_prompts.py3CODE
LOW…ts/framework/cli/starters/test_new_from_config_file.py3CODE
LOWtests/framework/cli/starters/test_tools_parsing.py3CODE
LOWtests/framework/session/conftest.py1CODE
LOWtests/config/test_omegaconf_config.py1CODE
LOWtests/ipython/conftest.py13CODE
LOWtests/ipython/conftest.py21CODE
LOWtests/ipython/dummy_multiline_fixtures.py3CODE
LOWtests/ipython/dummy_multiline_fixtures.py3CODE
LOWtests/ipython/dummy_multiline_fixtures.py3CODE
LOWtests/ipython/dummy_multiline_fixtures.py3CODE
LOWtests/ipython/dummy_function_fixtures.py8CODE
LOWtests/ipython/dummy_function_fixtures.py9CODE
LOWtests/ipython/dummy_function_fixtures.py12CODE
LOWtests/ipython/dummy_function_fixtures.py26CODE
LOWtests/runner/test_parallel_runner.py1CODE
LOWtests/runner/test_thread_runner.py1CODE
LOWtests/runner/test_sequential_runner.py1CODE
LOWtests/runner/test_only_missing_outputs.py1CODE
LOWtests/io/test_core.py1CODE
LOWtests/io/test_core.py357CODE
LOWtests/inspection/test_grouping.py3CODE
LOWtests/inspection/test_project_snapshot.py3CODE
LOWtests/inspection/test_helper.py3CODE
LOWtests/inspection/test_metadata_snapshot.py3CODE
LOWtests/inspection/test_dataset_snapshot.py3CODE
LOWtests/inspection/test_node_pipeline_snapshot.py3CODE
LOWtests/inspection/test_public_api.py3CODE
LOWtests/validation/test_utils.py3CODE
LOWtests/validation/conftest.py3CODE
LOWtests/validation/test_catalog_validation.py8CODE
LOWtests/validation/test_pandera_validator.py3CODE
LOWtests/validation/test_core.py4CODE
LOWtests/validation/test_exceptions.py3CODE
LOWtests/validation/test_type_extractor.py3CODE
LOWtests/validation/test_parameter_validator.py3CODE
LOWtests/validation/test_api.py3CODE
LOWtests/validation/test_model_factory.py3CODE
LOWkedro/__init__.py6CODE
LOWkedro/pipeline/preview_contract.py1CODE
LOWkedro/pipeline/__init__.py5CODE
LOWkedro/pipeline/__init__.py5CODE
LOWkedro/pipeline/__init__.py5CODE
LOWkedro/pipeline/__init__.py5CODE
LOWkedro/pipeline/__init__.py6CODE
LOWkedro/pipeline/__init__.py6CODE
LOWkedro/pipeline/__init__.py6CODE
118 more matches not shown…
Decorative Section Separators53 hits · 159 pts
SeverityFileLineSnippetContext
MEDIUMzensical.toml252# -------------------------COMMENT
MEDIUMzensical.toml254# -------------------------COMMENT
MEDIUMzensical.toml300# -------------------------COMMENT
MEDIUMzensical.toml302# -------------------------COMMENT
MEDIUMzensical.toml345# -------------------------COMMENT
MEDIUMzensical.toml347# -------------------------COMMENT
MEDIUMzensical.toml381# -------------------------COMMENT
MEDIUMzensical.toml391# -------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh30# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh32# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh88# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh90# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh182# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh184# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh199# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh201# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh232# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh234# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh350# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh352# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh366# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/bootstrap_env.sh368# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh28# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh30# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh50# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh52# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh63# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh65# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh88# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh90# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh117# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh119# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh169# --------------------------------------------------------------------------COMMENT
MEDIUM.agents/skills/kedro-babysit/scripts/watch_ci.sh171# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh35# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh37# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh60# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh62# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh77# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh79# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh109# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh120# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh162# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh164# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh193# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh195# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh236# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh239# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh275# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh277# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh312# --------------------------------------------------------------------------COMMENT
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh314# --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/check-release.yml67 # ──────────────────────────────────────────────────────────────────────COMMENT
Self-Referential Comments49 hits · 121 pts
SeverityFileLineSnippetContext
MEDIUMtools/github_actions/merge.sh63 # Create a new branch from which to raise a PR, as ${SOURCE_BRANCH} might be push-protectedCOMMENT
MEDIUMkedro_benchmarks/benchmark_runner.py112 # Create a dummy csvCOMMENT
MEDIUMkedro_benchmarks/benchmark_runner.py143 # Create a dummy csvCOMMENT
MEDIUMfeatures/environment.py70 # Create an empty pip.conf file and point pip to itCOMMENT
MEDIUM…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMtests/pipeline/test_pipeline_namespaces.py35 # Create a pipeline with an interrupted namespaceCOMMENT
MEDIUMtests/pipeline/test_pipeline_namespaces.py57 # Create a pipeline with continuous namespaceCOMMENT
MEDIUM⚡tests/pipeline/test_pipeline_namespaces.py71 # Create a big pipeline with many layers of parallel pathsCOMMENT
MEDIUM⚡tests/pipeline/test_pipeline_namespaces.py80 # Create a pipeline with child namespacesCOMMENT
MEDIUMtests/pipeline/test_pipeline_namespaces.py94 # Create a pipeline with parallel branches having different namespacesCOMMENT
MEDIUMtests/pipeline/test_pipeline_namespaces.py108 # Create a more complex pipeline with namespace interruptionCOMMENT
MEDIUM⚡tests/pipeline/test_preview_contract.py218 # Create a mock non-dataclass object that has to_dict methodCOMMENT
MEDIUM⚡tests/pipeline/test_pipeline.py1046 # Create a pipeline from the input nodes.COMMENT
MEDIUMtests/pipeline/test_pipeline.py1006 # Create a pipeline from nodes with tags.COMMENT
MEDIUMtests/framework/context/test_context.py134 # Create the necessary files in src/COMMENT
MEDIUMtests/framework/cli/pipeline/conftest.py90 # Create the absolute bare minimum filesCOMMENT
MEDIUMtests/framework/cli/pipeline/test_pipeline.py335 # Create a pipelineCOMMENT
MEDIUMtests/framework/project/test_pipeline_discovery.py78 # Create a module without `create_pipelines` in the `pipelines` dir.STRING
MEDIUMtests/framework/project/test_pipeline_discovery.py174 # Create a regular file (not a subdirectory) in the `pipelines` dir.STRING
MEDIUMtests/framework/project/test_pipeline_discovery.py198 # Create a module that will result in errors when we try to load it.STRING
MEDIUMtests/framework/project/test_pipeline_discovery.py413 # Create a module without `create_pipeline` in the `pipelines` dir.STRING
MEDIUM⚡tests/framework/session/test_session.py274 # Create a catalog.yml with a MemoryDatasetCOMMENT
MEDIUM⚡tests/framework/session/test_session.py715 # Create a temporary directory outside of the projectCOMMENT
MEDIUM⚡tests/framework/session/test_session.py725 # Create a session and set run called to True - no need to run a full session, we can verify the logging messageCOMMENT
MEDIUMtests/framework/session/test_session.py301 # Create a minimal catalog.yml to allow catalog loadingCOMMENT
MEDIUMtests/framework/session/test_service_session.py386 # Create a temporary directory outside of the projectCOMMENT
MEDIUMtests/runner/test_sequential_runner.py352 # Create a catalog with MemoryDataset entries and inputs for the pipelineCOMMENT
MEDIUM⚡tests/runner/test_only_missing_outputs.py491 # Create a pipeline where output is not defined (will become MemoryDataset)COMMENT
MEDIUMtests/runner/test_only_missing_outputs.py114 # Create a simple test pipeline with a PERSISTENT outputCOMMENT
MEDIUMtests/runner/test_only_missing_outputs.py363 # Create a pipeline with dataset factory patternCOMMENT
MEDIUMtests/runner/test_only_missing_outputs.py398 # Create a simple pipelineCOMMENT
MEDIUMtests/runner/test_only_missing_outputs.py548 # Create a pipeline with a node that has no outputs (e.g., a logging node)COMMENT
MEDIUMtests/runner/test_only_missing_outputs.py579 # Create a pipeline where 'ephemeral_data' is not defined in catalogCOMMENT
MEDIUMkedro/utils.py1"""This module provides a set of helper functions being used across different componentsSTRING
MEDIUMkedro/pipeline/node.py1"""This module provides user-friendly functions for creating nodes as partsSTRING
MEDIUMkedro/framework/startup.py1"""This module provides metadata for a Kedro project."""STRING
MEDIUMkedro/framework/context/catalog_mixins.py39 # Create a catalog instance from configurationSTRING
MEDIUMkedro/framework/context/context.py1"""This module provides context for Kedro project."""STRING
MEDIUMkedro/framework/cli/hooks/markers.py1"""This module provides markers to declare Kedro CLI's hook specs and implementations.STRING
MEDIUMkedro/framework/hooks/markers.py1"""This module provides markers to declare Kedro's hook specs and implementations.STRING
MEDIUMkedro/framework/hooks/manager.py1"""This module provides an utility function to retrieve the global hook_manager singletonSTRING
MEDIUMkedro/framework/session/abstract_session.py1"""This module implements the abstract session class."""STRING
MEDIUMkedro/framework/session/store.py1"""This module implements a dict-like store object used to persist Kedro sessions."""STRING
MEDIUMkedro/framework/session/session.py1"""This module implements Kedro session responsible for project lifecycle."""STRING
MEDIUMkedro/config/abstract_config.py1"""This module provides ``kedro.abstract_config`` with the baselineSTRING
MEDIUMkedro/config/omegaconf_config.py1"""This module provides ``kedro.config`` with the functionality to load oneSTRING
MEDIUMkedro/io/data_catalog.py1397 # Create a shared memory catalogSTRING
MEDIUMkedro/io/core.py1"""This module provides a set of classes which underpin the data loading andSTRING
MEDIUM…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
Cross-File Repetition24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHRELEASE.md0register the project's pipelines. returns: a mapping from pipeline names to ``pipeline`` objects.STRING
HIGH…{{ cookiecutter.python_package }}/pipeline_registry.py0register the project's pipelines. returns: a mapping from pipeline names to ``pipeline`` objects.STRING
HIGH…{{ cookiecutter.python_package }}/pipeline_registry.py0register the project's pipelines. returns: a mapping from pipeline names to ``pipeline`` objects.STRING
HIGH…st_starter/{{ cookiecutter.repo_name }}/pyproject.toml0--cov-report term-missing \ --cov src/{{ cookiecutter.python_package }} -raSTRING
HIGHdocs/create/new_project_tools.md0--cov-report term-missing \ --cov src/{{ cookiecutter.python_package }} -raSTRING
HIGH…es/project/{{ cookiecutter.repo_name }}/pyproject.toml0--cov-report term-missing \ --cov src/{{ cookiecutter.python_package }} -raSTRING
HIGH…r.python_package }}/pipelines/data_science/__init__.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. pleasSTRING
HIGH…thon_package }}/pipelines/data_engineering/__init__.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. pleasSTRING
HIGH….python_package }}/pipelines/data_engineering/nodes.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. pleasSTRING
HIGH…r.python_package }}/pipelines/data_science/pipeline.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. deletSTRING
HIGH…tter.python_package }}/pipelines/data_science/nodes.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. deletSTRING
HIGH…thon_package }}/pipelines/data_engineering/pipeline.py0example code for the nodes in the example pipeline. this code is meant just for illustrating basic kedro features. deletSTRING
HIGHtests/conftest.py0this file contains the fixtures that are reusable by any tests within this directory. you don't need to import the fixtuSTRING
HIGHtests/framework/cli/conftest.py0this file contains the fixtures that are reusable by any tests within this directory. you don't need to import the fixtuSTRING
HIGHtests/framework/cli/starters/conftest.py0this file contains the fixtures that are reusable by any tests within this directory. you don't need to import the fixtuSTRING
HIGHtests/runner/test_parallel_runner.py0stricter version of previous test. covers pipelines where inputs are shared across nodes.STRING
HIGHtests/runner/test_thread_runner.py0stricter version of previous test. covers pipelines where inputs are shared across nodes.STRING
HIGHtests/runner/test_sequential_runner.py0stricter version of previous test. covers pipelines where inputs are shared across nodes.STRING
HIGHtests/io/test_shared_memory_dataset.py0check the error when attempting to save the dataset without providing the dataSTRING
HIGHtests/io/test_core.py0check the error when attempting to save the dataset without providing the dataSTRING
HIGHtests/io/test_memory_dataset.py0check the error when attempting to save the dataset without providing the dataSTRING
HIGH…/pipeline/{{ cookiecutter.pipeline_name }}/__init__.py0this is a boilerplate pipeline '{{ cookiecutter.pipeline_name }}' generated using kedro {{ cookiecutter.kedro_version }}STRING
HIGH…/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py0this is a boilerplate pipeline '{{ cookiecutter.pipeline_name }}' generated using kedro {{ cookiecutter.kedro_version }}STRING
HIGH…tes/pipeline/{{ cookiecutter.pipeline_name }}/nodes.py0this is a boilerplate pipeline '{{ cookiecutter.pipeline_name }}' generated using kedro {{ cookiecutter.kedro_version }}STRING
Excessive Try-Catch Wrapping60 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUMtools/github_actions/github_actions_release.py42 print("Error: GITHUB_ENV environment variable is not set.")CODE
LOWkedro_benchmarks/_utils.py99 except Exception as e:CODE
LOWfeatures/steps/util.py69 except Exception as err:CODE
LOWtests/framework/cli/starters/utils.py63 except Exception:CODE
LOWtests/framework/project/test_pipeline_registry.py107 except Exception as e:CODE
LOWtests/framework/project/test_pipeline_registry.py134 except Exception as e:CODE
LOWtests/framework/project/test_pipeline_registry.py142 except Exception as e:CODE
LOWtests/framework/project/test_pipeline_registry.py201 except Exception as e:CODE
LOWtests/framework/project/test_pipeline_registry.py208 except Exception as e:CODE
MEDIUMtests/framework/project/test_pipeline_registry.py103def reader():CODE
MEDIUMtests/framework/project/test_pipeline_registry.py130def reader():CODE
MEDIUMtests/framework/project/test_pipeline_registry.py137def invalidator():CODE
MEDIUMtests/framework/project/test_pipeline_registry.py197def reader():CODE
MEDIUMtests/framework/project/test_pipeline_registry.py204def reconfigurer():CODE
LOWdocs/deploy/supported-platforms/aws_batch.md478 except Exception:CODE
LOWkedro/utils.py161 except Exception:CODE
LOWkedro/pipeline/node.py556 except Exception as exc:CODE
LOWkedro/pipeline/node.py693 except Exception as exc:CODE
LOWkedro/framework/cli/starters.py518 except Exception as exc:CODE
LOWkedro/framework/cli/starters.py721 except Exception as exc:CODE
LOWkedro/framework/cli/starters.py997 except Exception as exc:CODE
LOWkedro/framework/cli/cli.py217 except Exception:CODE
LOWkedro/framework/cli/utils.py128 except Exception as exc:CODE
LOWkedro/framework/cli/utils.py346 except Exception as exc:CODE
LOWkedro/framework/cli/pipeline.py246 except Exception as exc:CODE
LOWkedro/framework/cli/pipeline.py306 except Exception:CODE
LOWkedro/framework/cli/pipeline.py371 except Exception as exc:CODE
LOWkedro/framework/cli/jupyter.py172 except Exception as exc:CODE
LOWkedro/framework/project/__init__.py678 except Exception as exc:CODE
LOWkedro/framework/project/__init__.py729 except Exception as exc:CODE
LOWkedro/framework/session/session.py61 except Exception:CODE
LOWkedro/framework/session/session.py182 except Exception as exc:CODE
LOWkedro/framework/session/session.py208 except Exception as err:CODE
LOWkedro/framework/session/session.py443 except Exception as error:CODE
LOWkedro/framework/session/service_session.py321 except Exception as error:CODE
LOWkedro/config/omegaconf_config.py388 except Exception as exc:CODE
LOWkedro/runner/task.py306 except Exception as exc:CODE
LOWkedro/runner/runner.py242 except Exception:CODE
LOWkedro/runner/runner.py276 except Exception:CODE
LOWkedro/io/data_catalog.py1249 except Exception as exc:CODE
LOWkedro/io/core.py291 except Exception as exc:CODE
LOWkedro/io/core.py310 except Exception as err:CODE
LOWkedro/io/core.py387 except Exception as exc:CODE
LOWkedro/io/core.py413 except Exception as exc:CODE
LOWkedro/io/core.py555 except Exception as exc:CODE
LOWkedro/io/core.py576 except Exception as exc:CODE
LOWkedro/io/core.py870 except Exception as exc:CODE
LOWkedro/io/core.py1072 except Exception as exc: # SKIP_IF_NO_SPARKCODE
LOWkedro/io/shared_memory_dataset.py46 except Exception as exc:CODE
LOWkedro/io/shared_memory_dataset.py50 except Exception as serialisation_exc: # SKIP_IF_NO_SPARKCODE
LOWkedro/server/http_server.py169 except Exception as exc:CODE
LOWkedro/server/http_server.py316 except Exception as exc:CODE
LOWkedro/validation/parameter_validator.py91 except Exception as exc:CODE
LOWkedro/validation/core.py332 except Exception as exc:CODE
LOWkedro/validation/api.py142 except Exception as exc:CODE
LOWkedro/validation/api.py163 except Exception as exc:CODE
LOWkedro/validation/api.py221 except Exception as exc:CODE
LOWkedro/validation/api.py249 except Exception as exc:CODE
LOWkedro/validation/type_extractor.py106 except Exception as exc:CODE
LOWkedro/validation/model_factory.py48 except Exception as exc:CODE
Empty Error Handlers11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHkedro_benchmarks/_utils.py51except SystemExit:CODE
HIGHkedro_benchmarks/_utils.py97except SystemExit:CODE
HIGHfeatures/steps/sh_run.py95except psutil.NoSuchProcess:CODE
HIGHfeatures/steps/sh_run.py101except psutil.NoSuchProcess:CODE
HIGHtests/framework/cli/conftest.py135except FileNotFoundError:CODE
HIGHtests/framework/cli/starters/conftest.py79except ImportError:CODE
HIGHkedro/ipython/__init__.py36except ImportError: # pragma: no coverCODE
HIGHkedro/validation/pandera_validator.py98except ImportError:CODE
HIGHkedro/validation/pandera_validator.py106except ImportError:CODE
HIGHkedro/validation/pandera_validator.py114except ImportError:CODE
HIGHkedro/validation/pandera_validator.py173except TypeError:CODE
Structural Annotation Overuse33 hits · 50 pts
SeverityFileLineSnippetContext
LOWdocs/deploy/supported-platforms/aws_batch.md141## Step 1: Prepare your Kedro projectCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md195## Step 2: Set up AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md253## Step 3: Configure Kedro for AWS BatchCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md381## Step 4: Create the custom AWS Batch runnerCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md567## Step 5: Customise the project CLICOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md603## Step 6: Package, build, and push the container imageCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md670## Step 7: Submit the pipeline from your machineCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md694## Step 8: Verify the jobs succeededCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md143## Step 1: Prepare your Kedro projectCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md197## Step 2: Set up AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md238## Step 3: Configure Kedro for AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md356## Step 4: Create the Lambda handlerCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md394## Step 5: Write the CDK deployment scriptCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md605## Step 6: Package, build, and push the container imageCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md670## Step 7: Deploy with CDKCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md693## Step 8: Run the state machineCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md711## Step 9: Verify outputs on S3COMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md170## Step 1: Prepare your Kedro projectCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md190## Step 2: Set up AWSCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md226## Step 3: Configure Kedro for EMRCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md285## Step 4: Package the Kedro projectCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md297## Step 5: Build the custom Docker imageCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md353## Step 6: Validate and push the image to ECRCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md394## Step 7: Create the EMR Serverless applicationCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md462## Step 8: Create and upload the entrypoint scriptCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md521## Step 9: Submit your first jobCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md556## Step 10: Verify the job succeededCOMMENT
LOWdocs/create/minimal_kedro_project.md75### Step 1: create a new Kedro projectCOMMENT
LOWdocs/create/minimal_kedro_project.md89### Step 2: initialise `pyproject.toml`COMMENT
LOWdocs/create/minimal_kedro_project.md120### Step 3: install KedroCOMMENT
LOWdocs/create/minimal_kedro_project.md128### Step 4: create `settings.py` and `pipeline_registry.py`COMMENT
LOWdocs/create/minimal_kedro_project.md164### Step 5: create a basic pipelineCOMMENT
LOWdocs/create/minimal_kedro_project.md184### Step 6: define the project settingsCOMMENT
Fake / Example Data42 hits · 46 pts
SeverityFileLineSnippetContext
LOW⚡tests/io/test_core.py530 def test_save_and_load(self, my_versioned_dataset, dummy_data):CODE
LOW⚡tests/io/test_core.py533 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py535 assert dummy_data == reloadedCODE
LOW⚡tests/io/test_core.py537 def test_resolve_save_version(self, dummy_data):CODE
LOW⚡tests/io/test_core.py539 ds.save(dummy_data)CODE
LOW⚡tests/io/test_core.py553 def test_local_exists(self, dummy_data):CODE
LOW⚡tests/io/test_core.py558 my_versioned_dataset.save(dummy_data) # _local_exists is used by saveCODE
LOW⚡tests/io/test_core.py572 def test_exists(self, my_versioned_dataset, dummy_data):CODE
LOW⚡tests/io/test_core.py575 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py579 def test_prevent_overwrite(self, my_versioned_dataset, dummy_data):CODE
LOW⚡tests/io/test_core.py582 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py588 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py597 self, my_versioned_dataset, load_version, save_version, dummy_dataCODE
LOW⚡tests/io/test_core.py607 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py610 self, my_dataset, my_versioned_dataset, dummy_dataCODE
LOW⚡tests/io/test_core.py614 my_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py622 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py626 my_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py895 self, my_legacy_versioned_dataset, load_version, save_version, dummy_dataCODE
LOW⚡tests/io/test_core.py905 my_legacy_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py908 self, my_legacy_dataset, my_legacy_versioned_dataset, dummy_dataCODE
LOW⚡tests/io/test_core.py912 my_legacy_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py920 my_legacy_versioned_dataset.save(dummy_data)CODE
LOW⚡tests/io/test_core.py924 my_legacy_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py212def dummy_data():CODE
LOWtests/io/test_core.py883 def test_saving_invalid_data(self, my_legacy_dataset, dummy_data):CODE
LOW⚡docs/tutorials/test_a_project.md351 def test_split_data(dummy_data, dummy_parameters):CODE
LOW⚡docs/tutorials/test_a_project.md353 dummy_data, dummy_parameters["model_options"]CODE
LOW⚡docs/tutorials/test_a_project.md360 def test_split_data_missing_price(dummy_data, dummy_parameters):CODE
LOW⚡docs/tutorials/test_a_project.md361 dummy_data_missing_price = dummy_data.drop(columns="price")CODE
LOW⚡docs/tutorials/test_a_project.md367 def test_data_science_pipeline(caplog, dummy_data, dummy_parameters):CODE
LOW⚡docs/tutorials/test_a_project.md375 catalog["model_input_table"] = dummy_dataCODE
LOWdocs/tutorials/test_a_project.md65 dummy_data = pd.DataFrame(CODE
LOWdocs/tutorials/test_a_project.md83 X_train, X_test, y_train, y_test = split_data(dummy_data, dummy_parameters["model_options"])CODE
LOWdocs/tutorials/test_a_project.md107 dummy_data = pd.DataFrame(CODE
LOWdocs/tutorials/test_a_project.md126 X_train, X_test, y_train, y_test = split_data(dummy_data, dummy_parameters["model_options"])CODE
LOWdocs/tutorials/test_a_project.md205 dummy_data = pd.DataFrame(CODE
LOWdocs/tutorials/test_a_project.md222 catalog["model_input_table"] = dummy_dataCODE
LOWdocs/tutorials/test_a_project.md262In our tests, we can see that `dummy_data` and `dummy_parameters` have been defined three times with almost the same valCODE
LOWdocs/tutorials/test_a_project.md270 def dummy_data():CODE
LOWdocs/tutorials/test_a_project.md295def test_split_data(dummy_data, dummy_parameters):CODE
LOWdocs/tutorials/test_a_project.md329 def dummy_data():CODE
Cross-Language Confusion8 hits · 35 pts
SeverityFileLineSnippetContext
HIGHfeatures/steps/cli_steps.py35 "execution_count": null,CODE
HIGHfeatures/steps/cli_steps.py94 "execution_count": null,CODE
HIGHtests/config/test_omegaconf_config.py991 "null": "${globals: x.NOT_EXIST, null}",CODE
HIGHtests/config/test_omegaconf_config.py1472 "null": "${runtime_params: x.NOT_EXIST, null}",CODE
HIGHtests/config/test_omegaconf_config.py1737 "null": "${globals: x.NOT_EXIST, null}",CODE
HIGHtests/io/test_memory_dataset.py29 return data1.equals(data2)CODE
HIGHkedro/io/memory_dataset.py27 assert loaded_data.equals(data)STRING
HIGHkedro/io/memory_dataset.py32 assert reloaded_data.equals(new_data)STRING
Modern Structural Boilerplate33 hits · 33 pts
SeverityFileLineSnippetContext
LOWkedro_benchmarks/_utils.py18logger = logging.getLogger(__name__)CODE
LOWfeatures/test_plugin/plugin.py9logger = logging.getLogger(__name__)CODE
LOWtests/framework/cli/test_cli_hooks.py16logger = logging.getLogger(__name__)CODE
LOWtests/framework/session/conftest.py35logger = logging.getLogger(__name__)CODE
LOWkedro/pipeline/__init__.py9__all__ = [CODE
LOWkedro/framework/context/__init__.py12__all__ = [CODE
LOWkedro/framework/cli/__init__.py10__all__ = ["main", "command_with_verbosity", "load_entry_points"]CODE
LOWkedro/framework/cli/utils.py46logger = logging.getLogger(__name__)CODE
LOWkedro/framework/cli/utils.py203def _update_verbose_flag(ctx: click.Context, param: Any, value: bool) -> None:CODE
LOWkedro/framework/cli/hooks/__init__.py6__all__ = ["CLIHooksManager", "cli_hook_impl", "get_cli_hook_manager"]CODE
LOWkedro/framework/cli/hooks/manager.py10logger = logging.getLogger(__name__)CODE
LOWkedro/framework/project/__init__.py256 def set_requested(self, pipeline_names: list[str] | None) -> None:CODE
LOWkedro/framework/hooks/__init__.py6__all__ = ["_create_hook_manager", "hook_impl"]CODE
LOWkedro/framework/hooks/manager.py23logger = logging.getLogger(__name__)CODE
LOWkedro/framework/session/__init__.py9__all__ = ["AbstractSession", "KedroSession", "KedroServiceSession"]CODE
LOWkedro/config/__init__.py12__all__ = [CODE
LOWkedro/ipython/__init__.py53logger = logging.getLogger(__name__)CODE
LOWkedro/runner/__init__.py11__all__ = [CODE
LOWkedro/runner/parallel_runner.py107 def _set_manager_datasets(self, catalog: SharedMemoryCatalogProtocol) -> None: # type: ignore[override]CODE
LOWkedro/io/data_catalog.py1416 def set_manager_datasets(self, manager: SyncManager) -> None:CODE
LOWkedro/io/__init__.py23__all__ = [CODE
LOWkedro/io/core.py1216 def set_manager_datasets(self, manager: SyncManager) -> None: ...CODE
LOWkedro/io/shared_memory_dataset.py30 def set_manager(self, manager: SyncManager) -> None:CODE
LOWkedro/server/__init__.py13__all__ = ["create_http_server"]CODE
LOWkedro/server/http_server.py45logger = logging.getLogger(__name__)CODE
LOWkedro/inspection/__init__.py21__all__ = [CODE
LOW…/pipeline/{{ cookiecutter.pipeline_name }}/__init__.py8__all__ = ["create_pipeline"]CODE
LOWkedro/validation/parameter_validator.py23logger = logging.getLogger(__name__)CODE
LOWkedro/validation/__init__.py23__all__ = [CODE
LOWkedro/validation/utils.py97def set_nested_dict_value(data: dict, path: str, value: Any) -> None:CODE
LOWkedro/validation/type_extractor.py17logger = logging.getLogger(__name__)CODE
LOWkedro/validation/pandera_validator.py29logger = logging.getLogger(__name__)CODE
LOWkedro/validation/model_factory.py12logger = logging.getLogger(__name__)CODE
Over-Commented Block31 hits · 29 pts
SeverityFileLineSnippetContext
LOWzensical.toml381# -------------------------COMMENT
LOW.mdformat.toml1# Numbered steps in tutorials/deployment guides use sequential numberingCOMMENT
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py1#!/usr/bin/env python3COMMENT
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py61COMMENT
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py81COMMENT
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py101html_static_path = ["_static"]COMMENT
LOW…arter/{{ cookiecutter.repo_name }}/docs/source/conf.py121COMMENT
LOW…ter/{{ cookiecutter.repo_name }}/conf/base/catalog.yml1# Here you can define all your datasets by using simple YAML syntax.COMMENT
LOW…ter/{{ cookiecutter.repo_name }}/conf/base/catalog.yml21# inferSchema: TrueCOMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py1"""Project settings. There is no need to edit this file unless you want to change valuesCOMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py21# Directory that holds configuration.COMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py41# Class that manages the Data Catalog.COMMENT
LOWtests/io/test_data_catalog.py641 with pytest.raises(DatasetError, match=pattern):COMMENT
LOW.agents/scripts/post_github_review.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/kedro-babysit/scripts/bootstrap_env.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/kedro-babysit/scripts/bootstrap_env.sh21# bash bootstrap_env.sh --type venv --name .venv --python 3.11 # full createCOMMENT
LOW.agents/skills/kedro-babysit/scripts/watch_ci.sh1#!/usr/bin/env bashCOMMENT
LOW…gents/skills/kedro-babysit/scripts/run_local_checks.sh1#!/usr/bin/env bashCOMMENT
LOW…gents/skills/kedro-babysit/scripts/run_local_checks.sh21# Note: there is no flag for the mixed `code+docs` scope — it's only reachableCOMMENT
LOW…gents/skills/kedro-babysit/scripts/run_local_checks.sh101 # Fallback: origin/main if it exists, else mainCOMMENT
LOW…config/parameters_{{ cookiecutter.pipeline_name }}.yml1# This is a boilerplate parameters config generated for pipeline '{{ cookiecutter.pipeline_name }}'COMMENT
LOW…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py1#!/usr/bin/env python3COMMENT
LOW…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py61# enable autosummary plugin (table of contents for modules/classes/classCOMMENT
LOW…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py81language = "en"COMMENT
LOW…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py101#COMMENT
LOW…oject/{{ cookiecutter.repo_name }}/docs/source/conf.py121html_show_sourcelink = FalseCOMMENT
LOW…{ cookiecutter.repo_name }}/conf/local/credentials.yml1# Here you can define credentials for different datasets and environment.COMMENT
LOW…ect/{{ cookiecutter.repo_name }}/conf/base/catalog.yml1# Here you can define all your datasets by using simple YAML syntax.COMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py1"""Project settings. There is no need to edit this file unless you want to change valuesCOMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py21# Keyword arguments to pass to the `SESSION_STORE_CLASS` constructor.COMMENT
LOW…e }}/src/{{ cookiecutter.python_package }}/settings.py41 # }COMMENT
Deep Nesting19 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/github_actions/extract_release_notes.py5CODE
LOWtests/framework/cli/pipeline/conftest.py23CODE
LOWkedro/pipeline/pipeline.py1376CODE
LOWkedro/pipeline/pipeline.py315CODE
LOWkedro/pipeline/pipeline.py712CODE
LOWkedro/pipeline/node.py504CODE
LOWkedro/framework/cli/starters.py220CODE
LOWkedro/framework/cli/starters.py555CODE
LOWkedro/framework/cli/utils.py239CODE
LOWkedro/framework/cli/pipeline.py261CODE
LOWkedro/framework/project/__init__.py619CODE
LOWkedro/config/omegaconf_config.py703CODE
LOWkedro/ipython/__init__.py102CODE
LOWkedro/ipython/__init__.py429CODE
LOWkedro/ipython/__init__.py569CODE
LOWkedro/runner/runner.py198CODE
LOWkedro/io/data_catalog.py1326CODE
LOWkedro/validation/parameter_validator.py37CODE
LOWkedro/validation/type_extractor.py46CODE
Redundant / Tautological Comments8 hits · 11 pts
SeverityFileLineSnippetContext
LOWtools/github_actions/merge.sh56 # Check if the PR_BRANCH already existsCOMMENT
LOWtests/ipython/test_ipython.py78 assert pipelines._content == {} # Check if it is lazy loadedCODE
LOWkedro/framework/project/__init__.py588 # Check if file exists, if it does, validate it.COMMENT
LOWkedro/config/omegaconf_config.py570 # Check if it's an archive fileCOMMENT
LOWkedro/config/omegaconf_config.py790 # Check if any component (folder or file) starts with a dot (.)COMMENT
LOWkedro/runner/runner.py98 # Check if there are any input datasets that aren't in the catalog andCOMMENT
LOWkedro/runner/runner.py694 # Check if persistent dataset existsCOMMENT
LOWkedro/io/core.py740 # Check if the module existsCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWkedro_benchmarks/benchmark_runner.py19CODE
LOWkedro/framework/session/session.py276CODE
LOWkedro/framework/session/service_session.py200CODE
LOWkedro/config/omegaconf_config.py100CODE
LOWkedro/io/memory_dataset.py66CODE
Modern AI Meta-Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…gents/skills/kedro-babysit/scripts/run_local_checks.sh2# run_local_checks.sh — orchestrate local equivalents of CI checks.COMMENT
MEDIUMdocs/create/starters.md49- [`support-agent-langgraph`](https://github.com/kedro-org/kedro-starters/tree/main/support-agent-langgraph): An exampleCODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.agents/skills/kedro-security-review/reference.md163(`"YOUR_API_KEY"`, `"xxx"`, `"<token>"`) — classify asCODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/extend/how_to_create_a_custom_dataset.md106Several built-in Kedro datasets rely on [fsspec](https://filesystem-spec.readthedocs.io/en/latest/) as a consistent inteCODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.agents/skills/kedro-babysit/scripts/bootstrap_env.sh18# Usage:COMMENT
LOW.agents/skills/kedro-babysit/scripts/watch_ci.sh15# Usage:COMMENT
LOW…gents/skills/kedro-babysit/scripts/run_local_checks.sh13# Usage:COMMENT
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/pipeline/test_node.py435 def test_function(self):CODE
LOW⚡tests/ipython/test_ipython.py639 "def helper():\n"CODE
LOWkedro/ipython/__init__.py576 def helper(): ...STRING
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMkedro/__init__.py1"""Kedro is a framework that makes it easy to build robust and scalableSTRING