AI Slop Code RIsk Monitor

zenml-io/zenml

ZenML 🙏: One AI Platform from Pipelines to Agents. https://zenml.io.

40.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for zenml-io/zenml, a Python project with 5,611 GitHub stars. SynthScan examined 574,495 lines of code across 2913 source files, recording 12746 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 40.3 (High 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.

40.3
Adjusted Signal
40.3
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.6K
Stars
Python
Language
574.5K
Lines of Code
2.9K
Files
12.7K
Pattern Hits
2026-10-12
Scan Date
0.88
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 63.9/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 19.0/100 · LOW

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

Agent Over-Engineering Ratio 67.3/100 · HIGH

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

PR Review Velocity Impact 89.9/100 · CRITICAL

Which changes need focused human review? 12746 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

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 9HIGH 2546MEDIUM 394LOW 9797

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 12746 distinct pattern matches across 24 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.

Cross-File Repetition1348 hits · 6740 pts
SeverityFileLineSnippetContext
HIGHtests/conftest.py0fixture that creates a local artifact store for testing.STRING
HIGHtests/unit/conftest.py0fixture that creates a local artifact store for testing.STRING
HIGHtests/integration/functional/cli/test_stack.py0fixture that creates a local artifact store for testing.STRING
HIGHtests/unit/test_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGHsrc/zenml/deployers/docker/docker_deployer.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGHsrc/zenml/deployers/local/local_deployer.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…l/container_registries/dockerhub_container_registry.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…zenml/container_registries/azure_container_registry.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…c/zenml/container_registries/gcp_container_registry.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…nml/container_registries/default_container_registry.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…enml/container_registries/github_container_registry.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…lot_gcp/flavors/skypilot_orchestrator_gcp_vm_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ons/lightning/flavors/lightning_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…rations/hyperai/flavors/hyperai_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ml/integrations/s3/flavors/s3_artifact_store_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/label_studio/flavors/label_studio_annotator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ations/baseten/flavors/baseten_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tegrations/feast/flavors/feast_feature_store_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…integrations/discord/flavors/discord_alerter_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…integrations/pigeon/flavors/pigeon_annotator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…egrations/azure/flavors/azure_artifact_store_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…egrations/azure/flavors/azureml_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…grations/azure/flavors/azureml_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tegrations/runai/flavors/runai_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…cean/flavors/digitalocean_container_registry_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/flavors/skypilot_orchestrator_kubernetes_vm_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…s/databricks/flavors/databricks_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…databricks/flavors/databricks_model_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/databricks/flavors/databricks_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…s/neptune/flavors/neptune_experiment_tracker_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ons/mlflow/flavors/mlflow_experiment_tracker_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…rations/mlflow/flavors/mlflow_model_registry_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…rations/mlflow/flavors/mlflow_model_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ntegrations/vllm/flavors/vllm_model_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…grations/kaniko/flavors/kaniko_image_builder_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ations/gcp/flavors/vertex_experiment_tracker_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…integrations/gcp/flavors/vertex_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ntegrations/gcp/flavors/vertex_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/zenml/integrations/gcp/flavors/gcp_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…l/integrations/gcp/flavors/gcp_image_builder_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/integrations/gcp/flavors/gcp_artifact_store_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…s/evidently/flavors/evidently_data_validator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…rations/airflow/flavors/airflow_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tions/comet/flavors/comet_experiment_tracker_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…rations/seldon/flavors/seldon_model_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ml/integrations/ssh/flavors/ssh_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…l/integrations/ssh/flavors/ssh_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tions/whylogs/flavors/whylogs_data_validator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…ns/flavors/great_expectations_data_validator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…egrations/tekton/flavors/tekton_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…lot_aws/flavors/skypilot_orchestrator_aws_vm_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tegrations/argilla/flavors/argilla_annotator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…azure/flavors/skypilot_orchestrator_azure_vm_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…tegrations/prodigy/flavors/prodigy_annotator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…nml/integrations/slack/flavors/slack_alerter_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…l/integrations/aws/flavors/aws_image_builder_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…egrations/aws/flavors/aws_container_registry_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…egrations/aws/flavors/sagemaker_orchestrator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…/zenml/integrations/aws/flavors/aws_deployer_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
HIGH…grations/aws/flavors/sagemaker_step_operator_flavor.py0a url to point at sdk docs explaining this flavor. returns: a flavor sdk docs url.STRING
1288 more matches not shown…
Docstring Block Structure973 hits · 4542 pts
SeverityFileLineSnippetContext
HIGHtests/integration/examples/utils.py232A basic example validation function. This function makes sure that a pipeline is registered and optionally waits STRING
HIGH…tegration/examples/seldon/custom_predict/tensorflow.py59Custom Prediction function. The custom predict function is the core of the custom deployment, the function is cSTRING
HIGH…/integration/examples/seldon/custom_predict/pytorch.py59Custom Prediction function. The custom predict function is the core of the custom deployment, the function is cSTRING
HIGHtests/harness/harness.py102Sets the active environment. Args: environment_name: Name of the environment to use. If not specifiSTRING
HIGHtests/harness/harness.py169Loads the configuration from a file path. Args: config_path: Path to directory with configuration fSTRING
HIGHtests/harness/harness.py238Returns a deployment instance by name. Args: name: Name of the deployment. Returns: STRING
HIGHtests/harness/harness.py277Returns an environment instance by name. Args: name: Name of the environment. Returns: STRING
HIGHtests/harness/utils.py321Context manager to configure a stack adapted to the requirements of the current test module. Args: request:STRING
HIGHtests/harness/environment.py380Context manager to provision the environment and optionally tear it down afterwards. Args: teardownSTRING
HIGHtests/harness/deployment/base.py123Creates a deployment from a deployment config. Args: config: The deployment config. ReturnSTRING
HIGHtests/harness/deployment/base.py322Context manager to create a client and connect it to the deployment. Call this method to configure zenml to conSTRING
HIGHtests/harness/model/config.py57Wrap model validator to infer the config_file during initialization. Args: data: The raw data that STRING
HIGHtests/harness/model/test.py118Provision and activate a ZenML stack for this test. Args: module: A pytest test module. STRING
HIGHtests/harness/model/requirements.py240Register a stack component described by these requirements. Args: client: The ZenML client to be usSTRING
HIGHdocs/link_checker.py609 Transform a relative link to an absolute URL, applying any custom path mappings. Examples: - "../../how-toSTRING
HIGH…etting-started/deploying-zenml/custom-secret-stores.md51Get the secret values for an existing secret. Args: secret_id: ID of the secret. Returns: STRING
HIGHexamples/sandbox_harbor/run.py76Resolve a ``dataset:NAME@VERSION`` spec into git-pinned task refs. Args: spec: Dataset spec, e.g. ``datasetSTRING
HIGHexamples/sandbox_harbor/run.py107Build the single-trial TaskConfig for a local path or git ref. Args: task_ref: Local task directory (relatiSTRING
HIGHexamples/sandbox_harbor/run.py234Run one Harbor trial through the ZenML Sandbox bridge. Args: task_path: Filesystem path to the Harbor task,STRING
HIGHexamples/sandbox_harbor/zenml_harbor_env.py63Translate Harbor's task-level docker_image to a sandbox setting. Modal is the only sandbox flavor with an imageSTRING
HIGH…amples/rlm_document_analysis/pipelines/rlm_pipeline.py83Resolve a data file path, trying multiple locations. Used as a fallback when no pre-uploaded artifact is provided (STRING
HIGHexamples/agent_framework_integrations/qwen-agent/run.py31Execute the Qwen-Agent with the given query. Args: query: Question for the agent. Returns: TheSTRING
HIGHexamples/agent_framework_integrations/haystack/run.py33Execute the Haystack RAG pipeline and return its answer. Args: question: Question to answer using the in-meSTRING
HIGH…/agent_framework_integrations/openai_agents_sdk/run.py44Execute the OpenAI Agents SDK agent and return results. Args: query: Question for the agent. Returns: STRING
HIGHexamples/software_factory/factory_utils.py123Run a command in the sandbox session and collect its output. Args: session: The sandbox session to run the STRING
HIGHexamples/software_factory/factory_utils.py508Download a file from the checkout and return its text. Args: session: The sandbox session to download from.STRING
HIGHexamples/software_factory/factory_utils.py596Fetch the text of one Slack message through the Web API. Needs a ZenML secret named `slack` with the key `SLACK_BOTSTRING
HIGHexamples/software_factory/factory_utils.py637Turn the raw payload of a webhook delivery into repository and issue. Supports GitHub `issues` deliveries and the SSTRING
HIGHexamples/software_factory/pipeline.py60Read the issue from the webhook delivery that started this run. Used when the run was started by a webhook trigger STRING
HIGHexamples/computer_vision/pipelines/hooks.py33Initialize and load the YOLO model at deployment startup. This function runs once when the deployment starts and loSTRING
HIGH…amples/computer_vision/pipelines/inference_pipeline.py91Object detection inference pipeline deployed as an HTTP service. This pipeline uses a pre-loaded YOLO model (loadedSTRING
HIGH…puter_vision/materializers/ultralytics_materializer.py75Load a YOLO model from the artifact store. Args: data_type: The YOLO model type Returns: STRING
HIGHexamples/mlops_starter/steps/model_trainer.py41Configure and train a model on the training dataset. This is an example of a model training step that takes in a daSTRING
HIGHexamples/deploying_agent/steps/ingest.py29Ingest and validate document data for analysis from multiple sources. This step creates a structured DocumentRequesSTRING
HIGHexamples/deploying_agent/steps/ingest.py108Download content from a URL. Args: url: URL to download from Returns: Downloaded content as stSTRING
HIGHexamples/deploying_agent/steps/ingest.py145Load content from a file path using ZenML artifact store interface. Args: path: Path to the file (can be loSTRING
HIGHexamples/deploying_agent/steps/analyze.py41Perform document analysis using OpenAI API. Args: content: Document content to analyze filename: DoSTRING
HIGHexamples/deploying_agent/steps/analyze.py231Analyze document content using LLM or deterministic methods. This step performs comprehensive document analysis incSTRING
HIGHexamples/deploying_ml_model/pipelines/hooks.py28Initialize and load the churn prediction model at deployment startup. This function runs once when the deployment sSTRING
HIGHexamples/sandbox_pydantic_ai/run.py122Run the agent on one subtask in its own sandbox session. Restores the shared snapshot where available; otherwise boSTRING
HIGHscripts/sync-gitbook-release-spaces.py27Get the ID of a Gitbook space based on its name and collection. Args: name: The name of the space to find. STRING
HIGHscripts/sync-gitbook-release-spaces.py80Duplicate a Gitbook space. Args: space_id: The ID of the space to duplicate. headers: The headers fSTRING
HIGHscripts/redeploy-release-prep-tenant.py23Get an access token for the staging API. Args: client_id: The client ID for authentication. client_STRING
HIGHscripts/redeploy-release-prep-tenant.py105Get the current status of a specific tenant. Args: token: The access token for authentication. tenaSTRING
HIGHscripts/manage_workspace.py108Get an access token for the staging API. Args: client_id: The client ID for authentication. client_STRING
HIGHscripts/manage_workspace.py138Get a workspace by name or ID. Args: token: The access token for authentication. workspace_name_or_STRING
HIGHscripts/manage_workspace.py171Creating a workspace. Args: token: The access token for authentication. workspace_name: The name ofSTRING
HIGHsrc/zenml/client.py925Update a user. Args: name_id_or_prefix: The name or ID of the user to update. updated_nSTRING
HIGHsrc/zenml/client.py1391Updates a stack and its components. Args: name_id_or_prefix: The name, id or prefix of the stack toSTRING
HIGHsrc/zenml/client.py1946Fetches a registered stack component. If the name_id_or_prefix is provided, it will try to fetch the component STRING
HIGHsrc/zenml/client.py2141Updates a stack component. Args: name_id_or_prefix: The name, id or prefix of the stack component tSTRING
HIGHsrc/zenml/client.py2575Creates a new flavor. Args: source: The flavor to create. component_type: The type of tSTRING
HIGHsrc/zenml/client.py2719Fetches a registered flavor. Args: component_type: The type of the component to fetch. STRING
HIGHsrc/zenml/client.py2864Get a build by id or prefix. Args: id_or_prefix: The id or id prefix of the build. projSTRING
HIGHsrc/zenml/client.py3022Get a snapshot by name, id or prefix. Args: name_id_or_prefix: The name, id or prefix of the snapshSTRING
HIGHsrc/zenml/client.py3281Run a pipeline snapshot. Usage examples: * Run a specific snapshot by ID: ```python CliSTRING
HIGHsrc/zenml/client.py3656Provision a deployment. Args: name_id_or_prefix: Name/ID/ID prefix of the deployment to provision. STRING
HIGHsrc/zenml/client.py3899Refresh the status of a deployment. Args: name_id_or_prefix: Name/ID/ID prefix of the deployment toSTRING
HIGHsrc/zenml/client.py3951Get the logs of a deployment. Args: name_id_or_prefix: Name/ID/ID prefix of the deployment to get tSTRING
HIGHsrc/zenml/client.py4338Retrieve a schedule trigger by name, ID, or prefix. Args: trigger_name_id_or_prefix: The name, ID, STRING
913 more matches not shown…
Hyper-Verbose Identifiers3885 hits · 3734 pts
SeverityFileLineSnippetContext
LOWCLAUDE.md121def requires_resources_in_orchestration_environment(step: "Step") -> bool:CODE
LOWtests/conftest.py173def check_module_requirements(CODE
LOWtests/conftest.py529def remote_container_registry():CODE
LOWtests/unit/conftest.py176def remote_container_registry():CODE
LOWtests/unit/conftest.py256def unconnected_two_step_pipeline():CODE
LOWtests/unit/conftest.py295def step_context_with_no_output(CODE
LOWtests/unit/conftest.py309def step_context_with_single_output(CODE
LOWtests/unit/conftest.py326def step_context_with_two_outputs(CODE
LOWtests/unit/conftest.py381def sample_step_request_model() -> StepRunRequest:CODE
LOWtests/unit/conftest.py449def sample_pipeline_snapshot_request_model() -> PipelineSnapshotRequest:CODE
LOWtests/unit/conftest.py465def sample_pipeline_run_request_model() -> PipelineRunRequest:CODE
LOWtests/unit/conftest.py498def sample_artifact_version_model(CODE
LOWtests/unit/conftest.py523def sample_step_run_input_response(CODE
LOWtests/unit/conftest.py534def sample_artifact_request_model() -> ArtifactVersionRequest:CODE
LOWtests/unit/conftest.py636def sample_snapshot_response_model(CODE
LOWtests/unit/conftest.py666def sample_build_response_model(CODE
LOWtests/unit/conftest.py687def sample_code_repo_response_model(CODE
LOWtests/unit/test_flavor.py138def test_integration_sdk_docs_url():CODE
LOWtests/unit/test_flavor.py153def test_validate_flavor_source_returns_class_and_instance():CODE
LOWtests/unit/test_flavor.py164def test_flavor_from_model_does_not_call_non_flavor_source():CODE
LOW⚡tests/unit/test_flavor.py177def test_flavor_from_model_raises_custom_import_error():CODE
LOW⚡tests/unit/test_flavor.py185def test_flavor_from_model_skips_implementation_class_validation():CODE
LOW⚡tests/unit/test_flavor.py194def test_validate_flavor_source_validates_implementation_class_by_default():CODE
LOWtests/unit/test_general.py27def test_debug_mode_enabled_for_tests():CODE
LOWtests/unit/test_constants.py36def test_handle_positive_int_env_var(monkeypatch):CODE
LOWtests/unit/test_logger.py152def test_init_logging_is_idempotent() -> None:CODE
LOWtests/unit/test_logger.py189def test_init_logging_preserves_foreign_root_handlers() -> None:CODE
LOWtests/unit/test_logger.py214def test_removing_zenml_handlers_does_not_remove_foreign_handlers() -> None:CODE
LOWtests/unit/test_logger.py236def test_default_console_logging_format_selects_console_formatter(CODE
LOWtests/unit/test_logger.py259def test_custom_console_logging_format_is_used(CODE
LOWtests/unit/test_logger.py273def test_invalid_console_logging_format_falls_back_to_console_formatter(CODE
LOWtests/unit/test_logger.py296def test_deprecated_logging_format_alias_uses_custom_console_format(CODE
LOWtests/unit/test_logger.py310def test_deprecated_logging_format_alias_warns_on_init(CODE
LOWtests/unit/test_logger.py328def test_console_logging_format_takes_precedence_over_deprecated_alias(CODE
LOWtests/unit/test_logger.py353def test_deprecated_logging_format_alias_selects_json(CODE
LOWtests/unit/test_logger.py369def test_server_logs_use_custom_console_format(CODE
LOWtests/unit/test_logger.py388def test_server_logs_default_to_structured_console_format(CODE
LOWtests/unit/test_logger.py456def test_json_logs_keep_message_unprefixed_when_step_prefix_is_enabled(CODE
LOWtests/unit/test_logger.py476def test_json_logs_include_exception_and_stack_info(CODE
LOWtests/unit/test_logger.py505def test_structured_console_formatted_logs(CODE
LOWtests/unit/test_logger.py544def test_structured_console_logs_prefix_step_name_when_enabled(CODE
LOWtests/unit/test_logger.py578def test_structured_console_logs_append_traceback_and_stack_info_after_extras(CODE
LOWtests/unit/test_logger.py613def test_extra_collision_with_reserved_key_raises() -> None:CODE
LOWtests/unit/test_logger.py627def test_compact_console_logs_include_extras_for_client_info_logs(CODE
LOWtests/unit/test_logger.py656def test_compact_console_logs_prefix_step_name_when_enabled(CODE
LOWtests/unit/test_logger.py683def test_custom_console_format_prefixes_step_name_when_enabled(CODE
LOWtests/unit/test_logger.py708def test_console_highlights_backticks_and_urls(CODE
LOWtests/unit/test_logger.py731def test_color_disabled_strips_ansi_and_preserves_message(CODE
LOWtests/unit/test_logger.py755def test_wrapped_stdout_stores_raw_message_without_step_prefix(CODE
LOWtests/unit/test_logger.py798def test_logging_context_step_name_prefix_uses_legacy_env_semantics(CODE
LOWtests/unit/test_logger.py894def test_contextvars_filter_copies_bound_context_to_log_record() -> None:CODE
LOWtests/unit/test_logger.py908def test_contextvars_filter_preserves_existing_log_record_fields() -> None:CODE
LOWtests/unit/test_logger.py921def test_step_name_filter_copies_active_step_to_log_record(CODE
LOWtests/unit/test_logger.py936def test_step_name_filter_tolerates_step_context_errors(CODE
LOWtests/unit/test_logger.py951def test_logging_scope_restores_outer_context() -> None:CODE
LOWtests/unit/test_environment.py26def test_get_run_environment_dict():CODE
LOWtests/unit/test_environment.py47def test_environment_platform_info_correctness():CODE
LOWtests/unit/test_environment.py60def test_environment_is_singleton():CODE
LOWtests/unit/test_environment.py65def test_ipython_terminal_detection_when_not_installed():CODE
LOWtests/unit/artifacts/test_utils.py93def test_load_model_from_metadata(mocker, model_metadata_dir):CODE
3825 more matches not shown…
Over-Commented Block2174 hits · 2120 pts
SeverityFileLineSnippetContext
LOWalembic.ini1# A generic, single database configuration.COMMENT
LOWalembic.ini21# string value is passed to dateutil.tz.gettz()COMMENT
LOWalembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.COMMENT
LOWtrivy-secret.yaml1allow-rules:COMMENT
LOWinfra/gcp/gcp-gar-gcs-vertex-deploy.sh1#!/bin/bashCOMMENT
LOWtests/conftest.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/__init__.py1# Copyright (c) ZenML GmbH 2020. All Rights Reserved.COMMENT
LOWtests/cli_runner_utils.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/venv_clone_utils.py1# Copyright (c) 2011, Edward George, based on code contained within theCOMMENT
LOWtests/venv_clone_utils.py21COMMENT
LOWtests/unit/conftest.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/__init__.py1# Copyright (c) ZenML GmbH 2020. All Rights Reserved.COMMENT
LOWtests/unit/test_flavor.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/test_general.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/test_constants.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/test_logger.py1"""Unit tests for ZenML logging setup and formatters."""COMMENT
LOWtests/unit/test_environment.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/artifacts/test_utils.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/artifacts/test_base_artifact.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/artifacts/__init__.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/deployers/__init__.py1# Copyright (c) ZenML GmbH 2024. All Rights Reserved.COMMENT
LOWtests/unit/deployers/server/test_service.py1# Copyright (c) ZenML GmbH 2025. All Rights Reserved.COMMENT
LOWtests/unit/deployers/server/test_runtime.py1# Copyright (c) ZenML GmbH 2025. All Rights Reserved.COMMENT
LOWtests/unit/deployers/server/__init__.py1# Copyright (c) ZenML GmbH 2024. All Rights Reserved.COMMENT
LOWtests/unit/deployers/server/test_parameter_flow.py1# Copyright (c) ZenML GmbH 2024. All Rights Reserved.COMMENT
LOWtests/unit/deployers/server/test_service_outputs.py1# Copyright (c) ZenML GmbH 2025. All Rights Reserved.COMMENT
LOWtests/unit/sandboxes/test_docker_sandbox.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/sandboxes/test_local_sandbox.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/sandboxes/test_base_sandbox.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/container_registries/__init__.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOW…ontainer_registries/test_default_container_registry.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOW…t/container_registries/test_base_container_registry.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/config/test_pipeline_configurations.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/config/test_compiler.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/config/__init__.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/config/test_global_config.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/config/test_resource_settings.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/config/test_settings_resolver.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/config/test_base_settings.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/config/test_secret_reference_mixin.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/config/test_step_configurations.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/config/test_docker_settings.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/io/__init__.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/io/test_fileio.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/container_engine/test_docker_engine.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/container_engine/test_factory.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/__init__.py1# Copyright (c) ZenML GmbH 2020. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/test_schedule.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/test_base_pipeline.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/test_base_pipeline.py461# deployment: PipelineDeploymentBase,COMMENT
LOWtests/unit/pipelines/test_base_pipeline.py481# "zenml.stack.stack.Stack.deploy_pipeline", new=cache_enabled_mockCOMMENT
LOWtests/unit/pipelines/test_run_utils.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/test_build_utils.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/dynamic/__init__.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOW…nit/pipelines/dynamic/test_entrypoint_configuration.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/pipelines/dynamic/test_pipeline.py1# Copyright (c) ZenML GmbH 2026. All Rights Reserved.COMMENT
LOWtests/unit/utils/test_singleton.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
LOWtests/unit/utils/test_filesync_model.py1# Copyright (c) ZenML GmbH 2023. All Rights Reserved.COMMENT
LOWtests/unit/utils/test_secret_utils.py1# Copyright (c) ZenML GmbH 2022. All Rights Reserved.COMMENT
LOWtests/unit/utils/test_string_utils.py1# Copyright (c) ZenML GmbH 2021. All Rights Reserved.COMMENT
2114 more matches not shown…
Unused Imports2096 hits · 1885 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_environment.py68CODE
LOWtests/unit/artifacts/test_utils.py34CODE
LOWtests/unit/deployers/server/test_service.py16CODE
LOWtests/unit/orchestrators/test_step_runner_outputs.py3CODE
LOW…ts/unit/scripts/test_dependency_audit_severity_gate.py3CODE
LOWtests/unit/stack/test_utils.py17CODE
LOWtests/unit/materializers/test_built_in_materializer.py19CODE
LOW…ation/integrations/databricks/test_databricks_utils.py16CODE
LOW…tabricks/orchestrators/test_databricks_orchestrator.py16CODE
LOW…p_operators/test_databricks_step_operator_validator.py16CODE
LOW…step_operators/test_databricks_step_operator_flavor.py16CODE
LOW…bricks/step_operators/test_databricks_step_operator.py16CODE
LOW…on/integrations/mlflow/experiment_trackers/__init__.py14CODE
LOW…ation/integrations/gcp/experiment_trackers/__init__.py14CODE
LOW…integration/integrations/huggingface/steps/__init__.py15CODE
LOW…n/integrations/trackio/experiment_trackers/__init__.py16CODE
LOWtests/integration/examples/utils.py34CODE
LOWtests/integration/examples/utils.py36CODE
LOWtests/integration/examples/utils.py36CODE
LOW…sts/integration/examples/xgboost/pipelines/__init__.py14CODE
LOWtests/integration/examples/xgboost/steps/__init__.py14CODE
LOWtests/integration/examples/xgboost/steps/__init__.py15CODE
LOWtests/integration/examples/xgboost/steps/__init__.py16CODE
LOWtests/integration/examples/sklearn/steps/__init__.py15CODE
LOWtests/integration/examples/sklearn/steps/__init__.py16CODE
LOWtests/integration/examples/sklearn/steps/__init__.py17CODE
LOW…sts/integration/examples/whylogs/pipelines/__init__.py14CODE
LOWtests/integration/examples/whylogs/steps/__init__.py14CODE
LOWtests/integration/examples/whylogs/steps/__init__.py15CODE
LOWtests/integration/examples/whylogs/steps/__init__.py15CODE
LOWtests/integration/examples/whylogs/steps/__init__.py16CODE
LOW…integration/examples/huggingface/pipelines/__init__.py14CODE
LOW…integration/examples/huggingface/pipelines/__init__.py17CODE
LOW…integration/examples/huggingface/pipelines/__init__.py20CODE
LOW…integration/examples/huggingface/pipelines/__init__.py21CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py14CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py15CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py16CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py17CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py18CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py21CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py24CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py25CODE
LOWtests/integration/examples/bentoml/service.py1CODE
LOWtests/integration/examples/scipy/pipelines/__init__.py14CODE
LOWtests/integration/examples/scipy/steps/__init__.py14CODE
LOWtests/integration/examples/scipy/steps/__init__.py15CODE
LOWtests/integration/examples/scipy/steps/__init__.py16CODE
LOWtests/integration/examples/scipy/steps/__init__.py17CODE
LOW…ation/functional/artifacts/test_base_artifact_store.py20CODE
LOW…tegration/functional/artifacts/test_artifact_config.py20CODE
LOW…tegration/functional/pipelines/test_pipeline_config.py22CODE
LOW…egration/functional/pipelines/test_pipeline_context.py13CODE
LOWtests/integration/functional/models/test_artifact.py37CODE
LOW…sts/integration/functional/models/test_pipeline_run.py27CODE
LOWtests/integration/functional/models/test_step_run.py33CODE
LOWtests/integration/functional/models/test_step_run.py34CODE
LOWtests/integration/functional/models/test_pipeline.py25CODE
LOWtests/integration/functional/cli/test_model.py23CODE
LOWtests/integration/functional/zen_stores/utils.py112CODE
2036 more matches not shown…
Decorative Section Separators205 hits · 740 pts
SeverityFileLineSnippetContext
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py201# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py203# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py265# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py267# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py323# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py325# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py379# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py381# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py456# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py458# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py584# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py586# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py707# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py709# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py768# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…nit/execution/pipeline/dynamic/test_child_pipelines.py770# ---------------------------------------------------------------------------COMMENT
MEDIUM…nit/execution/pipeline/dynamic/test_child_pipelines.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM…nit/execution/pipeline/dynamic/test_child_pipelines.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM…nit/execution/pipeline/dynamic/test_child_pipelines.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM…nit/execution/pipeline/dynamic/test_child_pipelines.py85# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…on/integrations/kubernetes/test_k8s_template_engine.py24# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…on/integrations/kubernetes/test_k8s_template_engine.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…on/integrations/kubernetes/test_k8s_template_engine.py124# ---------------------------------------------------------------------------STRING
MEDIUM⚡…on/integrations/kubernetes/test_k8s_template_engine.py126# ---------------------------------------------------------------------------STRING
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py35# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py204# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py206# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py286# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py288# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py447# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py449# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py518# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py520# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py623# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ntegration/integrations/kubernetes/test_k8s_applier.py625# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py124# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py163# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py165# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py190# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py192# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py265# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py267# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py355# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py357# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py608# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py610# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py640# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py642# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py675# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ion/integrations/modal/sandboxes/test_modal_sandbox.py677# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/integration/functional/test_client.py697# ---------------COMMENT
MEDIUMtests/integration/functional/test_client.py699# ---------------COMMENT
MEDIUMtests/integration/functional/test_client.py763# --------------------COMMENT
MEDIUMtests/integration/functional/test_client.py765# --------------------COMMENT
MEDIUMdocs/link_checker.py85# ------------------------------------------------------------------------------COMMENT
MEDIUMdocs/link_checker.py96# ------------------------------------------------------------------------------COMMENT
MEDIUM…etting-started/deploying-zenml/custom-secret-stores.md20 # ---------------------------------COMMENT
MEDIUM…etting-started/deploying-zenml/custom-secret-stores.md22 # ---------------------------------COMMENT
145 more matches not shown…
Empty Error Handlers153 hits · 712 pts
SeverityFileLineSnippetContext
HIGHtests/unit/zen_server/streaming/test_broadcaster.py88except BaseException:CODE
HIGH…/execution/pipeline/dynamic/test_sync_step_chaining.py154except RuntimeError:CODE
HIGHtests/stress-test/utils.py183except ValueError:CODE
HIGH…ons/hyperai/orchestrators/test_hyperai_orchestrator.py77except RuntimeError:CODE
HIGH…ons/hyperai/orchestrators/test_hyperai_orchestrator.py86except RuntimeError:CODE
HIGHtests/integration/examples/utils.py371except Exception:CODE
HIGHtests/integration/examples/utils.py382except ImageNotFound:CODE
HIGHtests/integration/functional/test_client.py1062except KeyError:CODE
HIGH…tegration/functional/pipelines/test_multi_user_crud.py38except RuntimeError:CODE
HIGH…gration/functional/pipelines/test_pipeline_parallel.py99except OSError:CODE
HIGH…ts/integration/functional/cli/test_stack_components.py135except KeyError:CODE
HIGH…ts/integration/functional/cli/test_stack_components.py187except KeyError:CODE
HIGH…ts/integration/functional/cli/test_stack_components.py263except KeyError:CODE
HIGHtests/integration/functional/cli/utils.py137except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py907except (EntityExistsError, IntegrityError):CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py950except (EntityExistsError, IntegrityError):CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py846except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py851except (KeyError, IllegalOperationError):CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6646except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6652except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6658except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6664except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6670except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6676except KeyError:CODE
HIGH…ts/integration/functional/zen_stores/test_zen_store.py6682except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py431except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py471except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py549except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py587except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py650except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py782except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py175except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py179except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py184except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py192except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py269except (KeyError, IllegalOperationError):CODE
HIGHtests/integration/functional/zen_stores/utils.py357except (KeyError, IllegalOperationError):CODE
HIGHtests/integration/functional/zen_stores/utils.py512except KeyError:CODE
HIGHtests/integration/functional/zen_stores/utils.py970except KeyError:CODE
HIGH…sts/integration/functional/model/test_model_version.py66except KeyError:CODE
HIGH…sts/integration/functional/model/test_model_version.py100except KeyError:CODE
HIGH…sts/integration/functional/model/test_model_version.py92except KeyError:CODE
HIGH…sts/integration/functional/model/test_model_version.py639except KeyError:CODE
HIGH…sts/integration/functional/model/test_model_version.py703except KeyError:CODE
HIGHtests/integration/functional/webhooks/test_zen_store.py325except KeyError:CODE
HIGHtests/integration/functional/webhooks/test_cli.py48except KeyError:CODE
HIGHdocs/link_checker.py475except requests.RequestException:CODE
HIGH…/agent_framework_integrations/openai_agents_sdk/run.py127except OSError:CODE
HIGHexamples/computer_vision/steps/fiftyone_analysis.py66except Exception:CODE
HIGHexamples/llm_finetuning/steps/promote.py52except KeyError:CODE
HIGHsrc/zenml/client.py6109except RuntimeError:CODE
HIGHsrc/zenml/client.py3443except RuntimeError:CODE
HIGHsrc/zenml/logger.py682except Exception:CODE
HIGHsrc/zenml/logger.py830except Exception:CODE
HIGHsrc/zenml/artifacts/utils.py1151except ImportError:CODE
HIGHsrc/zenml/deployers/utils.py222except (json.JSONDecodeError, ValueError):CODE
HIGHsrc/zenml/deployers/server/app.py929except KeyboardInterrupt:CODE
HIGHsrc/zenml/sandboxes/local_sandbox.py156except ProcessLookupError:CODE
HIGHsrc/zenml/dispatcher/dispatcher.py55except ValueError:CODE
HIGHsrc/zenml/utils/typing_utils.py182except TypeError: # pragma: no coverCODE
93 more matches not shown…
Excessive Try-Catch Wrapping566 hits · 558 pts
SeverityFileLineSnippetContext
LOWinfra/aws/aws-ecr-s3-sagemaker.yaml395 except Exception as e:CODE
MEDIUMinfra/aws/aws-ecr-s3-sagemaker.yaml396 print(f"Error: {str(e)}")CODE
MEDIUMinfra/aws/aws-ecr-s3-sagemaker.yaml347def handler(event, context):CODE
MEDIUMtests/unit/sandboxes/test_local_sandbox.py547def _run() -> None:CODE
LOWtests/unit/sandboxes/test_local_sandbox.py550 except Exception as e:CODE
LOWtests/stress-test/utils.py349 except Exception as e:CODE
LOWtests/integration/examples/utils.py371 except Exception:CODE
LOW…/integration/examples/seldon/custom_predict/pytorch.py81 except Exception as e:CODE
LOW…ation/functional/artifacts/test_base_artifact_store.py41 except Exception as e:CODE
LOW…ation/functional/artifacts/test_base_artifact_store.py61 except Exception as e:CODE
LOWtests/integration/functional/zen_stores/utils.py255 except Exception:CODE
LOWtests/integration/functional/zen_stores/utils.py336 except Exception:CODE
LOWtests/integration/functional/zen_stores/utils.py392 except Exception:CODE
LOWtests/harness/environment.py412 except Exception as e:CODE
LOWtests/harness/environment.py421 except Exception as e1:CODE
LOWtests/harness/environment.py436 except Exception as e:CODE
LOWdocs/link_checker.py184 except Exception:CODE
LOWdocs/link_checker.py599 except Exception as e:CODE
MEDIUMdocs/link_checker.py981 print("Error: Link validation requires the 'requests' package.")CODE
LOWdocs/link_checker.py1065 except Exception as e:CODE
MEDIUMdocs/link_checker.py1066 print(f"Error processing {file_path}: {e}", file=sys.stderr)CODE
LOWdocs/link_checker.py1135 except Exception as e:CODE
MEDIUMdocs/link_checker.py1136 print(f"Error processing {file_path}: {e}", file=sys.stderr)CODE
LOWdocs/sys_modules_mock.py125 except Exception as e:CODE
LOW…de/tutorial/trigger-pipelines-from-external-systems.md727 except Exception as e:CODE
LOW…de/tutorial/trigger-pipelines-from-external-systems.md757 except Exception as e:CODE
LOW…de/tutorial/trigger-pipelines-from-external-systems.md1021except Exception as e:CODE
MEDIUM…de/tutorial/trigger-pipelines-from-external-systems.md738def run_pipeline():CODE
LOW…e/llmops-guide/rag-with-zenml/embeddings-generation.md71 except Exception as e:CODE
LOW…er-guide/llmops-guide/rag-with-zenml/data-ingestion.md138 except Exception as e:CODE
LOW…-with-zenml/storing-embeddings-in-a-vector-database.md95 except Exception as e:STRING
LOW…ok/getting-started/zenml-pro/scripts/sync_sso_users.py766 except Exception:CODE
LOWdocs/book/component-guide/log-stores/custom.md288 except Exception:CODE
LOWdocs/book/component-guide/orchestrators/vertex.md297 except Exception as e:CODE
LOWdocs/book/component-guide/orchestrators/vertex.md306 except Exception as e:CODE
LOWdocs/book/component-guide/alerters/custom.md78 except Exception as e:CODE
LOWdocs/book/component-guide/alerters/custom.md113 except Exception as e:CODE
LOWexamples/sandbox_harbor/zenml_harbor_env.py150 except Exception:CODE
MEDIUMexamples/rlm_document_analysis/setup_data.py106 print("Error: 'datasets' package required. Install with:")CODE
LOWexamples/rlm_document_analysis/utils/llm.py97 except Exception as e:CODE
LOW⚡…nt_framework_integrations/langchain/langchain_agent.py20 except Exception as e:CODE
LOWexamples/agent_framework_integrations/google_adk/run.py57 except Exception as e:CODE
LOW⚡examples/agent_framework_integrations/google_adk/run.py105 except Exception:CODE
LOW⚡examples/agent_framework_integrations/google_adk/run.py111 except Exception as e:CODE
LOWexamples/software_factory/factory_utils.py525 except Exception as e:CODE
LOWexamples/software_factory/factory_utils.py823 except Exception as e:CODE
LOWexamples/computer_vision/run.py140 except Exception:CODE
LOWexamples/computer_vision/run.py190 except Exception as e:CODE
LOWexamples/computer_vision/launch_fiftyone.py53 except Exception as e:CODE
LOWexamples/computer_vision/launch_fiftyone.py129 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py192 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py240 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py289 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py316 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py346 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py370 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py422 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py466 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py512 except Exception as e:CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py624 except Exception as e:CODE
506 more matches not shown…
Self-Referential Comments122 hits · 352 pts
SeverityFileLineSnippetContext
MEDIUMinfra/gcp/gcp-gar-gcs-vertex-deploy.sh104# Create the Deployment Manager deploymentCOMMENT
MEDIUMtests/unit/artifacts/test_utils.py137 # Create a temporary file to save an integerCOMMENT
MEDIUMtests/unit/utils/test_exception_utils.py15 # Create a mock step instanceCOMMENT
MEDIUMtests/unit/utils/test_exception_utils.py34 # Create a sample exception with tracebackCOMMENT
MEDIUMtests/unit/utils/test_code_utils.py25 # Create a file on disk so os.path.exists passesCOMMENT
MEDIUMtests/unit/orchestrators/test_cache_utils.py339 # Create a pipeline snapshot, pipeline run and step runCOMMENT
MEDIUMtests/unit/steps/test_base_step.py862 # This class is not supported as a parameter as it's not JSONCOMMENT
MEDIUMtests/unit/services/test_service.py29# Create a concrete subclass of BaseServiceCOMMENT
MEDIUMtests/unit/materializers/test_path_materializer.py29 # Create a temporary directory with some test filesCOMMENT
MEDIUMtests/unit/materializers/test_path_materializer.py31 # Create the test directoryCOMMENT
MEDIUMtests/unit/materializers/test_path_materializer.py42 # Create a subdirectory with a fileCOMMENT
MEDIUM⚡tests/unit/materializers/test_path_materializer.py76 # Create a temporary fileCOMMENT
MEDIUM⚡tests/unit/materializers/test_path_materializer.py78 # Create a test fileCOMMENT
MEDIUM⚡tests/unit/materializers/test_path_materializer.py102 # Create a temporary binary fileCOMMENT
MEDIUM⚡tests/unit/materializers/test_path_materializer.py104 # Create a test binary fileCOMMENT
MEDIUMtests/stress-test/utils.py978 # Define a fixed color scheme for statesCOMMENT
MEDIUM…/experiment_trackers/test_mlflow_experiment_tracker.py467 # Create a mock StepRunInfoCOMMENT
MEDIUM…egration/integrations/numpy/test_numpy_materializer.py96 # Create an array with Python objectsCOMMENT
MEDIUM…egration/integrations/numpy/test_numpy_materializer.py209 # Create an array with the specific integer typeCOMMENT
MEDIUMtests/integration/functional/artifacts/test_utils.py339 # Create a large artifact (> 8192 bytes to trigger chunking)COMMENT
MEDIUMtests/integration/functional/cli/test_secret.py380 # Create a secretCOMMENT
MEDIUM…ntegration/functional/zen_stores/test_secrets_store.py932 # Create a private secretCOMMENT
MEDIUM…ts/integration/functional/zen_stores/test_zen_store.py5811 # Creating a duplicate tag resource should not raise an errorCOMMENT
MEDIUM…ts/integration/functional/zen_stores/test_zen_store.py6496 # Create a deploymentCOMMENT
MEDIUMtests/integration/functional/zen_stores/utils.py312 # Create a temporary API key for the service accountCOMMENT
MEDIUMtests/integration/functional/zen_stores/utils.py1090 # Create the entity itselfCOMMENT
MEDIUMtests/harness/harness.py132 # Create a temporary environment for the testCOMMENT
MEDIUMdocs/link_checker.py903 # Create a clickable link format that works in many terminalsCOMMENT
MEDIUMdocs/sys_modules_mock.py11 """This class is used to mock the modules in the SDK docs.STRING
MEDIUMdocs/book/redirect-check.yaml1# This file defines the mapping between GitBook slugs and theirCOMMENT
MEDIUM⚡…nt_framework_integrations/langchain/langchain_agent.py24# Define the model and promptCOMMENT
MEDIUM⚡…nt_framework_integrations/langchain/langchain_agent.py30# Create the runnable chain that PanAgent will discoverCOMMENT
MEDIUM…ples/agent_framework_integrations/llama_index/agent.py13# Create the toolCOMMENT
MEDIUM…ples/agent_framework_integrations/llama_index/agent.py16# Create the agentCOMMENT
MEDIUM…/agent_framework_integrations/openai_agents_sdk/run.py60 # Create a standalone script to run the agent in a separate processCOMMENT
MEDIUM…amework_integrations/openai_agents_sdk/openai_agent.py46# Create the agent with function toolsCOMMENT
MEDIUMexamples/computer_vision/pipelines/hooks.py80 # This method is not used in the current implementation,COMMENT
MEDIUM⚡examples/computer_vision/steps/inference.py116 # Create a blank image for error casesCOMMENT
MEDIUMexamples/computer_vision/steps/inference.py157 # Create a blank image for error casesCOMMENT
MEDIUMexamples/computer_vision/steps/inference.py172 # Create a blank image for error casesCOMMENT
MEDIUMexamples/computer_vision/steps/inference.py194 # Create a blank image for error casesCOMMENT
MEDIUMexamples/agent_comparison/steps/testing.py106 # Create the three agent instances to returnCOMMENT
MEDIUMexamples/weather_agent/steps/weather_agent.py53 # Create a prompt for the LLMCOMMENT
MEDIUMscripts/find_orphaned_assets.py350 # Create a clickable linkCOMMENT
MEDIUMscripts/sync-gitbook-release-spaces.py139 # Define the endpoint URLCOMMENT
MEDIUMscripts/sync-gitbook-release-spaces.py142 # Create the payload for the requestCOMMENT
MEDIUMscripts/sync-gitbook-release-spaces.py188 # Create the headers for API requestsCOMMENT
MEDIUMscripts/add-docs-warning.sh6# Define the function to process each versionCOMMENT
MEDIUMscripts/add-docs-warning.sh15 # Create a new branch for the updatesCOMMENT
MEDIUMscripts/run-agent-examples.sh43# Create an output directory for logs (optional for debugging)COMMENT
MEDIUMscripts/run-agent-examples.sh84 # Create the virtual environmentCOMMENT
MEDIUMscripts/find_unreferenced_docs.py272 # Create a clickable link (file:// protocol)COMMENT
MEDIUMscripts/add_version_to_legacy_docs.py41 # Create the new table rowCOMMENT
MEDIUM.github/workflows/check-links.yml82 # Initialize FAILED variableCOMMENT
MEDIUM.github/workflows/release_finalize.yml32 # Create the release branchCOMMENT
MEDIUM.github/workflows/release_finalize.yml54 # Create the docs update PRCOMMENT
MEDIUM.github/workflows/release_finalize.yml83 # Create the migration test version if necessaryCOMMENT
MEDIUM.github/workflows/pr_workspace_deploy.yml84 # Create a Docker-compatible tag from branch nameCOMMENT
MEDIUM.github/workflows/release_prepare.yml121 # Create a PRCOMMENT
MEDIUMsrc/zenml/enums.py565 # Create a backup of the database in the remote database serviceCOMMENT
62 more matches not shown…
Deep Nesting431 hits · 346 pts
SeverityFileLineSnippetContext
LOWtests/venv_clone_utils.py170CODE
LOWtests/venv_clone_utils.py196CODE
LOWtests/venv_clone_utils.py238CODE
LOWtests/venv_clone_utils.py406CODE
LOWtests/stress-test/utils.py110CODE
LOWtests/stress-test/utils.py338CODE
LOWtests/stress-test/utils.py392CODE
LOWtests/stress-test/utils.py673CODE
LOWtests/stress-test/utils.py427CODE
LOW…grations/gcp/orchestrators/test_vertex_orchestrator.py182CODE
LOW…grations/gcp/orchestrators/test_vertex_orchestrator.py249CODE
LOW…tokenization/token_classification_tokenization_step.py21CODE
LOW…tokenization/token_classification_tokenization_step.py30CODE
LOW…ntegration/functional/zen_stores/test_secrets_store.py793CODE
LOW…ntegration/functional/zen_stores/test_secrets_store.py861CODE
LOW…ntegration/functional/zen_stores/test_secrets_store.py1401CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py2989CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py3010CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py3035CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py3069CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py4018CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py4246CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py599CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py625CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py764CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py6006CODE
LOW…sts/integration/functional/model/test_model_version.py289CODE
LOW…sts/integration/functional/model/test_model_version.py459CODE
LOWtests/harness/harness.py166CODE
LOWtests/harness/environment.py64CODE
LOWtests/harness/environment.py105CODE
LOWtests/harness/environment.py209CODE
LOWtests/harness/environment.py289CODE
LOWtests/harness/environment.py375CODE
LOWtests/harness/cli/environment.py37CODE
LOWtests/harness/deployment/client_sqlite.py55CODE
LOWdocs/mkdocstrings_helper.py69CODE
LOWdocs/link_checker.py348CODE
LOWdocs/link_checker.py498CODE
LOWdocs/link_checker.py681CODE
LOWdocs/link_checker.py911CODE
LOW…ok/getting-started/zenml-pro/scripts/sync_sso_users.py600CODE
LOWexamples/sandbox_harbor/run.py187CODE
LOWexamples/rlm_document_analysis/steps/processing.py118CODE
LOWexamples/rlm_document_analysis/steps/processing.py204CODE
LOWexamples/software_factory/factory_utils.py289CODE
LOWexamples/computer_vision/run.py55CODE
LOWexamples/computer_vision/launch_fiftyone.py59CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py376CODE
LOW…mples/computer_vision/annotators/fiftyone_annotator.py750CODE
LOWexamples/computer_vision/steps/inference.py43CODE
LOWexamples/agent_outer_loop/run.py32CODE
LOWexamples/agent_outer_loop/utils.py171CODE
LOW…search_agent/pipelines/hierarchical_search_pipeline.py79CODE
LOWexamples/agent_comparison/agents.py90CODE
LOWexamples/agent_comparison/agents.py276CODE
LOWexamples/agent_comparison/agents.py512CODE
LOWexamples/agent_comparison/steps/model_training.py17CODE
LOWexamples/deploying_agent/steps/ingest.py22CODE
LOWexamples/weather_agent/steps/weather_agent.py30CODE
371 more matches not shown…
Magic Placeholder Names54 hits · 338 pts
SeverityFileLineSnippetContext
HIGH⚡…de/tutorial/trigger-pipelines-from-external-systems.md254 -H 'Authorization: Bearer <YOUR_TOKEN>'CODE
HIGH⚡…de/tutorial/trigger-pipelines-from-external-systems.md260 -H 'Authorization: Bearer <YOUR_TOKEN>'CODE
HIGH⚡…de/tutorial/trigger-pipelines-from-external-systems.md267 -H 'Authorization: Bearer <YOUR_TOKEN>' \CODE
HIGH⚡docs/book/how-to/snapshots/snapshots.md176 -H 'Authorization: Bearer <YOUR-TOKEN>'CODE
HIGH⚡docs/book/how-to/snapshots/snapshots.md185 -H 'Authorization: Bearer <YOUR-TOKEN>'CODE
HIGH⚡docs/book/how-to/snapshots/snapshots.md195 -H 'Authorization: Bearer <YOUR-TOKEN>' \CODE
HIGH…tack-deployment/deploy-a-cloud-stack-with-terraform.md63export ZENML_API_KEY="<your-api-key>"CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md35 curl -H "Authorization: Bearer YOUR_API_KEY" https://cloudapi.zenml.io/users/meCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md40 wget -qO- --header="Authorization: Bearer YOUR_API_KEY" https://cloudapi.zenml.io/users/meCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md49 headers={"Authorization": f"Bearer YOUR_API_KEY"}CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md62 curl -X POST -d "password=<YOUR_API_KEY>" https://cloudapi.zenml.io/auth/loginCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md62 curl -X POST -d "password=<YOUR_API_KEY>" https://cloudapi.zenml.io/auth/loginCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md67 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md67 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGHdocs/book/getting-started/zenml-pro/service-accounts.md79 data={"password": "<YOUR_API_KEY>"},CODE
HIGHdocs/book/getting-started/zenml-pro/service-accounts.md79 data={"password": "<YOUR_API_KEY>"},CODE
HIGHdocs/book/getting-started/zenml-pro/service-accounts.md143export ZENML_STORE_API_KEY=<your-api-key>CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md171 curl -H "Authorization: Bearer YOUR_API_KEY" https://your-workspace-url/api/v1/current-userCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md176 wget -qO- --header="Authorization: Bearer YOUR_API_KEY" https://your-workspace-url/api/v1/current-userCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md185 headers={"Authorization": f"Bearer {YOUR_API_KEY}"}CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md199 curl -X POST -d "password=<YOUR_API_KEY>" https://your-workspace-url/api/v1/loginCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md199 curl -X POST -d "password=<YOUR_API_KEY>" https://your-workspace-url/api/v1/loginCODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md204 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGH⚡docs/book/getting-started/zenml-pro/service-accounts.md204 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGHdocs/book/getting-started/zenml-pro/service-accounts.md216 data={"password": "<YOUR_API_KEY>"},CODE
HIGHdocs/book/getting-started/zenml-pro/service-accounts.md216 data={"password": "<YOUR_API_KEY>"},CODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md62 curl -H "Authorization: Bearer YOUR_API_KEY" https://your-zenml-server/api/v1/current-userCODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md67 wget -qO- --header="Authorization: Bearer YOUR_API_KEY" https://your-zenml-server/api/v1/current-userCODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md76 headers={"Authorization": f"Bearer {YOUR_API_KEY}"}CODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md92 curl -X POST -d "password=<YOUR_API_KEY>" https://your-zenml-server/api/v1/loginCODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md92 curl -X POST -d "password=<YOUR_API_KEY>" https://your-zenml-server/api/v1/loginCODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md97 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGH⚡docs/book/api-docs/oss-api/oss-api/getting-started.md97 wget -qO- --post-data="password=<YOUR_API_KEY>" \CODE
HIGHdocs/book/api-docs/oss-api/oss-api/getting-started.md109 data={"password": "<YOUR_API_KEY>"},CODE
HIGHdocs/book/api-docs/oss-api/oss-api/getting-started.md109 data={"password": "<YOUR_API_KEY>"},CODE
HIGHdocs/book/component-guide/log-stores/otel.md96 --api_key=<YOUR_API_KEY>CODE
HIGHdocs/book/component-guide/log-stores/otel.md96 --api_key=<YOUR_API_KEY>CODE
HIGHdocs/book/component-guide/deployers/kubernetes.md81 --token=<YOUR_TOKEN> \CODE
HIGHexamples/rlm_document_analysis/README.md99export OPENAI_API_KEY="your-api-key"CODE
HIGHexamples/agent_framework_integrations/README.md44export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…mples/agent_framework_integrations/langgraph/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGHexamples/agent_framework_integrations/crewai/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…ples/agent_framework_integrations/qwen-agent/README.md9export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…ples/agent_framework_integrations/qwen-agent/README.md59export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…mples/agent_framework_integrations/langchain/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…les/agent_framework_integrations/llama_index/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…amples/agent_framework_integrations/haystack/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…agent_framework_integrations/semantic_kernel/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…ent_framework_integrations/openai_agents_sdk/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGHexamples/agent_framework_integrations/autogen/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…les/agent_framework_integrations/aws_strands/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGH…ples/agent_framework_integrations/pydanticai/README.md8export OPENAI_API_KEY="your-api-key-here"CODE
HIGHexamples/hierarchical_doc_search_agent/README.md64export OPENAI_API_KEY="your-api-key"CODE
HIGHexamples/agent_comparison/README.md51export OPENAI_API_KEY="your-api-key-here"CODE
Modern Structural Boilerplate271 hits · 268 pts
SeverityFileLineSnippetContext
LOWtests/unit/steps/test_heartbeat_worker.py24logger = logging.getLogger(__name__)CODE
LOW…sts/integration/examples/xgboost/pipelines/__init__.py16__all__ = ["xgboost_pipeline"]CODE
LOWtests/integration/examples/xgboost/steps/__init__.py18__all__ = ["data_loader", "trainer", "predictor"]CODE
LOW…sts/integration/examples/whylogs/pipelines/__init__.py16__all__ = ["data_profiling_pipeline"]CODE
LOWtests/integration/examples/whylogs/steps/__init__.py18__all__ = [CODE
LOW…integration/examples/huggingface/pipelines/__init__.py23__all__ = [CODE
LOW…sts/integration/examples/huggingface/steps/__init__.py27__all__ = [CODE
LOWtests/integration/examples/scipy/pipelines/__init__.py16__all__ = ["scipy_example_pipeline"]CODE
LOWtests/integration/examples/scipy/steps/__init__.py19__all__ = ["importer", "trainer", "predictor", "vectorizer"]CODE
LOWtests/harness/deployment/__init__.py32__all__ = [CODE
LOWtests/harness/model/__init__.py29__all__ = [CODE
LOW…ok/getting-started/zenml-pro/scripts/sync_sso_users.py43logger = logging.getLogger(__name__)CODE
LOWexamples/rlm_document_analysis/pipelines/__init__.py20__all__ = [CODE
LOWexamples/rlm_document_analysis/utils/llm.py24logger = logging.getLogger(__name__)CODE
LOWexamples/rlm_document_analysis/steps/loading.py24logger = logging.getLogger(__name__)CODE
LOWexamples/rlm_document_analysis/steps/aggregation.py30logger = logging.getLogger(__name__)CODE
LOWexamples/rlm_document_analysis/steps/__init__.py23__all__ = [CODE
LOWexamples/rlm_document_analysis/steps/decomposition.py26logger = logging.getLogger(__name__)CODE
LOWexamples/rlm_document_analysis/steps/processing.py57logger = logging.getLogger(__name__)CODE
LOW…_integrations/semantic_kernel/semantic_kernel_agent.py87__all__ = ["kernel", "create_kernel", "WeatherPlugin"]CODE
LOW…t_framework_integrations/openai_agents_sdk/__init__.py18__all__ = ["agent"]CODE
LOWexamples/computer_vision/annotators/__init__.py21__all__ = ["FiftyOneAnnotator"]CODE
LOWexamples/computer_vision/pipelines/__init__.py22__all__ = [CODE
LOWexamples/computer_vision/steps/__init__.py25__all__ = [CODE
LOWexamples/computer_vision/materializers/__init__.py21__all__ = ["UltralyticsYOLOMaterializer"]CODE
LOW…les/optuna_hyperparameter_tuning/pipelines/__init__.py5__all__ = ["sweep_pipeline", "adaptive_sweep_pipeline"]CODE
LOWexamples/optuna_hyperparameter_tuning/steps/__init__.py8__all__ = [CODE
LOWexamples/agent_outer_loop/prompts.py79__all__ = [CODE
LOWexamples/agent_outer_loop/utils.py72 def set_classifier(self, classifier: Any) -> None:CODE
LOWexamples/lakefs_data_versioning/pipelines/__init__.py17__all__ = ["training_pipeline"]CODE
LOWexamples/lakefs_data_versioning/utils/__init__.py26__all__ = [CODE
LOWexamples/lakefs_data_versioning/steps/__init__.py19__all__ = ["ingest_data", "validate_data", "train_model"]CODE
LOW…es/hierarchical_doc_search_agent/pipelines/__init__.py20__all__ = [CODE
LOW…amples/hierarchical_doc_search_agent/steps/__init__.py27__all__ = [CODE
LOWexamples/hierarchical_doc_search_agent/steps/search.py34logger = logging.getLogger(__name__)CODE
LOWexamples/agent_comparison/pipelines/__init__.py5__all__ = ["compare_agent_architectures"]CODE
LOWexamples/agent_comparison/steps/__init__.py8__all__ = [CODE
LOWexamples/agent_comparison/materializers/__init__.py15__all__ = [CODE
LOWexamples/deploying_agent/pipelines/__init__.py8__all__ = [CODE
LOWexamples/deploying_agent/steps/__init__.py18__all__ = [CODE
LOWexamples/baseten_robot_policy/pipelines/__init__.py21__all__ = ["robot_policy_pipeline"]CODE
LOWexamples/baseten_robot_policy/steps/__init__.py21__all__ = ["prepare_training_run"]CODE
LOWexamples/weather_agent/pipelines/__init__.py9__all__ = [CODE
LOWexamples/weather_agent/steps/__init__.py9__all__ = [CODE
LOWexamples/hydra_config_management/pipelines/__init__.py5__all__ = ["hydra_training_pipeline"]CODE
LOWexamples/hydra_config_management/steps/__init__.py6__all__ = [CODE
LOWexamples/deploying_ml_model/pipelines/__init__.py23__all__ = [CODE
LOWexamples/deploying_ml_model/steps/__init__.py23__all__ = ["generate_churn_data", "train_churn_model", "predict_churn"]CODE
LOWscripts/sync-gitbook-release-spaces.py104def update_space(space_id: str, changes: dict, headers: dict) -> None:CODE
LOWscripts/redeploy-release-prep-tenant.py52def update_tenant(token: str, tenant_id: str, new_version: str) -> None:CODE
LOWsrc/zenml/client.py285 def set_active_project(self, project: "ProjectResponse") -> None:CODE
LOWsrc/zenml/client.py294 def set_active_stack(self, stack: "StackResponse") -> None:CODE
LOWsrc/zenml/client.py453 def _set_active_root(self, root: Optional[Path] = None) -> None:CODE
LOWsrc/zenml/client.py9424 def set_api_key(self, key: str) -> None:CODE
LOWsrc/zenml/__init__.py70__all__ = [CODE
LOWsrc/zenml/code_repositories/__init__.py23__all__ = ["BaseCodeRepository", "LocalRepositoryContext"]CODE
LOWsrc/zenml/code_repositories/git/__init__.py20__all__ = [CODE
LOWsrc/zenml/model_deployers/__init__.py38__all__ = [CODE
LOWsrc/zenml/alerter/__init__.py27__all__ = [CODE
LOWsrc/zenml/artifacts/in_memory_cache.py48 def set_artifact_data(self, id_: UUID, data: Any) -> None:CODE
211 more matches not shown…
Redundant / Tautological Comments138 hits · 174 pts
SeverityFileLineSnippetContext
LOW…ts/integration/functional/utils/test_metadata_utils.py82 # Check if the metadata was tagged correctlyCOMMENT
LOWtests/harness/deployment/client_mariadb.py79 # Check if container exists and is runningCOMMENT
LOWtests/harness/deployment/client_mysql.py79 # Check if container exists and is runningCOMMENT
LOW…ok/getting-started/zenml-pro/scripts/sync_sso_users.py622 # Check if invitation already existsCOMMENT
LOWexamples/rlm_document_analysis/steps/processing.py384 # Check if we have budget for a REFLECT call (need >=2 remaining:STRING
LOWexamples/computer_vision/launch_fiftyone.py74 # Check if it has predictionsCOMMENT
LOWexamples/e2e_nlp/pipelines/deploying.py38# Check if orchestrator flavor is localCOMMENT
LOWexamples/e2e_nlp/steps/training/model_trainer.py46# Check if experiment tracker is set and is of type MLFlowExperimentTrackerCOMMENT
LOWexamples/e2e_nlp/steps/register/model_log_register.py39# Check if experiment tracker is set and is of type MLFlowExperimentTrackerCOMMENT
LOWexamples/hierarchical_doc_search_agent/steps/search.py131 # Check if this is a transient error (or wrapped transient error)COMMENT
LOWexamples/agent_comparison/run.py22 # Check if real LLMs will be usedCOMMENT
LOWexamples/deploying_agent/steps/ingest.py160 # Check if path exists in artifact storeCOMMENT
LOWexamples/deploying_agent/steps/ingest.py162 # Read file from artifact storeCOMMENT
LOWscripts/find_orphaned_assets.py441 # Print the results in the chosen formatCOMMENT
LOWscripts/sync-gitbook-release-spaces.py68 # Check if there are more pagesCOMMENT
LOWscripts/sync-gitbook-release-spaces.py175 # Check if all required environment variables are setCOMMENT
LOWscripts/gitbook_redirect_check.py115 # Check if this is a section header line (starting with ##)COMMENT
LOWscripts/gitbook_redirect_check.py124 # Check if this is a list item line with a link (* [something](somepath.md))COMMENT
LOWscripts/validate-new-version.sh8# Check if the planned version is passed as an argumentCOMMENT
LOWscripts/validate-new-version.sh17# Check if the version fits the SemVer formattingCOMMENT
LOWscripts/validate-new-version.sh30# Check if the latest release information was retrieved successfullyCOMMENT
LOWscripts/validate-new-version.sh43# Check if there are any PRs with breaking changesCOMMENT
LOWscripts/find_unreferenced_docs.py320 # Check if all TOC files existCOMMENT
LOWscripts/find_unreferenced_docs.py377 # Print the results in the chosen formatCOMMENT
LOWscripts/add-migration-test-version.sh6# Check if both old and new version arguments are providedCOMMENT
LOWscripts/add-migration-test-version.sh18# Check if the first line starts with the old versionCOMMENT
LOWscripts/test-migrations.sh118 # Check if the version supports templates via zenml init (> 0.43.0)COMMENT
LOWscripts/test-migrations.sh142 # Check if the version supports templates with arguments (> 0.52.0)COMMENT
LOWscripts/check-alembic-branches.sh6# Check if there's any outputCOMMENT
LOWscripts/profile-cli.sh102# Check if timeout command is availableCOMMENT
LOWscripts/profile-cli.sh274 # Check if command is slow (average time exceeds the threshold)COMMENT
LOWscripts/profile-cli.sh368# Display results tableCOMMENT
LOW.github/workflows/check-links.yml60 # Check if relative links resolve within the repositoryCOMMENT
LOWsrc/zenml/client.py1542 # Check if the stack component is part of another stackCOMMENT
LOWsrc/zenml/utils/yaml_utils.py141 # Check if it is a local path, if it doesn't exist, raise Exception.COMMENT
LOWsrc/zenml/utils/run_utils.py42 # Check if the stack is still accessibleCOMMENT
LOWsrc/zenml/utils/run_utils.py49 # Check if pipeline can be stoppedCOMMENT
LOWsrc/zenml/utils/run_utils.py61 # Check if the stack is still accessibleCOMMENT
LOWsrc/zenml/utils/run_utils.py101 # Check if the stack still accessibleCOMMENT
LOWsrc/zenml/utils/run_utils.py108 # Check if the orchestrator is still accessibleCOMMENT
LOWsrc/zenml/utils/networking_utils.py272 # Check if ngrok is already tunneling the portCOMMENT
LOWsrc/zenml/utils/io_utils.py268 # Check if the path is within the target directoryCOMMENT
LOWsrc/zenml/models/v2/base/filter.py821 # Check if user explicitly set an operandCOMMENT
LOWsrc/zenml/models/v2/base/base.py136 # Check if the name has changedCOMMENT
LOWsrc/zenml/models/v2/base/base.py403 # Check if the ID is the sameCOMMENT
LOWsrc/zenml/cli/stack_components.py1684 # Check if an attribute is set in the component configurationCOMMENT
LOWsrc/zenml/cli/service_connectors.py82 # Check if the name is takenCOMMENT
LOWsrc/zenml/cli/base.py216 # Check if template is a URL or a preset template nameCOMMENT
LOW…grations/hyperai/orchestrators/hyperai_orchestrator.py497 # Check if `at` is installed on HyperAI instanceCOMMENT
LOWsrc/zenml/integrations/azure/azureml_utils.py94 # Check if compute size matches with the settingsCOMMENT
LOW…tegrations/azure/orchestrators/azureml_orchestrator.py366 # Check if step settings differ from pipeline settings to avoid unnecessary Azure callsCOMMENT
LOW…egrations/databricks/services/databricks_deployment.py239 # Check if the endpoint URL is available after provisioningCOMMENT
LOWsrc/zenml/integrations/mlflow/steps/mlflow_registry.py124 # Check if the run ID have a model artifact if no model source URI is set.COMMENT
LOW…tions/mlflow/model_registries/mlflow_model_registry.py69 # Check if it uses the file schemeCOMMENT
LOW…tions/mlflow/model_registries/mlflow_model_registry.py225 # Check if model already exists.COMMENT
LOW…tions/mlflow/model_registries/mlflow_model_registry.py266 # Check if model exists.COMMENT
LOW…tions/mlflow/model_registries/mlflow_model_registry.py300 # Check if model exists.COMMENT
LOW…tions/mlflow/model_registries/mlflow_model_registry.py447 # Check if the model exists, if not create it.COMMENT
LOW…enml/integrations/mlflow/services/mlflow_deployment.py149 # Check if the mlserver and mlserver-mlflow packages are installedCOMMENT
LOW…/integrations/gcp/orchestrators/vertex_orchestrator.py374 # Check if any advanced parameters will override explicit parametersCOMMENT
78 more matches not shown…
Structural Annotation Overuse79 hits · 136 pts
SeverityFileLineSnippetContext
LOW.claude/skills/zenml-backport/skill.md18### Step 1: Create Backport BranchCOMMENT
LOW.claude/skills/zenml-backport/skill.md27### Step 2: Cherry-pick CommitsCOMMENT
LOW.claude/skills/zenml-backport/skill.md44### Step 3: Push and Create PRCOMMENT
LOW.claude/skills/zenml-backport/skill.md65### Step 4: Sync to Main (Manual - Hamza Only)COMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md41## Step 1: Working with PipelinesCOMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md86## Step 2: Accessing Pipeline RunsCOMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md157## Step 3: Examining Run InformationCOMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md196## Step 4: Working with StepsCOMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md253## Step 5: Working with ArtifactsCOMMENT
LOWdocs/book/user-guide/tutorial/fetching-pipelines.md356## Step 6: Fetching Information During Run ExecutionCOMMENT
LOW⚡…de/tutorial/trigger-pipelines-from-external-systems.md250# Step 1: Get the pipeline IDCOMMENT
LOW⚡…de/tutorial/trigger-pipelines-from-external-systems.md256# Step 2: Get the snapshot ID using the pipeline_idCOMMENT
LOW⚡…de/tutorial/trigger-pipelines-from-external-systems.md262# Step 3: Trigger the pipeline with custom parametersCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md37### Step 1: Create a Simple PipelineCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md62### Step 2: Create a ScheduleCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md102### Step 3: Verify the ScheduleCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md181### Step 4: Update the ScheduleCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md261### Step 5: Monitor Schedule ExecutionCOMMENT
LOW…ok/user-guide/tutorial/managing-scheduled-pipelines.md304### Step 6: Clean UpCOMMENT
LOW⚡…s-guide/rag-with-zenml/basic-rag-inference-pipeline.md38 # Step 1: Get documents related to the user input from databaseCOMMENT
LOW⚡…s-guide/rag-with-zenml/basic-rag-inference-pipeline.md43 # Step 2: Get completion from OpenAI APICOMMENT
LOW…astructure-deployment/infrastructure-as-code/README.md202### Step 1: Variables ConfigurationCOMMENT
LOW…astructure-deployment/infrastructure-as-code/README.md240### Step 2: Main ConfigurationCOMMENT
LOW…astructure-deployment/infrastructure-as-code/README.md365### Step 3: Outputs ConfigurationCOMMENT
LOW…astructure-deployment/infrastructure-as-code/README.md390### Step 4: terraform.tfvars ConfigurationCOMMENT
LOW…/contribute-to-zenml/implement-a-custom-integration.md14### Step 1: Plan out your integrationCOMMENT
LOW…/contribute-to-zenml/implement-a-custom-integration.md20### Step 2: Create individual stack component flavorsCOMMENT
LOW…/contribute-to-zenml/implement-a-custom-integration.md44### Step 3: Create an integration classCOMMENT
LOW…/contribute-to-zenml/implement-a-custom-integration.md124### Step 4: Create a PR and celebrate :tada:COMMENT
LOW…ting-started/deploying-zenml/migrate-to-gateway-api.md35### Step 1: Enable both (parallel period)COMMENT
LOW…ting-started/deploying-zenml/migrate-to-gateway-api.md56### Step 2: DNS cutoverCOMMENT
LOW…ting-started/deploying-zenml/migrate-to-gateway-api.md60### Step 3: Disable Ingress (cleanup)COMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md38### Step 1: Enroll the Workspace in the ZenML Pro Control PlaneCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md42### Step 2: Set Up AWS InfrastructureCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md82### Step 3: Set Up RDS DatabaseCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md102### Step 4: Store Secrets in AWS Secrets ManagerCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md116### Step 5: Create ECS IAM RolesCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md135### Step 6: Create ECS Task DefinitionCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md187### Step 7: Create ECS Cluster and ServiceCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md212### Step 8: Set Up Application Load BalancerCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md244### Step 9: Configure DNSCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-ecs.md255### Step 10: Verify the DeploymentCOMMENT
LOW…/getting-started/zenml-pro/deploy-control-plane-k8s.md54### Step 1: Create Kubernetes SecretsCOMMENT
LOW…/getting-started/zenml-pro/deploy-control-plane-k8s.md71### Step 2: Configure Helm Values for the Control PlaneCOMMENT
LOW…/getting-started/zenml-pro/deploy-control-plane-k8s.md188### Step 3: Deploy the ZenML Pro Control Plane with HelmCOMMENT
LOW…/getting-started/zenml-pro/deploy-control-plane-k8s.md219### Step 4: Onboard the ZenML Pro Control PlaneCOMMENT
LOW…/getting-started/zenml-pro/deploy-control-plane-k8s.md297### Step 5: Deploy and Enroll WorkspacesCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-k8s.md43### Step 1: Enroll the Workspace in the ZenML Pro Control PlaneCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-k8s.md47### Step 2: Create Kubernetes SecretsCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-k8s.md64### Step 3: Configure Helm Values for Workspace ServerCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-k8s.md175### Step 4: Deploy the ZenML Pro Workspace Server with HelmCOMMENT
LOW…book/getting-started/zenml-pro/deploy-workspace-k8s.md205### Step 5: Install Internal CA CertificatesCOMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md109### Step 1: Enable SSO While Keeping Password AuthenticationCOMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md119### Step 2: Log In with a Local User AccountCOMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md125### Step 3: Invite SSO Users to OrganizationsCOMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md139### Step 4: SSO Users Accept InvitationsCOMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md149### Step 5: Transfer Resource Ownership (Optional)COMMENT
LOW⚡docs/book/getting-started/zenml-pro/sso.md157### Step 6: Disable Password AuthenticationCOMMENT
LOW⚡…amples/rlm_document_analysis/pipelines/rlm_pipeline.py180 # Step 1: Validate data and build corpus summaryCOMMENT
LOW⚡…amples/rlm_document_analysis/pipelines/rlm_pipeline.py183 # Step 2: Decompose into chunk specsCOMMENT
19 more matches not shown…
Hallucination Indicators9 hits · 95 pts
SeverityFileLineSnippetContext
CRITICAL…l/integrations/s3/artifact_stores/s3_artifact_store.py157 s3._client._endpoint.http_session._connector._close()CODE
CRITICAL…ns/azure/service_connectors/azure_service_connector.py27from azure.core.exceptions import AzureErrorCODE
CRITICAL…zenml/zen_stores/secrets_stores/azure_secrets_store.py28from azure.core.exceptions import HttpResponseError, ResourceNotFoundErrorCODE
CRITICAL⚡…l/zen_stores/secrets_stores/hashicorp_secrets_store.py240 self._client.secrets.kv.v2.configure(CODE
CRITICAL…l/zen_stores/secrets_stores/hashicorp_secrets_store.py306 self.client.secrets.kv.v2.create_or_update_secret(CODE
CRITICAL…l/zen_stores/secrets_stores/hashicorp_secrets_store.py341 self.client.secrets.kv.v2.read_secret(CODE
CRITICAL…l/zen_stores/secrets_stores/hashicorp_secrets_store.py408 self.client.secrets.kv.v2.create_or_update_secret(CODE
CRITICAL…l/zen_stores/secrets_stores/hashicorp_secrets_store.py439 self.client.secrets.kv.v2.delete_metadata_and_all_versions(CODE
CRITICALsrc/zenml/container_engines/docker_engine.py402 output_stream = self.client.images.client.api.build(CODE
Modern AI Meta-Vocabulary31 hits · 92 pts
SeverityFileLineSnippetContext
MEDIUM.claude/agents/stefan-reviewer.md130## Edge cases and guardrails:COMMENT
MEDIUMdocs/book/introduction.md24* **[Kitaru](https://docs.zenml.io/kitaru)** is for **evaluating and improving agentic systems**. It turns recorded or iCOMMENT
MEDIUMdocs/book/user-guide/README.md9[Kitaru](https://docs.zenml.io/kitaru) is ZenML's sibling project for evals and improvement loops for agentic systems. ICODE
MEDIUM…de/tutorial/trigger-pipelines-from-external-systems.md928The FastAPI example above uses threading, but due to ZenML's architecture, concurrent pipeline execution will fail. For CODE
MEDIUM…-guide/llmops-guide/evaluation/evaluation-in-65-loc.md10# ...previous RAG pipeline code here...COMMENT
MEDIUM…s-guide/rag-with-zenml/basic-rag-inference-pipeline.md5# Simple RAG InferenceCOMMENT
MEDIUM…/book/user-guide/llmops-guide/rag-with-zenml/README.md5# RAG Pipelines with ZenMLCOMMENT
MEDIUM⚡…guide/llmops-guide/rag-with-zenml/understanding-rag.md7# Understanding Retrieval-Augmented Generation (RAG)COMMENT
MEDIUM⚡…guide/llmops-guide/rag-with-zenml/understanding-rag.md13## What exactly happens in a RAG pipeline?COMMENT
MEDIUM⚡…guide/llmops-guide/rag-with-zenml/understanding-rag.md23## When is RAG a good choice?COMMENT
MEDIUM⚡…guide/llmops-guide/rag-with-zenml/understanding-rag.md31## How does RAG fit into the ZenML ecosystem?COMMENT
MEDIUM…uide/llmops-guide/reranking/understanding-reranking.md45## Benefits of Reranking in RAGCOMMENT
MEDIUM…book/user-guide/production-guide/configure-pipeline.md54The first section is the so-called `settings` of the pipeline. This section has a `docker` key, which controls the [contCODE
MEDIUMdocs/book/how-to/steps-pipelines/dynamic_pipelines.md134 # This step will run in the orchestration environmentCOMMENT
MEDIUMdocs/book/how-to/secrets/secrets.md33# Example: Create secrets for multi-agent system credentialsCOMMENT
MEDIUMdocs/book/getting-started/system-architectures.md123| **ZenML Pro Self-Hosted** | All components run on customer infrastructure | All data movement contained within customeCODE
MEDIUM…ing-started/zenml-pro/resource-pools-reconciliation.md7## Runtime flow (orchestration)COMMENT
MEDIUMdocs/book/component-guide/orchestrators/custom.md164 # If you're using some external orchestration tool like Kubeflow, youCOMMENT
MEDIUMdocs/book/component-guide/orchestrators/custom.md187 # Your orchestration tool should run this command and argumentsCOMMENT
MEDIUMdocs/book/reference/faq.md88[Project templates](https://docs.zenml.io/user-guides/best-practices/project-templates) allow you to get going quickly wCODE
MEDIUMexamples/agent_framework_integrations/haystack/run.py104 # Run the Haystack RAG pipelineSTRING
MEDIUMexamples/agent_comparison/steps/data_loading.py75 # Load single agent RAG promptCOMMENT
MEDIUMsrc/zenml/pipelines/build_utils.py131 # In dynamic pipelines, there is always an orchestration container forCOMMENT
MEDIUMsrc/zenml/pipelines/dynamic/pipeline_definition.py129 # pipelines as the orchestration environment will need to load theCOMMENT
MEDIUMsrc/zenml/integrations/seldon/steps/seldon_deployer.py263 # entrypoint for starting Seldon microservice deployment for custom modelCOMMENT
MEDIUM…ns/kubernetes/orchestrators/kubernetes_orchestrator.py1158 # This means we're in a dynamic pipeline orchestration container.COMMENT
MEDIUMsrc/zenml/zen_server/routers/auth_endpoints.py640 # In the current implementation of nested runs, orchestration ofCOMMENT
MEDIUMsrc/zenml/zen_server/routers/auth_endpoints.py644 # scoped to the root run. Once we allow different orchestrationCOMMENT
MEDIUMsrc/zenml/orchestrators/containerized_orchestrator.py86 # orchestration container.COMMENT
MEDIUMsrc/zenml/execution/pipeline/dynamic/runner.py1287 # orchestration environment was shut down. But there is noCOMMENT
MEDIUMsrc/zenml/execution/pipeline/dynamic/runner.py1289 # orchestration environment, so we mark them as failed andCOMMENT
AI Structural Patterns119 hits · 86 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_general.py32CODE
LOWtests/stress-test/utils.py392CODE
LOWtests/stress-test/utils.py673CODE
LOW…gration/examples/mlflow/steps/dynamic_importer_step.py46CODE
LOW…gration/examples/mlflow/steps/dynamic_importer_step.py57CODE
LOW…ation/examples/seldon/pipelines/deployment_pipeline.py47CODE
LOW…s/integration/examples/seldon/steps/common/importer.py53CODE
LOW…s/integration/examples/seldon/steps/common/importer.py60CODE
LOW…ration/examples/lightgbm/steps/trainer/trainer_step.py20CODE
LOWtests/integration/functional/cli/test_model_registry.py113CODE
LOW…ts/integration/functional/zen_stores/test_zen_store.py4246CODE
LOWtests/integration/functional/zen_stores/utils.py596CODE
LOWdocs/link_checker.py681CODE
LOWexamples/e2e_nlp/run.py151CODE
LOWexamples/e2e_nlp/pipelines/deploying.py50CODE
LOWexamples/e2e_nlp/pipelines/training.py38CODE
LOWexamples/e2e_nlp/steps/training/model_trainer.py57CODE
LOWexamples/agent_outer_loop/pipelines/support_agent.py71CODE
LOWexamples/mlops_starter/run.py111CODE
LOWexamples/e2e/run.py125CODE
LOWexamples/llm_finetuning/steps/finetune.py38CODE
LOWsrc/zenml/client.py853CODE
LOWsrc/zenml/client.py911CODE
LOWsrc/zenml/client.py1075CODE
LOWsrc/zenml/client.py1321CODE
LOWsrc/zenml/client.py1374CODE
LOWsrc/zenml/client.py1792CODE
LOWsrc/zenml/client.py1866CODE
LOWsrc/zenml/client.py2010CODE
LOWsrc/zenml/client.py2127CODE
LOWsrc/zenml/client.py2341CODE
LOWsrc/zenml/client.py2484CODE
LOWsrc/zenml/client.py2630CODE
LOWsrc/zenml/client.py2754CODE
LOWsrc/zenml/client.py2920CODE
LOWsrc/zenml/client.py3123CODE
LOWsrc/zenml/client.py3268CODE
LOWsrc/zenml/client.py3582CODE
LOWsrc/zenml/client.py4060CODE
LOWsrc/zenml/client.py4207CODE
LOWsrc/zenml/client.py4258CODE
LOWsrc/zenml/client.py4397CODE
LOWsrc/zenml/client.py4644CODE
LOWsrc/zenml/client.py4882CODE
LOWsrc/zenml/client.py5085CODE
LOWsrc/zenml/client.py5386CODE
LOWsrc/zenml/client.py5557CODE
LOWsrc/zenml/client.py5676CODE
LOWsrc/zenml/client.py5793CODE
LOWsrc/zenml/client.py5916CODE
LOWsrc/zenml/client.py6113CODE
LOWsrc/zenml/client.py6613CODE
LOWsrc/zenml/client.py6973CODE
LOWsrc/zenml/client.py7151CODE
LOWsrc/zenml/client.py7309CODE
LOWsrc/zenml/client.py7559CODE
LOWsrc/zenml/client.py7627CODE
LOWsrc/zenml/client.py8139CODE
LOWsrc/zenml/client.py8202CODE
LOWsrc/zenml/client.py8295CODE
59 more matches not shown…
Cross-Language Confusion18 hits · 82 pts
SeverityFileLineSnippetContext
HIGH⚡…nit/integrations/kubernetes/test_kubernetes_sandbox.py53 assert _build_script("echo $HOME && ls") == "echo $HOME && ls"CODE
HIGHtests/unit/zen_stores/test_run_statistics.py1173 bucket, since `env` is non-numeric the metric must be null). A secondSTRING
HIGH…ration/integrations/pandas/test_pandas_materializer.py41 assert example.equals(result)CODE
HIGH…ration/integrations/pandas/test_pandas_materializer.py57 assert df_string_indexed.equals(result)CODE
HIGH…ration/integrations/pandas/test_pandas_materializer.py68 assert series_string_indexed.equals(result)CODE
HIGH…ration/integrations/pandas/test_pandas_materializer.py86 assert series_datetime_indexed.equals(result)CODE
HIGH…ration/integrations/pandas/test_pandas_materializer.py104 assert df_datetime_indexed.equals(result)CODE
HIGHsrc/zenml/sandboxes/docker_sandbox.py78_PID_FILE_WRAPPER = 'echo "$$" >"$1" && shift && exec "$@"'CODE
HIGHsrc/zenml/utils/pipeline_docker_image_builder.py749 "RUN apt-get update && apt-get install -y "CODE
HIGHsrc/zenml/utils/daemon.py77 its stdout/stderr redirected to /dev/null).STRING
HIGHsrc/zenml/models/v2/core/service_connector.py919 "null}` ), or a comma-separated list of label names and values (e.g "CODE
HIGHsrc/zenml/cli/pipeline.py1089 "JSON value for `result` (empty for null)",CODE
HIGH…ions/lightning/orchestrators/lightning_orchestrator.py348 f"The pipeline is running in async mode, you can keep checking the logs by running the following commandCODE
HIGH…grations/hyperai/orchestrators/hyperai_orchestrator.py436 command_line = rf'cd {directory_name} && echo {ENV_ZENML_HYPERAI_RUN_ID}="{snapshot_id}_$(date +\%s)" > .envCODE
HIGHsrc/zenml/zen_server/pipeline_execution/utils.py773 "RUN apt-get update && apt-get install -y "CODE
HIGHsrc/zenml/container_engines/docker_engine.py477 output_stream = self.client.images.push(image_name, stream=True)CODE
HIGHsrc/zenml/services/local/local_service.py51 (i.e. redirect stdout and stderr to /dev/null). If False, theSTRING
HIGHsrc/zenml/services/local/local_service.py79 is suppressed (redirected to /dev/null).STRING
AI Slop Vocabulary30 hits · 59 pts
SeverityFileLineSnippetContext
MEDIUMtests/harness/model/secret.py124 # Check that the secret is defined in the test harnessCOMMENT
MEDIUMtests/harness/model/secret.py126 # secret is not defined in the test harness configurationCOMMENT
MEDIUM⚡examples/computer_vision/pipelines/training_pipeline.py110 # Return comprehensive results with FiftyOne analysisCOMMENT
MEDIUM…ples/agent_outer_loop/pipelines/evaluation_pipeline.py47 # Run comprehensive evaluationCOMMENT
MEDIUMexamples/agent_outer_loop/steps/evaluate.py100 # Log comprehensive metadataCOMMENT
MEDIUMexamples/agent_comparison/steps/evaluation.py65 # Generate comprehensive HTML reportCOMMENT
MEDIUMexamples/deploying_agent/pipelines/doc_analyzer.py1"""Production pipeline for document analysis with comprehensive processing.STRING
MEDIUMexamples/deploying_agent/steps/utils.py288 """Get comprehensive set of common English stop words.STRING
MEDIUMhelm/values.yaml1215 # This can also be useful when used in conjunction with affinity rules.COMMENT
MEDIUMsrc/zenml/config/global_config.py240 # set the environment variable value to leverage Pydantic's typeCOMMENT
LOWsrc/zenml/config/global_config.py363 # or can we just return instead? We think this is just gettingCOMMENT
MEDIUMsrc/zenml/utils/pydantic_utils.py219 # Convert to json in an intermediate step, so we can leverage Pydantic'sCOMMENT
LOWsrc/zenml/utils/yaml_utils.py220 # if the obj is uuid, we simply return the value of uuidCOMMENT
LOWsrc/zenml/utils/daemon.py369 # zombie processes. Then we simply return so the current processCOMMENT
LOWsrc/zenml/models/v2/core/project.py89 # We just use the name as the display nameCOMMENT
MEDIUMsrc/zenml/cli/__init__.py2091# Alternatively for providing key-value pairs, you can utilize the '--values' option by specifying a file path containinSTRING
LOWsrc/zenml/cli/utils.py1052 # just return without doing anythingCOMMENT
LOW…ations/gcp/service_connectors/gcp_service_connector.py2105 # via Docker/OCI, so just return the resource ID.COMMENT
MEDIUMsrc/zenml/zen_server/utils.py1005 """Get comprehensive system metrics for enabled log records.STRING
LOWsrc/zenml/zen_stores/sql_zen_store.py1809 # Case 1: the database is empty. We can just create theCOMMENT
LOW…c/zenml/zen_stores/secrets_stores/aws_secrets_store.py307 # simply pass the exception up the stack, as if the secret was not foundCOMMENT
LOW…zenml/zen_stores/secrets_stores/azure_secrets_store.py263 # simply pass the exception up the stack, as if the secret was not foundCOMMENT
LOW…c/zenml/zen_stores/secrets_stores/gcp_secrets_store.py291 # simply pass the exception up the stack, as if the secret was not foundCOMMENT
LOW…l/zen_stores/secrets_stores/hashicorp_secrets_store.py374 # simply pass the exception up the stack, as if the secret was not foundCOMMENT
MEDIUMsrc/zenml/steps/entrypoint_function_utils.py181 # would not be able to leverage pydantics type coercion (e.g.COMMENT
LOWsrc/zenml/steps/command_step.py147 # configuration. So we just return a step with a dummy command.COMMENT
LOWsrc/zenml/steps/base_step.py685 # but instead just call the step functionCOMMENT
MEDIUMsrc/zenml/login/server_info.py37 # Here we try to leverage the existing RestZenStore support to fetch theCOMMENT
LOWsrc/zenml/services/local/local_daemon_entrypoint.py30# it anywhere so we simply pass.COMMENT
LOWsrc/zenml/analytics/utils.py47 # If the object is UUID, we simply return the value of UUIDCOMMENT
Verbosity Indicators18 hits · 36 pts
SeverityFileLineSnippetContext
LOW⚡…amples/rlm_document_analysis/pipelines/rlm_pipeline.py180 # Step 1: Validate data and build corpus summaryCOMMENT
LOW⚡…amples/rlm_document_analysis/pipelines/rlm_pipeline.py183 # Step 2: Decompose into chunk specsCOMMENT
LOW⚡…amples/rlm_document_analysis/pipelines/rlm_pipeline.py190 # Step 3: Dynamic fan-out — create one process_chunk step per chunkCOMMENT
LOW…amples/rlm_document_analysis/pipelines/rlm_pipeline.py207 # Step 4: Synthesize all chunk findingsCOMMENT
LOW⚡examples/computer_vision/pipelines/training_pipeline.py78 # Step 1: Load COCO dataset using FiftyOneCOMMENT
LOW⚡examples/computer_vision/pipelines/training_pipeline.py84 # Step 2: Train YOLO model on the datasetCOMMENT
LOW⚡examples/computer_vision/pipelines/training_pipeline.py93 # Step 3: Evaluate the trained modelCOMMENT
LOW⚡examples/computer_vision/pipelines/training_pipeline.py102 # Step 4: Complete FiftyOne analysis (if enabled)COMMENT
LOW⚡examples/computer_vision/steps/fiftyone_analysis.py276 # Step 1: Run inference and add predictionsCOMMENT
LOW⚡examples/computer_vision/steps/fiftyone_analysis.py283 # Step 2: Analyze predictions vs ground truthCOMMENT
LOW⚡examples/computer_vision/steps/fiftyone_analysis.py288 # Step 3: Create dashboard sessionCOMMENT
LOWsrc/zenml/config/global_config.py537 # Step 1: Read environment variable overridesCOMMENT
LOW⚡src/zenml/config/global_config.py587 # Step 2: Only after we've applied the environment variables, weCOMMENT
LOW⚡src/zenml/config/global_config.py596 # Step 3: Replace or update the baseline secrets store configurationCOMMENT
LOWsrc/zenml/zen_server/auth.py369 # for that device, so we need to check if the device ID matches anyCOMMENT
LOWsrc/zenml/zen_server/auth.py422 # If the token contains a schedule ID, we need to check if theCOMMENT
LOWsrc/zenml/zen_server/auth.py468 # If the token contains a pipeline run ID, we need to check if theCOMMENT
LOWsrc/zenml/zen_server/auth.py542 # If the token contains a deployment ID, we need to check if theCOMMENT
Fake / Example Data16 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/deployers/server/test_service.py309 placeholder_run.name = "placeholder"CODE
LOW⚡tests/unit/zen_server/test_jwt.py126 fake_token = jwt.encode(CODE
LOW⚡tests/unit/zen_server/test_jwt.py133 JWTToken.decode_token(fake_token)CODE
LOW⚡tests/unit/zen_server/test_jwt.py156 fake_token = jwt.encode(CODE
LOW⚡tests/unit/zen_server/test_jwt.py162 decoded_token = JWTToken.decode_token(fake_token, verify=False)CODE
LOWtests/unit/zen_server/test_jwt.py193 fake_token = jwt.encode(CODE
LOWtests/unit/zen_server/test_jwt.py199 decoded_token = JWTToken.decode_token(fake_token, verify=False)CODE
LOW⚡tests/unit/zen_server/test_jwt.py233 fake_token = jwt.encode(CODE
LOW⚡tests/unit/zen_server/test_jwt.py240 JWTToken.decode_token(fake_token)CODE
LOW⚡…ers/test_openai_embedding_materializer_materializer.py27 fake_key = "aria_and_blupus"CODE
LOW⚡…ers/test_openai_embedding_materializer_materializer.py32 openai_api_key=fake_key,CODE
LOW⚡…ation/integrations/databricks/test_databricks_utils.py254 "user_name": "user@example.com",CODE
LOW⚡…ation/integrations/databricks/test_databricks_utils.py263 {"user_name": "user@example.com", "permission_level": "CAN_MANAGE_RUN"}CODE
LOW…on/integrations/databricks/test_databricks_settings.py119 user_name="user@example.com",CODE
LOW…on/integrations/databricks/test_databricks_settings.py219 user_name="user@example.com",CODE
LOW…tegration/functional/pipelines/test_pipeline_naming.py32 substitutions={"placeholder": "42"},CODE
Slop Phrases6 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUM…ines/registry_pipelines/registry_inference_pipeline.py36 # or you can use the model stage if you have set it in the MLflow registryCOMMENT
MEDIUMexamples/computer_vision/steps/model_trainer.py49 model. For demonstration purposes, we use YOLOv8n (nano) which is the smallestSTRING
MEDIUMhelm/values.yaml1252 # hint: you can use a service like nip.io to get a wildcard DNS for yourCOMMENT
LOW…lflow/experiment_trackers/mlflow_experiment_tracker.py146 # make sure to prevent stack with other artifact stores for nowCOMMENT
LOWsrc/zenml/orchestrators/step_runner.py202 # we therefore make sure to set them here so they're at leastCOMMENT
LOWsrc/zenml/zen_stores/sql_zen_store.py7190 # modifying this WHERE clause, make sure to test/adjust so thisCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/profile-cli.sh5# Usage:COMMENT
Overly Generic Function Names3 hits · 1 pts
SeverityFileLineSnippetContext
LOWsrc/zenml/steps/base_step.py842 def do_something(a: int, b: str) -> None:STRING
LOWsrc/zenml/steps/base_step.py920 def do_something(a: int, b: str) -> None:STRING
LOWsrc/zenml/execution/pipeline/dynamic/outputs.py1033 def do_something(a: int) -> Tuple[int, int]:STRING