Repository Analysis

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.

26.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kedro-org/kedro, a Python project with 10,949 GitHub stars. SynthScan v2.0 examined 82,119 lines of code across 495 source files, recording 1681 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 26.7 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).

26.7
Adjusted Score
26.7
Raw Score
100%
Time Factor
2026-08-07
Last Push
10.9K
Stars
Python
Language
82.1K
Lines of Code
495
Files
1.7K
Pattern Hits
2026-08-09
Scan Date
0.17
HC Hit Rate

What These Metrics Mean

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

Score History

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

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

Severity Breakdown

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

CRITICAL 0HIGH 83MEDIUM 98LOW 1500

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 1681 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers1130 hits · 1133 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.py126def _make_scoped_pipeline_dict(node_count: int, typed_params_per_node: int = 1):CODE
LOWkedro_benchmarks/benchmark_validation.py186 def time_extract_types_from_pipelines(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py242 def time_context_params_uncached(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py247 def time_context_params_cached(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_validation.py279 def time_context_params_scoped_validation(self, node_count, typed_params_per_node):CODE
LOWkedro_benchmarks/benchmark_session.py30 def time_session_run_single_pipeline(self):CODE
LOWkedro_benchmarks/benchmark_session.py37 def time_session_run_all_pipelines(self):CODE
LOWkedro_benchmarks/benchmark_session.py44 def time_session_startup_only(self):CODE
LOWkedro_benchmarks/benchmark_session.py51 def time_session_startup_and_context_load(self):CODE
LOWkedro_benchmarks/benchmark_service_session.py30 def time_session_run_single_pipeline(self):CODE
LOWkedro_benchmarks/benchmark_service_session.py35 def time_session_run_all_pipelines(self):CODE
LOWkedro_benchmarks/benchmark_service_session.py40 def time_session_run_multiple_times(self):CODE
LOWkedro_benchmarks/benchmark_service_session.py46 def time_session_startup_only(self):CODE
LOWkedro_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/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
LOWtests/test_utils.py25 def test_string_input_returns_close_matches(self):CODE
LOWtests/test_utils.py31 def test_list_input_returns_list(self):CODE
LOWtests/test_utils.py38 def test_list_input_deduplicates_shared_matches(self):CODE
LOWtests/test_utils.py44 def test_list_input_accepts_one_shot_iterator_targets(self):CODE
LOWtests/test_utils.py57 def test_load_obj_default_path(self):CODE
LOWtests/test_utils.py61 def test_load_obj_invalid_module(self):CODE
LOWtests/test_utils.py138def test_function_emits_warning():CODE
LOWtests/test_utils.py147def test_function_has_marker_and_wrapped():CODE
LOWtests/test_utils.py153def test_class_emits_warning_on_instantiation():CODE
LOWtests/test_utils.py162def test_class_has_marker_and_wrapped_init():CODE
LOWtests/test_utils.py175def test_class_unwrap_recovers_original_init():CODE
LOWtests/test_utils.py189def test_experimental_non_callable_passthrough():CODE
LOWtests/test_utils.py201def test_experimental_injects_docstring_function():CODE
LOWtests/test_utils.py212def test_experimental_injects_docstring_class():CODE
LOWtests/test_utils.py223def test_experimental_docstring_not_duplicated():CODE
LOWtests/test_utils.py233def test_experimental_warning_and_docstring_together():CODE
LOWtests/test_utils.py244def test_experimental_function_warns_once():CODE
LOWtests/test_utils.py258def test_experimental_class_warns_once():CODE
LOWtests/test_utils.py319def test_is_unsafe_version_rejects(version):CODE
LOWtests/test_utils.py333def test_is_unsafe_version_allows(version):CODE
1070 more matches not shown…
Docstring Block Structure49 hits · 245 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.md209Run only the missing outputs from the ``Pipeline`` using the datasets provided by ``catalog``, and save results STRING
HIGHdocs/tutorials/test_a_project.md27Splits data into features and targets training and test sets. Args: data: Data containing features STRING
HIGHdocs/tutorials/add_another_pipeline.md41Splits 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.py770Create a new ``Pipeline`` object with the nodes which depend directly on the provided inputs. If provideSTRING
HIGHkedro/pipeline/pipeline.py796Create a new ``Pipeline`` object with the nodes which depend directly or transitively on the provided inputs. STRING
HIGHkedro/pipeline/pipeline.py836Create a new ``Pipeline`` object with the nodes which are directly required to produce the provided outputs. STRING
HIGHkedro/pipeline/pipeline.py861Create a new ``Pipeline`` object with the nodes which are directly or transitively required to produce the proviSTRING
HIGHkedro/pipeline/pipeline.py900Create a new ``Pipeline`` object with the nodes which depend directly or transitively on the provided nodes. STRING
HIGHkedro/pipeline/pipeline.py921Create a new ``Pipeline`` object with the nodes required directly or transitively by the provided nodes. STRING
HIGHkedro/pipeline/pipeline.py968Creates a new ``Pipeline`` object with the nodes that meet all of the specified filtering conditions. TSTRING
HIGHkedro/pipeline/pipeline.py1228Create a ``Pipeline`` from a collection of nodes and/or ``Pipeline``\s. Args: nodes: The nodes the ``PipeliSTRING
HIGHkedro/pipeline/pipeline.py1290Take 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.py1331Take a parameter or a collection of parameter names and turn it into a mapping from existing parameter names to new STRING
HIGHkedro/pipeline/node.py420Execute the preview function if available and validate its return type. Returns: A preview payload STRING
HIGHkedro/pipeline/node.py504Run 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__.py305Resolve and validate that a class referenced in logging configuration is a legitimate logging class (i.e. a subcSTRING
HIGHkedro/framework/project/__init__.py567Automatically 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.py181Get configuration files by key, load and merge them, and return them in the form of a config dictionary. STRING
HIGHkedro/config/omegaconf_config.py300Recursively 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.py459 Get a dataset by name from the catalog. If a dataset is not materialized but matches dataset_pattern oSTRING
HIGHkedro/io/data_catalog.py622Create a ``DataCatalog`` instance from configuration. This is a factory method used to provide developers with aSTRING
HIGHkedro/io/data_catalog.py1019Loads a registered dataset. Args: ds_name: The name of the dataset to be loaded. versioSTRING
HIGHkedro/io/data_catalog.py1125Validates 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.py164Create a dataset instance using the configuration provided. Args: name: Data set name. STRING
HIGHkedro/io/core.py523Parse and instantiate a dataset class using the configuration provided. Args: config: Data set config dictiSTRING
HIGHkedro/io/core.py855List all available versions of this dataset. This method allows you to retrieve all existing versions of a versSTRING
HIGHkedro/io/core.py963Parses 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/model_factory.py16Instantiate a typed model from a raw value. Supports Pydantic models and dataclasses. Returns the raw value uncSTRING
Unused Imports152 hits · 148 pts
SeverityFileLineSnippetContext
LOWfeatures/environment.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.py356CODE
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_exceptions.py3CODE
LOWtests/validation/test_type_extractor.py3CODE
LOWtests/validation/test_parameter_validator.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
LOWkedro/pipeline/__init__.py7CODE
LOWkedro/pipeline/__init__.py7CODE
LOWkedro/pipeline/pipeline.py7CODE
LOWkedro/pipeline/node.py5CODE
LOWkedro/framework/startup.py3CODE
LOWkedro/framework/context/__init__.py5CODE
92 more matches not shown…
Decorative Section Separators45 hits · 135 pts
SeverityFileLineSnippetContext
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
MEDIUMtests/pipeline/test_pipeline_namespaces.py71 # Create a big pipeline with many layers of parallel pathsCOMMENT
MEDIUMtests/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
MEDIUMtests/pipeline/test_preview_contract.py218 # Create a mock non-dataclass object that has to_dict methodCOMMENT
MEDIUMtests/pipeline/test_pipeline.py1028 # Create a pipeline from the input nodes.COMMENT
MEDIUMtests/pipeline/test_pipeline.py988 # 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
MEDIUMtests/framework/session/test_session.py273 # Create a catalog.yml with a MemoryDatasetCOMMENT
MEDIUMtests/framework/session/test_session.py674 # Create a temporary directory outside of the projectCOMMENT
MEDIUMtests/framework/session/test_session.py684 # 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.py300 # Create a minimal catalog.yml to allow catalog loadingCOMMENT
MEDIUMtests/framework/session/test_service_session.py332 # 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
MEDIUMtests/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.py1191 # 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
Structural Annotation Overuse33 hits · 50 pts
SeverityFileLineSnippetContext
LOWdocs/deploy/supported-platforms/aws_batch.md139## Step 1: Prepare your Kedro projectCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md192## Step 2: Set up AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md248## Step 3: Configure Kedro for AWS BatchCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md373## Step 4: Create the custom AWS Batch runnerCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md558## Step 5: Customise the project CLICOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md594## Step 6: Package, build, and push the container imageCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md658## Step 7: Submit the pipeline from your machineCOMMENT
LOWdocs/deploy/supported-platforms/aws_batch.md682## Step 8: Verify the jobs succeededCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md141## Step 1: Prepare your Kedro projectCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md194## Step 2: Set up AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md234## Step 3: Configure Kedro for AWSCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md349## Step 4: Create the Lambda handlerCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md386## Step 5: Write the CDK deployment scriptCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md595## Step 6: Package, build, and push the container imageCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md658## Step 7: Deploy with CDKCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md681## Step 8: Run the state machineCOMMENT
LOWdocs/deploy/supported-platforms/aws_step_functions.md699## Step 9: Verify outputs on S3COMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md169## Step 1: Prepare your Kedro projectCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md188## Step 2: Set up AWSCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md222## Step 3: Configure Kedro for EMRCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md279## Step 4: Package the Kedro projectCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md291## Step 5: Build the custom Docker imageCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md346## Step 6: Validate and push the image to ECRCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md386## Step 7: Create the EMR Serverless applicationCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md453## Step 8: Create and upload the entrypoint scriptCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md512## Step 9: Submit your first jobCOMMENT
LOW…cs/deploy/supported-platforms/amazon_emr_serverless.md546## Step 10: Verify the job succeededCOMMENT
LOWdocs/create/minimal_kedro_project.md65### Step 1: create a new Kedro projectCOMMENT
LOWdocs/create/minimal_kedro_project.md77### Step 2: initialise `pyproject.toml`COMMENT
LOWdocs/create/minimal_kedro_project.md106### Step 3: install KedroCOMMENT
LOWdocs/create/minimal_kedro_project.md114### Step 4: create `settings.py` and `pipeline_registry.py`COMMENT
LOWdocs/create/minimal_kedro_project.md145### Step 5: create a basic pipelineCOMMENT
LOWdocs/create/minimal_kedro_project.md163### Step 6: define the project settingsCOMMENT
Fake / Example Data42 hits · 46 pts
SeverityFileLineSnippetContext
LOWtests/io/test_core.py529 def test_save_and_load(self, my_versioned_dataset, dummy_data):CODE
LOWtests/io/test_core.py532 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py534 assert dummy_data == reloadedCODE
LOWtests/io/test_core.py536 def test_resolve_save_version(self, dummy_data):CODE
LOWtests/io/test_core.py538 ds.save(dummy_data)CODE
LOWtests/io/test_core.py552 def test_local_exists(self, dummy_data):CODE
LOWtests/io/test_core.py557 my_versioned_dataset.save(dummy_data) # _local_exists is used by saveCODE
LOWtests/io/test_core.py571 def test_exists(self, my_versioned_dataset, dummy_data):CODE
LOWtests/io/test_core.py574 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py578 def test_prevent_overwrite(self, my_versioned_dataset, dummy_data):CODE
LOWtests/io/test_core.py581 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py587 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py596 self, my_versioned_dataset, load_version, save_version, dummy_dataCODE
LOWtests/io/test_core.py606 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py609 self, my_dataset, my_versioned_dataset, dummy_dataCODE
LOWtests/io/test_core.py613 my_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py621 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py625 my_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py894 self, my_legacy_versioned_dataset, load_version, save_version, dummy_dataCODE
LOWtests/io/test_core.py904 my_legacy_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py907 self, my_legacy_dataset, my_legacy_versioned_dataset, dummy_dataCODE
LOWtests/io/test_core.py911 my_legacy_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py919 my_legacy_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py923 my_legacy_versioned_dataset.save(dummy_data)CODE
LOWtests/io/test_core.py211def dummy_data():CODE
LOWtests/io/test_core.py882 def test_saving_invalid_data(self, my_legacy_dataset, dummy_data):CODE
LOWdocs/tutorials/test_a_project.md347 def test_split_data(dummy_data, dummy_parameters):CODE
LOWdocs/tutorials/test_a_project.md349 dummy_data, dummy_parameters["model_options"]CODE
LOWdocs/tutorials/test_a_project.md356 def test_split_data_missing_price(dummy_data, dummy_parameters):CODE
LOWdocs/tutorials/test_a_project.md357 dummy_data_missing_price = dummy_data.drop(columns="price")CODE
LOWdocs/tutorials/test_a_project.md363 def test_data_science_pipeline(caplog, dummy_data, dummy_parameters):CODE
LOWdocs/tutorials/test_a_project.md371 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.md201 dummy_data = pd.DataFrame(CODE
LOWdocs/tutorials/test_a_project.md218 catalog["model_input_table"] = dummy_dataCODE
LOWdocs/tutorials/test_a_project.md259In 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.md266 def dummy_data():CODE
LOWdocs/tutorials/test_a_project.md291def test_split_data(dummy_data, dummy_parameters):CODE
LOWdocs/tutorials/test_a_project.md325 def dummy_data():CODE
Excessive Try-Catch Wrapping44 hits · 45 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
LOWdocs/deploy/supported-platforms/aws_batch.md469 except Exception:CODE
LOWkedro/utils.py136 except Exception:CODE
LOWkedro/pipeline/node.py555 except Exception as exc:CODE
LOWkedro/pipeline/node.py692 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.py216 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__.py623 except Exception as exc:CODE
LOWkedro/framework/project/__init__.py674 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.py441 except Exception as error:CODE
LOWkedro/framework/session/service_session.py254 except Exception as error:CODE
LOWkedro/config/omegaconf_config.py324 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/core.py188 except Exception as exc:CODE
LOWkedro/io/core.py207 except Exception as err:CODE
LOWkedro/io/core.py284 except Exception as exc:CODE
LOWkedro/io/core.py310 except Exception as exc:CODE
LOWkedro/io/core.py452 except Exception as exc:CODE
LOWkedro/io/core.py473 except Exception as exc:CODE
LOWkedro/io/core.py754 except Exception as exc:CODE
LOWkedro/io/core.py951 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.py142 except Exception as exc:CODE
LOWkedro/server/http_server.py266 except Exception as exc:CODE
LOWkedro/validation/parameter_validator.py91 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
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.py970 "null": "${globals: x.NOT_EXIST, null}",CODE
HIGHtests/config/test_omegaconf_config.py1278 "null": "${runtime_params: x.NOT_EXIST, null}",CODE
HIGHtests/config/test_omegaconf_config.py1543 "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 Boilerplate32 hits · 32 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__.py230 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.py1210 def set_manager_datasets(self, manager: SyncManager) -> None:CODE
LOWkedro/io/__init__.py23__all__ = [CODE
LOWkedro/io/core.py1095 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.py43logger = logging.getLogger(__name__)CODE
LOWkedro/inspection/__init__.py15__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__.py8__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/model_factory.py12logger = logging.getLogger(__name__)CODE
Over-Commented Block29 hits · 27 pts
SeverityFileLineSnippetContext
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 Nesting20 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/github_actions/extract_release_notes.py5CODE
LOWtests/framework/cli/pipeline/conftest.py23CODE
LOWkedro/pipeline/pipeline.py1369CODE
LOWkedro/pipeline/pipeline.py315CODE
LOWkedro/pipeline/pipeline.py705CODE
LOWkedro/pipeline/node.py503CODE
LOWkedro/framework/cli/starters.py220CODE
LOWkedro/framework/cli/starters.py555CODE
LOWkedro/framework/cli/utils.py239CODE
LOWkedro/framework/cli/pipeline.py261CODE
LOWkedro/framework/project/__init__.py564CODE
LOWkedro/config/omegaconf_config.py518CODE
LOWkedro/ipython/__init__.py102CODE
LOWkedro/ipython/__init__.py429CODE
LOWkedro/ipython/__init__.py569CODE
LOWkedro/runner/runner.py198CODE
LOWkedro/io/data_catalog.py1120CODE
LOWkedro/validation/parameter_validator.py37CODE
LOWkedro/validation/type_extractor.py46CODE
LOWkedro/validation/type_extractor.py161CODE
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__.py533 # Check if file exists, if it does, validate it.COMMENT
LOWkedro/config/omegaconf_config.py394 # Check if it's an archive fileCOMMENT
LOWkedro/config/omegaconf_config.py605 # 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.py624 # Check if the module existsCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 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.md47* [`support-agent-langgraph`](https://github.com/kedro-org/kedro-starters/tree/main/support-agent-langgraph): An exampleCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWkedro_benchmarks/benchmark_runner.py19CODE
LOWkedro/framework/session/session.py276CODE
LOWkedro/framework/session/service_session.py138CODE
LOWkedro/config/omegaconf_config.py91CODE
LOWkedro/io/memory_dataset.py66CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.agents/skills/kedro-security-review/reference.md157(`"YOUR_API_KEY"`, `"xxx"`, `"<token>"`) — classify asCODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/extend/how_to_create_a_custom_dataset.md103Several 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.py434 def test_function(self):CODE
LOWtests/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