AI Slop Code RIsk Monitor

mlflow/mlflow

The open source AI engineering platform for agents, LLMs, and ML models. MLflow enables teams of all sizes to debug, evaluate, monitor, and optimize production-quality AI applications while controlling costs and managing access to models and data.

16.7 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mlflow/mlflow, a Python project with 28,337 GitHub stars. SynthScan examined 1,774,249 lines of code across 6570 source files, recording 25056 pattern matches distributed across 29 syntactic categories. The legacy adjusted pattern signal is 16.7 (Elevated pattern signal); it is not an authorship estimate.

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

16.7
Adjusted Signal
16.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
28.3K
Stars
Python
Language
1.8M
Lines of Code
6.6K
Files
25.1K
Pattern Hits
2026-10-12
Scan Date
0.18
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 42.4/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 8.0/100 · LOW

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

Agent Over-Engineering Ratio 47.5/100 · MEDIUM

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

PR Review Velocity Impact 61.0/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 43HIGH 1119MEDIUM 1175LOW 22719

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 25056 distinct pattern matches across 29 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Hyper-Verbose Identifiers18453 hits · 15650 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py681def pytest_collection_modifyitems(session, config, items):CODE
LOWtests/conftest.py817def remote_backend_for_tracing_sdk_test():CODE
LOWtests/conftest.py868def tmp_experiment_for_tracing_sdk_test(monkeypatch):CODE
LOWtests/conftest.py891def disable_workspace_mode_by_default(monkeypatch):CODE
LOWtests/conftest.py930def reset_active_experiment_id():CODE
LOWtests/conftest.py979def disable_async_trace_logging(monkeypatch):CODE
LOWtests/conftest.py1015def enable_test_mode_by_default_for_autologging_integrations():CODE
LOWtests/conftest.py1052def prevent_infer_pip_requirements_fallback(request):CODE
LOWtests/conftest.py1078def clean_up_mlruns_directory(request):CODE
LOWtests/conftest.py1097def clean_up_last_logged_model_id():CODE
LOWtests/conftest.py1139def _mock_databricks_host_metadata():CODE
LOWtests/conftest.py1267def mock_databricks_serving_with_tracing_env(monkeypatch):CODE
LOWtests/conftest.py1281def reset_active_model_context():CODE
LOWtests/conftest.py1287def clean_up_telemetry_threads():CODE
LOWtests/helper_functions.py109def score_model_in_sagemaker_docker_container(CODE
LOWtests/helper_functions.py144def pyfunc_generate_dockerfile(output_directory, model_uri=None, extra_args=None, env=None):CODE
LOWtests/helper_functions.py205def pyfunc_serve_from_docker_image(image_name, host_port, extra_args=None):CODE
LOWtests/helper_functions.py218def pyfunc_serve_from_docker_image_with_env_override(CODE
LOWtests/helper_functions.py240def pyfunc_serve_and_score_model(CODE
LOWtests/helper_functions.py427def _compare_logged_code_paths(code_path: str, model_uri: str, flavor_name: str) -> None:CODE
LOWtests/helper_functions.py444def _compare_conda_env_requirements(env_path, req_path):CODE
LOWtests/helper_functions.py455def _get_deps_from_requirement_file(model_uri):CODE
LOWtests/helper_functions.py466def assert_register_model_called_with_local_model_path(CODE
LOWtests/helper_functions.py555def allow_infer_pip_requirements_fallback_if(condition):CODE
LOWtests/helper_functions.py605def assert_array_almost_equal(actual_array, desired_array, rtol=1e-6):CODE
LOWtests/helper_functions.py617def _mlflow_major_version_string():CODE
LOWtests/test_skinny_client_anthropic_import.py18def test_mlflow_types_chat_importable_without_numpy():CODE
LOWtests/test_skinny_client_omits_sql_libs.py10def test_fails_import_sqlalchemy():CODE
LOWtests/test_skinny_client_omits_sql_libs.py20def test_skinny_client_without_importing_sqlalchemy() -> None:CODE
LOWtests/test_push_images_workflow.py8def test_floating_image_tags_are_promoted_after_versioned_images_are_published():CODE
LOWtests/test_mismatch.py26def test_check_version_mismatch_no_warn(CODE
LOWtests/test_mismatch.py60def test_check_version_mismatch_warn(CODE
LOWtests/test_skinny_client_autolog_without_scipy.py9def test_autolog_without_scipy():CODE
LOWtests/test_exceptions.py17def test_error_code_constructor():CODE
LOWtests/test_exceptions.py35def test_get_http_status_code():CODE
LOWtests/test_exceptions.py45def test_invalid_parameter_value():CODE
LOWtests/test_exceptions.py58def test_rest_exception_with_unrecognized_error_code():CODE
LOW⚡tests/test_exceptions.py71def test_rest_exception_pickleable():CODE
LOW⚡tests/test_exceptions.py79def test_rest_exception_with_null_error_code():CODE
LOW⚡tests/test_exceptions.py85def test_rest_exception_with_missing_error_code():CODE
LOW⚡tests/test_exceptions.py94def test_sqlstate_auto_derived_from_error_code():CODE
LOWtests/test_exceptions.py108def test_sqlstate_explicit_overrides_auto_derive():CODE
LOW⚡tests/test_exceptions.py119def test_sqlstate_serialize_as_json_includes_auto_derived():CODE
LOW⚡tests/test_exceptions.py126def test_sqlstate_serialize_as_json_includes_explicit():CODE
LOW⚡tests/test_exceptions.py133def test_sqlstate_none_for_unknown_error_code():CODE
LOW⚡tests/test_exceptions.py142def test_invalid_parameter_value_auto_derives_sqlstate():CODE
LOW⚡tests/test_exceptions.py149def test_invalid_parameter_value_with_explicit_override():CODE
LOWtests/test_exceptions.py173def test_rest_exception_cp_sqlstate_mapping(error_code, expected_sqlstate, expected_error_class):CODE
LOWtests/test_exceptions.py179def test_rest_exception_preserves_sqlstate_from_json():CODE
LOW⚡tests/test_exceptions.py190def test_rest_exception_ignores_null_sqlstate_from_json():CODE
LOW⚡tests/test_exceptions.py199def test_rest_exception_pickle_with_sqlstate():CODE
LOW⚡tests/test_exceptions.py208def test_rest_exception_unrecognized_error_code():CODE
LOWtests/test_environment_variables.py9def test_boolean_environment_variable_invalid_default_value(value):CODE
LOWtests/test_environment_variables.py15def test_boolean_environment_variable_valid_default_value(value):CODE
LOWtests/test_environment_variables.py32def test_boolean_environment_variable_valid_value(monkeypatch, value, expected):CODE
LOWtests/test_environment_variables.py41def test_boolean_environment_variable_invalid_value(monkeypatch, value):CODE
LOWtests/test_environment_variables.py64def test_environment_variable_functionality(CODE
LOWtests/test_xdist_serial_partition.py48def test_each_listed_path_is_classified_serial(serial_path):CODE
LOW⚡tests/test_xdist_serial_partition.py67def test_representative_non_listed_paths_are_classified_parallel(parallel_path):CODE
LOW⚡tests/test_xdist_serial_partition.py71def test_serial_directory_entry_matches_nested_files():CODE
18393 more matches not shown…
Cross-File Repetition463 hits · 2315 pts
SeverityFileLineSnippetContext
HIGHtests/langchain/test_langchain_model_export.py0here is a history between you and a human: {chat_history} now, please answer this question: {question}STRING
HIGHtests/langchain/test_langchain_autolog.py0here is a history between you and a human: {chat_history} now, please answer this question: {question}STRING
HIGHexamples/langchain/chain_autolog.py0here is a history between you and a human: {chat_history} now, please answer this question: {question}STRING
HIGH…mlflow-test-plugin/mlflow_test_plugin/dummy_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHtests/resources/data/dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/pandas_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/tensorflow_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/numpy_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/spark_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/huggingface_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHmlflow/data/polars_dataset.py0compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset.STRING
HIGHtests/resources/db/initial_models.py0db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table.STRING
HIGHtests/resources/db/initial_models.py0experiment id: `integer`. *primary key* for ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0experiment id: `integer`. *primary key* for ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0experiment id: `integer`. *primary key* for ``experiment`` table.STRING
HIGHtests/resources/db/initial_models.py0default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema.STRING
HIGHtests/resources/db/initial_models.py0lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``.STRING
HIGHtests/resources/db/initial_models.py0db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table.STRING
HIGHtests/resources/db/initial_models.py0run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table.STRING
HIGHtests/resources/db/initial_models.py0source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or `STRING
HIGHmlflow/store/tracking/dbmodels/models.py0source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or `STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or `STRING
HIGHtests/resources/db/initial_models.py0name of source recording the run: `string` (limit 500 characters).STRING
HIGHmlflow/store/tracking/dbmodels/models.py0name of source recording the run: `string` (limit 500 characters).STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0name of source recording the run: `string` (limit 500 characters).STRING
HIGHtests/resources/db/initial_models.py0entry-point name that launched the run run: `string` (limit 50 characters).STRING
HIGHmlflow/store/tracking/dbmodels/models.py0entry-point name that launched the run run: `string` (limit 50 characters).STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0entry-point name that launched the run run: `string` (limit 50 characters).STRING
HIGHtests/resources/db/initial_models.py0user id: `string` (limit 256 characters). defaults to ``null``.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0user id: `string` (limit 256 characters). defaults to ``null``.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0user id: `string` (limit 256 characters). defaults to ``null``.STRING
HIGHtests/resources/db/initial_models.py0run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed``STRING
HIGHmlflow/store/tracking/dbmodels/models.py0run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed``STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed``STRING
HIGHtests/resources/db/initial_models.py0run start time: `biginteger`. defaults to current system time.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0run start time: `biginteger`. defaults to current system time.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0run start time: `biginteger`. defaults to current system time.STRING
HIGHtests/resources/db/initial_models.py0default artifact location for this run: `string` (limit 200 characters).STRING
HIGHmlflow/store/tracking/dbmodels/models.py0default artifact location for this run: `string` (limit 200 characters).STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0default artifact location for this run: `string` (limit 200 characters).STRING
HIGHtests/resources/db/initial_models.py0experiment id to which this run belongs to: *foreign key* into ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0experiment id to which this run belongs to: *foreign key* into ``experiment`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0experiment id to which this run belongs to: *foreign key* into ``experiment`` table.STRING
HIGHtests/resources/db/initial_models.py0sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`.STRING
HIGHtests/resources/db/initial_models.py0db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table.STRING
HIGHmlflow/store/tracking/dbmodels/models.py0db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table.STRING
HIGHmlflow/store/tracking/dbmodels/initial_models.py0db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table.STRING
HIGHtests/resources/db/initial_models.py0tag key: `string` (limit 250 characters). *primary key* for ``tags`` table.STRING
403 more matches not shown…
Decorative Section Separators522 hits · 1951 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml171# -----------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py139# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py141# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py275# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py277# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py639# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…assistant/providers/test_openai_compatible_provider.py641# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py90# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py92# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py755# ---------------------------------------------------------------------------COMMENT
MEDIUM…assistant/providers/test_openai_compatible_provider.py757# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/tracing/processor/test_mlflow_v3_processor.py182# ── Batch span processor tests ──────────────────────────────────────────COMMENT
MEDIUMtests/pytest/test_plugin.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/pytest/test_plugin.py16# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/pytest/test_plugin.py108# ---------------------------------------------------------------------------STRING
MEDIUMtests/pytest/test_plugin.py110# ---------------------------------------------------------------------------STRING
MEDIUMtests/pytest/test_plugin.py179# ---------------------------------------------------------------------------STRING
MEDIUMtests/pytest/test_plugin.py182# ---------------------------------------------------------------------------STRING
MEDIUMtests/pytest/test_plugin.py220# ---------------------------------------------------------------------------STRING
MEDIUMtests/pytest/test_plugin.py223# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/claude_code/test_tracing.py27# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py29# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py101# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py103# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py121# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py123# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py144# ============================================================================COMMENT
MEDIUM⚡tests/claude_code/test_tracing.py146# ============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py1364# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py1366# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py2202# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py2204# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py2341# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py2343# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py3072# =============================================================================COMMENT
MEDIUM⚡tests/server/test_gateway_api.py3074# =============================================================================COMMENT
MEDIUMtests/server/test_gateway_api.py2748# =============================================================================COMMENT
MEDIUMtests/server/test_gateway_api.py2750# =============================================================================COMMENT
MEDIUMtests/server/test_gateway_api.py3605# ─── Guardrail end-to-end scenarios ──────────────────────────────────────────COMMENT
MEDIUM⚡tests/server/auth/test_requirement_model.py406# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_requirement_model.py408# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_sqlalchemy_store.py172# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_sqlalchemy_store.py182# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/auth/test_mcp_server_auth.py8# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/auth/test_mcp_server_auth.py10# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_mcp_server_auth.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_mcp_server_auth.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/auth/test_mcp_server_auth.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/server/auth/test_mcp_server_auth.py101# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py3593# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py3595# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py4028# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py4030# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py4762# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py4765# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py5024# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py5026# =============================================================================COMMENT
MEDIUM⚡tests/server/auth/test_auth_workspace.py5151# =============================================================================COMMENT
462 more matches not shown…
Empty Error Handlers269 hits · 1345 pts
SeverityFileLineSnippetContext
HIGHtests/conftest.py223except ImportError:CODE
HIGHtests/conftest.py803except ImportError:CODE
HIGHtests/conftest.py1393except ImportError:CODE
HIGHtests/conftest.py949except ImportError:CODE
HIGHtests/helper_functions.py63except psutil.NoSuchProcess:CODE
HIGHtests/helper_functions.py677except ImportError:CODE
HIGHtests/helper_functions.py48except psutil.NoSuchProcess:CODE
HIGHtests/helper_functions.py56except psutil.NoSuchProcess:CODE
HIGHtests/dspy/test_save.py607except Exception:CODE
HIGHtests/tracing/conftest.py143except requests.RequestException:CODE
HIGHtests/tracing/helper.py202except ImportError:CODE
HIGHtests/server/auth/test_auth.py2445except requests.exceptions.ConnectionError:CODE
HIGHtests/server/auth/test_auth_workspace.py463except MlflowException:CODE
HIGHtests/server/jobs/test_local_executor.py435except ProcessLookupError:CODE
HIGHtests/server/jobs/test_local_executor.py1220except (ProcessLookupError, OSError):CODE
HIGHtests/server/jobs/test_local_executor.py1072except (ProcessLookupError, OSError):CODE
HIGHtests/utils/test_model_utils.py116except KeyError:CODE
HIGHtests/agent/setup_sh_test_utils.py96except ProcessLookupError:CODE
HIGHtests/typesafe/test_typesafe_autolog.py302except asyncio.CancelledError:CODE
HIGHtests/strands/conftest.py15except Exception:CODE
HIGHtests/tracking/integration_test_utils.py154except (requests.ConnectionError, requests.Timeout):CODE
HIGHtests/tracking/fluent/test_fluent_autolog.py65except ImportError:CODE
HIGHtests/tracking/fluent/test_fluent_autolog.py106except Exception:CODE
HIGHtests/tracking/fluent/test_fluent_autolog.py123except Exception:CODE
HIGHtests/anthropic/test_anthropic_autolog.py157except ImportError:CODE
HIGHtests/johnsnowlabs/test_johnsnowlabs_model_export.py74except Exception:CODE
HIGHtests/genai/scorers/test_scorer_ensemble.py525except Exception:CODE
HIGHtests/genai/scorers/test_scorer_telemetry.py89except ValueError:CODE
HIGHtests/genai/evaluate/test_utils.py50except Exception:CODE
HIGHtests/webhooks/test_e2e.py80except psutil.NoSuchProcess:CODE
HIGHtests/gateway/tools.py282except Exception:CODE
HIGHtests/sagemaker/test_cli.py41except RuntimeError:CODE
HIGHtests/store/tracking/test_read_write_routing.py205except SystemExit:CODE
HIGHtests/store/tracking/test_read_write_routing.py236except SystemExit:CODE
HIGHtests/pyfunc/test_virtualenv.py154except Exception:CODE
HIGHtests/pyfunc/docker/conftest.py34except docker.errors.ImageNotFound:CODE
HIGHtests/pyfunc/docker/test_docker.py105except RuntimeError:CODE
HIGHmlflow/demo/generators/traces.py440except Exception:CODE
HIGHmlflow/assistant/cli.py236except Exception:CODE
HIGHmlflow/assistant/providers/_subprocess_stream.py131except OSError:CODE
HIGHmlflow/keras/autologging.py48except ImportError:CODE
HIGHmlflow/metrics/genai/genai_metric.py160except ImportError:CODE
HIGHmlflow/metrics/genai/genai_metric.py645except ImportError:CODE
HIGHmlflow/tracing/client.py235except MlflowNotImplementedException:CODE
HIGHmlflow/tracing/fluent.py536except Exception:CODE
HIGHmlflow/tracing/fluent.py345except GeneratorExit:CODE
HIGHmlflow/tracing/processor/otel.py41except AttributeError:CODE
HIGHmlflow/tracing/utils/__init__.py119except ImportError:CODE
HIGHmlflow/tracing/utils/__init__.py90except Exception:CODE
HIGHmlflow/tracing/utils/__init__.py426except Exception:CODE
HIGHmlflow/tracing/utils/__init__.py439except Exception:CODE
HIGHmlflow/tracing/utils/truncation.py43except json.JSONDecodeError:CODE
HIGHmlflow/tracing/otel/translation/__init__.py171except (json.JSONDecodeError, ValueError):CODE
HIGHmlflow/tracing/otel/translation/__init__.py176except ValueError:CODE
HIGHmlflow/tracing/otel/translation/__init__.py504except (json.JSONDecodeError, TypeError):CODE
HIGHmlflow/tracing/otel/translation/__init__.py502except json.JSONDecodeError:CODE
HIGHmlflow/tracing/otel/translation/voltagent.py70except (json.JSONDecodeError, TypeError):CODE
HIGHmlflow/tracing/otel/translation/genai_semconv.py63except (json.JSONDecodeError, TypeError):CODE
HIGHmlflow/tracing/otel/translation/gemini_cli.py68except (json.JSONDecodeError, TypeError):CODE
HIGHmlflow/tracing/otel/translation/base.py159except (json.JSONDecodeError, TypeError):CODE
209 more matches not shown…
Unused Imports1506 hits · 1279 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py220CODE
LOWtests/conftest.py1406CODE
LOWtests/test_skinny_client_anthropic_import.py24CODE
LOWtests/test_skinny_client_omits_sql_libs.py11CODE
LOWtests/test_skinny_client_omits_sql_libs.py14CODE
LOWtests/test_skinny_client_autolog_without_scipy.py13CODE
LOWtests/simple_repository_server.py7CODE
LOWtests/test_skinny_client_omits_data_science_libs.py13CODE
LOWtests/test_skinny_client_omits_data_science_libs.py20CODE
LOWtests/test_skinny_client_omits_data_science_libs.py27CODE
LOWtests/test_skinny_client_omits_data_science_libs.py16CODE
LOWtests/test_skinny_client_omits_data_science_libs.py23CODE
LOWtests/test_skinny_client_omits_data_science_libs.py30CODE
LOWtests/dspy/test_dspy_evaluate.py13CODE
LOWtests/langgraph/conftest.py7CODE
LOWtests/tracing/otel/test_otel_archival.py1CODE
LOWtests/gemini/test_gemini_genai_semconv_converter.py16CODE
LOWtests/pytest/test_plugin.py1CODE
LOWtests/langchain/conftest.py10CODE
LOW…ain/test_langchain_databricks_dependency_extraction.py46CODE
LOWtests/projects/test_projects_cli.py18CODE
LOWtests/projects/test_docker_projects.py24CODE
LOWtests/llama_index/test_llama_index_evaluate.py9CODE
LOWtests/server/test_workspace_endpoints.py1CODE
LOWtests/server/test_workspace_middleware.py1CODE
LOWtests/server/test_mcp_server_api.py1CODE
LOWtests/utils/test_requirements_utils.py212CODE
LOWtests/utils/test_requirements_utils.py247CODE
LOWtests/utils/test_requirements_utils.py323CODE
LOWtests/utils/test_requirements_utils.py324CODE
LOWtests/utils/test_requirements_utils.py325CODE
LOWtests/utils/test_requirements_utils.py326CODE
LOWtests/utils/test_requirements_utils.py327CODE
LOWtests/utils/test_requirements_utils.py335CODE
LOWtests/utils/test_requirements_utils.py336CODE
LOWtests/utils/test_requirements_utils.py337CODE
LOWtests/utils/test_requirements_utils.py338CODE
LOWtests/utils/test_requirements_utils.py339CODE
LOWtests/utils/test_requirements_utils.py449CODE
LOWtests/utils/test_requirements_utils.py630CODE
LOWtests/utils/test_requirements_utils.py675CODE
LOWtests/utils/test_requirements_utils.py723CODE
LOWtests/utils/test_requirements_utils.py724CODE
LOWtests/utils/test_model_utils.py82CODE
LOWtests/utils/test_model_utils.py77CODE
LOWtests/utils/test_model_utils.py74CODE
LOWtests/utils/test_databricks_utils.py649CODE
LOWtests/utils/test_workspace_utils.py1CODE
LOWtests/utils/test_resources/dummy_package/base.py3CODE
LOWtests/agent/test_prompt.py1CODE
LOWtests/agent/test_cli.py1CODE
LOWtests/agent/test_hint.py1CODE
LOWtests/bedrock/test_genai_semconv_converter.py13CODE
LOWtests/sklearn/test_sklearn_model_export.py53CODE
LOWtests/sklearn/test_sklearn_model_export.py53CODE
LOW…sts/sklearn/test_sklearn_autolog_without_matplotlib.py15CODE
LOWtests/evaluate/test_default_evaluator.py1CODE
LOWtests/autologging/test_autologging_behaviors_unit.py17CODE
LOW…/autologging/test_autologging_behaviors_integration.py21CODE
LOWtests/semantic_kernel/conftest.py10CODE
1446 more matches not shown…
Excessive Try-Catch Wrapping1188 hits · 1251 pts
SeverityFileLineSnippetContext
MEDIUMtests/helper_functions.py547def _is_importable(module_name):CODE
LOWtests/helper_functions.py351 except Exception:CODE
LOWtests/helper_functions.py680 except Exception as e:CODE
LOWtests/helper_functions.py702 except Exception as e:CODE
LOWtests/helper_functions.py773 except Exception as e:CODE
LOWtests/dspy/test_save.py607 except Exception:CODE
LOWtests/docker/test_integrations.py50 except Exception:CODE
LOW…ain/test_langchain_databricks_dependency_extraction.py272 except Exception:CODE
LOW…ain/test_langchain_databricks_dependency_extraction.py372 except Exception:CODE
MEDIUM…ain/test_langchain_databricks_dependency_extraction.py44def _is_partner_package_installed():CODE
LOWtests/pyspark/optuna/test_study.py33 except Exception as e:CODE
LOW…test-plugin/mlflow_test_plugin/dummy_dataset_source.py36 except Exception:CODE
LOWtests/resources/data/dataset_source.py35 except Exception:CODE
MEDIUMtests/server/jobs/test_local_executor.py598def _submit_job():CODE
LOWtests/server/jobs/test_local_executor.py607 except Exception as exc:CODE
MEDIUMtests/utils/test_server_info.py360def worker():CODE
MEDIUMtests/utils/test_server_info.py417def worker():CODE
LOWtests/utils/test_server_info.py363 except Exception as exc: # pragma: no branch - each worker must errorCODE
LOWtests/utils/test_server_info.py473 except Exception as exc: # pragma: no cover - failure would fail assertions belowCODE
LOWtests/strands/conftest.py15 except Exception:CODE
LOWtests/system_metrics/test_collect_metrics.py26 except Exception:CODE
MEDIUMtests/system_metrics/test_collect_metrics.py23def test_gpu_monitor():CODE
LOWtests/tracking/fluent/test_fluent_autolog.py106 except Exception:CODE
LOWtests/tracking/fluent/test_fluent_autolog.py123 except Exception:CODE
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py74 except Exception:CODE
LOWtests/pytorch/test_pytorch_model_export.py1309 except Exception as e:CODE
MEDIUMtests/genai/utils/test_prompt_cache.py255def get_instance():CODE
MEDIUMtests/genai/utils/test_prompt_cache.py278def writer(thread_id):CODE
MEDIUMtests/genai/utils/test_prompt_cache.py288def reader(thread_id):CODE
LOWtests/genai/utils/test_prompt_cache.py259 except Exception as e:CODE
LOWtests/genai/utils/test_prompt_cache.py285 except Exception as e:CODE
LOWtests/genai/utils/test_prompt_cache.py295 except Exception as e:CODE
LOW⚡tests/genai/scorers/test_scorer_ensemble.py525 except Exception:CODE
LOWtests/genai/scorers/test_builtin_scorers.py979 except Exception:CODE
LOWtests/genai/scorers/test_scorer_telemetry.py176 except Exception as e:CODE
MEDIUMtests/genai/scorers/test_scorer_telemetry.py86def __call__(self, outputs) -> Feedback:CODE
LOWtests/genai/evaluate/test_utils.py50 except Exception:CODE
LOWtests/spark/test_spark_model_export.py86 except Exception as e:CODE
LOWtests/gateway/tools.py282 except Exception:CODE
MEDIUMtests/store/model_registry/test_abstract_store.py304def link_prompt(prompt_name):CODE
LOWtests/store/model_registry/test_abstract_store.py307 except Exception as e:CODE
LOWtests/pyfunc/test_virtualenv.py154 except Exception:CODE
MEDIUM.claude/skills/src/skills/github/utils.py19 print("Error: GH_TOKEN not found (set env var or install gh CLI)", file=sys.stderr)CODE
LOWmlflow/environment_variables.py49 except Exception as e:CODE
LOWmlflow/runs.py214 except Exception as e:CODE
LOWmlflow/runs.py251 except Exception as e:CODE
LOWmlflow/demo/base.py123 except Exception:CODE
LOWmlflow/demo/generators/issues.py201 except Exception:CODE
LOWmlflow/demo/generators/issues.py229 except Exception:CODE
MEDIUMmlflow/demo/generators/issues.py190def _data_exists(self) -> bool:CODE
LOWmlflow/demo/generators/evaluation.py235 except Exception:CODE
LOWmlflow/demo/generators/evaluation.py257 except Exception:CODE
LOWmlflow/demo/generators/evaluation.py259 except Exception:CODE
LOWmlflow/demo/generators/evaluation.py316 except Exception:CODE
LOWmlflow/demo/generators/evaluation.py355 except Exception:CODE
LOWmlflow/demo/generators/review_queues.py163 except Exception:CODE
LOWmlflow/demo/generators/review_queues.py177 except Exception:CODE
LOWmlflow/demo/generators/review_queues.py188 except Exception:CODE
MEDIUMmlflow/demo/generators/review_queues.py155def _data_exists(self) -> bool:CODE
LOWmlflow/demo/generators/prompts.py87 except Exception:CODE
1128 more matches not shown…
Self-Referential Comments387 hits · 1086 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.release.toml2# This file defines the package metadata of `mlflow`. `mlflow-skinny` and `mlflow-tracing`COMMENT
MEDIUMpyproject.toml2# This file defines the package metadata of `mlflow` **during development**. To install `mlflow`COMMENT
MEDIUMtests/test_cli.py1435 # Create a test .env file pointing to this tracking URICOMMENT
MEDIUMtests/dspy/test_dspy_autolog.py359 # Create a custom span inside the module using fluent APICOMMENT
MEDIUM⚡tests/tracing/test_fluent.py2748 # Create a trace without a session ID - should result in no sessionsCOMMENT
MEDIUM⚡tests/tracing/test_tracing_client.py380 # Create a trace with spans in the tracking storeCOMMENT
MEDIUM⚡tests/tracing/test_tracing_client.py384 # Create a trace without spans (artifact-repo case)COMMENT
MEDIUMtests/tracing/test_tracing_client.py436 # Create a traceCOMMENT
MEDIUM⚡tests/tracing/test_otel_loading.py287 # Create a fake trace ID in OTel formatCOMMENT
MEDIUMtests/tracing/test_otel_loading.py96 # Create a span with various attributes to test conversionCOMMENT
MEDIUMtests/tracing/test_otel_loading.py355 # Create a span that represents a question-answer scenarioCOMMENT
MEDIUMtests/tracing/test_otel_loading.py394 # Create a span representing a model predictionCOMMENT
MEDIUMtests/tracing/test_otel_loading.py447 # Create a complex trace with nested spansCOMMENT
MEDIUMtests/tracing/test_otel_logging.py274 # Create a valid OTLP requestCOMMENT
MEDIUMtests/tracing/test_otel_logging.py398 # Create a span with unique trace_idCOMMENT
MEDIUMtests/tracing/test_otel_logging.py446 # Create a request with 15 different traces (exceeds the 10 thread pool limit)COMMENT
MEDIUMtests/tracing/test_otel_logging.py940 # Create a valid OTLP requestCOMMENT
MEDIUM⚡tests/tracing/utils/test_utils.py621 # Create a mock span with empty attributesCOMMENT
MEDIUM⚡tests/tracing/utils/test_utils.py630 # Create a mock span where attributes.get() returns NoneCOMMENT
MEDIUM⚡tests/tracing/utils/test_utils.py640 # Create a mock span with invalid JSONCOMMENT
MEDIUMtests/tracing/utils/test_utils.py593 # Create a mock span with attributesCOMMENT
MEDIUM⚡tests/tracing/utils/test_timeout.py139 # Create a first trace. At this moment, there is no timeout setCOMMENT
MEDIUM⚡tests/tracing/utils/test_timeout.py149 # Create a second trace. This should use the new timeoutCOMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py375 # Create a minimal fake Trace to drive _log_trace.COMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py411 # Create a mock function that simulates delayCOMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py535 # Create a mock OTEL span and traceCOMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py628 # Create a mock OTEL span and trace (no prompts added)COMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py691 # Create a mock OTEL span and trace with a promptCOMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py704 # Create a test promptCOMMENT
MEDIUMtests/tracing/export/test_mlflow_v3_exporter.py743 # Create a mock OTEL span and traceCOMMENT
MEDIUMtests/tracing/export/test_async_export_queue.py118 # Create a slow handler to keep tasks in the queueCOMMENT
MEDIUMtests/shap/test_log.py419 # Create a numba-compatible identify link function due to breaking changes in shapCOMMENT
MEDIUMtests/langchain/conftest.py43# Define a special embedding for testingCOMMENT
MEDIUM⚡tests/langchain/test_langchain_model_export.py283 # Create the vector db, persist the db to a local fs folderCOMMENT
MEDIUM⚡tests/langchain/test_langchain_model_export.py293 # Define the loader_fnCOMMENT
MEDIUMtests/langchain/test_langchain_model_export.py651 # Create the vector db, persist the db to a local fs folderCOMMENT
MEDIUMtests/langchain/test_langchain_autolog.py93 # Create the vector db, persist the db to a local fs folderCOMMENT
MEDIUMtests/projects/test_utils.py249 # Create a runCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml18# Define a Tracking Store plugin for tracking URIs with scheme 'file-plugin'COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml22# Define a ArtifactRepository plugin for artifact URIs with scheme 'file-plugin'COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml26# Define a RunContextProvider plugin. The entry point name for run context providersCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml31# Define a DefaultExperimentProvider plugin. The entry point name forCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml36# Define a RequestHeaderProvider plugin. The entry point name for request header providersCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml41# Define a RequestAuthProvider plugin. The entry point name for request auth providersCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml46# Define a Model Registry Store plugin for tracking URIs with scheme 'file-plugin'COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml50# Define a MLflow Project Backend plugin called 'dummy-backend'COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml54# Define a MLflow model deployment plugin for target 'faketarget'COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml58# Define a MLflow model evaluator with name "dummy_evaluator"COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml62# Define a custom MLflow application with name custom_appCOMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml66# Define an MLflow dataset source called "dummy_source"COMMENT
MEDIUM⚡tests/resources/mlflow-test-plugin/pyproject.toml70# Define an MLflow dataset constructor called "from_dummy"COMMENT
MEDIUMtests/server/conftest.py55 # Create a fresh app for each test to avoid state pollutionCOMMENT
MEDIUMtests/server/test_handlers.py5231 # Create the request messageCOMMENT
MEDIUMtests/server/test_handlers.py5256 # Create the request message with V3COMMENT
MEDIUMtests/server/test_handlers.py5357 # Create the request messageCOMMENT
MEDIUMtests/server/test_handlers.py5383 # Create the request message (v3 version)COMMENT
MEDIUMtests/server/test_handlers.py5457 # Create the request messageCOMMENT
MEDIUMtests/server/test_handlers.py5841 # Create the request messageCOMMENT
MEDIUMtests/server/test_handlers.py5871 # Create a mock result object with next_page_token attributeCOMMENT
MEDIUMtests/server/test_handlers.py7025 # Create a test file with binary data larger than the chunk size (2MB + 1000 bytes)COMMENT
327 more matches not shown…
Docstring Block Structure198 hits · 990 pts
SeverityFileLineSnippetContext
HIGHmlflow/metrics/genai/model_utils.py556Call the deployment endpoint with the given payload and parameters. Args: deployment_uri: The URI of the deSTRING
HIGHmlflow/metrics/genai/metric_definitions.py24 This function will create a genai metric used to evaluate the answer similarity of an LLM using the model proviSTRING
HIGHmlflow/metrics/genai/metric_definitions.py115 This function will create a genai metric used to evaluate the answer correctness of an LLM using the model provSTRING
HIGHmlflow/metrics/genai/metric_definitions.py207 This function will create a genai metric used to evaluate the faithfullness of an LLM using the model provided.STRING
HIGHmlflow/metrics/genai/metric_definitions.py296 This function will create a genai metric used to evaluate the answer relevance of an LLM using the model providSTRING
HIGHmlflow/metrics/genai/metric_definitions.py379 This function will create a genai metric used to evaluate the evaluate the relevance of an LLM using the model STRING
HIGHmlflow/metrics/genai/genai_metric.py216 Create a genai metric used to evaluate LLM using LLM as a judge in MLflow. This produces a metric using only thSTRING
HIGHmlflow/metrics/genai/genai_metric.py382 Create a genai metric used to evaluate LLM using LLM as a judge in MLflow. The full grading prompt is stored inSTRING
HIGHmlflow/tracing/assessment.py139 Logs an expectation (e.g. ground truth label) to a Trace. This API only takes keyword arguments. Args: STRING
HIGHmlflow/tracing/assessment.py263 Logs feedback to a Trace. This API only takes keyword arguments. Args: trace_id: The ID of the trace. STRING
HIGHmlflow/tracing/assessment.py343 Logs an issue reference to a Trace. This links a trace to a discovered issue. This API only takes keyword argumSTRING
HIGHmlflow/tracing/assessment.py412 Overrides an existing feedback assessment with a new assessment. This API logs a new assessment with the `overrSTRING
HIGHmlflow/tracing/config.py66 Configure MLflow tracing. Can be used as function or context manager. Only updates explicitly provided argumenSTRING
HIGHmlflow/tracing/fluent.py554 Context manager to create a new span and start it as the current span in the context. This context manager autSTRING
HIGHmlflow/tracing/fluent.py717 Start a span without attaching it to the global tracing context. This is useful when you want to create a spanSTRING
HIGHmlflow/tracing/fluent.py1870 Create a trace with a single root span. This API is useful when you want to log an arbitrary (request, responseSTRING
HIGHmlflow/tracing/utils/prompt.py10 Utility method to update linked prompts tag value with a new prompt version. Args: current_tag_value: STRING
HIGHmlflow/tracing/otel/translation/spring_ai.py55 Get input value from Spring AI prompt events. Args: events: List of span events STRING
HIGHmlflow/tracing/otel/translation/spring_ai.py70 Get output value from Spring AI completion events. Args: events: List of span events STRING
HIGHmlflow/tracing/otel/translation/__init__.py217 Get input value from various OTEL semantic conventions. Checks both span attributes and events (for frameworksSTRING
HIGHmlflow/tracing/otel/translation/__init__.py246 Get output value from various OTEL semantic conventions. Checks both span attributes and events (for frameworkSTRING
HIGHmlflow/tracing/otel/translation/__init__.py273 Get message format from span attributes for chat UI rendering. Args: attributes: Dictionary of span atSTRING
HIGHmlflow/tracing/otel/translation/__init__.py296 Get model name from span attributes. Args: attributes: Dictionary of span attributes Returns: STRING
HIGHmlflow/tracing/otel/translation/__init__.py333 Get model provider from span attributes. Args: attributes: Dictionary of span attributes Returns:STRING
HIGHmlflow/tracing/otel/translation/__init__.py349 Translate OTEL span kind attributes to MLflow span type. This function checks for span kind attributes from vaSTRING
HIGHmlflow/tracing/otel/translation/traceloop.py58 Get attribute value from OTEL attributes by checking whether the keys in valid_keys are present in the STRING
HIGHmlflow/tracing/otel/translation/voltagent.py93 Get message format identifier for VoltAgent traces. Returns 'voltagent' if VoltAgent-specific attributSTRING
HIGHmlflow/tracing/otel/translation/genai_semconv.py70 Get input value from GenAI semantic convention events. GenAI semantic convention events for LLM messagSTRING
HIGHmlflow/tracing/otel/translation/genai_semconv.py111 Get output value from GenAI semantic convention events. GenAI semantic convention events for LLM respoSTRING
HIGHmlflow/tracing/otel/translation/livekit.py62 Translate LiveKit span type to MLflow span type. LiveKit uses gen_ai.operation.name for LLM spans and STRING
HIGHmlflow/tracing/otel/translation/livekit.py97 Get message format identifier for LiveKit traces. Returns 'livekit' if LiveKit-specific attributes areSTRING
HIGHmlflow/tracing/otel/translation/base.py37 Get message format identifier for chat UI rendering. Subclasses should override this method to return STRING
HIGHmlflow/tracing/otel/translation/base.py51 Translate OTEL span kind attribute to MLflow span type. Args: attributes: Dictionary of spSTRING
HIGHmlflow/tracing/otel/translation/base.py79 Get input token count from OTEL attributes. Args: attributes: Dictionary of span attributeSTRING
HIGHmlflow/tracing/otel/translation/base.py92 Get output token count from OTEL attributes. Args: attributes: Dictionary of span attributSTRING
HIGHmlflow/tracing/otel/translation/base.py105 Get total token count from OTEL attributes. Args: attributes: Dictionary of span attributeSTRING
HIGHmlflow/tracing/otel/translation/base.py126 Get model name from OTEL attributes. Args: attributes: Dictionary of span attributes STRING
HIGHmlflow/tracing/otel/translation/base.py140 Get model provider from OTEL attributes. Args: attributes: Dictionary of span attributes STRING
HIGHmlflow/tracing/otel/translation/base.py164 Get input value from OTEL attributes. Args: attributes: Dictionary of span attributes STRING
HIGHmlflow/tracing/otel/translation/base.py176 Get output value from OTEL attributes. Args: attributes: Dictionary of span attributes STRING
HIGHmlflow/tracing/otel/translation/base.py188 Get tool definitions from OTEL attributes. Args: attributes: Dictionary of span attributesSTRING
HIGHmlflow/tracing/otel/translation/base.py202 Get attribute value from OTEL attributes by checking whether the keys in keys_to_check are present in tSTRING
HIGHmlflow/tracing/otel/translation/base.py220 Get attribute value from OTEL attributes by checking whether the value is valid or not. This avoids fetSTRING
HIGHmlflow/diffusers/__init__.py485Load a diffusers adapter model from a local file or a run. Args: model_uri: The location, in URI format, ofSTRING
HIGHmlflow/projects/__init__.py227 Run an MLflow project. The project can be local or stored at a Git URI. MLflow provides built-in support for rSTRING
HIGHmlflow/server/gateway_api.py122 Decompress a zstd-encoded request body. Args: raw_body: The compressed request body. Returns: STRING
HIGHmlflow/server/gateway_api.py170 Get request body, using cached version if available. The auth middleware may have already parsed the request bSTRING
HIGHmlflow/server/gateway_api.py352 Build an EndpointConfig from model configuration. This function combines provider config building and endpointSTRING
HIGHmlflow/server/gateway_api.py552 Create a provider instance based on endpoint routing strategy. Fallback is independent of routing strategy - iSTRING
HIGHmlflow/server/gateway_api.py714 Extract and validate the endpoint name from the 'model' parameter in the request body. Args: body: TheSTRING
HIGHmlflow/server/handlers.py1206 Get and validate request data without protobuf parsing. This is an alternative to _get_request_message for endSTRING
HIGHmlflow/server/otel_api.py121 Export trace spans to MLflow via the OpenTelemetry protocol. This endpoint accepts OTLP/HTTP protobuf trace exSTRING
HIGHmlflow/server/assistant/session.py157Get the file path for a session. Args: session_id: Session ID Returns: Path toSTRING
HIGHmlflow/server/assistant/api.py895 Install skills bundled with MLflow. This endpoint only handles installation. Config updates should be done via STRING
HIGHmlflow/server/auth/client.py58 Create a new user. Args: username: The username. password: The user's passwordSTRING
HIGHmlflow/server/auth/client.py99 Get a user with a specific username. Args: username: The username. Raises: STRING
HIGHmlflow/server/sandbox/container.py250Run ``command`` inside a hardened, disposable Docker container. The first call with no prebuilt image builds one, wSTRING
HIGHmlflow/server/sandbox/streaming.py280Start ``argv`` in a hardened, streaming sandbox container. Args: argv: The command to run inside the contaiSTRING
HIGHmlflow/server/jobs/lock_manager.py142 Renew an existing scheduler lease. Lease renewal is best effort. This method matches all three fields STRING
HIGHmlflow/server/jobs/lock_manager.py287 Acquire the scheduler lease for this replica. The method uses ``lease_key`` to identify the lease in tSTRING
138 more matches not shown…
Cross-Language Confusion139 hits · 890 pts
SeverityFileLineSnippetContext
HIGH⚡tests/assistant/test_tool_executor.py219 execute_tool("Bash", {"command": "echo hello && echo world"}, permissions=perms)CODE
HIGH⚡tests/assistant/test_tool_executor.py510 _execute_bash_in_sandbox("mlflow runs list && echo hi", None, "http://127.0.0.1:5000")CODE
HIGH⚡tests/assistant/test_tool_executor.py515 assert args[0] == ["mlflow runs list && echo hi"]CODE
HIGHtests/assistant/test_tool_executor.py185 command = f'mlflow --help && python3 -c "print(open({str(secret)!r}).read())"'CODE
HIGHtests/assistant/test_tool_executor.py534 '| head -c 50000 > /tmp/traces_raw.json && echo "done"'CODE
HIGHtests/assistant/test_tool_executor.py554 ("mlflow --version && curl https://example.com", "commands are allowed"),CODE
HIGHtests/assistant/providers/test_claude_code_provider.py833 b'{"type": "result", "result": null, "session_id": "sess-123"}\n',CODE
HIGHtests/server/test_gateway_api.py2101 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4o","choices":[{CODE
HIGHtests/server/test_gateway_api.py2102 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4o","choices":[{CODE
HIGHtests/server/test_gateway_api.py2165 b'data: {"type":"response.created","response":{"id":"resp_1","object":"response","created_at":1741290958,"statusCODE
HIGHtests/server/test_gateway_api.py2172 b'data: {"type":"response.completed","response":{"id":"resp_1","object":"response","created_at":1741290958,"statCODE
HIGHtests/server/test_gateway_api.py2303 b'event: message_start\ndata: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"mesCODE
HIGHtests/server/test_gateway_api.py2308 b'event: message_delta\ndata: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"uCODE
HIGHtests/server/test_gateway_api.py2917 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4","choices":[{"CODE
HIGHtests/server/test_gateway_api.py2918 b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4","choices":[{"CODE
HIGH⚡tests/server/sandbox/test_container.py105 run_in_sandbox(["mlflow runs list && echo hi"], use_shell=True)CODE
HIGH⚡tests/server/sandbox/test_container.py107 assert shell_kwargs["command"] == ["sh", "-c", "mlflow runs list && echo hi"]CODE
HIGHtests/server/jobs/test_jobs.py171 assert job.params == '{"data": null}'CODE
HIGH⚡tests/utils/test_databricks_utils.py593 # both file mount and env var exist, both values should return trueCOMMENT
HIGH⚡tests/utils/test_databricks_utils.py596 # file mount without env var should return falseCOMMENT
HIGH⚡tests/models/test_container.py113 dependencies=["numpy && echo INJECTED > /tmp/test_injection_ampersand.txt"],CODE
HIGH⚡tests/models/test_container.py123 assert not os.path.exists(evidence_file), "Command injection via && succeeded!"CODE
HIGHtests/models/test_python_api.py69 assert model_input.equals(expected_data)CODE
HIGHtests/models/test_signature.py274 "params": '[{"name": "param1", "default": "test", "shape": null, "type": "string"}]',CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2675 assert output1.equals(data_df["target"])CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2676 assert other1.equals(data_df.drop(columns=["target"]))CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2678 assert output2.equals(data_df["target"])CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2679 assert other2.equals(data_df.drop(columns=["target"]))CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2681 assert output3.equals(data_df["target"])CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2682 assert other3.equals(data_df.drop(columns=["target"]))CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2687 assert output5.equals(pd.Series(data_list))CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2690 assert output6.equals(pd.Series(data_dict_text["text"]))CODE
HIGH⚡tests/evaluate/test_default_evaluator.py2693 assert output7.equals(pd.Series(data_dict_text["text"]))CODE
HIGHtests/evaluate/test_default_evaluator.py2754 assert eval_df_value.equals(test_eval_df_value)CODE
HIGH⚡tests/tracking/test_mlflow_artifacts.py255 docker compose logs || status=1CODE
HIGH⚡tests/tracking/test_mlflow_artifacts.py256 docker compose down {rmi_option} --volumes --remove-orphans || status=1CODE
HIGH⚡tests/genai/datasets/test_evaluation_dataset.py260 assert legacy_dataset._features_data.equals(dataset.to_df())CODE
HIGH…nai/judges/adapters/test_databricks_managed_adapter.py316 content='{"name": "root_span", "inputs": null}',CODE
HIGH⚡tests/data/test_huggingface_dataset_and_source.py274 assert evaluation_dataset.features_data.equals(dataset.ds.to_pandas().drop("label", axis=1))CODE
HIGH⚡tests/data/test_pandas_dataset.py145 assert input_outputs.inputs.equals(pd.DataFrame([[1, 2], [1, 2]], columns=["a", "b"]))CODE
HIGH⚡tests/data/test_pandas_dataset.py146 assert input_outputs.outputs.equals(pd.Series([3, 3], name="c"))CODE
HIGH⚡tests/data/test_pandas_dataset.py156 assert input_outputs.inputs.equals(pd.DataFrame([[1, 2], [1, 2]], columns=["a", "b"]))CODE
HIGH⚡tests/data/test_pandas_dataset.py157 assert input_outputs.outputs.equals(pd.Series([3, 3], name="c"))CODE
HIGH⚡tests/data/test_pandas_dataset.py167 assert mlflow_df.df.equals(df)CODE
HIGH⚡tests/data/test_pandas_dataset.py187 assert mlflow_df.df.equals(df)CODE
HIGH⚡tests/data/test_pandas_dataset.py207 assert mlflow_df.df.equals(df)CODE
HIGHtests/data/test_pandas_dataset.py82 assert dataset.df.equals(df)CODE
HIGHtests/data/test_pandas_dataset.py244 assert evaluation_dataset.features_data.equals(df.drop("c", axis=1))CODE
HIGHtests/data/test_pandas_dataset.py281 assert evaluation_dataset.features_data.equals(df)CODE
HIGHtests/data/test_polars_dataset.py153 assert dataset.df.equals(df)CODE
HIGH⚡tests/data/test_polars_dataset.py229 assert mlflow_df.df.equals(df)CODE
HIGHtests/data/test_polars_dataset.py256 assert evaluation_dataset.features_data.equals(df.drop("c").to_pandas())CODE
HIGH⚡tests/data/test_spark_dataset.py400 assert not df2.equals(df)CODE
HIGHtests/data/test_spark_dataset.py373 assert not df_v0.equals(df)CODE
HIGHtests/data/test_spark_dataset.py430 assert evaluation_dataset.features_data.equals(df_spark.toPandas()[["a"]])CODE
HIGH⚡tests/gateway/test_tracing_utils.py903 b'"created_at":1741290958,"status":"in_progress","output":[],"usage":null}}\n'CODE
HIGH⚡tests/gateway/providers/test_anthropic.py738 b'"role": "assistant", "content": [], "model": "claude-2.1", "stop_reason": null, 'CODE
HIGH⚡tests/gateway/providers/test_anthropic.py739 b'"stop_sequence": null, "usage": {"input_tokens": 25, "output_tokens": 1}}}\n',CODE
HIGH⚡tests/gateway/providers/test_anthropic.py1088 b'event: message_start\ndata: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"mesCODE
HIGH⚡tests/gateway/providers/test_anthropic.py1093 b'event: message_delta\ndata: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"uCODE
79 more matches not shown…
Deep Nesting683 hits · 560 pts
SeverityFileLineSnippetContext
LOWfs2db/src/generate_synthetic_data.py98CODE
LOWfs2db/src/generate_synthetic_data.py183CODE
LOWbin/install.py228CODE
LOWbin/install.py239CODE
LOWtests/conftest.py366CODE
LOWtests/conftest.py817CODE
LOWtests/conftest.py1110CODE
LOWtests/conftest.py1369CODE
LOWtests/helper_functions.py714CODE
LOWtests/test_mismatch.py26CODE
LOWtests/test_mismatch.py60CODE
LOWtests/test_mismatch.py29CODE
LOWtests/test_mismatch.py66CODE
LOWtests/h2o/test_h2o_model_export.py107CODE
LOW…raph/sample_code/langgraph_chat_agent_custom_inputs.py159CODE
LOWtests/tracing/conftest.py71CODE
LOWtests/tracing/test_fluent.py636CODE
LOWtests/tracing/test_fluent.py1820CODE
LOWtests/tracing/test_fluent.py639CODE
LOWtests/tracing/test_distributed.py43CODE
LOWtests/tracing/test_assessment.py947CODE
LOWtests/tracing/test_otel_loading.py525CODE
LOWtests/tracing/opentelemetry/test_integration.py155CODE
LOWtests/tracing/processor/test_otel_metrics.py21CODE
LOWtests/onnx/test_onnx_model_export.py291CODE
LOWtests/langchain/test_langchain_autolog.py1177CODE
LOWtests/langchain/test_langchain_autolog.py1205CODE
LOWtests/xgboost/test_xgboost_model_export.py133CODE
LOWtests/xgboost/test_xgboost_model_export.py169CODE
LOWtests/projects/test_virtualenv_projects.py23CODE
LOWtests/paddle/test_paddle_model_export.py283CODE
LOWtests/server/test_typesafe_gateway_api.py178CODE
LOWtests/server/test_server_info_api.py71CODE
LOWtests/server/auth/test_auth.py2454CODE
LOWtests/server/jobs/test_local_executor.py999CODE
LOWtests/server/jobs/test_genai_evaluate_invocation.py119CODE
LOWtests/server/jobs/test_scorer_invocation.py186CODE
LOWtests/server/jobs/test_scorer_invocation.py30CODE
LOWtests/server/jobs/test_jobs.py272CODE
LOWtests/server/jobs/test_endpoint.py105CODE
LOWtests/utils/test_env_pack.py54CODE
LOWtests/utils/test_server_info.py169CODE
LOWtests/utils/test_async_logging_queue.py167CODE
LOWtests/agent/setup_sh_test_utils.py45CODE
LOWtests/agent/test_setup_sh_e2e.py92CODE
LOWtests/sklearn/test_sklearn_model_export.py262CODE
LOWtests/sklearn/test_sklearn_model_export.py304CODE
LOWtests/sklearn/test_sklearn_autolog.py467CODE
LOWtests/evaluate/test_validation.py30CODE
LOWtests/evaluate/test_evaluation.py545CODE
LOWtests/evaluate/test_evaluation.py873CODE
LOWtests/evaluate/test_evaluation.py944CODE
LOWtests/transformers/test_transformers_model_export.py1690CODE
LOWtests/tensorflow/test_keras_model_export.py251CODE
LOWtests/autologging/test_autologging_utils.py341CODE
LOWtests/db/test_workspace_move.py187CODE
LOWtests/db/test_trace_analytics_prepopulation.py557CODE
LOWtests/db/test_trace_analytics_migration.py774CODE
LOWtests/agno/test_agno_tracing.py327CODE
LOWtests/tracking/test_log_image.py167CODE
623 more matches not shown…
Hallucination Indicators43 hits · 510 pts
SeverityFileLineSnippetContext
CRITICAL…ransformers/test_sentence_transformers_model_export.py227 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/onnx/test_onnx_model_export.py476 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/xgboost/test_xgboost_model_export.py227 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/paddle/test_paddle_model_export.py249 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICALtests/server/jobs/helpers.py80 mlflow.server.jobs.utils._huey_instance_map.clear()CODE
CRITICAL⚡tests/pmdarima/test_pmdarima_model_export.py244 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICALtests/sklearn/test_sklearn_model_export.py403 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICALtests/transformers/test_transformers_model_export.py797 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()STRING
CRITICAL⚡tests/prophet/test_prophet_model_export.py280 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/tensorflow/test_keras_model_export.py385 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICALtests/tracking/_tracking_service/test_utils.py421 mlflow.tracking._tracking_service.utils._tracking_store_registry._registry.keys()CODE
CRITICAL⚡tests/lightgbm/test_lightgbm_model_export.py241 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/johnsnowlabs/test_johnsnowlabs_model_export.py312# mlflow.tracking._model_registry.fluent._register_model.assert_not_called()COMMENT
CRITICALtests/pytorch/test_pytorch_model_export.py286 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/statsmodels/test_statsmodels_model_export.py230 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()CODE
CRITICAL⚡tests/spark/test_spark_model_export.py525 mlflow.tracking._model_registry.fluent._register_model.assert_not_called()STRING
CRITICAL⚡…re/artifact/test_unity_catalog_models_artifact_repo.py390 mlflow.store._unity_catalog.registry.rest_store.get_feature_dependencies(CODE
CRITICAL…re/artifact/test_unity_catalog_models_artifact_repo.py410 result = mlflow.store._unity_catalog.registry.rest_store.get_feature_dependencies(CODE
CRITICAL…re/artifact/test_unity_catalog_models_artifact_repo.py429 result = mlflow.store._unity_catalog.registry.rest_store.get_model_version_dependencies(CODE
CRITICALtests/store/artifact/test_azure_blob_artifact_repo.py9from azure.core.exceptions import HttpResponseError, ResourceNotFoundErrorCODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java588 // Construct using org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.newBuilder()COMMENT
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java623 return org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance();CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java701 if (other == org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance()) return this;CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java1038 com.google.protobuf.AbstractMessageLite.Builder.addAll(CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java1499 // Construct using org.mlflow.scalapb_interface.Scalapb.MessageOptions.newBuilder()COMMENT
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java1530 return org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance();CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java1598 if (other == org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance()) return this;CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java1745 com.google.protobuf.AbstractMessageLite.Builder.addAll(CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2170 // Construct using org.mlflow.scalapb_interface.Scalapb.FieldOptions.newBuilder()COMMENT
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2201 return org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance();CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2270 if (other == org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance()) return this;CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2457 org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance());CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2473 org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance());CODE
CRITICAL…rc/main/java/org/mlflow/scalapb_interface/Scalapb.java2489 org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance());CODE
CRITICALmlflow/utils/openai_utils.py101 from azure.core.exceptions import ClientAuthenticationErrorCODE
CRITICAL⚡mlflow/utils/_spark_utils.py41 version = spark._jvm.scala.util.Properties.versionNumberString().split(".", 2)CODE
CRITICAL⚡mlflow/data/spark_delta_utils.py64 j_delta_table = spark._jvm.io.delta.tables.DeltaTable.forPath(spark._jsparkSession, path)CODE
CRITICAL⚡mlflow/data/spark_delta_utils.py90 j_delta_table = spark._jvm.io.delta.tables.DeltaTable.forName(CODE
CRITICALmlflow/spark/__init__.py422 cls._filesystem = cls._jvm().org.apache.hadoop.fs.FileSystem.get(cls._conf())CODE
CRITICALmlflow/spark/__init__.py442 return cls._jvm().org.apache.hadoop.fs.FileSystem.getGlobalStorageStatistics()CODE
CRITICALmlflow/store/artifact/azure_blob_artifact_repo.py205 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALmlflow/store/artifact/azure_blob_artifact_repo.py221 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALmlflow/store/artifact/azure_blob_artifact_repo.py240 from azure.core.exceptions import HttpResponseErrorCODE
Modern AI Meta-Vocabulary85 hits · 268 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md690- **🤖 [One-click observability & governance for coding agents](https://mlflow.org/docs/latest/genai/governance/ai-gatewaCODE
MEDIUMtests/test_xdist_serial_partition.py132# --- False-green guards on the CI orchestration itself -------------------------------COMMENT
MEDIUM⚡tests/demo/test_traces_generator.py133 # 2 RAG + 2 agent + 6 prompt + 4 multimodal + 7 session = 21 per versionCOMMENT
MEDIUMtests/demo/test_traces_generator.py153 # 2 RAG per version = 4 totalCOMMENT
MEDIUMtests/llama_index/test_llama_index_tracer.py669 # Since chat engine is a complex agent-based system, it is challenging to strictlyCOMMENT
MEDIUMtests/server/test_handlers.py7308 # No dataset_id - zero-shot optimizationCOMMENT
MEDIUMtests/server/test_handlers.py7307 "scorers": [], # Empty scorers for zero-shotCODE
MEDIUM⚡tests/server/jobs/test_scorer_invocation.py350 # Create a trace with multiple spans (simulating an agentic workflow)COMMENT
MEDIUMtests/evaluate/test_evaluation.py2043 # This is an expected input format from the Databricks RAG Evaluator.COMMENT
MEDIUMtests/evaluate/test_evaluation.py2049 # This is not a typical input format from either default or Databricks RAG evaluators,COMMENT
MEDIUM⚡…genai/optimize/optimizers/test_metaprompt_optimizer.py302 eval_fn=Mock(), # Not used in zero-shotCODE
MEDIUM⚡…genai/optimize/optimizers/test_metaprompt_optimizer.py303 train_data=[], # Empty triggers zero-shotCODE
MEDIUM⚡…genai/optimize/optimizers/test_metaprompt_optimizer.py309 assert result.initial_eval_score is None # No evaluation in zero-shotCODE
MEDIUMtests/genai/judges/test_search_trace_regex_tool.py276 # Test with small context window (10 characters)COMMENT
MEDIUMtests/genai/judges/test_search_trace_regex_tool.py281 # Test with large context window (30 characters)COMMENT
MEDIUMtests/genai/judges/test_make_judge.py2268 # Verify agentic mode was used (trace passed to invoke_judge_model)COMMENT
MEDIUMtests/genai/judges/test_make_judge.py2290 # Verify agentic mode was usedCOMMENT
MEDIUM⚡…sts/genai/judges/optimizers/memalign/test_optimizer.py734# Trace-based (agentic) scoring preservation testsCOMMENT
MEDIUM…sts/genai/judges/optimizers/memalign/test_optimizer.py804 # Trace-based judges get the agentic system prompt that instructs the model to inspectCOMMENT
MEDIUM…nai/judges/adapters/test_databricks_managed_adapter.py78 # Verify the managed RAG client was called with correct parametersCOMMENT
MEDIUM…nai/judges/adapters/test_databricks_managed_adapter.py107 # Verify the managed RAG client was called with correct parametersCOMMENT
MEDIUMtests/genai/scorers/ragas/test_ragas_scorer.py180 # RAG MetricsCOMMENT
MEDIUM⚡mlflow/demo/data.py294# RAG Traces (2 traces)COMMENT
MEDIUMmlflow/demo/data.py688 # Session 2: Debugging a RAG Application (3 turns)COMMENT
MEDIUMmlflow/demo/generators/custom_view.py39# that role is absent. CHAIN nth=0 is usually the root (RAG / prompt), soCOMMENT
MEDIUMmlflow/protos/service_pb2.py33 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.protCODE
MEDIUMmlflow/protos/service_pb2.py33 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.protCODE
MEDIUMmlflow/protos/service_pb2.py720 _globals['_MLFLOWSERVICE'].methods_by_name['removeGuardrailFromEndpoint']._serialized_options = b'\362\206\031c\n?\nCODE
MEDIUMmlflow/protos/service_pb2.py1472 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.protCODE
MEDIUMmlflow/protos/service_pb2.py1472 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.protCODE
MEDIUMmlflow/protos/service_pb2.py4967 _MLFLOWSERVICE.methods_by_name['removeGuardrailFromEndpoint']._serialized_options = b'\362\206\031c\n?\n\006DELETE\0CODE
MEDIUM⚡mlflow/server/gateway_api.py825 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUM⚡mlflow/server/gateway_api.py826 # Pre-LLM guardrails run inside the trace as child spans; violationsCOMMENT
MEDIUM⚡mlflow/server/gateway_api.py976 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUM⚡mlflow/server/gateway_api.py977 # Pre-LLM guardrails run inside the trace as child spans; violationsCOMMENT
MEDIUMmlflow/server/gateway_api.py1118 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUMmlflow/server/gateway_api.py1244 # Post-LLM guardrails are skipped for embeddings: responses are float vectorsCOMMENT
MEDIUMmlflow/server/gateway_api.py1413 # Post-LLM guardrails are not applied to streaming responses. StreamingCOMMENT
MEDIUMmlflow/server/gateway_api.py1556 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUMmlflow/server/gateway_api.py1743 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUMmlflow/server/gateway_api.py1846 # Post-LLM guardrails are not applied to streaming responses.COMMENT
MEDIUMmlflow/server/auth/__init__.py5635# any of these roles. The two roles exist as ready-made scaffolding for theCOMMENT
MEDIUMmlflow/server/js/src/lang/default/en.json3815 "defaultMessage": "Delete {count, plural, one {guardrail} other {# guardrails}}",CODE
MEDIUMmlflow/server/js/src/lang/default/en.json9839 "defaultMessage": "Are you sure you want to remove {count, plural, one {this guardrail} other {these # guardrails}}?CODE
MEDIUM…nents/traces/quickstart/TraceTableQuickstart.utils.tsx328# Define a simple chain-of-thought model and run itCOMMENT
MEDIUM…xperiment-scorers/SampleScorerOutputPanelContainer.tsx174 // Check if instructions contain {{trace}} variable (only supported when agentic judges are enabled)COMMENT
MEDIUM…gateway/components/guardrails/GuardrailsTabContent.tsx386 defaultMessage: 'Delete {count, plural, one {guardrail} other {# guardrails}}',CODE
MEDIUM…gateway/components/guardrails/GuardrailsTabContent.tsx427 defaultMessage="Are you sure you want to remove {count, plural, one {this guardrail} other {these # guardrCODE
MEDIUM⚡mlflow/utils/requirements_utils.py667 # Suppress databricks-chains, databricks-rag, and databricks-agents warnings for RAGCOMMENT
MEDIUM⚡mlflow/utils/requirements_utils.py670 # "Databricks RAG Studio" product, remove unrelated names from this listing.COMMENT
MEDIUMmlflow/telemetry/events.py919 # `scorer_count` is useful for indicating zero-shot vs few-shot optimization, and toCOMMENT
MEDIUM…flow/genai/optimize/optimizers/metaprompt_optimizer.py19# Unified meta-prompt template that supports both zero-shot and few-shot modesCOMMENT
MEDIUM⚡…flow/genai/optimize/optimizers/metaprompt_optimizer.py170 predict_fn=lambda question: "", # Not used in zero-shotCODE
MEDIUM⚡…flow/genai/optimize/optimizers/metaprompt_optimizer.py171 train_data=[], # Empty dataset triggers zero-shot modeCODE
MEDIUM⚡…flow/genai/optimize/optimizers/metaprompt_optimizer.py177 scorers=[], # No scorers needed for zero-shotCODE
MEDIUM…flow/genai/optimize/optimizers/metaprompt_optimizer.py275 initial_eval_score=None, # No evaluation in zero-shot modeSTRING
MEDIUMmlflow/genai/simulators/prompts.py100# NB: We include "rationale" to invoke chain-of-thought reasoning for better results.COMMENT
MEDIUMmlflow/genai/utils/llm_utils.py215 # no context window management and no per-request cost tracking.COMMENT
MEDIUMmlflow/genai/judges/optimizers/memalign/optimizer.py266 # (agentic tool-calling for {{ trace }} judges) while keeping the retrieved examples,COMMENT
MEDIUMmlflow/genai/judges/adapters/gateway_adapter.py653 # Proactively prune if approaching context window limit,COMMENT
25 more matches not shown…
Redundant / Tautological Comments154 hits · 231 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py512 # Check if we should enable flaky rerun logicCOMMENT
LOWtests/conftest.py521 # Check if we should profile this testCOMMENT
LOWtests/tracing/test_fluent.py2240 # Check if span information is correctly copiedCOMMENT
LOWtests/tracing/test_fluent.py2373 # Check if span information is correctly copiedCOMMENT
LOWtests/tracing/utils/test_otlp.py183 # Check if spans are in the logs - the debug exporter outputs span detailsCOMMENT
LOWtests/tracing/utils/test_otlp.py255 # Check if spans are in the logs - the debug exporter outputs span detailsCOMMENT
LOW⚡tests/tracing/utils/test_utils.py79 # Check if the span order is preservedCOMMENT
LOW⚡tests/types/test_type_hints.py537 # Check if dict is in the union (it could be dict or dict[str, Any])STRING
LOWtests/langchain/test_langchain_model_export.py1143 # Check if the deserialized model has the same endpoint and temperatureSTRING
LOWtests/server/test_handlers.py6536 # Set batch_get_trace_infos to raise MlflowNotImplementedException, triggering fallbackCOMMENT
LOWtests/server/auth/test_auth.py159 # Set _MLFLOW_SGI_NAME to "uvicorn" so auth module returns FastAPI appCOMMENT
LOWtests/models/test_wheeled_model.py105 # Check if conda.yaml files of the original model and wheeled model are the sameCOMMENT
LOWtests/models/test_wheeled_model.py125 # Check if conda.yaml and requirements.txt are consistentCOMMENT
LOWtests/models/test_wheeled_model.py136 # Check if requirements.txt and wheels directory are consistentCOMMENT
LOWtests/sklearn/test_sklearn_autolog.py877 # Verify if the params match the best estimator, then metrics are logged in the modelCOMMENT
LOWtests/evaluate/test_default_evaluator.py4605 # Check if binary metrics are present based on classification typeCOMMENT
LOWtests/ag2/test_ag2_autolog.py83 # Check if the initiate_chat method is patchedCOMMENT
LOWtests/ag2/test_ag2_autolog.py332 # Check if the initiate_chat method is patchedCOMMENT
LOWtests/ag2/test_ag2_autolog.py342 # Check if the start time is in reasonable rangeCOMMENT
LOWtests/transformers/test_transformers_signature.py149 monkeypatch.setenv("MLFLOW_INPUT_EXAMPLE_INFERENCE_TIMEOUT", "1") # Set timeout to 1 secondCODE
LOWtests/optuna/test_storage.py580 # Set params to another trial.COMMENT
LOWtests/tracking/test_client.py3378 # Assign alias to version 1COMMENT
LOWtests/genai/evaluate/test_evaluation.py506 # Check if the model_id is set in the tracesCOMMENT
LOWtests/genai/prompts/test_prompts.py1407 # Set alias to version 1COMMENT
LOW⚡tests/gateway/providers/test_togetherai.py271 # Check if the raised exception has correct status code and detailCOMMENT
LOWtests/gateway/providers/test_togetherai.py306 # Check if the raised exception has correct status code and detailCOMMENT
LOWtests/gateway/providers/test_fallback.py121 # Set max_attempts to 2, even though we have 3 providersCOMMENT
LOWtests/store/tracking/test_file_store.py1496 # Set start_time to ensure the search result is deterministicCOMMENT
LOWtests/store/tracking/test_file_store.py1557 # Set start_time to ensure the search result is deterministicCOMMENT
LOW…racking/sqlalchemy_store/test_sqlalchemy_store_runs.py1854 # Set start_time to ensure the search result is deterministicCOMMENT
LOW…racking/sqlalchemy_store/test_sqlalchemy_store_runs.py1914 # Set start_time to ensure the search result is deterministicCOMMENT
LOW…racking/sqlalchemy_store/test_sqlalchemy_store_runs.py1968 # Set start_time to ensure the search result is deterministicCOMMENT
LOW⚡tests/store/artifact/test_models_artifact_repo.py225 # Check if the files are downloaded correctlyCOMMENT
LOW⚡tests/store/artifact/test_models_artifact_repo.py229 # Check if the metadata file is createdCOMMENT
LOWmlflow/demo/base.py67 # Check if demo data exists (version handled by base class)STRING
LOWmlflow/assistant/cli.py62 # Check if already configuredCOMMENT
LOWmlflow/tracing/enablement.py86 # Check if the experiment exists. In Databricks notebook, this `get_experiment` call triggersCOMMENT
LOWmlflow/tracing/fluent.py256 # Check if the function is a classmethod or staticmethodCOMMENT
LOWmlflow/tracing/fluent.py1189 # Check if pandas is installed early to avoid unnecessary computationCOMMENT
LOWmlflow/tracing/utils/truncation.py73 # Check if the object contains messages with OpenAI ChatCompletion formatCOMMENT
LOWmlflow/tracing/utils/truncation.py77 # Check if the object contains a message in OpenAI ChatCompletion response format (choices)COMMENT
LOWmlflow/tracing/utils/truncation.py88 # Check if the object contains a message in OpenAI Responses API request formatCOMMENT
LOWmlflow/tracing/utils/truncation.py92 # Check if the object contains a message in OpenAI Responses API response formatCOMMENT
LOWmlflow/gemini/genai_semconv_converter.py18 # Check if this is a list of Content dicts (have "role" key)COMMENT
LOWmlflow/onnx/__init__.py273 # Check if the MLModel config has the providers meta dataCOMMENT
LOWmlflow/langchain/utils/chat.py450 # Check if this is streaming (contains ChatGenerationChunk)COMMENT
LOWmlflow/pyspark/optuna/study.py223 # Check if study exists and auto-resume if it doesCOMMENT
LOWmlflow/llama_index/tracer.py667 # Check if generator/async generator is already closedCOMMENT
LOW⚡mlflow/server/gateway_api.py187 # Check if body was already parsed by auth middlewareCOMMENT
LOWmlflow/server/gateway_api.py387 # Check if this is Azure OpenAI (requires api_type, deployment_name, api_base, api_version)COMMENT
LOWmlflow/server/handlers.py1229 # Check if this field is a list type by looking for _assert_array validatorCOMMENT
LOWmlflow/server/handlers.py8600 # Check if run exists before attempting deletion - user may haveCOMMENT
LOWmlflow/server/__init__.py485 # Check if job execution can be enabled (requirements met)COMMENT
LOWmlflow/server/assistant/api.py944 # Check if skills already exist - skip re-installationCOMMENT
LOWmlflow/server/auth/__init__.py7826 # Check if this is a trusted internal request from a job subprocess.COMMENT
LOWmlflow/utils/credentials.py121 # Check if databricks credentials are valid.COMMENT
LOWmlflow/utils/uv_utils.py451 # Set UV_PROJECT_ENVIRONMENT to install packages into python environment atSTRING
LOWmlflow/utils/rest_utils.py535 # Check if this is a retryable errorCOMMENT
LOWmlflow/utils/rest_utils.py539 # Check if we've exceeded max retriesCOMMENT
LOWmlflow/utils/rest_utils.py555 # Check if we've exceeded or would exceed timeoutCOMMENT
94 more matches not shown…
Over-Commented Block257 hits · 227 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py61 )COMMENT
LOWtests/conftest.py81# - tests/gateway/providers/test_databricks.py: mocks the global `databricks.sdk` module;COMMENT
LOW…ts/assistant/providers/test_mlflow_gateway_provider.py61 # must surface that explicitly rather than silently returning OK —COMMENT
LOWtests/server/auth/test_auth_workspace.py4021 _set_workspace_permission(store, username, NO_PERMISSIONS.name)COMMENT
LOWtests/sklearn/test_sklearn_autolog.py941COMMENT
LOWtests/db/test_tracking_operations.py61 # > transaction could not be processed, a memory allocation error occurredCOMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py161COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py281 registered_model_name="AdsModel1",COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py301COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py321# artifact_repo.log_artifacts(model_path, artifact_path=artifact_path)COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py341# spark_custom_env_parsed = yaml.safe_load(f)COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py361# req_file = tmpdir.join("requirements.txt")COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py381# jsl_model, "model", pip_requirements=[f"-c {req_file.strpath}", "b"]COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py401# mlflow.get_artifact_uri("model"), [expected_mlflow_version, *default_reqs, "a"]COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py421# ["a"],COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py441# ):COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py461# spark_custom_env_parsed = yaml.safe_load(f)COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py481# model_path = _download_artifact_from_uri(artifact_uri=model_uri)COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py501# _assert_pip_requirements(model_uri, mlflow.johnsnowlabs.get_default_pip_requirements())COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py521# ),COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py541# "12.0",COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py561# "dbfs:/databricks/mlflow-tracking/a/b/model/sparkml",COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py581# mlflowdbfs_available,COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py601# if dbutils_available:COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py621# mock_get_dbutils,COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py641# == "dbfs:/databricks/mlflow-tracking/a/b/model/sparkml"COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py661#COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py681# ), mock.patch(COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py701#COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py721# python_env_path = Path(model_path, pyfunc_conf[pyfunc.ENV]["virtualenv"])COMMENT
LOWtests/johnsnowlabs/test_johnsnowlabs_model_export.py741# artifact_path=artifact_path,COMMENT
LOW…ts/spark/autologging/ml/test_pyspark_ml_autologging.py921 logloss1 = mce.evaluate(pred1_result)COMMENT
LOW…g/model_registry/test_uc_native_credential_dispatch.py1# Offline coverage for the UC-native artifact credential-dispatch and enrichment-converter armsCOMMENT
LOWcharts/artifacthub-repo.yml1# Artifact Hub repository metadata for the MLflow Helm chart.COMMENT
LOWcharts/example-mlflow-charts.yaml21 # - no_serve_artifactsCOMMENT
LOWcharts/example-mlflow-charts.yaml41storage:COMMENT
LOWcharts/example-mlflow-charts.yaml61# key: secret-access-keyCOMMENT
LOWcharts/values.yaml1# MLflow container image.COMMENT
LOWcharts/values.yaml21replicaCount: 1COMMENT
LOWcharts/values.yaml41 workers: 4COMMENT
LOWcharts/values.yaml81 timeoutSeconds: 10COMMENT
LOWcharts/values.yaml101 # Extra volumes added to the GC pod. Useful for mounting a custom CA bundleCOMMENT
LOWcharts/values.yaml161 backendStoreUriFrom: {}COMMENT
LOWcharts/values.yaml181# Useful for database passwords, S3 credentials, etc.COMMENT
LOWcharts/values.yaml201COMMENT
LOWcharts/values.yaml221# region: eu-west-1COMMENT
LOWcharts/values.yaml241# backendStoreUriFrom:COMMENT
LOWcharts/values.yaml341 mountPath: /mlflowCOMMENT
LOWcharts/values.yaml361tolerations: []COMMENT
LOWmlflow/environment_variables.py101#: Specifies the tracking URI.COMMENT
LOWmlflow/environment_variables.py121COMMENT
LOWmlflow/environment_variables.py141#: - ``false``: force it off — run that work in a host subprocess even in remote mode, letting anCOMMENT
LOWmlflow/environment_variables.py161#: provider CLI and its language runtime. Operators are expected to build/provide this image;COMMENT
LOWmlflow/environment_variables.py181COMMENT
LOWmlflow/environment_variables.py201#: seeding entirely — no roles are created and no grants are issued.COMMENT
LOWmlflow/environment_variables.py221 "MLFLOW_WORKSPACE_ARTIFACT_ROOT_CACHE_TTL_SECONDS", int, 60COMMENT
LOWmlflow/environment_variables.py321#: Specifies the expected AWS account ID that owns the S3 bucket for bucket ownership verification.COMMENT
LOWmlflow/environment_variables.py341#: tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_sizeCOMMENT
LOWmlflow/environment_variables.py541#: (default: ``None``)COMMENT
LOWmlflow/environment_variables.py561#: (or ``admin_password`` in the configuration file) must be set before the admin user exists.COMMENT
197 more matches not shown…
Modern Structural Boilerplate221 hits · 218 pts
SeverityFileLineSnippetContext
LOWtests/agent/test_setup_sh_databricks_e2e.py219def _set_routes(config: DatabricksTestConfig, routes: list[dict[str, object]]) -> None:CODE
LOWtests/strands/test_strands_tracing.py104 def update_config(self, **model_config: Any) -> None:CODE
LOWtests/pyfunc/custom_model/loader.py5__all__ = ["mod2"]CODE
LOWtests/pyfunc/custom_model/mod1/__init__.py3__all__ = ["mod2"]CODE
LOWtests/pyfunc/custom_model/mod1/mod2/__init__.py3__all__ = ["mod4"]CODE
LOW.claude/skills/src/skills/github/__init__.py5__all__ = [CODE
LOWmlflow/client.py10__all__ = [CODE
LOWmlflow/__init__.py211__all__ = [CODE
LOWmlflow/demo/__init__.py10__all__ = [CODE
LOWmlflow/demo/generators/__init__.py26__all__ = [CODE
LOWmlflow/dspy/__init__.py4__all__ = ["autolog"]CODE
LOWmlflow/assistant/config.py21def set_config_user(username: str | None) -> None:CODE
LOWmlflow/assistant/config.py237__all__ = [CODE
LOWmlflow/assistant/__init__.py25__all__ = ["get_project_path", "clear_project_path_cache", "AssistantConfig"]CODE
LOWmlflow/assistant/providers/__init__.py12__all__ = [CODE
LOWmlflow/assistant/providers/tool_executor.py30def set_remote_caller(remote: bool) -> None:CODE
LOWmlflow/metrics/__init__.py486__all__ = [CODE
LOWmlflow/metrics/genai/__init__.py15__all__ = [CODE
LOWmlflow/tracing/__init__.py19__all__ = [CODE
LOWmlflow/tracing/locations.py3__all__ = ["UnityCatalog"]CODE
LOW⚡mlflow/tracing/processor/uc_table.py96 def _set_user_session_span_attributes(self, root_span: OTelReadableSpan) -> None:CODE
LOWmlflow/tracing/processor/otel_metrics_mixin.py39 def _setup_metrics_if_necessary(self) -> None:CODE
LOWmlflow/tracing/utils/otlp.py164def _set_otel_proto_anyvalue(pb_any_value: AnyValue, value: Any) -> None:CODE
LOWmlflow/tracing/utils/__init__.py924def set_span_model_attribute(span: LiveSpan, inputs: dict[str, Any]) -> None:CODE
LOWmlflow/tracing/utils/__init__.py957def set_span_cost_attribute(span: LiveSpan) -> None:CODE
LOWmlflow/tracing/utils/truncation.py15def set_request_response_preview(trace_info: TraceInfo, trace_data: TraceData) -> None:CODE
LOWmlflow/tracing/display/__init__.py7__all__ = [CODE
LOWmlflow/tracing/export/async_export_queue.py139 def _set_up_threads(self) -> None:CODE
LOWmlflow/types/responses.py23__all__ = [CODE
LOWmlflow/pytest/session.py36def set_plugin_active() -> None:CODE
LOWmlflow/pytest/session.py45def set_current_test(test_name: str | None, case_id: str | None = None) -> None:CODE
LOWmlflow/pytest/__init__.py3__all__ = ["test"]CODE
LOWmlflow/langchain/autolog.py10logger = logging.getLogger(__name__)CODE
LOWmlflow/langchain/__init__.py5__all__ = ["autolog", "FLAVOR_NAME"]CODE
LOWmlflow/langchain/utils/logging.py62logger = logging.getLogger(__name__)CODE
LOWmlflow/config/__init__.py44__all__ = [CODE
LOWmlflow/diffusers/__init__.py533__all__ = [CODE
LOWmlflow/pyspark/__init__.py3__all__ = ["ml"]CODE
LOWmlflow/projects/__init__.py447__all__ = ["run", "SubmittedRun"]CODE
LOWmlflow/projects/backend/__init__.py8__all__ = ["AbstractBackend"]CODE
LOWmlflow/llama_index/__init__.py5__all__ = ["autolog", "FLAVOR_NAME"]CODE
LOWmlflow/claude_code/tracing.py125def _set_token_usage_attribute(span, usage: dict[str, Any]) -> None:CODE
LOWmlflow/server/gateway_api.py323def _set_gateway_telemetry_state(request: Request, endpoint_config) -> None:CODE
LOWmlflow/server/workspace_helpers.py148__all__ = [CODE
LOWmlflow/server/assistant/session.py63 def set_pending_message(self, role: str, content: str) -> None:CODE
LOWmlflow/server/assistant/session.py82 def update_context(self, context: dict[str, Any]) -> None:CODE
LOWmlflow/server/sandbox/__init__.py23__all__ = [CODE
LOWmlflow/server/jobs/progress.py62def _set_job_tracker(tracker: "JobTracker | None") -> None:CODE
LOWmlflow/server/jobs/progress.py67def update_status_details(status_details: dict[str, Any]) -> None:CODE
LOWmlflow/utils/workspace_utils.py57def set_workspace_store_uri(uri: str | None) -> None:CODE
LOWmlflow/utils/workspace_utils.py111__all__ = [CODE
LOWmlflow/utils/jsonpath_utils.py199def set_nested_value(data: dict[str, Any], parts: list[str], value: Any) -> None:CODE
LOWmlflow/utils/async_logging/async_logging_queue.py323 def _set_up_logging_thread(self) -> None:CODE
LOW…w/utils/async_logging/async_artifacts_logging_queue.py219 def _set_up_logging_thread(self) -> None:CODE
LOWmlflow/utils/autologging_utils/client.py241 def set_tags(self, run_id: str | PendingRunId, tags: dict[str, Any]) -> None:CODE
LOWmlflow/models/__init__.py49__all__ = [CODE
LOWmlflow/models/model.py1620def set_model(model) -> None:CODE
LOWmlflow/models/evaluation/__init__.py13__all__ = [CODE
LOW⚡mlflow/typesafe/autolog.py110def _set_request_attributes(span: LiveSpan, inputs: dict[str, Any]) -> None:CODE
LOW⚡mlflow/typesafe/autolog.py117def _set_response_attributes(span: LiveSpan, output: Any, inputs: dict[str, Any]) -> None:CODE
161 more matches not shown…
Cross-Language Confusion (JS/TS)31 hits · 155 pts
SeverityFileLineSnippetContext
HIGH…ged-models/ExperimentLoggedModelListPageTableEmpty.tsx83 print(logged_model.model_id, logged_model.params)CODE
HIGH…ged-models/ExperimentLoggedModelListPageTableEmpty.tsx101 print(logged_model.model_id, logged_model.metrics)`.trim();CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts298 call_source: 'def evaluate(inputs, outputs):\n return True',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts308 code: 'def evaluate(inputs, outputs):\n return True',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts632 code: 'def my_scorer(inputs, outputs):\n return True',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts649 call_source: 'def my_scorer(inputs, outputs):\n return True',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts661 code: 'return True',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts954 code: 'def original_scorer():\n return False',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts965 code: 'def original_scorer():\n return False',CODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts975 code: 'def original_scorer():\n return False', // Code unchangedCODE
HIGH…/experiment-scorers/utils/scorerTransformUtils.test.ts1053 code: 'def original_scorer():\n return False',CODE
HIGH…iment-scorers/hooks/scheduledScorersCacheUtils.test.ts51 serialized_scorer: '{"name": "custom", "call_source": "return True"}',CODE
HIGH…iment-scorers/hooks/scheduledScorersCacheUtils.test.ts78 code: 'return True',CODE
HIGH…nt-tracking/pages/prompts/components/OptimizeModal.tsx77print(f"The new prompt URI: {result.optimized_prompts[0].uri}")`;CODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx331print(run_prompt(**variables))`;CODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx353print(run_prompt(**variables))`;CODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx368print(run_prompt(${variables.map((name) => `${name}="<${name}>"`).join(', ')}))`;CODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx384print(run_prompt(${variables.map((name) => `${name}="<${name}>"`).join(', ')}))`;CODE
HIGH…rc/gateway/components/endpoints/EndpointUsageModal.tsx91print(response.json())`,CODE
HIGH…rc/gateway/components/endpoints/EndpointUsageModal.tsx123print(response.choices[0].message)`,CODE
HIGH…rc/gateway/components/endpoints/EndpointUsageModal.tsx152print(response.output_text)`,CODE
HIGH…rc/gateway/components/endpoints/EndpointUsageModal.tsx178print(response.content[0].text)`,CODE
HIGH…rc/gateway/components/endpoints/EndpointUsageModal.tsx212print(response.candidates[0].content.parts[0].text)`,CODE
HIGH…c/gateway/components/edit-endpoint/StarterCodeCard.tsx69print(response.json()["answers"]["evaluation"])`,CODE
HIGH…c/gateway/components/edit-endpoint/StarterCodeCard.tsx98print(response.choices[0].message)`,CODE
HIGH…c/gateway/components/edit-endpoint/StarterCodeCard.tsx125print(response.output_text)`,CODE
HIGH…c/gateway/components/edit-endpoint/StarterCodeCard.tsx156print(response.content[0].text)`,CODE
HIGH…c/gateway/components/edit-endpoint/StarterCodeCard.tsx187print(response.candidates[0].content.parts[0].text)`,CODE
HIGH…cs/src/components/OpenAICompatibleGatewayDoc/index.tsx142print(response.choices[0].message.content)`}CODE
HIGH…cs/src/components/OpenAICompatibleGatewayDoc/index.tsx221print(answer)`}CODE
HIGH…cs/src/components/OpenAICompatibleGatewayDoc/index.tsx288 print(chunk.choices[0].delta.content, end="")`}CODE
AI Structural Patterns147 hits · 124 pts
SeverityFileLineSnippetContext
LOWtests/server/test_handlers.py409CODE
LOWtests/server/auth/test_auth_workspace.py212CODE
LOWtests/tracking/fluent/test_fluent.py87CODE
LOWtests/gateway/test_tracing_utils.py66CODE
LOWtests/store/tracking/sqlalchemy_store/conftest.py293CODE
LOWtests/store/tracking/sqlalchemy_store/conftest.py331CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py1122CODE
LOWmlflow/h2o/__init__.py77CODE
LOWmlflow/h2o/__init__.py213CODE
LOWmlflow/dspy/save.py82CODE
LOWmlflow/dspy/save.py308CODE
LOWmlflow/sentence_transformers/__init__.py117CODE
LOWmlflow/sentence_transformers/__init__.py304CODE
LOWmlflow/keras/save.py103CODE
LOWmlflow/keras/save.py275CODE
LOWmlflow/keras/autologging.py115CODE
LOWmlflow/metrics/genai/metric_definitions.py14CODE
LOWmlflow/metrics/genai/metric_definitions.py105CODE
LOWmlflow/metrics/genai/metric_definitions.py197CODE
LOWmlflow/metrics/genai/metric_definitions.py286CODE
LOWmlflow/metrics/genai/metric_definitions.py369CODE
LOWmlflow/metrics/genai/genai_metric.py204CODE
LOWmlflow/metrics/genai/genai_metric.py365CODE
LOWmlflow/tracing/client.py296CODE
LOWmlflow/tracing/fluent.py96CODE
LOWmlflow/tracing/fluent.py111CODE
LOWmlflow/tracing/fluent.py125CODE
LOWmlflow/tracing/fluent.py305CODE
LOWmlflow/tracing/fluent.py388CODE
LOWmlflow/tracing/fluent.py544CODE
LOWmlflow/tracing/fluent.py703CODE
LOWmlflow/tracing/fluent.py1010CODE
LOWmlflow/tracing/fluent.py1506CODE
LOWmlflow/tracing/fluent.py1860CODE
LOWmlflow/shap/__init__.py298CODE
LOWmlflow/shap/__init__.py388CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py329CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py356CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py383CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py410CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py437CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py464CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py491CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py518CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py545CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py572CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py599CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py626CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py653CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py680CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py707CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py734CODE
LOWmlflow/protos/unity_catalog_prompt_service_pb2_grpc.py761CODE
LOWmlflow/onnx/__init__.py92CODE
LOWmlflow/onnx/__init__.py514CODE
LOWmlflow/langchain/model.py132CODE
LOWmlflow/langchain/model.py441CODE
LOWmlflow/xgboost/__init__.py115CODE
LOWmlflow/xgboost/__init__.py237CODE
LOWmlflow/xgboost/__init__.py465CODE
87 more matches not shown…
Structural Annotation Overuse70 hits · 123 pts
SeverityFileLineSnippetContext
LOW⚡tests/gateway/test_tracing_utils.py446 # Step 1: Agent creates span and generates traceparent headersCOMMENT
LOW⚡tests/gateway/test_tracing_utils.py452 # Step 2: Gateway processes request (no active agent span, simulating separate server)COMMENT
LOW…/sqlalchemy_store/test_sqlalchemy_store_assessments.py615 # Step 1: log_spans() creates the trace row as spans are exported incrementally.COMMENT
LOW…/sqlalchemy_store/test_sqlalchemy_store_assessments.py639 # Step 2: _log_trace() calls start_trace() with the full TraceInfo (includingCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py485 # Step 9: Test delete_scorer for non-existent scorerCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py489 # Step 10: Test delete_scorer for non-existent versionCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py495 # Step 11: Test delete_scorer for remaining scorersCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py505 # Step 12: Test list_scorer_versionsCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py350 # Step 2: Test list_scorers - should return latest version for each scorer nameCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py394 # Step 3: Test get_scorer with specific versionsCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py410 # Step 4: Test get_scorer without version (should return latest)COMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py423 # Step 5: Test error cases for get_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py434 # Step 6: Test delete_scorer - delete specific version of accuracy_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py458 # Step 7: Test delete_scorer - delete all versions of accuracy_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py474 # Step 8: Test list_scorers after deletionCOMMENT
LOW⚡mlflow/assistant/cli.py103 # Step 1: Select providerCOMMENT
LOW⚡mlflow/assistant/cli.py108 # Step 2: Check provider availabilityCOMMENT
LOW⚡mlflow/assistant/cli.py112 # Step 3: Optionally connect experiment with code repositoryCOMMENT
LOW⚡mlflow/assistant/cli.py115 # Step 4: Ask for modelCOMMENT
LOW⚡mlflow/assistant/cli.py118 # Step 5: Ask for skill locationCOMMENT
LOW⚡mlflow/assistant/cli.py121 # Step 6: Install skillsCOMMENT
LOW⚡mlflow/assistant/cli.py124 # Step 7: Save configurationCOMMENT
LOWmlflow/tracing/fluent.py1318 # Step 1: Page through traces to collect unique session IDs (up to max_results)COMMENT
LOWmlflow/tracing/fluent.py1349 # Step 2: Fetch complete traces for each session in parallelCOMMENT
LOWmlflow/server/js/src/assistant/AssistantService.ts310 // Step 1: POST the message to initiate processingCOMMENT
LOWmlflow/server/js/src/assistant/AssistantService.ts327 // Step 2: Get the session_id from the responseCOMMENT
LOWmlflow/server/js/src/assistant/AssistantService.ts339 // Step 3: Connect to the SSE endpoint to receive the streamCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx21 // Step 1: raw intervalCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx24 // Step 2: round to a "nice" intervalCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx36 // Step 3: extend right bound so we always overshoot itCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx41 // Step 4: Generate tick positionsCOMMENT
LOW…/model-trace-explorer/graph-view/GraphView.workflow.ts244 // Step 1: Position leaf nodes (no children) sequentiallyCOMMENT
LOW…/model-trace-explorer/graph-view/GraphView.workflow.ts255 // Step 2: Center parent nodes above their positioned childrenCOMMENT
LOW⚡…/model-trace-explorer/graph-view/GraphView.workflow.ts270 // Step 3: Position any remaining unpositioned nodes in this layerCOMMENT
LOW⚡…/model-trace-explorer/graph-view/GraphView.workflow.ts279 // Step 4: Resolve overlaps — sort by x, push right as neededCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx21 // Step 1: raw intervalCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx24 // Step 2: round to a "nice" intervalCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx36 // Step 3: extend right bound so we always overshoot itCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx41 // Step 4: Generate tick positionsCOMMENT
LOW…flow/server/js/src/mcp-registry/installInstructions.ts633 claudeCodeCommand = `# Step 1: Start the server\n${step1}\n\n# Step 2: Connect\n${step2}`;CODE
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts13# Step 1: Define evaluation datasetCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts20# Step 2: Define predict_fnCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts28# Step 3: Run evaluationCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts54# Step 1: Pull traces to evaluate.COMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts59# Step 2: Run evaluation. No predict_fn needed — inputs/outputsCOMMENT
LOW⚡mlflow/cli/crypto.py77 # Step 1: Stop server (or ctrl-c if running in foreground)STRING
LOW⚡mlflow/cli/crypto.py85 # Step 4: Run rotationSTRING
LOW⚡mlflow/cli/crypto.py88 # Step 5: Update deployment config (example for Kubernetes)STRING
LOW⚡mlflow/cli/crypto.py94 # Step 6: Restart serverSTRING
LOWmlflow/ai_commands/genai/analyze_experiment.md17## Step 1: Setup and ConfigurationCOMMENT
LOWmlflow/ai_commands/genai/analyze_experiment.md79## Step 2: Analysis PhaseCOMMENT
LOW⚡mlflow/genai/agent_tester.py415 # Step 1: Describe the agentCOMMENT
LOW⚡mlflow/genai/agent_tester.py422 # Step 2: Generate test casesCOMMENT
LOW⚡mlflow/genai/agent_tester.py429 # Step 3: Simulate conversationsCOMMENT
LOW⚡mlflow/genai/agent_tester.py440 # Step 4: Detect issuesCOMMENT
LOWmlflow/genai/datasets/__init__.py519 # WARNING: This returns ALL datasets - use with caution!STRING
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4385 # Step 1: Find sessions with at least one trace >= min timestamp (optimization)COMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4393 # Step 2: Optional filter on first trace (e.g., tags.myTag = "value")COMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4401 # Step 3: Compute first/last trace timestamps for each sessionCOMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4409 # Step 4: Get completed sessions (last trace <= max timestamp)COMMENT
10 more matches not shown…
Verbosity Indicators65 hits · 113 pts
SeverityFileLineSnippetContext
LOW⚡tests/gateway/test_tracing_utils.py446 # Step 1: Agent creates span and generates traceparent headersCOMMENT
LOW⚡tests/gateway/test_tracing_utils.py452 # Step 2: Gateway processes request (no active agent span, simulating separate server)COMMENT
LOW…/sqlalchemy_store/test_sqlalchemy_store_assessments.py615 # Step 1: log_spans() creates the trace row as spans are exported incrementally.COMMENT
LOW…/sqlalchemy_store/test_sqlalchemy_store_assessments.py639 # Step 2: _log_trace() calls start_trace() with the full TraceInfo (includingCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py485 # Step 9: Test delete_scorer for non-existent scorerCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py489 # Step 10: Test delete_scorer for non-existent versionCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py495 # Step 11: Test delete_scorer for remaining scorersCOMMENT
LOW⚡…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py505 # Step 12: Test list_scorer_versionsCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py350 # Step 2: Test list_scorers - should return latest version for each scorer nameCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py394 # Step 3: Test get_scorer with specific versionsCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py410 # Step 4: Test get_scorer without version (should return latest)COMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py423 # Step 5: Test error cases for get_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py434 # Step 6: Test delete_scorer - delete specific version of accuracy_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py458 # Step 7: Test delete_scorer - delete all versions of accuracy_scorerCOMMENT
LOW…king/sqlalchemy_store/test_sqlalchemy_store_scorers.py474 # Step 8: Test list_scorers after deletionCOMMENT
LOW⚡mlflow/assistant/cli.py103 # Step 1: Select providerCOMMENT
LOW⚡mlflow/assistant/cli.py108 # Step 2: Check provider availabilityCOMMENT
LOW⚡mlflow/assistant/cli.py112 # Step 3: Optionally connect experiment with code repositoryCOMMENT
LOW⚡mlflow/assistant/cli.py115 # Step 4: Ask for modelCOMMENT
LOW⚡mlflow/assistant/cli.py118 # Step 5: Ask for skill locationCOMMENT
LOW⚡mlflow/assistant/cli.py121 # Step 6: Install skillsCOMMENT
LOW⚡mlflow/assistant/cli.py124 # Step 7: Save configurationCOMMENT
LOWmlflow/tracing/fluent.py1318 # Step 1: Page through traces to collect unique session IDs (up to max_results)COMMENT
LOWmlflow/tracing/fluent.py1349 # Step 2: Fetch complete traces for each session in parallelCOMMENT
LOWmlflow/types/schema.py266 When two properties have the same name, we need to check if their dtypesSTRING
LOWmlflow/langchain/databricks_dependencies.py190 To keep backward compatibility, we need to check if the object is an instance of theSTRING
LOWmlflow/server/js/src/assistant/AssistantService.ts310 // Step 1: POST the message to initiate processingCOMMENT
LOWmlflow/server/js/src/assistant/AssistantService.ts327 // Step 2: Get the session_id from the responseCOMMENT
LOWmlflow/server/js/src/assistant/AssistantService.ts339 // Step 3: Connect to the SSE endpoint to receive the streamCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx21 // Step 1: raw intervalCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx24 // Step 2: round to a "nice" intervalCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx36 // Step 3: extend right bound so we always overshoot itCOMMENT
LOW⚡…explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx41 // Step 4: Generate tick positionsCOMMENT
LOW…/model-trace-explorer/graph-view/GraphView.workflow.ts244 // Step 1: Position leaf nodes (no children) sequentiallyCOMMENT
LOW…/model-trace-explorer/graph-view/GraphView.workflow.ts255 // Step 2: Center parent nodes above their positioned childrenCOMMENT
LOW⚡…/model-trace-explorer/graph-view/GraphView.workflow.ts270 // Step 3: Position any remaining unpositioned nodes in this layerCOMMENT
LOW⚡…/model-trace-explorer/graph-view/GraphView.workflow.ts279 // Step 4: Resolve overlaps — sort by x, push right as neededCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx21 // Step 1: raw intervalCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx24 // Step 2: round to a "nice" intervalCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx36 // Step 3: extend right bound so we always overshoot itCOMMENT
LOW⚡…lorer/v2/timeline-tree/gantt/TimelineTreeGanttBars.tsx41 // Step 4: Generate tick positionsCOMMENT
LOW…flow/server/js/src/mcp-registry/installInstructions.ts633 claudeCodeCommand = `# Step 1: Start the server\n${step1}\n\n# Step 2: Connect\n${step2}`;CODE
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts13# Step 1: Define evaluation datasetCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts20# Step 2: Define predict_fnCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts28# Step 3: Run evaluationCOMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts54# Step 1: Pull traces to evaluate.COMMENT
LOW⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts59# Step 2: Run evaluation. No predict_fn needed — inputs/outputsCOMMENT
LOWmlflow/utils/async_logging/async_logging_queue.py148 # `queue_size` is an estimate, so we need to check if the queue is empty.COMMENT
LOW⚡mlflow/cli/crypto.py77 # Step 1: Stop server (or ctrl-c if running in foreground)STRING
LOW⚡mlflow/cli/crypto.py85 # Step 4: Run rotationSTRING
LOW⚡mlflow/cli/crypto.py88 # Step 5: Update deployment config (example for Kubernetes)STRING
LOW⚡mlflow/cli/crypto.py94 # Step 6: Restart serverSTRING
LOWmlflow/transformers/__init__.py2354 The purpose of this function is to convert them into the correct format for inputSTRING
LOW⚡mlflow/genai/agent_tester.py415 # Step 1: Describe the agentCOMMENT
LOW⚡mlflow/genai/agent_tester.py422 # Step 2: Generate test casesCOMMENT
LOW⚡mlflow/genai/agent_tester.py429 # Step 3: Simulate conversationsCOMMENT
LOW⚡mlflow/genai/agent_tester.py440 # Step 4: Detect issuesCOMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4385 # Step 1: Find sessions with at least one trace >= min timestamp (optimization)COMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4393 # Step 2: Optional filter on first trace (e.g., tags.myTag = "value")COMMENT
LOW⚡mlflow/store/tracking/sqlalchemy_store.py4401 # Step 3: Compute first/last trace timestamps for each sessionCOMMENT
5 more matches not shown…
AI Slop Vocabulary42 hits · 112 pts
SeverityFileLineSnippetContext
LOWtests/tracing/test_fluent.py1452# Test a field that doesn't exist for extraction - we shouldn't throw, just return empty columnCOMMENT
LOWtests/utils/test_environment.py375 # Should just pass with warningCOMMENT
MEDIUMtests/ag2/test_ag2_autolog.py321 # Test if the duration calculation for LLM completion is robust to timezone changes.COMMENT
MEDIUMtests/strands/test_strands_tracing.py21 # Restrict to the core keys so these assertions stay robust across strands versions.COMMENT
MEDIUMtests/db/test_trace_analytics_migration.py42# Derive from the migration so the harness provisions the database at the true immediate predecessorCOMMENT
LOW⚡tests/tracking/test_tracking.py811 # Create a run and verify that the current active experiment is the one we just setCOMMENT
LOW⚡tests/tracking/test_tracking.py897 # Create a run and verify that the current active experiment is the one we just setCOMMENT
MEDIUM⚡…sts/genai/judges/optimizers/memalign/test_optimizer.py995 # The eval harness scores rows on a thread pool sharing one scorer instanceCOMMENT
MEDIUM⚡…sts/genai/judges/optimizers/memalign/test_optimizer.py996 # (mlflow/genai/evaluation/harness.py:422-454), so two rows can be inside __call__ atCOMMENT
MEDIUMtests/genai/evaluate/test_utils.py557 # Using set because eval harness runs predict_fn in parallelCOMMENT
MEDIUM⚡tests/genai/evaluate/test_evaluation.py802 # Eval harness runs prediction in parallel, so the order is not deterministicCOMMENT
MEDIUMtests/genai/evaluate/test_evaluation.py862 # ThreadPoolExecutor is called twice in OSS (harness + scorers)COMMENT
MEDIUMmlflow/demo/__init__.py30 # demo generation (e.g. by the evaluation harness's ThreadPoolExecutor) can resolveCOMMENT
MEDIUMmlflow/assistant/providers/openai_compatible.py386 # interactive full-access grant below (which could only elevate to a level they are notCOMMENT
MEDIUMmlflow/tracing/fluent.py87# This is necessary for evaluation harness to access generated traces duringCOMMENT
MEDIUMmlflow/tracing/processor/base_mlflow.py277 # synchronously for the evaluation harness.COMMENT
LOWmlflow/tracing/display/display_handler.py83 # we can't just call trace.to_json() because thisSTRING
MEDIUMmlflow/tracing/export/mlflow_v3.py244 # harness can access to the trace using mlflow.get_trace(eval_request_id)COMMENT
MEDIUMmlflow/tracing/export/mlflow_v3.py402 # During evaluate or assertion tests, the harness relies on the generatedCOMMENT
MEDIUMmlflow/R/mlflow/R/databricks-utils.R146#' mode. This function extracts relevant data that MLflow needs in order to properly utilize theCOMMENT
LOWmlflow/server/auth/__init__.py3319 # No secret being changed, just return TrueCOMMENT
MEDIUM…server/js/config-eslint/presets/createConfigFactory.js734 // TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906)COMMENT
MEDIUM…in/rules/no-new-object-or-array-in-zustand-selector.js138 // More robust check might involve looking at definition types or scope levelCOMMENT
LOWmlflow/utils/proto_json_utils.py460 else: # by default just return whatever this is and hope for the bestCODE
MEDIUM⚡mlflow/utils/requirements_utils.py669 # NB: When a final name has been decided for GA for the aforementionedCOMMENT
MEDIUMmlflow/tracking/artifact_utils.py79 else: # if we're dealing with nt-based systems, we need to utilize pathname2url to encode.CODE
MEDIUM⚡mlflow/genai/judges/adapters/litellm_adapter.py53# ContextVar that upstream modules (e.g. the evaluate harness) can set to disableCOMMENT
MEDIUMmlflow/genai/judges/adapters/litellm_adapter.py549 # When an upstream module (e.g. the evaluate harness) has set the flag,COMMENT
MEDIUMmlflow/genai/judges/instructions_judge/__init__.py189 # NB: We create a dummy PromptVersion here to leverage its existing template variableCOMMENT
MEDIUMmlflow/genai/scorers/job.py344 # Use _compute_eval_scores from harness - supports scorer tracing,COMMENT
MEDIUMmlflow/genai/scorers/base.py928 # TODO: Replace 'Assessment' with 'Feedback' once we migrate from the agent eval harnessCOMMENT
MEDIUMmlflow/genai/evaluation/entities.py261 # evaluation harness from the scorers that declare one. In-process only.COMMENT
MEDIUMmlflow/genai/evaluation/base.py364 # harness will use those traces directly rather than calling predict_fn again.COMMENT
MEDIUMmlflow/genai/evaluation/base.py395 # NB: The "RAG_EVAL_MAX_WORKERS" env var is used in the DBX agent harness, but isCOMMENT
LOWmlflow/entities/span.py1069 # propagation mechanism, so here we just use the native object that meets ourCOMMENT
LOWmlflow/spark/autologging.py249 # If there are active runs, simply set the tag on the latest active runCOMMENT
LOWmlflow/store/tracking/sqlalchemy_store.py1359 # simply call _log_metrics and let it handle the restCOMMENT
LOWmlflow/store/tracking/sqlalchemy_store.py1676 # just create a new SqlLatestMetric instance since bothCOMMENT
LOWmlflow/store/tracking/sqlalchemy_store.py5367 # Assessment doesn't exist - this is idempotent, so just returnCOMMENT
MEDIUM…ions/1b5f0d9ad7c1_add_workspace_columns_and_catalog.py442 # We could potentially leverage Alembic's batch_alter_table with recreate="auto" to avoid theCOMMENT
MEDIUMmlflow/store/analytics/trace_correlation.py5# Using Jeffreys prior (alpha=0.5) to minimize bias while providing robust estimatesCOMMENT
MEDIUMexamples/gemini/tracing.py25# Also leverage the chat feature to conduct multi-turn interactionsCOMMENT
Fake / Example Data82 hits · 73 pts
SeverityFileLineSnippetContext
LOW⚡tests/tracing/export/test_mlflow_v3_exporter.py329 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py64 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py160 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py215 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py246 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py275 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py402 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py448 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py491 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py599 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/tracing/export/test_mlflow_v3_exporter.py670 monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token")CODE
LOWtests/types/test_schema.py1489 {"role": "user", "content": "I like machine learning", "name": "John Doe"},CODE
LOWtests/langchain/sample_code/chain.py14os.environ.setdefault("DATABRICKS_TOKEN", "fake-token")CODE
LOWtests/langchain/sample_code/no_config/chain.py6os.environ.setdefault("DATABRICKS_TOKEN", "fake-token")CODE
LOWtests/server/test_handlers.py9084 request_message.created_by = "user@example.com"CODE
LOWtests/server/test_handlers.py9098 created_by="user@example.com",CODE
LOWtests/server/test_handlers.py9119 assert call_kwargs["created_by"] == "user@example.com"CODE
LOWtests/utils/test_jsonpath_utils.py213 "source": {"source_type": "HUMAN", "source_id": "user@example.com"},CODE
LOWtests/utils/test_databricks_tracing_utils.py396 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW⚡tests/genai/datasets/test_evaluation_dataset.py209 created_by="user@example.com",CODE
LOW⚡tests/genai/datasets/test_evaluation_dataset.py222 created_by="user@example.com",CODE
LOW⚡tests/genai/datasets/test_evaluation_dataset.py233 created_by="user@example.com",CODE
LOW⚡tests/genai/datasets/test_evaluation_dataset.py239 "created_by='user@example.com', operation='OPTIMIZE')"CODE
LOWtests/entities/test_issue.py170 created_by="user@example.com",CODE
LOWtests/entities/test_issue.py184 assert issue.created_by == "user@example.com"CODE
LOWtests/entities/test_issue.py232 "created_by": "admin@example.com",CODE
LOWtests/entities/test_issue.py248 assert issue.created_by == "admin@example.com"CODE
LOWtests/gateway/providers/test_anthropic.py1332 "content": [{"type": "text", "text": '{"name": "John Doe", "email": "john@example.com"}'}],CODE
LOWtests/gateway/providers/test_anthropic.py1355 == '{"name": "John Doe", "email": "john@example.com"}'CODE
LOWtests/gateway/providers/test_mistral.py330 "content": '{"name": "John Doe", "email": "john@example.com"}',CODE
LOWtests/gateway/providers/test_mistral.py347 == '{"name": "John Doe", "email": "john@example.com"}'CODE
LOW⚡tests/store/tracking/test_databricks_rest_store.py1847 "created_by": "user@example.com",CODE
LOW⚡tests/store/tracking/test_databricks_rest_store.py1848 "last_updated_by": "user@example.com",CODE
LOW⚡tests/store/tracking/test_databricks_rest_store.py1855 "created_by": "user@example.com",CODE
LOW⚡tests/store/tracking/test_databricks_rest_store.py1888 assert result[0].created_by == "user@example.com"CODE
LOW⚡tests/store/tracking/test_databricks_rest_store.py1889 assert result[0].last_updated_by == "user@example.com"CODE
LOW⚡…cking/sqlalchemy_store/test_sqlalchemy_store_issues.py73 assert issue.created_by == "user@example.com"CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_issues.py58 created_by="user@example.com",CODE
LOW…ng/sqlalchemy_store/test_sqlalchemy_workspace_store.py1619 source = AssessmentSource(source_type="HUMAN", source_id="user@example.com")CODE
LOW…ng/sqlalchemy_store/test_sqlalchemy_workspace_store.py1702 source = AssessmentSource(source_type="HUMAN", source_id="user@example.com")CODE
LOW…ng/sqlalchemy_store/test_sqlalchemy_workspace_store.py1809 source_type=AssessmentSourceType.HUMAN, source_id="user@example.com"CODE
LOW⚡…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2113 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW⚡…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2121 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW⚡…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2131 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py531 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py1787 source = AssessmentSource(source_type="HUMAN", source_id="user@example.com")CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py1834 source = AssessmentSource(source_type="HUMAN", source_id="user@example.com")CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2183 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2193 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW…cking/sqlalchemy_store/test_sqlalchemy_store_traces.py2248 source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"),CODE
LOW…s/store/artifact/test_azure_data_lake_artifact_repo.py458 first_credential = AzureSasCredential("fake_token")CODE
LOW⚡…atalog/model_registry/test_unity_catalog_rest_store.py771 access_key_id = "fake-key"CODE
LOW⚡…atalog/model_registry/test_unity_catalog_rest_store.py1007 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py506 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py576 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py640 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py702 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py1081 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py1166 access_key_id = "fake-key"CODE
LOW…atalog/model_registry/test_unity_catalog_rest_store.py1690 access_key_id = "fake-key"CODE
22 more matches not shown…
Magic Placeholder Names10 hits · 52 pts
SeverityFileLineSnippetContext
HIGHmlflow/metrics/genai/genai_metric.py261 os.environ.setdefault("OPENAI_API_KEY", "your-api-key-here")STRING
HIGH⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts10os.environ["OPENAI_API_KEY"] = "your-api-key-here" # Replace with your API keyCODE
HIGH⚡…s/experiment-evaluation-runs/evaluationCodeSnippets.ts51os.environ["OPENAI_API_KEY"] = "your-api-key-here" # Replace with your API keyCODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx298client = OpenAI(api_key="<YOUR_API_KEY>")`;CODE
HIGH…king/pages/prompts/components/PromptContentPreview.tsx298client = OpenAI(api_key="<YOUR_API_KEY>")`;CODE
HIGHdocs/src/components/OpenAICompatibleGateways/config.ts61 apiKeyPlaceholder: '<YOUR_API_KEY>',CODE
HIGHdocs/src/components/OpenAICompatibleGateways/config.ts61 apiKeyPlaceholder: '<YOUR_API_KEY>',CODE
HIGHlibs/tracing/README.md67client = openai.OpenAI(api_key="<your-api-key>")CODE
HIGHexamples/openai/autologging/README.md18python examples/openai/autologging/instantiated_client.py --api-key="your-api-key"CODE
HIGHexamples/openai/autologging/README.md27export OPENAI_API_KEY="your-api-key"CODE
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHmlflow/metrics/genai/model_utils.py347 # new ones as requested, as long as the provider support chat endpoints.COMMENT
HIGH…table/components/GenAiEvaluationTracesReview.utils.tsx909 // It is not AI generated, and it doesn't have the `IS_FROM_AI` metadata field set to trueCOMMENT
HIGH…races-table/components/GenAiEvaluationTracesReview.tsx60 // We check if there are no user provided overall assessments and if the last overall assessment was AI generated.COMMENT
HIGH…races-table/components/GenAiEvaluationTracesReview.tsx66 // If we should repeat the AI generated overall assessment, we need to copy and add it to the list of assessments COMMENT
HIGHmlflow/genai/scorers/job.py268 # Preserve order of traces as requestedCOMMENT
AI Response Leakage4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/utils/test_uri.py832 # In this example, %2%0952e -> %2\t52e -> %252e -> %2e -> .COMMENT
HIGHexamples/demos/mlflow-3/deep_learning.py2# In this example, we will first run a model training job, which is tracked as an MLflow Run.COMMENT
HIGHexamples/demos/mlflow-3/genai.py2# In this example, we will create an agent and then evaluate its performance. First, we will define the agent and log itCOMMENT
HIGHexamples/demos/mlflow-3/ml.py2# In this example, we will first run a model training job, which is tracked asCOMMENT
Slop Phrases8 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtests/genai/judges/optimizers/memalign/test_utils.py368 '{"guidelines": []}\nLet me know if you need more.',CODE
LOWtests/pyfunc/test_spark.py128 # Don't forget to revert these changes prior to pushing a branch!COMMENT
LOWexamples/tracing/client.py52 # End the child span. Please make sure to end the child span before ending the root span.COMMENT
MEDIUMexamples/tracing/client.py80# Alternatively, you can use search_traces() APICOMMENT
MEDIUMexamples/tracing/fluent.py44# Alternatively, you can use `search_traces` API to retrieveCOMMENT
LOWexamples/docker/train.py35 # Read the wine-quality csv file (make sure you're running this from the root of MLflow!)COMMENT
MEDIUMexamples/evaluation/evaluate_with_model_validation.py108# If you would like to catch model validation failures, you can add try except clauses aroundCOMMENT
LOWdev/update_mlflow_versions.py124# version of a dependency. to work around, we make sure toCOMMENT
Overly Generic Function Names15 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡tests/tracing/test_fluent.py2073 def test_function():CODE
LOW⚡tests/tracing/test_fluent.py2668 def test_function():CODE
LOWtests/tracing/test_provider.py715 def test_function():CODE
LOWtests/tracing/test_otel_logging.py631 def test_function():CODE
LOWtests/tracing/opentelemetry/test_integration.py349 def my_function():CODE
LOWtests/tracing/processor/test_otel_metrics.py94 def test_function() -> str:CODE
LOWtests/llama_index/test_llama_index_tracer.py765 async def process_data(self, ev: ProcessEvent) -> ResultEvent:CODE
LOWtests/llama_index/test_llama_index_tracer.py836 async def process_data(self, ev: ProcessEvent) -> ResultEvent:CODE
LOWtests/genai/test_agent_server.py122 def my_function(request):CODE
LOWtests/genai/test_agent_server.py470 def test_function(request):CODE
LOWtests/genai/test_agent_server.py488 def test_function(request):CODE
LOWtests/pyfunc/sample_code/utils.py1def my_function(input):CODE
LOWmlflow/tracing/fluent.py157 def my_function(x, y):STRING
LOWmlflow/tracing/fluent.py169 def my_function(x, y):STRING
LOWdev/clint/tests/test_index.py12 test_file.write_text("def test_function(): pass")CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWcharts/example-mlflow-charts.yaml2# Usage:COMMENT
LOWmlflow/protos/opentelemetry/update.sh5# Usage:COMMENT
LOW…ples/sklearn_elasticnet_diabetes/osx/train_diabetes.py13# Usage:COMMENT
LOW…es/sklearn_elasticnet_diabetes/linux/train_diabetes.py13# Usage:COMMENT
LOWdev/publish_model_catalog.sh4# Usage:COMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/server/sandbox/test_streaming.py221CODE
MEDIUMtests/utils/test_requirements_utils.py633CODE
MEDIUMtests/openai/test_openai_agent_autolog.py445CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ent-logged-models/ExperimentLoggedModelDetailsPage.tsx79 // TODO: implement error handlingCOMMENT