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.
This report presents the forensic synthetic code analysis of mlflow/mlflow, a Python project with 27,017 GitHub stars. SynthScan v2.0 examined 1,499,655 lines of code across 5905 source files, recording 19891 pattern matches distributed across 28 syntactic categories. The overall adjusted score of 15.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 19891 distinct pattern matches across 28 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 599 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | tests/conftest.py | 726 | def remote_backend_for_tracing_sdk_test(): | CODE |
| LOW | tests/conftest.py | 777 | def tmp_experiment_for_tracing_sdk_test(monkeypatch): | CODE |
| LOW | tests/conftest.py | 800 | def disable_workspace_mode_by_default(monkeypatch): | CODE |
| LOW | tests/conftest.py | 839 | def reset_active_experiment_id(): | CODE |
| LOW | tests/conftest.py | 888 | def disable_async_trace_logging(monkeypatch): | CODE |
| LOW | tests/conftest.py | 924 | def enable_test_mode_by_default_for_autologging_integrations(): | CODE |
| LOW | tests/conftest.py | 961 | def prevent_infer_pip_requirements_fallback(request): | CODE |
| LOW | tests/conftest.py | 987 | def clean_up_mlruns_directory(request): | CODE |
| LOW | tests/conftest.py | 1006 | def clean_up_last_logged_model_id(): | CODE |
| LOW | tests/conftest.py | 1048 | def _mock_databricks_host_metadata(): | CODE |
| LOW | tests/conftest.py | 1155 | def mock_databricks_serving_with_tracing_env(monkeypatch): | CODE |
| LOW | tests/conftest.py | 1169 | def reset_active_model_context(): | CODE |
| LOW | tests/conftest.py | 1175 | def clean_up_telemetry_threads(): | CODE |
| LOW | tests/helper_functions.py | 109 | def score_model_in_sagemaker_docker_container( | CODE |
| LOW | tests/helper_functions.py | 144 | def pyfunc_generate_dockerfile(output_directory, model_uri=None, extra_args=None, env=None): | CODE |
| LOW | tests/helper_functions.py | 205 | def pyfunc_serve_from_docker_image(image_name, host_port, extra_args=None): | CODE |
| LOW | tests/helper_functions.py | 218 | def pyfunc_serve_from_docker_image_with_env_override( | CODE |
| LOW | tests/helper_functions.py | 240 | def pyfunc_serve_and_score_model( | CODE |
| LOW | tests/helper_functions.py | 427 | def _compare_logged_code_paths(code_path: str, model_uri: str, flavor_name: str) -> None: | CODE |
| LOW | tests/helper_functions.py | 444 | def _compare_conda_env_requirements(env_path, req_path): | CODE |
| LOW | tests/helper_functions.py | 455 | def _get_deps_from_requirement_file(model_uri): | CODE |
| LOW | tests/helper_functions.py | 466 | def assert_register_model_called_with_local_model_path( | CODE |
| LOW | tests/helper_functions.py | 555 | def allow_infer_pip_requirements_fallback_if(condition): | CODE |
| LOW | tests/helper_functions.py | 605 | def assert_array_almost_equal(actual_array, desired_array, rtol=1e-6): | CODE |
| LOW | tests/helper_functions.py | 617 | def _mlflow_major_version_string(): | CODE |
| LOW | tests/test_skinny_client_anthropic_import.py | 18 | def test_mlflow_types_chat_importable_without_numpy(): | CODE |
| LOW | tests/test_skinny_client_omits_sql_libs.py | 10 | def test_fails_import_sqlalchemy(): | CODE |
| LOW | tests/test_skinny_client_omits_sql_libs.py | 20 | def test_skinny_client_without_importing_sqlalchemy() -> None: | CODE |
| LOW | tests/test_mismatch.py | 26 | def test_check_version_mismatch_no_warn( | CODE |
| LOW | tests/test_mismatch.py | 60 | def test_check_version_mismatch_warn( | CODE |
| LOW | tests/test_skinny_client_autolog_without_scipy.py | 9 | def test_autolog_without_scipy(): | CODE |
| LOW | tests/test_exceptions.py | 17 | def test_error_code_constructor(): | CODE |
| LOW | tests/test_exceptions.py | 35 | def test_get_http_status_code(): | CODE |
| LOW | tests/test_exceptions.py | 45 | def test_invalid_parameter_value(): | CODE |
| LOW | tests/test_exceptions.py | 58 | def test_rest_exception_with_unrecognized_error_code(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 71 | def test_rest_exception_pickleable(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 79 | def test_rest_exception_with_null_error_code(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 85 | def test_rest_exception_with_missing_error_code(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 94 | def test_sqlstate_auto_derived_from_error_code(): | CODE |
| LOW | tests/test_exceptions.py | 108 | def test_sqlstate_explicit_overrides_auto_derive(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 119 | def test_sqlstate_serialize_as_json_includes_auto_derived(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 126 | def test_sqlstate_serialize_as_json_includes_explicit(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 133 | def test_sqlstate_none_for_unknown_error_code(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 142 | def test_invalid_parameter_value_auto_derives_sqlstate(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 149 | def test_invalid_parameter_value_with_explicit_override(): | CODE |
| LOW | tests/test_exceptions.py | 173 | def test_rest_exception_cp_sqlstate_mapping(error_code, expected_sqlstate, expected_error_class): | CODE |
| LOW | tests/test_exceptions.py | 179 | def test_rest_exception_preserves_sqlstate_from_json(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 190 | def test_rest_exception_ignores_null_sqlstate_from_json(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 199 | def test_rest_exception_pickle_with_sqlstate(): | CODE |
| LOW⚡ | tests/test_exceptions.py | 208 | def test_rest_exception_unrecognized_error_code(): | CODE |
| LOW | tests/test_environment_variables.py | 9 | def test_boolean_environment_variable_invalid_default_value(value): | CODE |
| LOW | tests/test_environment_variables.py | 15 | def test_boolean_environment_variable_valid_default_value(value): | CODE |
| LOW | tests/test_environment_variables.py | 32 | def test_boolean_environment_variable_valid_value(monkeypatch, value, expected): | CODE |
| LOW | tests/test_environment_variables.py | 41 | def test_boolean_environment_variable_invalid_value(monkeypatch, value): | CODE |
| LOW | tests/test_environment_variables.py | 64 | def test_environment_variable_functionality( | CODE |
| LOW | tests/test_mlflow_version_comp.py | 30 | def check_list_artifacts_with_run_id_and_path(run_id: str, path: str) -> None: | CODE |
| LOW | tests/test_mlflow_version_comp.py | 45 | def check_list_artifacts_with_model_uri(model_uri: str) -> None: | CODE |
| LOW | tests/test_mlflow_version_comp.py | 51 | def check_download_artifacts_with_run_id_and_path(run_id: str, path: str, tmp_path: Path) -> None: | CODE |
| LOW | tests/test_mlflow_version_comp.py | 67 | def check_download_artifacts_with_model_uri(model_uri: str, tmp_path: Path) -> None: | CODE |
| 14116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/langchain/test_langchain_model_export.py | 0 | here is a history between you and a human: {chat_history} now, please answer this question: {question} | STRING |
| HIGH | tests/langchain/test_langchain_autolog.py | 0 | here is a history between you and a human: {chat_history} now, please answer this question: {question} | STRING |
| HIGH | examples/langchain/chain_autolog.py | 0 | here 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.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | tests/resources/data/dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/pandas_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/tensorflow_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/numpy_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/spark_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/huggingface_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | mlflow/data/polars_dataset.py | 0 | compute a digest for the dataset. called if the user doesn't supply a digest when constructing the dataset. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | db model for :py:class:`mlflow.entities.experiment`. these are recorded in ``experiment`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | experiment id: `integer`. *primary key* for ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | experiment id: `integer`. *primary key* for ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | experiment id: `integer`. *primary key* for ``experiment`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | default artifact location for this experiment: `string` (limit 256 characters). defined as *non null* in table schema. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | lifecycle stage of run: `string` (limit 32 characters). can be either ``active`` (default) or ``deleted``. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | db model for :py:class:`mlflow.entities.run`. these are recorded in ``runs`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | run uuid: `string` (limit 32 characters). *primary key* for ``runs`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or ` | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or ` | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | source type: `string` (limit 20 characters). can be one of ``notebook``, ``job``, ``project``, ``local`` (default), or ` | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | name of source recording the run: `string` (limit 500 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | name of source recording the run: `string` (limit 500 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | name of source recording the run: `string` (limit 500 characters). | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | entry-point name that launched the run run: `string` (limit 50 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | entry-point name that launched the run run: `string` (limit 50 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | entry-point name that launched the run run: `string` (limit 50 characters). | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | user id: `string` (limit 256 characters). defaults to ``null``. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | user id: `string` (limit 256 characters). defaults to ``null``. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | user id: `string` (limit 256 characters). defaults to ``null``. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed`` | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed`` | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | run status: `string` (limit 20 characters). can be one of ``running``, ``scheduled`` (default), ``finished``, ``failed`` | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | run start time: `biginteger`. defaults to current system time. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | run start time: `biginteger`. defaults to current system time. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | run start time: `biginteger`. defaults to current system time. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | default artifact location for this run: `string` (limit 200 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | default artifact location for this run: `string` (limit 200 characters). | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | default artifact location for this run: `string` (limit 200 characters). | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | experiment id to which this run belongs to: *foreign key* into ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | experiment id to which this run belongs to: *foreign key* into ``experiment`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | experiment id to which this run belongs to: *foreign key* into ``experiment`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | sqlalchemy relationship (many:one) with :py:class:`mlflow.store.dbmodels.models.sqlexperiment`. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/models.py | 0 | db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table. | STRING |
| HIGH | mlflow/store/tracking/dbmodels/initial_models.py | 0 | db model for :py:class:`mlflow.entities.runtag`. these are recorded in ``tags`` table. | STRING |
| HIGH | tests/resources/db/initial_models.py | 0 | tag key: `string` (limit 250 characters). *primary key* for ``tags`` table. | STRING |
| 403 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 166 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …assistant/providers/test_openai_compatible_provider.py | 251 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …assistant/providers/test_openai_compatible_provider.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …assistant/providers/test_openai_compatible_provider.py | 434 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …assistant/providers/test_openai_compatible_provider.py | 436 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 116 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 118 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 493 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …assistant/providers/test_openai_compatible_provider.py | 495 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/tracing/processor/test_mlflow_v3_processor.py | 182 | # ── Batch span processor tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/pytest/test_plugin.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pytest/test_plugin.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pytest/test_plugin.py | 108 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/pytest/test_plugin.py | 110 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/pytest/test_plugin.py | 179 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/pytest/test_plugin.py | 182 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/pytest/test_plugin.py | 220 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tests/pytest/test_plugin.py | 223 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 31 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 33 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 64 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 66 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 118 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 120 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 138 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 140 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 161 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 163 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 398 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 400 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 565 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/claude_code/test_tracing.py | 567 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 955 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 957 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 1757 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 1759 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 1896 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 1898 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 2627 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/test_gateway_api.py | 2629 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/test_gateway_api.py | 2303 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/test_gateway_api.py | 2305 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/test_gateway_api.py | 3160 | # ─── Guardrail end-to-end scenarios ────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/server/auth/test_sqlalchemy_store.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/server/auth/test_sqlalchemy_store.py | 163 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/server/auth/test_auth_workspace.py | 2238 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/server/auth/test_auth_workspace.py | 2240 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/auth/test_auth_workspace.py | 2524 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/auth/test_auth_workspace.py | 2526 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/auth/test_auth_workspace.py | 3550 | # ============================================================================= | COMMENT |
| MEDIUM | tests/server/auth/test_auth_workspace.py | 3552 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/pydantic_ai/test_pydanticai_tracing.py | 470 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/pydantic_ai/test_pydanticai_tracing.py | 474 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/bedrock/test_genai_semconv_converter.py | 30 | # ── End-to-end autolog integration tests ───────────────────────────────────── | COMMENT |
| MEDIUM | tests/bedrock/test_genai_semconv_converter.py | 232 | # ── Multimodal content conversion tests ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/db/test_workspace_move.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| 350 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 139 | CODE | |
| LOW | tests/conftest.py | 1264 | CODE | |
| LOW | tests/test_skinny_client_anthropic_import.py | 24 | CODE | |
| LOW | tests/test_skinny_client_omits_sql_libs.py | 11 | CODE | |
| LOW | tests/test_skinny_client_omits_sql_libs.py | 14 | CODE | |
| LOW | tests/test_skinny_client_autolog_without_scipy.py | 13 | CODE | |
| LOW | tests/simple_repository_server.py | 7 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 13 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 20 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 27 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 16 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 23 | CODE | |
| LOW | tests/test_skinny_client_omits_data_science_libs.py | 30 | CODE | |
| LOW | tests/dspy/test_dspy_evaluate.py | 13 | CODE | |
| LOW | tests/langgraph/conftest.py | 7 | CODE | |
| LOW | tests/tracing/otel/test_otel_archival.py | 1 | CODE | |
| LOW | tests/gemini/test_gemini_genai_semconv_converter.py | 16 | CODE | |
| LOW | tests/pytest/test_plugin.py | 1 | CODE | |
| LOW | tests/langchain/conftest.py | 10 | CODE | |
| LOW | …ain/test_langchain_databricks_dependency_extraction.py | 46 | CODE | |
| LOW | tests/projects/test_projects_cli.py | 18 | CODE | |
| LOW | tests/projects/test_docker_projects.py | 24 | CODE | |
| LOW | tests/llama_index/test_llama_index_evaluate.py | 9 | CODE | |
| LOW | tests/server/test_workspace_endpoints.py | 1 | CODE | |
| LOW | tests/server/test_workspace_middleware.py | 1 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 212 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 247 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 315 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 316 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 317 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 318 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 319 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 327 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 328 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 329 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 330 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 331 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 441 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 622 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 667 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 715 | CODE | |
| LOW | tests/utils/test_requirements_utils.py | 716 | CODE | |
| LOW | tests/utils/test_model_utils.py | 82 | CODE | |
| LOW | tests/utils/test_model_utils.py | 77 | CODE | |
| LOW | tests/utils/test_model_utils.py | 74 | CODE | |
| LOW | tests/utils/test_databricks_utils.py | 598 | CODE | |
| LOW | tests/utils/test_workspace_utils.py | 1 | CODE | |
| LOW | tests/utils/test_resources/dummy_package/base.py | 3 | CODE | |
| LOW | tests/agent/test_prompt.py | 1 | CODE | |
| LOW | tests/agent/test_cli.py | 1 | CODE | |
| LOW | tests/bedrock/test_genai_semconv_converter.py | 13 | CODE | |
| LOW | tests/sklearn/test_sklearn_model_export.py | 53 | CODE | |
| LOW | tests/sklearn/test_sklearn_model_export.py | 53 | CODE | |
| LOW | …sts/sklearn/test_sklearn_autolog_without_matplotlib.py | 15 | CODE | |
| LOW | tests/evaluate/test_default_evaluator.py | 1 | CODE | |
| LOW | tests/autologging/test_autologging_behaviors_unit.py | 17 | CODE | |
| LOW | …/autologging/test_autologging_behaviors_integration.py | 21 | CODE | |
| LOW | tests/semantic_kernel/conftest.py | 10 | CODE | |
| LOW | tests/semantic_kernel/resources.py | 12 | CODE | |
| LOW | tests/agno/test_agno_tracing.py | 29 | CODE | |
| 1315 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/helper_functions.py | 351 | except Exception: | CODE |
| LOW | tests/helper_functions.py | 680 | except Exception as e: | CODE |
| LOW | tests/helper_functions.py | 702 | except Exception as e: | CODE |
| LOW | tests/helper_functions.py | 773 | except Exception as e: | CODE |
| MEDIUM | tests/helper_functions.py | 547 | def _is_importable(module_name): | CODE |
| LOW | tests/dspy/test_save.py | 598 | except Exception: | CODE |
| LOW | …ain/test_langchain_databricks_dependency_extraction.py | 272 | except Exception: | CODE |
| LOW | …ain/test_langchain_databricks_dependency_extraction.py | 372 | except Exception: | CODE |
| MEDIUM | …ain/test_langchain_databricks_dependency_extraction.py | 44 | def _is_partner_package_installed(): | CODE |
| LOW | tests/pyspark/optuna/test_study.py | 25 | except Exception as e: | CODE |
| LOW | …test-plugin/mlflow_test_plugin/dummy_dataset_source.py | 36 | except Exception: | CODE |
| LOW | tests/resources/data/dataset_source.py | 35 | except Exception: | CODE |
| LOW | tests/strands/conftest.py | 15 | except Exception: | CODE |
| LOW | tests/system_metrics/test_collect_metrics.py | 26 | except Exception: | CODE |
| MEDIUM | tests/system_metrics/test_collect_metrics.py | 23 | def test_gpu_monitor(): | CODE |
| LOW | tests/tracking/fluent/test_fluent_autolog.py | 104 | except Exception: | CODE |
| LOW | tests/tracking/fluent/test_fluent_autolog.py | 121 | except Exception: | CODE |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 74 | except Exception: | CODE |
| LOW⚡ | tests/genai/utils/test_prompt_cache.py | 151 | except Exception as e: | CODE |
| LOW⚡ | tests/genai/utils/test_prompt_cache.py | 175 | except Exception as e: | CODE |
| LOW⚡ | tests/genai/utils/test_prompt_cache.py | 183 | except Exception as e: | CODE |
| MEDIUM | tests/genai/utils/test_prompt_cache.py | 147 | def get_instance(): | CODE |
| MEDIUM | tests/genai/utils/test_prompt_cache.py | 170 | def writer(thread_id): | CODE |
| MEDIUM | tests/genai/utils/test_prompt_cache.py | 178 | def reader(thread_id): | CODE |
| LOW | tests/genai/scorers/test_builtin_scorers.py | 881 | except Exception: | CODE |
| LOW | tests/genai/scorers/test_scorer_telemetry.py | 176 | except Exception as e: | CODE |
| MEDIUM | tests/genai/scorers/test_scorer_telemetry.py | 86 | def __call__(self, outputs) -> Feedback: | CODE |
| LOW | tests/genai/evaluate/test_utils.py | 46 | except Exception: | CODE |
| LOW | tests/spark/test_spark_model_export.py | 86 | except Exception as e: | CODE |
| LOW | tests/gateway/tools.py | 282 | except Exception: | CODE |
| MEDIUM | tests/store/model_registry/test_abstract_store.py | 304 | def link_prompt(prompt_name): | CODE |
| LOW | tests/store/model_registry/test_abstract_store.py | 307 | except Exception as e: | CODE |
| LOW | tests/pyfunc/test_virtualenv.py | 154 | except Exception: | CODE |
| MEDIUM | .claude/skills/src/skills/github/utils.py | 14 | print("Error: GH_TOKEN not found (set env var or install gh CLI)", file=sys.stderr) | CODE |
| LOW | mlflow/environment_variables.py | 49 | except Exception as e: | CODE |
| LOW | mlflow/runs.py | 214 | except Exception as e: | CODE |
| LOW | mlflow/runs.py | 251 | except Exception as e: | CODE |
| LOW | mlflow/demo/base.py | 121 | except Exception: | CODE |
| LOW | mlflow/demo/generators/issues.py | 201 | except Exception: | CODE |
| LOW | mlflow/demo/generators/issues.py | 229 | except Exception: | CODE |
| MEDIUM | mlflow/demo/generators/issues.py | 190 | def _data_exists(self) -> bool: | CODE |
| LOW | mlflow/demo/generators/evaluation.py | 235 | except Exception: | CODE |
| LOW | mlflow/demo/generators/evaluation.py | 257 | except Exception: | CODE |
| LOW | mlflow/demo/generators/evaluation.py | 259 | except Exception: | CODE |
| LOW | mlflow/demo/generators/evaluation.py | 316 | except Exception: | CODE |
| LOW | mlflow/demo/generators/evaluation.py | 355 | except Exception: | CODE |
| LOW | mlflow/demo/generators/review_queues.py | 163 | except Exception: | CODE |
| LOW | mlflow/demo/generators/review_queues.py | 177 | except Exception: | CODE |
| LOW | mlflow/demo/generators/review_queues.py | 188 | except Exception: | CODE |
| MEDIUM | mlflow/demo/generators/review_queues.py | 155 | def _data_exists(self) -> bool: | CODE |
| LOW | mlflow/demo/generators/prompts.py | 87 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/prompts.py | 109 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/prompts.py | 117 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/prompts.py | 119 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/prompts.py | 130 | except Exception: | CODE |
| MEDIUM | mlflow/demo/generators/prompts.py | 80 | def _data_exists(self) -> bool: | CODE |
| LOW | mlflow/demo/generators/judges.py | 90 | except Exception: | CODE |
| LOW | mlflow/demo/generators/judges.py | 110 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/judges.py | 130 | except Exception: | CODE |
| LOW⚡ | mlflow/demo/generators/judges.py | 132 | except Exception: | CODE |
| 978 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.release.toml | 2 | # This file defines the package metadata of `mlflow`. `mlflow-skinny` and `mlflow-tracing` | COMMENT |
| MEDIUM | pyproject.toml | 2 | # This file defines the package metadata of `mlflow` **during development**. To install `mlflow` | COMMENT |
| MEDIUM | tests/test_cli.py | 1261 | # Create a test .env file pointing to this tracking URI | COMMENT |
| MEDIUM | tests/dspy/test_dspy_autolog.py | 351 | # Create a custom span inside the module using fluent API | COMMENT |
| MEDIUM⚡ | tests/tracing/test_fluent.py | 2680 | # Create a trace without a session ID - should result in no sessions | COMMENT |
| MEDIUM⚡ | tests/tracing/test_tracing_client.py | 345 | # Create a trace with spans in the tracking store | COMMENT |
| MEDIUM⚡ | tests/tracing/test_tracing_client.py | 349 | # Create a trace without spans (artifact-repo case) | COMMENT |
| MEDIUM | tests/tracing/test_tracing_client.py | 401 | # Create a trace | COMMENT |
| MEDIUM | tests/tracing/test_otel_loading.py | 96 | # Create a span with various attributes to test conversion | COMMENT |
| MEDIUM⚡ | tests/tracing/test_otel_loading.py | 287 | # Create a fake trace ID in OTel format | COMMENT |
| MEDIUM | tests/tracing/test_otel_loading.py | 355 | # Create a span that represents a question-answer scenario | COMMENT |
| MEDIUM | tests/tracing/test_otel_loading.py | 394 | # Create a span representing a model prediction | COMMENT |
| MEDIUM | tests/tracing/test_otel_loading.py | 447 | # Create a complex trace with nested spans | COMMENT |
| MEDIUM | tests/tracing/test_otel_logging.py | 274 | # Create a valid OTLP request | COMMENT |
| MEDIUM | tests/tracing/test_otel_logging.py | 398 | # Create a span with unique trace_id | COMMENT |
| MEDIUM | tests/tracing/test_otel_logging.py | 446 | # Create a request with 15 different traces (exceeds the 10 thread pool limit) | COMMENT |
| MEDIUM | tests/tracing/test_otel_logging.py | 940 | # Create a valid OTLP request | COMMENT |
| MEDIUM⚡ | tests/tracing/utils/test_utils.py | 608 | # Create a mock span with empty attributes | COMMENT |
| MEDIUM⚡ | tests/tracing/utils/test_utils.py | 617 | # Create a mock span where attributes.get() returns None | COMMENT |
| MEDIUM⚡ | tests/tracing/utils/test_utils.py | 627 | # Create a mock span with invalid JSON | COMMENT |
| MEDIUM | tests/tracing/utils/test_utils.py | 580 | # Create a mock span with attributes | COMMENT |
| MEDIUM⚡ | tests/tracing/utils/test_timeout.py | 139 | # Create a first trace. At this moment, there is no timeout set | COMMENT |
| MEDIUM⚡ | tests/tracing/utils/test_timeout.py | 149 | # Create a second trace. This should use the new timeout | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 277 | # Create a mock function that simulates delay | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 401 | # Create a mock OTEL span and trace | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 494 | # Create a mock OTEL span and trace (no prompts added) | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 557 | # Create a mock OTEL span and trace with a prompt | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 570 | # Create a test prompt | COMMENT |
| MEDIUM | tests/tracing/export/test_mlflow_v3_exporter.py | 609 | # Create a mock OTEL span and trace | COMMENT |
| MEDIUM | tests/tracing/export/test_async_export_queue.py | 116 | # Create a slow handler to keep tasks in the queue | COMMENT |
| MEDIUM | tests/shap/test_log.py | 392 | # Create a numba-compatible identify link function due to breaking changes in shap | COMMENT |
| MEDIUM | tests/langchain/conftest.py | 43 | # Define a special embedding for testing | COMMENT |
| MEDIUM⚡ | tests/langchain/test_langchain_model_export.py | 283 | # Create the vector db, persist the db to a local fs folder | COMMENT |
| MEDIUM⚡ | tests/langchain/test_langchain_model_export.py | 293 | # Define the loader_fn | COMMENT |
| MEDIUM | tests/langchain/test_langchain_model_export.py | 651 | # Create the vector db, persist the db to a local fs folder | COMMENT |
| MEDIUM | tests/langchain/test_langchain_autolog.py | 91 | # Create the vector db, persist the db to a local fs folder | COMMENT |
| MEDIUM | tests/projects/test_utils.py | 249 | # Create a run | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 18 | # Define a Tracking Store plugin for tracking URIs with scheme 'file-plugin' | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 22 | # Define a ArtifactRepository plugin for artifact URIs with scheme 'file-plugin' | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 26 | # Define a RunContextProvider plugin. The entry point name for run context providers | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 31 | # Define a DefaultExperimentProvider plugin. The entry point name for | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 36 | # Define a RequestHeaderProvider plugin. The entry point name for request header providers | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 41 | # Define a RequestAuthProvider plugin. The entry point name for request auth providers | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 46 | # Define a Model Registry Store plugin for tracking URIs with scheme 'file-plugin' | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 50 | # Define a MLflow Project Backend plugin called 'dummy-backend' | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 54 | # Define a MLflow model deployment plugin for target 'faketarget' | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 58 | # Define a MLflow model evaluator with name "dummy_evaluator" | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 62 | # Define a custom MLflow application with name custom_app | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 66 | # Define an MLflow dataset source called "dummy_source" | COMMENT |
| MEDIUM⚡ | tests/resources/mlflow-test-plugin/pyproject.toml | 70 | # Define an MLflow dataset constructor called "from_dummy" | COMMENT |
| MEDIUM | tests/server/conftest.py | 47 | # Create a fresh app for each test to avoid state pollution | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3157 | # Create the request message | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3182 | # Create the request message with V3 | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3283 | # Create the request message | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3309 | # Create the request message (v3 version) | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3383 | # Create the request message | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3605 | # Create the request message | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 3635 | # Create a mock result object with next_page_token attribute | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 4158 | # Create a test file with binary data larger than the chunk size (2MB + 1000 bytes) | COMMENT |
| MEDIUM | tests/server/test_gateway_api.py | 502 | # Create a file whose path will be used as the "api_key" value | COMMENT |
| 323 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mlflow/metrics/genai/model_utils.py | 548 | Call the deployment endpoint with the given payload and parameters. Args: deployment_uri: The URI of the de | STRING |
| HIGH | mlflow/metrics/genai/metric_definitions.py | 24 | This function will create a genai metric used to evaluate the answer similarity of an LLM using the model provi | STRING |
| HIGH | mlflow/metrics/genai/metric_definitions.py | 115 | This function will create a genai metric used to evaluate the answer correctness of an LLM using the model prov | STRING |
| HIGH | mlflow/metrics/genai/metric_definitions.py | 207 | This function will create a genai metric used to evaluate the faithfullness of an LLM using the model provided. | STRING |
| HIGH | mlflow/metrics/genai/metric_definitions.py | 296 | This function will create a genai metric used to evaluate the answer relevance of an LLM using the model provid | STRING |
| HIGH | mlflow/metrics/genai/metric_definitions.py | 379 | This function will create a genai metric used to evaluate the evaluate the relevance of an LLM using the model | STRING |
| HIGH | mlflow/metrics/genai/genai_metric.py | 216 | Create a genai metric used to evaluate LLM using LLM as a judge in MLflow. This produces a metric using only th | STRING |
| HIGH | mlflow/metrics/genai/genai_metric.py | 382 | Create a genai metric used to evaluate LLM using LLM as a judge in MLflow. The full grading prompt is stored in | STRING |
| HIGH | mlflow/tracing/assessment.py | 139 | Logs an expectation (e.g. ground truth label) to a Trace. This API only takes keyword arguments. Args: | STRING |
| HIGH | mlflow/tracing/assessment.py | 263 | Logs feedback to a Trace. This API only takes keyword arguments. Args: trace_id: The ID of the trace. | STRING |
| HIGH | mlflow/tracing/assessment.py | 343 | Logs an issue reference to a Trace. This links a trace to a discovered issue. This API only takes keyword argum | STRING |
| HIGH | mlflow/tracing/assessment.py | 412 | Overrides an existing feedback assessment with a new assessment. This API logs a new assessment with the `overr | STRING |
| HIGH | mlflow/tracing/config.py | 66 | Configure MLflow tracing. Can be used as function or context manager. Only updates explicitly provided argumen | STRING |
| HIGH | mlflow/tracing/fluent.py | 532 | Context manager to create a new span and start it as the current span in the context. This context manager aut | STRING |
| HIGH | mlflow/tracing/fluent.py | 691 | Start a span without attaching it to the global tracing context. This is useful when you want to create a span | STRING |
| HIGH | mlflow/tracing/fluent.py | 1789 | Create a trace with a single root span. This API is useful when you want to log an arbitrary (request, response | STRING |
| HIGH | mlflow/tracing/utils/prompt.py | 10 | Utility method to update linked prompts tag value with a new prompt version. Args: current_tag_value: | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 214 | Get input value from various OTEL semantic conventions. Checks both span attributes and events (for frameworks | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 243 | Get output value from various OTEL semantic conventions. Checks both span attributes and events (for framework | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 270 | Get message format from span attributes for chat UI rendering. Args: attributes: Dictionary of span at | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 293 | Get model name from span attributes. Args: attributes: Dictionary of span attributes Returns: | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 330 | Get model provider from span attributes. Args: attributes: Dictionary of span attributes Returns: | STRING |
| HIGH | mlflow/tracing/otel/translation/__init__.py | 346 | Translate OTEL span kind attributes to MLflow span type. This function checks for span kind attributes from va | STRING |
| HIGH | mlflow/tracing/otel/translation/traceloop.py | 58 | Get attribute value from OTEL attributes by checking whether the keys in valid_keys are present in the | STRING |
| HIGH | mlflow/tracing/otel/translation/voltagent.py | 93 | Get message format identifier for VoltAgent traces. Returns 'voltagent' if VoltAgent-specific attribut | STRING |
| HIGH | mlflow/tracing/otel/translation/livekit.py | 62 | Translate LiveKit span type to MLflow span type. LiveKit uses gen_ai.operation.name for LLM spans and | STRING |
| HIGH | mlflow/tracing/otel/translation/livekit.py | 97 | Get message format identifier for LiveKit traces. Returns 'livekit' if LiveKit-specific attributes are | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 37 | Get message format identifier for chat UI rendering. Subclasses should override this method to return | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 51 | Translate OTEL span kind attribute to MLflow span type. Args: attributes: Dictionary of sp | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 79 | Get input token count from OTEL attributes. Args: attributes: Dictionary of span attribute | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 92 | Get output token count from OTEL attributes. Args: attributes: Dictionary of span attribut | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 105 | Get total token count from OTEL attributes. Args: attributes: Dictionary of span attribute | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 126 | Get model name from OTEL attributes. Args: attributes: Dictionary of span attributes | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 140 | Get model provider from OTEL attributes. Args: attributes: Dictionary of span attributes | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 164 | Get input value from OTEL attributes. Args: attributes: Dictionary of span attributes | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 176 | Get output value from OTEL attributes. Args: attributes: Dictionary of span attributes | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 188 | Get tool definitions from OTEL attributes. Args: attributes: Dictionary of span attributes | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 202 | Get attribute value from OTEL attributes by checking whether the keys in keys_to_check are present in t | STRING |
| HIGH | mlflow/tracing/otel/translation/base.py | 220 | Get attribute value from OTEL attributes by checking whether the value is valid or not. This avoids fet | STRING |
| HIGH | mlflow/diffusers/__init__.py | 485 | Load a diffusers adapter model from a local file or a run. Args: model_uri: The location, in URI format, of | STRING |
| HIGH | mlflow/projects/__init__.py | 227 | Run an MLflow project. The project can be local or stored at a Git URI. MLflow provides built-in support for r | STRING |
| HIGH | mlflow/server/gateway_api.py | 92 | Get request body, using cached version if available. The auth middleware may have already parsed the request b | STRING |
| HIGH | mlflow/server/gateway_api.py | 256 | Build an EndpointConfig from model configuration. This function combines provider config building and endpoint | STRING |
| HIGH | mlflow/server/gateway_api.py | 430 | Create a provider instance based on endpoint routing strategy. Fallback is independent of routing strategy - i | STRING |
| HIGH | mlflow/server/gateway_api.py | 569 | Extract and validate the endpoint name from the 'model' parameter in the request body. Args: body: The | STRING |
| HIGH | mlflow/server/handlers.py | 1056 | Get and validate request data without protobuf parsing. This is an alternative to _get_request_message for end | STRING |
| HIGH | mlflow/server/otel_api.py | 104 | Export trace spans to MLflow via the OpenTelemetry protocol. This endpoint accepts OTLP/HTTP protobuf trace ex | STRING |
| HIGH | mlflow/server/assistant/session.py | 128 | Get the file path for a session. Args: session_id: Session ID Returns: Path to | STRING |
| HIGH | mlflow/server/assistant/api.py | 408 | Install skills bundled with MLflow. This endpoint only handles installation. Config updates should be done via | STRING |
| HIGH | mlflow/server/auth/client.py | 58 | Create a new user. Args: username: The username. password: The user's password | STRING |
| HIGH | mlflow/server/auth/client.py | 99 | Get a user with a specific username. Args: username: The username. Raises: | STRING |
| HIGH | mlflow/server/jobs/__init__.py | 261 | Cancel a job by its ID. Args: job_id: The ID of the job to cancel Returns: The job entity | STRING |
| HIGH | mlflow/utils/model_utils.py | 37 | Validates and copies extra files to the model directory. Downloads extra files from URIs and copies them to an 'ext | STRING |
| HIGH | mlflow/utils/rest_utils.py | 498 | Retry a Databricks SDK call with exponential backoff until timeout or max retries reached. Args: call_ | STRING |
| HIGH | mlflow/utils/crypto.py | 271 | Encrypt plaintext using AES-256-GCM. INTERNAL FUNCTION. AES-GCM provides authenticated encryption with associa | STRING |
| HIGH | mlflow/utils/crypto.py | 316 | Decrypt ciphertext using AES-256-GCM. Automatically verifies authentication tag to detect tampering. Args | STRING |
| HIGH | mlflow/utils/crypto.py | 377 | Unwrap (decrypt) a DEK using the KEK. Args: wrapped_dek: Encrypted DEK kek: Key Encryption Key | STRING |
| HIGH | mlflow/utils/crypto.py | 534 | Decrypt a secret value using envelope encryption with AAD verification. This function is the main entry point | STRING |
| HIGH | mlflow/utils/crypto.py | 606 | Rotate a secret's encryption from old KEK to new KEK. This is used during KEK rotation to re-encrypt secrets w | STRING |
| HIGH | mlflow/utils/databricks_utils.py | 1674 | Invoke Databricks App /invocations endpoint with OAuth authentication. Databricks Apps require OAuth authentic | STRING |
| 123 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/assistant/providers/test_claude_code_provider.py | 443 | b'{"type": "result", "result": null, "session_id": "sess-123"}\n', | CODE |
| HIGH | tests/server/test_gateway_api.py | 1656 | b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4o","choices":[{ | CODE |
| HIGH | tests/server/test_gateway_api.py | 1657 | b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4o","choices":[{ | CODE |
| HIGH | tests/server/test_gateway_api.py | 1720 | b'data: {"type":"response.created","response":{"id":"resp_1","object":"response","created_at":1741290958,"status | CODE |
| HIGH | tests/server/test_gateway_api.py | 1727 | b'data: {"type":"response.completed","response":{"id":"resp_1","object":"response","created_at":1741290958,"stat | CODE |
| HIGH | tests/server/test_gateway_api.py | 1858 | b'event: message_start\ndata: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"mes | CODE |
| HIGH | tests/server/test_gateway_api.py | 1863 | b'event: message_delta\ndata: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"u | CODE |
| HIGH | tests/server/test_gateway_api.py | 2472 | b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4","choices":[{" | CODE |
| HIGH | tests/server/test_gateway_api.py | 2473 | b'data: {"id":"chatcmpl-123","object":"chat.completion.chunk","created":1234567890,"model":"gpt-4","choices":[{" | CODE |
| HIGH | tests/server/jobs/test_jobs.py | 137 | assert job.params == '{"data": null}' | CODE |
| HIGH⚡ | tests/utils/test_databricks_utils.py | 542 | # both file mount and env var exist, both values should return true | COMMENT |
| HIGH⚡ | tests/utils/test_databricks_utils.py | 545 | # file mount without env var should return false | COMMENT |
| HIGH⚡ | tests/models/test_container.py | 112 | dependencies=["numpy && echo INJECTED > /tmp/test_injection_ampersand.txt"], | CODE |
| HIGH⚡ | tests/models/test_container.py | 122 | assert not os.path.exists(evidence_file), "Command injection via && succeeded!" | CODE |
| HIGH | tests/models/test_python_api.py | 69 | assert model_input.equals(expected_data) | CODE |
| HIGH | tests/models/test_signature.py | 274 | "params": '[{"name": "param1", "default": "test", "shape": null, "type": "string"}]', | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2575 | assert output1.equals(data_df["target"]) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2576 | assert other1.equals(data_df.drop(columns=["target"])) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2578 | assert output2.equals(data_df["target"]) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2579 | assert other2.equals(data_df.drop(columns=["target"])) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2581 | assert output3.equals(data_df["target"]) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2582 | assert other3.equals(data_df.drop(columns=["target"])) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2587 | assert output5.equals(pd.Series(data_list)) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2590 | assert output6.equals(pd.Series(data_dict_text["text"])) | CODE |
| HIGH⚡ | tests/evaluate/test_default_evaluator.py | 2593 | assert output7.equals(pd.Series(data_dict_text["text"])) | CODE |
| HIGH | tests/evaluate/test_default_evaluator.py | 2654 | assert eval_df_value.equals(test_eval_df_value) | CODE |
| HIGH⚡ | tests/genai/datasets/test_evaluation_dataset.py | 201 | assert legacy_dataset._features_data.equals(dataset.to_df()) | CODE |
| HIGH | …nai/judges/adapters/test_databricks_managed_adapter.py | 316 | content='{"name": "root_span", "inputs": null}', | CODE |
| HIGH⚡ | tests/data/test_huggingface_dataset_and_source.py | 274 | assert evaluation_dataset.features_data.equals(dataset.ds.to_pandas().drop("label", axis=1)) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 145 | assert input_outputs.inputs.equals(pd.DataFrame([[1, 2], [1, 2]], columns=["a", "b"])) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 146 | assert input_outputs.outputs.equals(pd.Series([3, 3], name="c")) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 156 | assert input_outputs.inputs.equals(pd.DataFrame([[1, 2], [1, 2]], columns=["a", "b"])) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 157 | assert input_outputs.outputs.equals(pd.Series([3, 3], name="c")) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 167 | assert mlflow_df.df.equals(df) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 187 | assert mlflow_df.df.equals(df) | CODE |
| HIGH⚡ | tests/data/test_pandas_dataset.py | 207 | assert mlflow_df.df.equals(df) | CODE |
| HIGH | tests/data/test_pandas_dataset.py | 82 | assert dataset.df.equals(df) | CODE |
| HIGH | tests/data/test_pandas_dataset.py | 244 | assert evaluation_dataset.features_data.equals(df.drop("c", axis=1)) | CODE |
| HIGH | tests/data/test_pandas_dataset.py | 281 | assert evaluation_dataset.features_data.equals(df) | CODE |
| HIGH | tests/data/test_polars_dataset.py | 153 | assert dataset.df.equals(df) | CODE |
| HIGH⚡ | tests/data/test_polars_dataset.py | 229 | assert mlflow_df.df.equals(df) | CODE |
| HIGH | tests/data/test_polars_dataset.py | 256 | assert evaluation_dataset.features_data.equals(df.drop("c").to_pandas()) | CODE |
| HIGH⚡ | tests/data/test_spark_dataset.py | 400 | assert not df2.equals(df) | CODE |
| HIGH | tests/data/test_spark_dataset.py | 373 | assert not df_v0.equals(df) | CODE |
| HIGH | tests/data/test_spark_dataset.py | 430 | assert evaluation_dataset.features_data.equals(df_spark.toPandas()[["a"]]) | CODE |
| HIGH⚡ | tests/gateway/test_tracing_utils.py | 879 | b'"created_at":1741290958,"status":"in_progress","output":[],"usage":null}}\n' | CODE |
| HIGH⚡ | tests/gateway/providers/test_anthropic.py | 718 | b'"role": "assistant", "content": [], "model": "claude-2.1", "stop_reason": null, ' | CODE |
| HIGH⚡ | tests/gateway/providers/test_anthropic.py | 719 | b'"stop_sequence": null, "usage": {"input_tokens": 25, "output_tokens": 1}}}\n', | CODE |
| HIGH⚡ | tests/gateway/providers/test_anthropic.py | 955 | b'event: message_start\ndata: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"mes | CODE |
| HIGH⚡ | tests/gateway/providers/test_anthropic.py | 960 | b'event: message_delta\ndata: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"u | CODE |
| HIGH | tests/gateway/providers/test_anthropic.py | 292 | b'"role": "assistant", "content": [], "model": "claude-2.1", "stop_reason": null, ' | CODE |
| HIGH | tests/gateway/providers/test_anthropic.py | 293 | b'"stop_sequence": null, "usage": {"input_tokens": 25, "output_tokens": 1}}}\n', | CODE |
| HIGH | tests/gateway/providers/test_anthropic.py | 315 | b'"stop_sequence":null}, "usage":{"output_tokens": 15}}\n', | CODE |
| HIGH | tests/gateway/providers/test_anthropic.py | 740 | b'"stop_sequence":null}, "usage":{"output_tokens": 15}}\n', | CODE |
| HIGH⚡ | tests/gateway/providers/test_mistral.py | 360 | b'"model":"mistral-large-latest","choices":[{"index":0,"finish_reason":null,' | CODE |
| HIGH⚡ | tests/gateway/providers/test_mistral.py | 364 | b'"model":"mistral-large-latest","choices":[{"index":0,"finish_reason":null,' | CODE |
| HIGH⚡ | tests/gateway/providers/test_mistral.py | 368 | b'"model":"mistral-large-latest","choices":[{"index":0,"finish_reason":null,' | CODE |
| HIGH⚡ | tests/gateway/providers/test_mistral.py | 385 | b'ces":[{"index":0,"finish_reason":null,"delta":{"role":"assistant"}}]}\n\n' | CODE |
| HIGH⚡ | tests/gateway/providers/test_mistral.py | 389 | b'test","choices":[{"index":0,"finish_reason":null,"delta":{"content":"test"}}]}\n', | CODE |
| HIGH⚡ | tests/gateway/providers/test_openai.py | 180 | b'"choices":[{"index":0,"finish_reason":null,"delta":{"role":"assistant"}}]}\n', | CODE |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fs2db/src/generate_synthetic_data.py | 98 | CODE | |
| LOW | fs2db/src/generate_synthetic_data.py | 183 | CODE | |
| LOW | bin/install.py | 228 | CODE | |
| LOW | bin/install.py | 239 | CODE | |
| LOW | tests/conftest.py | 285 | CODE | |
| LOW | tests/conftest.py | 726 | CODE | |
| LOW | tests/conftest.py | 1019 | CODE | |
| LOW | tests/conftest.py | 1227 | CODE | |
| LOW | tests/helper_functions.py | 714 | CODE | |
| LOW | tests/test_mismatch.py | 26 | CODE | |
| LOW | tests/test_mismatch.py | 60 | CODE | |
| LOW | tests/test_mismatch.py | 29 | CODE | |
| LOW | tests/test_mismatch.py | 66 | CODE | |
| LOW | tests/h2o/test_h2o_model_export.py | 107 | CODE | |
| LOW | …raph/sample_code/langgraph_chat_agent_custom_inputs.py | 159 | CODE | |
| LOW | tests/tracing/test_fluent.py | 636 | CODE | |
| LOW | tests/tracing/test_fluent.py | 1753 | CODE | |
| LOW | tests/tracing/test_fluent.py | 639 | CODE | |
| LOW | tests/tracing/test_distributed.py | 43 | CODE | |
| LOW | tests/tracing/test_assessment.py | 941 | CODE | |
| LOW | tests/tracing/test_otel_loading.py | 525 | CODE | |
| LOW | tests/tracing/opentelemetry/test_integration.py | 152 | CODE | |
| LOW | tests/tracing/processor/test_otel_metrics.py | 21 | CODE | |
| LOW | tests/onnx/test_onnx_model_export.py | 291 | CODE | |
| LOW | tests/langchain/test_langchain_autolog.py | 1175 | CODE | |
| LOW | tests/langchain/test_langchain_autolog.py | 1203 | CODE | |
| LOW | tests/xgboost/test_xgboost_model_export.py | 133 | CODE | |
| LOW | tests/xgboost/test_xgboost_model_export.py | 169 | CODE | |
| LOW | tests/projects/test_virtualenv_projects.py | 23 | CODE | |
| LOW | tests/paddle/test_paddle_model_export.py | 241 | CODE | |
| LOW | tests/server/auth/test_auth.py | 843 | CODE | |
| LOW | tests/server/jobs/test_genai_evaluate_invocation.py | 119 | CODE | |
| LOW | tests/server/jobs/test_scorer_invocation.py | 186 | CODE | |
| LOW | tests/server/jobs/test_scorer_invocation.py | 30 | CODE | |
| LOW | tests/server/jobs/test_jobs.py | 237 | CODE | |
| LOW | tests/server/jobs/test_endpoint.py | 105 | CODE | |
| LOW | tests/utils/test_env_pack.py | 53 | CODE | |
| LOW | tests/utils/test_async_logging_queue.py | 167 | CODE | |
| LOW | tests/sklearn/test_sklearn_model_export.py | 240 | CODE | |
| LOW | tests/sklearn/test_sklearn_model_export.py | 282 | CODE | |
| LOW | tests/sklearn/test_sklearn_autolog.py | 464 | CODE | |
| LOW | tests/evaluate/test_validation.py | 30 | CODE | |
| LOW | tests/evaluate/test_evaluation.py | 545 | CODE | |
| LOW | tests/evaluate/test_evaluation.py | 873 | CODE | |
| LOW | tests/evaluate/test_evaluation.py | 944 | CODE | |
| LOW | tests/transformers/test_transformers_model_export.py | 1527 | CODE | |
| LOW | tests/tensorflow/test_keras_model_export.py | 251 | CODE | |
| LOW | tests/autologging/test_autologging_utils.py | 340 | CODE | |
| LOW | tests/agno/test_agno_tracing.py | 286 | CODE | |
| LOW | tests/agno/test_agno_tracing.py | 326 | CODE | |
| LOW | tests/tracking/test_log_image.py | 167 | CODE | |
| LOW | tests/tracking/test_log_image.py | 219 | CODE | |
| LOW | tests/tracking/test_rest_tracking.py | 825 | CODE | |
| LOW | tests/tracking/test_rest_tracking.py | 1919 | CODE | |
| LOW | tests/lightgbm/test_lightgbm_model_export.py | 146 | CODE | |
| LOW | tests/lightgbm/test_lightgbm_model_export.py | 184 | CODE | |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 190 | CODE | |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 213 | CODE | |
| LOW | tests/spacy/test_spacy_model_export.py | 119 | CODE | |
| LOW | tests/spacy/test_spacy_model_export.py | 156 | CODE | |
| 555 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ransformers/test_sentence_transformers_model_export.py | 227 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/onnx/test_onnx_model_export.py | 476 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/xgboost/test_xgboost_model_export.py | 227 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/paddle/test_paddle_model_export.py | 207 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL | tests/server/jobs/helpers.py | 78 | mlflow.server.jobs.utils._huey_instance_map.clear() | CODE |
| CRITICAL⚡ | tests/pmdarima/test_pmdarima_model_export.py | 244 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL | tests/sklearn/test_sklearn_model_export.py | 381 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL | tests/transformers/test_transformers_model_export.py | 634 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | STRING |
| CRITICAL⚡ | tests/prophet/test_prophet_model_export.py | 280 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/tensorflow/test_keras_model_export.py | 385 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL | tests/tracking/_tracking_service/test_utils.py | 374 | mlflow.tracking._tracking_service.utils._tracking_store_registry._registry.keys() | CODE |
| CRITICAL⚡ | tests/lightgbm/test_lightgbm_model_export.py | 242 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 312 | # mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | COMMENT |
| CRITICAL | tests/pytorch/test_pytorch_model_export.py | 283 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/statsmodels/test_statsmodels_model_export.py | 219 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | CODE |
| CRITICAL⚡ | tests/spark/test_spark_model_export.py | 525 | mlflow.tracking._model_registry.fluent._register_model.assert_not_called() | STRING |
| CRITICAL⚡ | …re/artifact/test_unity_catalog_models_artifact_repo.py | 329 | mlflow.store._unity_catalog.registry.rest_store.get_feature_dependencies( | CODE |
| CRITICAL | …re/artifact/test_unity_catalog_models_artifact_repo.py | 349 | result = mlflow.store._unity_catalog.registry.rest_store.get_feature_dependencies( | CODE |
| CRITICAL | …re/artifact/test_unity_catalog_models_artifact_repo.py | 368 | result = mlflow.store._unity_catalog.registry.rest_store.get_model_version_dependencies( | CODE |
| CRITICAL | tests/store/artifact/test_azure_blob_artifact_repo.py | 8 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 588 | // Construct using org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.newBuilder() | COMMENT |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 623 | return org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance(); | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 701 | if (other == org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance()) return this; | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 1038 | com.google.protobuf.AbstractMessageLite.Builder.addAll( | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 1499 | // Construct using org.mlflow.scalapb_interface.Scalapb.MessageOptions.newBuilder() | COMMENT |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 1530 | return org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance(); | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 1598 | if (other == org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance()) return this; | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 1745 | com.google.protobuf.AbstractMessageLite.Builder.addAll( | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2170 | // Construct using org.mlflow.scalapb_interface.Scalapb.FieldOptions.newBuilder() | COMMENT |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2201 | return org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance(); | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2270 | if (other == org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance()) return this; | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2457 | org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance()); | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2473 | org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance()); | CODE |
| CRITICAL | …rc/main/java/org/mlflow/scalapb_interface/Scalapb.java | 2489 | org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance()); | CODE |
| CRITICAL | mlflow/utils/openai_utils.py | 101 | from azure.core.exceptions import ClientAuthenticationError | CODE |
| CRITICAL⚡ | mlflow/utils/_spark_utils.py | 41 | version = spark._jvm.scala.util.Properties.versionNumberString().split(".", 2) | CODE |
| CRITICAL⚡ | mlflow/data/spark_delta_utils.py | 64 | j_delta_table = spark._jvm.io.delta.tables.DeltaTable.forPath(spark._jsparkSession, path) | CODE |
| CRITICAL⚡ | mlflow/data/spark_delta_utils.py | 90 | j_delta_table = spark._jvm.io.delta.tables.DeltaTable.forName( | CODE |
| CRITICAL | mlflow/spark/__init__.py | 422 | cls._filesystem = cls._jvm().org.apache.hadoop.fs.FileSystem.get(cls._conf()) | CODE |
| CRITICAL | mlflow/spark/__init__.py | 442 | return cls._jvm().org.apache.hadoop.fs.FileSystem.getGlobalStorageStatistics() | CODE |
| CRITICAL | mlflow/store/artifact/azure_blob_artifact_repo.py | 201 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | mlflow/store/artifact/azure_blob_artifact_repo.py | 217 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CHANGELOG.md | 145 | - **🤖 [One-click observability & governance for coding agents](https://mlflow.org/docs/latest/genai/governance/ai-gatewa | CODE |
| MEDIUM⚡ | tests/demo/test_traces_generator.py | 133 | # 2 RAG + 2 agent + 6 prompt + 4 multimodal + 7 session = 21 per version | COMMENT |
| MEDIUM | tests/demo/test_traces_generator.py | 153 | # 2 RAG per version = 4 total | COMMENT |
| MEDIUM | tests/llama_index/test_llama_index_tracer.py | 644 | # Since chat engine is a complex agent-based system, it is challenging to strictly | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 4441 | # No dataset_id - zero-shot optimization | COMMENT |
| MEDIUM | tests/server/test_handlers.py | 4440 | "scorers": [], # Empty scorers for zero-shot | CODE |
| MEDIUM⚡ | tests/server/jobs/test_scorer_invocation.py | 348 | # Create a trace with multiple spans (simulating an agentic workflow) | COMMENT |
| MEDIUM | tests/evaluate/test_evaluation.py | 2043 | # This is an expected input format from the Databricks RAG Evaluator. | COMMENT |
| MEDIUM | tests/evaluate/test_evaluation.py | 2049 | # This is not a typical input format from either default or Databricks RAG evaluators, | COMMENT |
| MEDIUM⚡ | …genai/optimize/optimizers/test_metaprompt_optimizer.py | 302 | eval_fn=Mock(), # Not used in zero-shot | CODE |
| MEDIUM⚡ | …genai/optimize/optimizers/test_metaprompt_optimizer.py | 303 | train_data=[], # Empty triggers zero-shot | CODE |
| MEDIUM⚡ | …genai/optimize/optimizers/test_metaprompt_optimizer.py | 309 | assert result.initial_eval_score is None # No evaluation in zero-shot | CODE |
| MEDIUM | tests/genai/judges/test_search_trace_regex_tool.py | 276 | # Test with small context window (10 characters) | COMMENT |
| MEDIUM | tests/genai/judges/test_search_trace_regex_tool.py | 281 | # Test with large context window (30 characters) | COMMENT |
| MEDIUM | tests/genai/judges/test_make_judge.py | 2204 | # Verify agentic mode was used (trace passed to invoke_judge_model) | COMMENT |
| MEDIUM | tests/genai/judges/test_make_judge.py | 2226 | # Verify agentic mode was used | COMMENT |
| MEDIUM | …nai/judges/adapters/test_databricks_managed_adapter.py | 78 | # Verify the managed RAG client was called with correct parameters | COMMENT |
| MEDIUM | …nai/judges/adapters/test_databricks_managed_adapter.py | 107 | # Verify the managed RAG client was called with correct parameters | COMMENT |
| MEDIUM | tests/genai/scorers/ragas/test_ragas_scorer.py | 180 | # RAG Metrics | COMMENT |
| MEDIUM⚡ | mlflow/demo/data.py | 294 | # RAG Traces (2 traces) | COMMENT |
| MEDIUM | mlflow/demo/data.py | 688 | # Session 2: Debugging a RAG Application (3 turns) | COMMENT |
| MEDIUM | mlflow/protos/service_pb2.py | 33 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.prot | CODE |
| MEDIUM | mlflow/protos/service_pb2.py | 33 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.prot | CODE |
| MEDIUM | mlflow/protos/service_pb2.py | 714 | _globals['_MLFLOWSERVICE'].methods_by_name['removeGuardrailFromEndpoint']._serialized_options = b'\362\206\031c\n?\n | CODE |
| MEDIUM | mlflow/protos/service_pb2.py | 1460 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.prot | CODE |
| MEDIUM | mlflow/protos/service_pb2.py | 1460 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x06mlflow\x1a\x11\x61ssessments.prot | CODE |
| MEDIUM | mlflow/protos/service_pb2.py | 4921 | _MLFLOWSERVICE.methods_by_name['removeGuardrailFromEndpoint']._serialized_options = b'\362\206\031c\n?\n\006DELETE\0 | CODE |
| MEDIUM⚡ | mlflow/server/gateway_api.py | 638 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM⚡ | mlflow/server/gateway_api.py | 639 | # Pre-LLM guardrails run inside the trace as child spans; violations | COMMENT |
| MEDIUM⚡ | mlflow/server/gateway_api.py | 772 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM⚡ | mlflow/server/gateway_api.py | 773 | # Pre-LLM guardrails run inside the trace as child spans; violations | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 875 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 984 | # Post-LLM guardrails are skipped for embeddings: responses are float vectors | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 1077 | # Post-LLM guardrails are not applied to streaming responses. Streaming | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 1211 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 1379 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM | mlflow/server/gateway_api.py | 1473 | # Post-LLM guardrails are not applied to streaming responses. | COMMENT |
| MEDIUM | mlflow/server/auth/__init__.py | 3167 | # any of these roles. The two roles exist as ready-made scaffolding for the | COMMENT |
| MEDIUM | mlflow/server/js/src/lang/default/en.json | 3195 | "defaultMessage": "Delete {count, plural, one {guardrail} other {# guardrails}}", | CODE |
| MEDIUM | mlflow/server/js/src/lang/default/en.json | 8019 | "defaultMessage": "Are you sure you want to remove {count, plural, one {this guardrail} other {these # guardrails}}? | CODE |
| MEDIUM | …nents/traces/quickstart/TraceTableQuickstart.utils.tsx | 328 | # Define a simple chain-of-thought model and run it | COMMENT |
| MEDIUM | …xperiment-scorers/SampleScorerOutputPanelContainer.tsx | 174 | // Check if instructions contain {{trace}} variable (only supported when agentic judges are enabled) | COMMENT |
| MEDIUM | …gateway/components/guardrails/GuardrailsTabContent.tsx | 386 | defaultMessage: 'Delete {count, plural, one {guardrail} other {# guardrails}}', | CODE |
| MEDIUM | …gateway/components/guardrails/GuardrailsTabContent.tsx | 427 | defaultMessage="Are you sure you want to remove {count, plural, one {this guardrail} other {these # guardr | CODE |
| MEDIUM⚡ | mlflow/utils/requirements_utils.py | 668 | # Suppress databricks-chains, databricks-rag, and databricks-agents warnings for RAG | COMMENT |
| MEDIUM⚡ | mlflow/utils/requirements_utils.py | 671 | # "Databricks RAG Studio" product, remove unrelated names from this listing. | COMMENT |
| MEDIUM | mlflow/telemetry/events.py | 746 | # `scorer_count` is useful for indicating zero-shot vs few-shot optimization, and to | COMMENT |
| MEDIUM | …flow/genai/optimize/optimizers/metaprompt_optimizer.py | 20 | # Unified meta-prompt template that supports both zero-shot and few-shot modes | COMMENT |
| MEDIUM⚡ | …flow/genai/optimize/optimizers/metaprompt_optimizer.py | 172 | predict_fn=lambda question: "", # Not used in zero-shot | CODE |
| MEDIUM⚡ | …flow/genai/optimize/optimizers/metaprompt_optimizer.py | 173 | train_data=[], # Empty dataset triggers zero-shot mode | CODE |
| MEDIUM⚡ | …flow/genai/optimize/optimizers/metaprompt_optimizer.py | 179 | scorers=[], # No scorers needed for zero-shot | CODE |
| MEDIUM | …flow/genai/optimize/optimizers/metaprompt_optimizer.py | 277 | initial_eval_score=None, # No evaluation in zero-shot mode | STRING |
| MEDIUM | mlflow/genai/simulators/prompts.py | 100 | # NB: We include "rationale" to invoke chain-of-thought reasoning for better results. | COMMENT |
| MEDIUM | mlflow/genai/utils/llm_utils.py | 215 | # no context window management and no per-request cost tracking. | COMMENT |
| MEDIUM | mlflow/genai/judges/adapters/gateway_adapter.py | 653 | # Proactively prune if approaching context window limit, | COMMENT |
| MEDIUM | …ai/judges/adapters/databricks_managed_judge_adapter.py | 12 | T = TypeVar("T") # Generic type for agentic loop return value | CODE |
| MEDIUM | mlflow/genai/judges/instructions_judge/__init__.py | 567 | # Detect if we need to fall back to agentic (trace-based) mode. | COMMENT |
| MEDIUM | mlflow/genai/judges/instructions_judge/__init__.py | 594 | # In fallback mode, inputs/outputs will be discovered by the agentic judge | COMMENT |
| MEDIUM | mlflow/genai/scorers/guardrails/__init__.py | 85 | # guardrails-ai < 0.9.0: on_fail is passed to Guard.use() instead | COMMENT |
| MEDIUM | mlflow/genai/scorers/ragas/__init__.py | 358 | # RAG metrics | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 431 | # Check if we should enable flaky rerun logic | COMMENT |
| LOW | tests/conftest.py | 440 | # Check if we should profile this test | COMMENT |
| LOW | tests/tracing/test_fluent.py | 2172 | # Check if span information is correctly copied | COMMENT |
| LOW | tests/tracing/test_fluent.py | 2305 | # Check if span information is correctly copied | COMMENT |
| LOW | tests/tracing/utils/test_otlp.py | 182 | # Check if spans are in the logs - the debug exporter outputs span details | COMMENT |
| LOW | tests/tracing/utils/test_otlp.py | 253 | # Check if spans are in the logs - the debug exporter outputs span details | COMMENT |
| LOW⚡ | tests/tracing/utils/test_utils.py | 66 | # Check if the span order is preserved | COMMENT |
| LOW | tests/types/test_type_hints.py | 502 | # Check if dict is in the union (it could be dict or dict[str, Any]) | COMMENT |
| LOW | tests/langchain/test_langchain_model_export.py | 1143 | # Check if the deserialized model has the same endpoint and temperature | STRING |
| LOW | tests/server/auth/test_auth.py | 121 | # Set _MLFLOW_SGI_NAME to "uvicorn" so auth module returns FastAPI app | COMMENT |
| LOW | tests/models/test_wheeled_model.py | 105 | # Check if conda.yaml files of the original model and wheeled model are the same | COMMENT |
| LOW | tests/models/test_wheeled_model.py | 125 | # Check if conda.yaml and requirements.txt are consistent | COMMENT |
| LOW | tests/models/test_wheeled_model.py | 136 | # Check if requirements.txt and wheels directory are consistent | COMMENT |
| LOW | tests/sklearn/test_sklearn_autolog.py | 874 | # Verify if the params match the best estimator, then metrics are logged in the model | COMMENT |
| LOW | tests/evaluate/test_default_evaluator.py | 4505 | # Check if binary metrics are present based on classification type | COMMENT |
| LOW | tests/ag2/test_ag2_autolog.py | 83 | # Check if the initiate_chat method is patched | COMMENT |
| LOW | tests/ag2/test_ag2_autolog.py | 332 | # Check if the initiate_chat method is patched | COMMENT |
| LOW | tests/ag2/test_ag2_autolog.py | 342 | # Check if the start time is in reasonable range | COMMENT |
| LOW | tests/transformers/test_transformers_signature.py | 149 | monkeypatch.setenv("MLFLOW_INPUT_EXAMPLE_INFERENCE_TIMEOUT", "1") # Set timeout to 1 second | CODE |
| LOW | tests/optuna/test_storage.py | 543 | # Set params to another trial. | COMMENT |
| LOW | tests/tracking/test_client.py | 3134 | # Assign alias to version 1 | COMMENT |
| LOW | tests/genai/evaluate/test_evaluation.py | 506 | # Check if the model_id is set in the traces | COMMENT |
| LOW | tests/genai/prompts/test_prompts.py | 1405 | # Set alias to version 1 | COMMENT |
| LOW⚡ | tests/gateway/providers/test_togetherai.py | 269 | # Check if the raised exception has correct status code and detail | COMMENT |
| LOW | tests/gateway/providers/test_togetherai.py | 304 | # Check if the raised exception has correct status code and detail | COMMENT |
| LOW | tests/gateway/providers/test_fallback.py | 121 | # Set max_attempts to 2, even though we have 3 providers | COMMENT |
| LOW | tests/store/tracking/test_file_store.py | 1496 | # Set start_time to ensure the search result is deterministic | COMMENT |
| LOW | tests/store/tracking/test_file_store.py | 1557 | # Set start_time to ensure the search result is deterministic | COMMENT |
| LOW | …racking/sqlalchemy_store/test_sqlalchemy_store_runs.py | 1772 | # Set start_time to ensure the search result is deterministic | COMMENT |
| LOW | …racking/sqlalchemy_store/test_sqlalchemy_store_runs.py | 1832 | # Set start_time to ensure the search result is deterministic | COMMENT |
| LOW | …racking/sqlalchemy_store/test_sqlalchemy_store_runs.py | 1886 | # Set start_time to ensure the search result is deterministic | COMMENT |
| LOW⚡ | tests/store/artifact/test_models_artifact_repo.py | 222 | # Check if the files are downloaded correctly | COMMENT |
| LOW⚡ | tests/store/artifact/test_models_artifact_repo.py | 226 | # Check if the metadata file is created | COMMENT |
| LOW | mlflow/demo/base.py | 65 | # Check if demo data exists (version handled by base class) | STRING |
| LOW | mlflow/assistant/cli.py | 62 | # Check if already configured | COMMENT |
| LOW | mlflow/assistant/providers/claude_code.py | 451 | # Check if killed by interrupt (SIGKILL = -9) | COMMENT |
| LOW | mlflow/tracing/enablement.py | 86 | # Check if the experiment exists. In Databricks notebook, this `get_experiment` call triggers | COMMENT |
| LOW | mlflow/tracing/fluent.py | 247 | # Check if the function is a classmethod or staticmethod | COMMENT |
| LOW | mlflow/tracing/fluent.py | 1107 | # Check if pandas is installed early to avoid unnecessary computation | COMMENT |
| LOW | mlflow/tracing/utils/truncation.py | 73 | # Check if the object contains messages with OpenAI ChatCompletion format | COMMENT |
| LOW | mlflow/tracing/utils/truncation.py | 77 | # Check if the object contains a message in OpenAI ChatCompletion response format (choices) | COMMENT |
| LOW | mlflow/tracing/utils/truncation.py | 88 | # Check if the object contains a message in OpenAI Responses API request format | COMMENT |
| LOW | mlflow/tracing/utils/truncation.py | 92 | # Check if the object contains a message in OpenAI Responses API response format | COMMENT |
| LOW | mlflow/gemini/genai_semconv_converter.py | 18 | # Check if this is a list of Content dicts (have "role" key) | COMMENT |
| LOW | mlflow/onnx/__init__.py | 265 | # Check if the MLModel config has the providers meta data | COMMENT |
| LOW | mlflow/langchain/utils/chat.py | 450 | # Check if this is streaming (contains ChatGenerationChunk) | COMMENT |
| LOW | mlflow/pyspark/optuna/study.py | 189 | # Check if study exists and auto-resume if it does | COMMENT |
| LOW | mlflow/llama_index/tracer.py | 605 | # Check if generator/async generator is already closed | COMMENT |
| LOW | mlflow/server/gateway_api.py | 108 | # Check if body was already parsed by auth middleware | COMMENT |
| LOW | mlflow/server/gateway_api.py | 291 | # Check if this is Azure OpenAI (requires api_type, deployment_name, api_base, api_version) | COMMENT |
| LOW | mlflow/server/handlers.py | 1079 | # Check if this field is a list type by looking for _assert_array validator | COMMENT |
| LOW | mlflow/server/handlers.py | 7650 | # Check if run exists before attempting deletion - user may have | COMMENT |
| LOW | mlflow/server/__init__.py | 448 | # Check if job execution can be enabled (requirements met) | COMMENT |
| LOW | mlflow/server/assistant/api.py | 455 | # Check if skills already exist - skip re-installation | COMMENT |
| LOW | mlflow/server/auth/__init__.py | 4325 | # Check if this is a trusted internal request from a job subprocess. | COMMENT |
| LOW | mlflow/utils/credentials.py | 112 | # Check if databricks credentials are valid. | COMMENT |
| LOW | mlflow/utils/uv_utils.py | 451 | # Set UV_PROJECT_ENVIRONMENT to install packages into python environment at | STRING |
| LOW | mlflow/utils/rest_utils.py | 531 | # Check if this is a retryable error | COMMENT |
| LOW | mlflow/utils/rest_utils.py | 535 | # Check if we've exceeded max retries | COMMENT |
| LOW | mlflow/utils/rest_utils.py | 551 | # Check if we've exceeded or would exceed timeout | COMMENT |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/server/auth/test_auth_workspace.py | 2521 | assert auth_module.validate_can_manage_gateway_endpoint() is True | COMMENT |
| LOW | tests/sklearn/test_sklearn_autolog.py | 941 | # | COMMENT |
| LOW | tests/db/test_tracking_operations.py | 61 | # > transaction could not be processed, a memory allocation error occurred | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 161 | COMMENT | |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 281 | registered_model_name="AdsModel1", | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 301 | COMMENT | |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 321 | # artifact_repo.log_artifacts(model_path, artifact_path=artifact_path) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 341 | # spark_custom_env_parsed = yaml.safe_load(f) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 361 | # req_file = tmpdir.join("requirements.txt") | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 381 | # jsl_model, "model", pip_requirements=[f"-c {req_file.strpath}", "b"] | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 401 | # mlflow.get_artifact_uri("model"), [expected_mlflow_version, *default_reqs, "a"] | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 421 | # ["a"], | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 441 | # ): | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 461 | # spark_custom_env_parsed = yaml.safe_load(f) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 481 | # model_path = _download_artifact_from_uri(artifact_uri=model_uri) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 501 | # _assert_pip_requirements(model_uri, mlflow.johnsnowlabs.get_default_pip_requirements()) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 521 | # ), | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 541 | # "12.0", | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 561 | # "dbfs:/databricks/mlflow-tracking/a/b/model/sparkml", | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 581 | # mlflowdbfs_available, | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 601 | # if dbutils_available: | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 621 | # mock_get_dbutils, | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 641 | # == "dbfs:/databricks/mlflow-tracking/a/b/model/sparkml" | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 661 | # | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 681 | # ), mock.patch( | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 701 | # | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 721 | # python_env_path = Path(model_path, pyfunc_conf[pyfunc.ENV]["virtualenv"]) | COMMENT |
| LOW | tests/johnsnowlabs/test_johnsnowlabs_model_export.py | 741 | # artifact_path=artifact_path, | COMMENT |
| LOW | …ts/spark/autologging/ml/test_pyspark_ml_autologging.py | 921 | logloss1 = mce.evaluate(pred1_result) | COMMENT |
| LOW | charts/artifacthub-repo.yml | 1 | # Artifact Hub repository metadata for the MLflow Helm chart. | COMMENT |
| LOW | charts/example-mlflow-charts.yaml | 21 | flag_options: [] | COMMENT |
| LOW | charts/example-mlflow-charts.yaml | 41 | COMMENT | |
| LOW | charts/example-mlflow-charts.yaml | 61 | # name: s3-credentials | COMMENT |
| LOW | charts/values.yaml | 1 | # MLflow container image. | COMMENT |
| LOW | charts/values.yaml | 21 | replicaCount: 1 | COMMENT |
| LOW | charts/values.yaml | 41 | workers: 4 | COMMENT |
| LOW | charts/values.yaml | 61 | schedule: "0 2 * * 0" | COMMENT |
| LOW | charts/values.yaml | 121 | # secretKeyRef: | COMMENT |
| LOW | charts/values.yaml | 141 | artifactsDestination: "" | COMMENT |
| LOW | charts/values.yaml | 181 | metrics: | COMMENT |
| LOW | charts/values.yaml | 241 | # Access mode for the PersistentVolumeClaim. Use ReadWriteOnce for single-node | COMMENT |
| LOW | mlflow/environment_variables.py | 101 | #: Specifies the tracking URI. | COMMENT |
| LOW | mlflow/environment_variables.py | 121 | #: bypasses RBAC, so the creator is not assigned to any role. Set to ``False`` to skip | COMMENT |
| LOW | mlflow/environment_variables.py | 141 | MLFLOW_WORKSPACE_ARTIFACT_ROOT_CACHE_TTL_SECONDS = _EnvironmentVariable( | COMMENT |
| LOW | mlflow/environment_variables.py | 221 | #: Specifies the chunk size to use when uploading a file to GCS. | COMMENT |
| LOW | mlflow/environment_variables.py | 241 | COMMENT | |
| LOW | mlflow/environment_variables.py | 261 | #: Specifies the ``pool_size`` parameter to use for ``sqlalchemy.create_engine`` in the SQLAlchemy | COMMENT |
| LOW | mlflow/environment_variables.py | 501 | #: (default: ``None``) | COMMENT |
| LOW | mlflow/environment_variables.py | 521 | "MLFLOW_ENABLE_ARTIFACTS_PROGRESS_BAR", True | COMMENT |
| LOW | mlflow/environment_variables.py | 601 | "MLFLOW_MULTIPART_UPLOAD_CHUNK_SIZE", int, 10 * 1024**2 | COMMENT |
| LOW | mlflow/environment_variables.py | 701 | #: If set to True, the following entities will be truncated to their maximum length: | COMMENT |
| LOW | mlflow/environment_variables.py | 781 | ) | COMMENT |
| LOW | mlflow/environment_variables.py | 841 | #: ``Guidelines``, ``Safety``) when no ``model`` is passed explicitly. When unset, | COMMENT |
| LOW | mlflow/environment_variables.py | 901 | COMMENT | |
| LOW | mlflow/environment_variables.py | 921 | MLFLOW_ENABLE_OTLP_EXPORTER = _BooleanEnvironmentVariable("MLFLOW_ENABLE_OTLP_EXPORTER", True) | COMMENT |
| LOW | mlflow/environment_variables.py | 961 | COMMENT | |
| LOW | mlflow/environment_variables.py | 981 | COMMENT | |
| LOW | mlflow/environment_variables.py | 1081 | ) | COMMENT |
| LOW | mlflow/environment_variables.py | 1121 | ) | COMMENT |
| LOW | mlflow/environment_variables.py | 1161 | #: (default: ``1000``) | COMMENT |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/strands/test_strands_tracing.py | 97 | def update_config(self, **model_config: Any) -> None: | CODE |
| LOW | tests/pyfunc/custom_model/loader.py | 5 | __all__ = ["mod2"] | CODE |
| LOW | tests/pyfunc/custom_model/mod1/__init__.py | 3 | __all__ = ["mod2"] | CODE |
| LOW | tests/pyfunc/custom_model/mod1/mod2/__init__.py | 3 | __all__ = ["mod4"] | CODE |
| LOW | .claude/skills/src/skills/github/__init__.py | 13 | __all__ = [ | CODE |
| LOW | mlflow/client.py | 10 | __all__ = [ | CODE |
| LOW | mlflow/__init__.py | 209 | __all__ = [ | CODE |
| LOW | mlflow/demo/__init__.py | 10 | __all__ = [ | CODE |
| LOW | mlflow/demo/generators/__init__.py | 21 | __all__ = [ | CODE |
| LOW | mlflow/dspy/__init__.py | 4 | __all__ = ["autolog"] | CODE |
| LOW | mlflow/assistant/config.py | 163 | __all__ = [ | CODE |
| LOW | mlflow/assistant/__init__.py | 25 | __all__ = ["get_project_path", "clear_project_path_cache", "AssistantConfig"] | CODE |
| LOW | mlflow/assistant/providers/__init__.py | 8 | __all__ = [ | CODE |
| LOW | mlflow/metrics/__init__.py | 486 | __all__ = [ | CODE |
| LOW | mlflow/metrics/genai/__init__.py | 15 | __all__ = [ | CODE |
| LOW | mlflow/tracing/__init__.py | 13 | __all__ = [ | CODE |
| LOW | mlflow/tracing/locations.py | 3 | __all__ = ["UnityCatalog"] | CODE |
| LOW | mlflow/tracing/processor/uc_table.py | 85 | def _set_user_session_span_attributes(self, root_span: OTelReadableSpan) -> None: | CODE |
| LOW | mlflow/tracing/processor/otel_metrics_mixin.py | 39 | def _setup_metrics_if_necessary(self) -> None: | CODE |
| LOW | mlflow/tracing/utils/otlp.py | 164 | def _set_otel_proto_anyvalue(pb_any_value: AnyValue, value: Any) -> None: | CODE |
| LOW | mlflow/tracing/utils/__init__.py | 839 | def set_span_model_attribute(span: LiveSpan, inputs: dict[str, Any]) -> None: | CODE |
| LOW | mlflow/tracing/utils/__init__.py | 871 | def set_span_cost_attribute(span: LiveSpan) -> None: | CODE |
| LOW | mlflow/tracing/utils/truncation.py | 15 | def set_request_response_preview(trace_info: TraceInfo, trace_data: TraceData) -> None: | CODE |
| LOW | mlflow/tracing/display/__init__.py | 7 | __all__ = [ | CODE |
| LOW | mlflow/tracing/export/async_export_queue.py | 138 | def _set_up_threads(self) -> None: | CODE |
| LOW | mlflow/types/responses.py | 22 | __all__ = [ | CODE |
| LOW | mlflow/pytest/session.py | 36 | def set_plugin_active() -> None: | CODE |
| LOW | mlflow/pytest/session.py | 45 | def set_current_test(test_name: str | None, case_id: str | None = None) -> None: | CODE |
| LOW | mlflow/pytest/__init__.py | 3 | __all__ = ["test"] | CODE |
| LOW | mlflow/langchain/autolog.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | mlflow/langchain/__init__.py | 5 | __all__ = ["autolog", "FLAVOR_NAME"] | CODE |
| LOW | mlflow/langchain/utils/logging.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | mlflow/config/__init__.py | 44 | __all__ = [ | CODE |
| LOW | mlflow/diffusers/__init__.py | 533 | __all__ = [ | CODE |
| LOW | mlflow/pyspark/__init__.py | 3 | __all__ = ["ml"] | CODE |
| LOW | mlflow/projects/__init__.py | 447 | __all__ = ["run", "SubmittedRun"] | CODE |
| LOW | mlflow/projects/backend/__init__.py | 8 | __all__ = ["AbstractBackend"] | CODE |
| LOW | mlflow/llama_index/__init__.py | 5 | __all__ = ["autolog", "FLAVOR_NAME"] | CODE |
| LOW | mlflow/claude_code/tracing.py | 411 | def _set_token_usage_attribute(span, usage: dict[str, Any]) -> None: | CODE |
| LOW | mlflow/server/gateway_api.py | 227 | def _set_gateway_telemetry_state(request: Request, endpoint_config) -> None: | CODE |
| LOW | mlflow/server/workspace_helpers.py | 148 | __all__ = [ | CODE |
| LOW | mlflow/server/assistant/session.py | 38 | def set_pending_message(self, role: str, content: str) -> None: | CODE |
| LOW | mlflow/server/assistant/session.py | 57 | def update_context(self, context: dict[str, Any]) -> None: | CODE |
| LOW | mlflow/server/jobs/progress.py | 32 | def _set_job_tracker(tracker: "JobTracker | None") -> None: | CODE |
| LOW | mlflow/server/jobs/progress.py | 37 | def update_status_details(status_details: dict[str, Any]) -> None: | CODE |
| LOW | mlflow/utils/workspace_utils.py | 57 | def set_workspace_store_uri(uri: str | None) -> None: | CODE |
| LOW | mlflow/utils/workspace_utils.py | 111 | __all__ = [ | CODE |
| LOW | mlflow/utils/jsonpath_utils.py | 199 | def set_nested_value(data: dict[str, Any], parts: list[str], value: Any) -> None: | CODE |
| LOW | mlflow/utils/async_logging/async_logging_queue.py | 323 | def _set_up_logging_thread(self) -> None: | CODE |
| LOW | …w/utils/async_logging/async_artifacts_logging_queue.py | 219 | def _set_up_logging_thread(self) -> None: | CODE |
| LOW | mlflow/utils/autologging_utils/client.py | 241 | def set_tags(self, run_id: str | PendingRunId, tags: dict[str, Any]) -> None: | CODE |
| LOW | mlflow/models/__init__.py | 49 | __all__ = [ | CODE |
| LOW | mlflow/models/model.py | 1610 | def set_model(model) -> None: | CODE |
| LOW | mlflow/models/evaluation/__init__.py | 13 | __all__ = [ | CODE |
| LOW | mlflow/cli/demo.py | 42 | def _set_quiet_logging() -> None: | CODE |
| LOW | mlflow/cli/traces.py | 481 | def set_trace_tag(trace_id: str, key: str, value: str) -> None: | CODE |
| LOW | mlflow/ai_commands/__init__.py | 14 | __all__ = ["get_command", "get_command_body", "list_commands", "parse_frontmatter", "commands"] | CODE |
| LOW | mlflow/haystack/autolog.py | 146 | def set_component_info(self, mlflow_span: LiveSpan, span: OTelReadableSpan) -> None: | CODE |
| LOW⚡ | mlflow/haystack/autolog.py | 186 | def set_pipeline_info(self, mlflow_span: LiveSpan, span: OTelReadableSpan) -> None: | CODE |
| LOW | mlflow/strands/autolog.py | 112 | def _set_span_type(mlflow_span: LiveSpan, span: OTelReadableSpan) -> None: | CODE |
| 130 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ged-models/ExperimentLoggedModelListPageTableEmpty.tsx | 83 | print(logged_model.model_id, logged_model.params) | CODE |
| HIGH | …ged-models/ExperimentLoggedModelListPageTableEmpty.tsx | 101 | print(logged_model.model_id, logged_model.metrics)`.trim(); | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 298 | call_source: 'def evaluate(inputs, outputs):\n return True', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 308 | code: 'def evaluate(inputs, outputs):\n return True', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 632 | code: 'def my_scorer(inputs, outputs):\n return True', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 649 | call_source: 'def my_scorer(inputs, outputs):\n return True', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 661 | code: 'return True', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 954 | code: 'def original_scorer():\n return False', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 965 | code: 'def original_scorer():\n return False', | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 975 | code: 'def original_scorer():\n return False', // Code unchanged | CODE |
| HIGH | …/experiment-scorers/utils/scorerTransformUtils.test.ts | 1053 | code: 'def original_scorer():\n return False', | CODE |
| HIGH | …iment-scorers/hooks/scheduledScorersCacheUtils.test.ts | 51 | serialized_scorer: '{"name": "custom", "call_source": "return True"}', | CODE |
| HIGH | …iment-scorers/hooks/scheduledScorersCacheUtils.test.ts | 78 | code: 'return True', | CODE |
| HIGH | …nt-tracking/pages/prompts/components/OptimizeModal.tsx | 76 | print(f"The new prompt URI: {result.optimized_prompts[0].uri}")`; | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 331 | print(run_prompt(**variables))`; | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 353 | print(run_prompt(**variables))`; | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 368 | print(run_prompt(${variables.map((name) => `${name}="<${name}>"`).join(', ')}))`; | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 384 | print(run_prompt(${variables.map((name) => `${name}="<${name}>"`).join(', ')}))`; | CODE |
| HIGH | …rc/gateway/components/endpoints/EndpointUsageModal.tsx | 91 | print(response.json())`, | CODE |
| HIGH | …rc/gateway/components/endpoints/EndpointUsageModal.tsx | 123 | print(response.choices[0].message)`, | CODE |
| HIGH | …rc/gateway/components/endpoints/EndpointUsageModal.tsx | 152 | print(response.output_text)`, | CODE |
| HIGH | …rc/gateway/components/endpoints/EndpointUsageModal.tsx | 178 | print(response.content[0].text)`, | CODE |
| HIGH | …rc/gateway/components/endpoints/EndpointUsageModal.tsx | 212 | print(response.candidates[0].content.parts[0].text)`, | CODE |
| HIGH | …c/gateway/components/edit-endpoint/StarterCodeCard.tsx | 59 | print(response.choices[0].message)`, | CODE |
| HIGH | …c/gateway/components/edit-endpoint/StarterCodeCard.tsx | 86 | print(response.output_text)`, | CODE |
| HIGH | …c/gateway/components/edit-endpoint/StarterCodeCard.tsx | 117 | print(response.content[0].text)`, | CODE |
| HIGH | …c/gateway/components/edit-endpoint/StarterCodeCard.tsx | 148 | print(response.candidates[0].content.parts[0].text)`, | CODE |
| HIGH | …cs/src/components/OpenAICompatibleGatewayDoc/index.tsx | 142 | print(response.choices[0].message.content)`} | CODE |
| HIGH | …cs/src/components/OpenAICompatibleGatewayDoc/index.tsx | 221 | print(answer)`} | CODE |
| HIGH | …cs/src/components/OpenAICompatibleGatewayDoc/index.tsx | 288 | print(chunk.choices[0].delta.content, end="")`} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tracking/fluent/test_fluent.py | 87 | CODE | |
| LOW | tests/gateway/test_tracing_utils.py | 66 | CODE | |
| LOW | tests/store/tracking/sqlalchemy_store/conftest.py | 281 | CODE | |
| LOW | tests/store/tracking/sqlalchemy_store/conftest.py | 319 | CODE | |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 770 | CODE | |
| LOW | mlflow/h2o/__init__.py | 77 | CODE | |
| LOW | mlflow/h2o/__init__.py | 213 | CODE | |
| LOW | mlflow/dspy/save.py | 82 | CODE | |
| LOW | mlflow/dspy/save.py | 308 | CODE | |
| LOW | mlflow/sentence_transformers/__init__.py | 117 | CODE | |
| LOW | mlflow/sentence_transformers/__init__.py | 304 | CODE | |
| LOW | mlflow/keras/save.py | 103 | CODE | |
| LOW | mlflow/keras/save.py | 275 | CODE | |
| LOW | mlflow/keras/autologging.py | 115 | CODE | |
| LOW | mlflow/metrics/genai/metric_definitions.py | 14 | CODE | |
| LOW | mlflow/metrics/genai/metric_definitions.py | 105 | CODE | |
| LOW | mlflow/metrics/genai/metric_definitions.py | 197 | CODE | |
| LOW | mlflow/metrics/genai/metric_definitions.py | 286 | CODE | |
| LOW | mlflow/metrics/genai/metric_definitions.py | 369 | CODE | |
| LOW | mlflow/metrics/genai/genai_metric.py | 204 | CODE | |
| LOW | mlflow/metrics/genai/genai_metric.py | 365 | CODE | |
| LOW | mlflow/tracing/client.py | 271 | CODE | |
| LOW | mlflow/tracing/fluent.py | 91 | CODE | |
| LOW | mlflow/tracing/fluent.py | 105 | CODE | |
| LOW | mlflow/tracing/fluent.py | 118 | CODE | |
| LOW | mlflow/tracing/fluent.py | 369 | CODE | |
| LOW | mlflow/tracing/fluent.py | 678 | CODE | |
| LOW | mlflow/tracing/fluent.py | 928 | CODE | |
| LOW | mlflow/tracing/fluent.py | 1425 | CODE | |
| LOW | mlflow/tracing/fluent.py | 1779 | CODE | |
| LOW | mlflow/shap/__init__.py | 292 | CODE | |
| LOW | mlflow/shap/__init__.py | 378 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 329 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 356 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 383 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 410 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 437 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 464 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 491 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 518 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 545 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 572 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 599 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 626 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 653 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 680 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 707 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 734 | CODE | |
| LOW | mlflow/protos/unity_catalog_prompt_service_pb2_grpc.py | 761 | CODE | |
| LOW | mlflow/onnx/__init__.py | 93 | CODE | |
| LOW | mlflow/onnx/__init__.py | 500 | CODE | |
| LOW | mlflow/langchain/model.py | 132 | CODE | |
| LOW | mlflow/langchain/model.py | 441 | CODE | |
| LOW | mlflow/xgboost/__init__.py | 115 | CODE | |
| LOW | mlflow/xgboost/__init__.py | 237 | CODE | |
| LOW | mlflow/xgboost/__init__.py | 465 | CODE | |
| LOW | mlflow/diffusers/__init__.py | 214 | CODE | |
| LOW | mlflow/diffusers/__init__.py | 408 | CODE | |
| LOW | mlflow/pyspark/ml/__init__.py | 803 | CODE | |
| LOW | mlflow/projects/__init__.py | 209 | CODE | |
| 79 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/gateway/test_tracing_utils.py | 422 | # Step 1: Agent creates span and generates traceparent headers | COMMENT |
| LOW⚡ | tests/gateway/test_tracing_utils.py | 428 | # Step 2: Gateway processes request (no active agent span, simulating separate server) | COMMENT |
| LOW | …/sqlalchemy_store/test_sqlalchemy_store_assessments.py | 503 | # Step 1: log_spans() creates the trace row as spans are exported incrementally. | COMMENT |
| LOW | …/sqlalchemy_store/test_sqlalchemy_store_assessments.py | 527 | # Step 2: _log_trace() calls start_trace() with the full TraceInfo (including | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 484 | # Step 9: Test delete_scorer for non-existent scorer | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 488 | # Step 10: Test delete_scorer for non-existent version | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 494 | # Step 11: Test delete_scorer for remaining scorers | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 504 | # Step 12: Test list_scorer_versions | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 349 | # Step 2: Test list_scorers - should return latest version for each scorer name | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 393 | # Step 3: Test get_scorer with specific versions | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 409 | # Step 4: Test get_scorer without version (should return latest) | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 422 | # Step 5: Test error cases for get_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 433 | # Step 6: Test delete_scorer - delete specific version of accuracy_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 457 | # Step 7: Test delete_scorer - delete all versions of accuracy_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 473 | # Step 8: Test list_scorers after deletion | COMMENT |
| LOW | .claude/skills/add-review-comment/SKILL.md | 14 | ## Step 1: Locate the line to comment on | COMMENT |
| LOW | .claude/skills/add-review-comment/SKILL.md | 18 | ## Step 2: Post the comment | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 103 | # Step 1: Select provider | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 108 | # Step 2: Check provider availability | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 112 | # Step 3: Optionally connect experiment with code repository | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 115 | # Step 4: Ask for model | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 118 | # Step 5: Ask for skill location | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 121 | # Step 6: Install skills | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 124 | # Step 7: Save configuration | COMMENT |
| LOW | mlflow/tracing/fluent.py | 1237 | # Step 1: Page through traces to collect unique session IDs (up to max_results) | COMMENT |
| LOW | mlflow/tracing/fluent.py | 1268 | # Step 2: Fetch complete traces for each session in parallel | COMMENT |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 230 | // Step 1: POST the message to initiate processing | COMMENT |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 247 | // Step 2: Get the session_id from the response | COMMENT |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 259 | // Step 3: Connect to the SSE endpoint to receive the stream | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 21 | // Step 1: raw interval | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 24 | // Step 2: round to a "nice" interval | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 36 | // Step 3: extend right bound so we always overshoot it | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 41 | // Step 4: Generate tick positions | COMMENT |
| LOW | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 244 | // Step 1: Position leaf nodes (no children) sequentially | COMMENT |
| LOW | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 255 | // Step 2: Center parent nodes above their positioned children | COMMENT |
| LOW⚡ | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 270 | // Step 3: Position any remaining unpositioned nodes in this layer | COMMENT |
| LOW⚡ | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 279 | // Step 4: Resolve overlaps — sort by x, push right as needed | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 13 | # Step 1: Define evaluation dataset | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 20 | # Step 2: Define predict_fn | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 28 | # Step 3: Run evaluation | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 54 | # Step 1: Pull traces to evaluate. | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 59 | # Step 2: Run evaluation. No predict_fn needed — inputs/outputs | COMMENT |
| LOW⚡ | mlflow/cli/crypto.py | 77 | # Step 1: Stop server (or ctrl-c if running in foreground) | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 85 | # Step 4: Run rotation | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 88 | # Step 5: Update deployment config (example for Kubernetes) | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 94 | # Step 6: Restart server | STRING |
| LOW | mlflow/ai_commands/genai/analyze_experiment.md | 17 | ## Step 1: Setup and Configuration | COMMENT |
| LOW | mlflow/ai_commands/genai/analyze_experiment.md | 79 | ## Step 2: Analysis Phase | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 415 | # Step 1: Describe the agent | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 422 | # Step 2: Generate test cases | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 429 | # Step 3: Simulate conversations | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 440 | # Step 4: Detect issues | COMMENT |
| LOW | mlflow/genai/datasets/__init__.py | 501 | # WARNING: This returns ALL datasets - use with caution! | STRING |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3896 | # Step 1: Find sessions with at least one trace >= min timestamp (optimization) | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3904 | # Step 2: Optional filter on first trace (e.g., tags.myTag = "value") | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3912 | # Step 3: Compute first/last trace timestamps for each session | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3920 | # Step 4: Get completed sessions (last trace <= max timestamp) | COMMENT |
| LOW⚡ | libs/typescript/core/src/exporters/mlflow.ts | 216 | // Step 1: Create trace metadata in backend | COMMENT |
| LOW⚡ | libs/typescript/core/src/exporters/mlflow.ts | 218 | // Step 2: Upload trace data (spans) to artifact storage | COMMENT |
| LOW | libs/typescript/core/src/exporters/uc_table.ts | 220 | // Step 1: persist the trace info (tags, metadata, state). | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/gateway/test_tracing_utils.py | 422 | # Step 1: Agent creates span and generates traceparent headers | COMMENT |
| LOW⚡ | tests/gateway/test_tracing_utils.py | 428 | # Step 2: Gateway processes request (no active agent span, simulating separate server) | COMMENT |
| LOW | …/sqlalchemy_store/test_sqlalchemy_store_assessments.py | 503 | # Step 1: log_spans() creates the trace row as spans are exported incrementally. | COMMENT |
| LOW | …/sqlalchemy_store/test_sqlalchemy_store_assessments.py | 527 | # Step 2: _log_trace() calls start_trace() with the full TraceInfo (including | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 484 | # Step 9: Test delete_scorer for non-existent scorer | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 488 | # Step 10: Test delete_scorer for non-existent version | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 494 | # Step 11: Test delete_scorer for remaining scorers | COMMENT |
| LOW⚡ | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 504 | # Step 12: Test list_scorer_versions | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 349 | # Step 2: Test list_scorers - should return latest version for each scorer name | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 393 | # Step 3: Test get_scorer with specific versions | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 409 | # Step 4: Test get_scorer without version (should return latest) | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 422 | # Step 5: Test error cases for get_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 433 | # Step 6: Test delete_scorer - delete specific version of accuracy_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 457 | # Step 7: Test delete_scorer - delete all versions of accuracy_scorer | COMMENT |
| LOW | …king/sqlalchemy_store/test_sqlalchemy_store_scorers.py | 473 | # Step 8: Test list_scorers after deletion | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 103 | # Step 1: Select provider | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 108 | # Step 2: Check provider availability | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 112 | # Step 3: Optionally connect experiment with code repository | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 115 | # Step 4: Ask for model | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 118 | # Step 5: Ask for skill location | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 121 | # Step 6: Install skills | COMMENT |
| LOW⚡ | mlflow/assistant/cli.py | 124 | # Step 7: Save configuration | COMMENT |
| LOW | mlflow/tracing/fluent.py | 1237 | # Step 1: Page through traces to collect unique session IDs (up to max_results) | COMMENT |
| LOW | mlflow/tracing/fluent.py | 1268 | # Step 2: Fetch complete traces for each session in parallel | COMMENT |
| LOW | mlflow/types/schema.py | 266 | When two properties have the same name, we need to check if their dtypes | STRING |
| LOW | mlflow/langchain/databricks_dependencies.py | 190 | To keep backward compatibility, we need to check if the object is an instance of the | STRING |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 230 | // Step 1: POST the message to initiate processing | COMMENT |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 247 | // Step 2: Get the session_id from the response | COMMENT |
| LOW | mlflow/server/js/src/assistant/AssistantService.ts | 259 | // Step 3: Connect to the SSE endpoint to receive the stream | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 21 | // Step 1: raw interval | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 24 | // Step 2: round to a "nice" interval | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 36 | // Step 3: extend right bound so we always overshoot it | COMMENT |
| LOW⚡ | …explorer/timeline-tree/gantt/TimelineTreeGanttBars.tsx | 41 | // Step 4: Generate tick positions | COMMENT |
| LOW | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 244 | // Step 1: Position leaf nodes (no children) sequentially | COMMENT |
| LOW | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 255 | // Step 2: Center parent nodes above their positioned children | COMMENT |
| LOW⚡ | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 270 | // Step 3: Position any remaining unpositioned nodes in this layer | COMMENT |
| LOW⚡ | …/model-trace-explorer/graph-view/GraphView.workflow.ts | 279 | // Step 4: Resolve overlaps — sort by x, push right as needed | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 13 | # Step 1: Define evaluation dataset | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 20 | # Step 2: Define predict_fn | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 28 | # Step 3: Run evaluation | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 54 | # Step 1: Pull traces to evaluate. | COMMENT |
| LOW⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 59 | # Step 2: Run evaluation. No predict_fn needed — inputs/outputs | COMMENT |
| LOW | mlflow/utils/async_logging/async_logging_queue.py | 148 | # `queue_size` is an estimate, so we need to check if the queue is empty. | COMMENT |
| LOW⚡ | mlflow/cli/crypto.py | 77 | # Step 1: Stop server (or ctrl-c if running in foreground) | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 85 | # Step 4: Run rotation | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 88 | # Step 5: Update deployment config (example for Kubernetes) | STRING |
| LOW⚡ | mlflow/cli/crypto.py | 94 | # Step 6: Restart server | STRING |
| LOW | mlflow/transformers/__init__.py | 2330 | The purpose of this function is to convert them into the correct format for input | STRING |
| LOW⚡ | mlflow/genai/agent_tester.py | 415 | # Step 1: Describe the agent | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 422 | # Step 2: Generate test cases | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 429 | # Step 3: Simulate conversations | COMMENT |
| LOW⚡ | mlflow/genai/agent_tester.py | 440 | # Step 4: Detect issues | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3896 | # Step 1: Find sessions with at least one trace >= min timestamp (optimization) | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3904 | # Step 2: Optional filter on first trace (e.g., tags.myTag = "value") | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3912 | # Step 3: Compute first/last trace timestamps for each session | COMMENT |
| LOW⚡ | mlflow/store/tracking/sqlalchemy_store.py | 3920 | # Step 4: Get completed sessions (last trace <= max timestamp) | COMMENT |
| LOW⚡ | libs/typescript/core/src/exporters/mlflow.ts | 216 | // Step 1: Create trace metadata in backend | COMMENT |
| LOW⚡ | libs/typescript/core/src/exporters/mlflow.ts | 218 | // Step 2: Upload trace data (spans) to artifact storage | COMMENT |
| LOW | libs/typescript/core/src/exporters/uc_table.ts | 220 | // Step 1: persist the trace info (tags, metadata, state). | COMMENT |
| LOW | libs/typescript/core/src/exporters/uc_table.ts | 246 | // Step 2: upload spans via OTLP. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tracing/test_fluent.py | 1385 | # Test a field that doesn't exist for extraction - we shouldn't throw, just return empty column | COMMENT |
| LOW | tests/utils/test_environment.py | 375 | # Should just pass with warning | COMMENT |
| MEDIUM | tests/ag2/test_ag2_autolog.py | 321 | # Test if the duration calculation for LLM completion is robust to timezone changes. | COMMENT |
| LOW⚡ | tests/tracking/test_tracking.py | 811 | # Create a run and verify that the current active experiment is the one we just set | COMMENT |
| LOW⚡ | tests/tracking/test_tracking.py | 897 | # Create a run and verify that the current active experiment is the one we just set | COMMENT |
| MEDIUM | tests/genai/evaluate/test_utils.py | 505 | # Using set because eval harness runs predict_fn in parallel | COMMENT |
| MEDIUM⚡ | tests/genai/evaluate/test_evaluation.py | 802 | # Eval harness runs prediction in parallel, so the order is not deterministic | COMMENT |
| MEDIUM | tests/genai/evaluate/test_evaluation.py | 862 | # ThreadPoolExecutor is called twice in OSS (harness + scorers) | COMMENT |
| MEDIUM | mlflow/demo/__init__.py | 30 | # demo generation (e.g. by the evaluation harness's ThreadPoolExecutor) can resolve | COMMENT |
| MEDIUM | mlflow/tracing/fluent.py | 82 | # This is necessary for evaluation harness to access generated traces during | COMMENT |
| MEDIUM | mlflow/tracing/processor/base_mlflow.py | 279 | # synchronously for the evaluation harness. | COMMENT |
| LOW | mlflow/tracing/display/display_handler.py | 73 | # we can't just call trace.to_json() because this | STRING |
| MEDIUM | mlflow/tracing/export/mlflow_v3.py | 196 | # harness can access to the trace using mlflow.get_trace(eval_request_id) | COMMENT |
| MEDIUM | mlflow/tracing/export/mlflow_v3.py | 310 | # During evaluate or assertion tests, the harness relies on the generated | COMMENT |
| MEDIUM | mlflow/R/mlflow/R/databricks-utils.R | 146 | #' mode. This function extracts relevant data that MLflow needs in order to properly utilize the | COMMENT |
| LOW | mlflow/server/auth/__init__.py | 1772 | # No secret being changed, just return True | COMMENT |
| MEDIUM | …server/js/config-eslint/presets/createConfigFactory.js | 734 | // TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906) | COMMENT |
| MEDIUM | …in/rules/no-new-object-or-array-in-zustand-selector.js | 138 | // More robust check might involve looking at definition types or scope level | COMMENT |
| LOW | mlflow/utils/proto_json_utils.py | 451 | else: # by default just return whatever this is and hope for the best | CODE |
| MEDIUM⚡ | mlflow/utils/requirements_utils.py | 670 | # NB: When a final name has been decided for GA for the aforementioned | COMMENT |
| MEDIUM | mlflow/tracking/artifact_utils.py | 79 | else: # if we're dealing with nt-based systems, we need to utilize pathname2url to encode. | CODE |
| MEDIUM⚡ | mlflow/genai/judges/adapters/litellm_adapter.py | 46 | # ContextVar that upstream modules (e.g. the evaluate harness) can set to disable | COMMENT |
| MEDIUM | mlflow/genai/judges/adapters/litellm_adapter.py | 521 | # When an upstream module (e.g. the evaluate harness) has set the flag, | COMMENT |
| MEDIUM | mlflow/genai/judges/instructions_judge/__init__.py | 180 | # NB: We create a dummy PromptVersion here to leverage its existing template variable | COMMENT |
| MEDIUM | mlflow/genai/scorers/job.py | 316 | # Use _compute_eval_scores from harness - supports scorer tracing, | COMMENT |
| MEDIUM | mlflow/genai/scorers/base.py | 631 | # TODO: Replace 'Assessment' with 'Feedback' once we migrate from the agent eval harness | COMMENT |
| MEDIUM | mlflow/genai/evaluation/entities.py | 261 | # evaluation harness from the scorers that declare one. In-process only. | COMMENT |
| MEDIUM | mlflow/genai/evaluation/base.py | 363 | # harness will use those traces directly rather than calling predict_fn again. | COMMENT |
| MEDIUM | mlflow/genai/evaluation/base.py | 392 | # NB: The "RAG_EVAL_MAX_WORKERS" env var is used in the DBX agent harness, but is | COMMENT |
| LOW | mlflow/entities/span.py | 1001 | # propagation mechanism, so here we just use the native object that meets our | COMMENT |
| LOW | mlflow/spark/autologging.py | 249 | # If there are active runs, simply set the tag on the latest active run | COMMENT |
| LOW | mlflow/store/tracking/sqlalchemy_store.py | 1184 | # simply call _log_metrics and let it handle the rest | COMMENT |
| LOW | mlflow/store/tracking/sqlalchemy_store.py | 1455 | # just create a new SqlLatestMetric instance since both | COMMENT |
| LOW | mlflow/store/tracking/sqlalchemy_store.py | 4673 | # Assessment doesn't exist - this is idempotent, so just return | COMMENT |
| MEDIUM | …ions/1b5f0d9ad7c1_add_workspace_columns_and_catalog.py | 442 | # We could potentially leverage Alembic's batch_alter_table with recreate="auto" to avoid the | COMMENT |
| MEDIUM | mlflow/store/analytics/trace_correlation.py | 5 | # Using Jeffreys prior (alpha=0.5) to minimize bias while providing robust estimates | COMMENT |
| MEDIUM | examples/gemini/tracing.py | 25 | # Also leverage the chat feature to conduct multi-turn interactions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 58 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 154 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 209 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 240 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 268 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 314 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 357 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 465 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/tracing/export/test_mlflow_v3_exporter.py | 536 | monkeypatch.setenv("DATABRICKS_TOKEN", "dummy-token") | CODE |
| LOW | tests/types/test_schema.py | 1405 | {"role": "user", "content": "I like machine learning", "name": "John Doe"}, | CODE |
| LOW | tests/langchain/sample_code/chain.py | 14 | os.environ.setdefault("DATABRICKS_TOKEN", "fake-token") | CODE |
| LOW | tests/langchain/sample_code/no_config/chain.py | 6 | os.environ.setdefault("DATABRICKS_TOKEN", "fake-token") | CODE |
| LOW | tests/server/test_handlers.py | 5382 | request_message.created_by = "user@example.com" | CODE |
| LOW | tests/server/test_handlers.py | 5396 | created_by="user@example.com", | CODE |
| LOW | tests/server/test_handlers.py | 5417 | assert call_kwargs["created_by"] == "user@example.com" | CODE |
| LOW | tests/utils/test_jsonpath_utils.py | 213 | "source": {"source_type": "HUMAN", "source_id": "user@example.com"}, | CODE |
| LOW | tests/utils/test_databricks_tracing_utils.py | 396 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW | tests/entities/test_issue.py | 170 | created_by="user@example.com", | CODE |
| LOW | tests/entities/test_issue.py | 184 | assert issue.created_by == "user@example.com" | CODE |
| LOW | tests/entities/test_issue.py | 232 | "created_by": "admin@example.com", | CODE |
| LOW | tests/entities/test_issue.py | 248 | assert issue.created_by == "admin@example.com" | CODE |
| LOW | tests/gateway/providers/test_anthropic.py | 1196 | "content": [{"type": "text", "text": '{"name": "John Doe", "email": "john@example.com"}'}], | CODE |
| LOW | tests/gateway/providers/test_anthropic.py | 1219 | == '{"name": "John Doe", "email": "john@example.com"}' | CODE |
| LOW | tests/gateway/providers/test_mistral.py | 329 | "content": '{"name": "John Doe", "email": "john@example.com"}', | CODE |
| LOW | tests/gateway/providers/test_mistral.py | 346 | == '{"name": "John Doe", "email": "john@example.com"}' | CODE |
| LOW⚡ | tests/store/tracking/test_databricks_rest_store.py | 1862 | assert result[0].created_by == "user@example.com" | CODE |
| LOW⚡ | tests/store/tracking/test_databricks_rest_store.py | 1863 | assert result[0].last_updated_by == "user@example.com" | CODE |
| LOW | tests/store/tracking/test_databricks_rest_store.py | 1827 | "created_by": "user@example.com", | CODE |
| LOW | tests/store/tracking/test_databricks_rest_store.py | 1828 | "last_updated_by": "user@example.com", | CODE |
| LOW⚡ | …cking/sqlalchemy_store/test_sqlalchemy_store_issues.py | 73 | assert issue.created_by == "user@example.com" | CODE |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_issues.py | 58 | created_by="user@example.com", | CODE |
| LOW | …ng/sqlalchemy_store/test_sqlalchemy_workspace_store.py | 1082 | source = AssessmentSource(source_type="HUMAN", source_id="user@example.com") | CODE |
| LOW | …ng/sqlalchemy_store/test_sqlalchemy_workspace_store.py | 1231 | source_type=AssessmentSourceType.HUMAN, source_id="user@example.com" | CODE |
| LOW⚡ | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1633 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW⚡ | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1641 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW⚡ | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1651 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1307 | source = AssessmentSource(source_type="HUMAN", source_id="user@example.com") | CODE |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1354 | source = AssessmentSource(source_type="HUMAN", source_id="user@example.com") | CODE |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1703 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW | …cking/sqlalchemy_store/test_sqlalchemy_store_traces.py | 1713 | source=AssessmentSource(source_type="HUMAN", source_id="user@example.com"), | CODE |
| LOW | …s/store/artifact/test_azure_data_lake_artifact_repo.py | 458 | first_credential = AzureSasCredential("fake_token") | CODE |
| LOW⚡ | …atalog/model_registry/test_unity_catalog_rest_store.py | 756 | access_key_id = "fake-key" | CODE |
| LOW⚡ | …atalog/model_registry/test_unity_catalog_rest_store.py | 992 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 491 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 561 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 625 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 687 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1066 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1151 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1675 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1729 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1781 | access_key_id = "fake-key" | CODE |
| LOW | …atalog/model_registry/test_unity_catalog_rest_store.py | 1821 | access_key_id = "fake-key" | CODE |
| LOW | …b-shared/model-trace-explorer/custom-view/catalog.json | 387 | "placeholder": { | CODE |
| LOW | …b-shared/model-trace-explorer/custom-view/catalog.json | 666 | "placeholder": { | CODE |
| LOW | …c/experiment-tracking/utils/LoggedModels.test-utils.ts | 16 | creator_id: 'test@test.com', | CODE |
| LOW | …t-view-components/ShowArtifactLoggedTableView.test.tsx | 16 | ['row-2', 'ERROR', 'Lorem ipsum'], | CODE |
| LOW | …rts/components/RunsChartsDraggableCardsGridSection.tsx | 29 | const PlaceholderSymbol = Symbol('placeholder'); | CODE |
| LOW | …gged-models/useCombinedRunInputsOutputsModels.test.tsx | 18 | creator_id: 'test@test.com', | CODE |
| LOW | …experiment-tracking/pages/prompts/PromptsPage.test.tsx | 118 | await userEvent.type(screen.getByLabelText('Prompt:'), 'lorem ipsum'); | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mlflow/metrics/genai/genai_metric.py | 261 | os.environ.setdefault("OPENAI_API_KEY", "your-api-key-here") | STRING |
| HIGH | mlflow/server/js/src/assistant/setup/CodexAuth.tsx | 143 | {renderCodeBlock('export OPENAI_API_KEY=your-api-key')} | CODE |
| HIGH⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 10 | os.environ["OPENAI_API_KEY"] = "your-api-key-here" # Replace with your API key | CODE |
| HIGH⚡ | …s/experiment-evaluation-runs/evaluationCodeSnippets.ts | 51 | os.environ["OPENAI_API_KEY"] = "your-api-key-here" # Replace with your API key | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 298 | client = OpenAI(api_key="<YOUR_API_KEY>")`; | CODE |
| HIGH | …king/pages/prompts/components/PromptContentPreview.tsx | 298 | client = OpenAI(api_key="<YOUR_API_KEY>")`; | CODE |
| HIGH | docs/src/components/OpenAICompatibleGateways/config.ts | 61 | apiKeyPlaceholder: '<YOUR_API_KEY>', | CODE |
| HIGH | docs/src/components/OpenAICompatibleGateways/config.ts | 61 | apiKeyPlaceholder: '<YOUR_API_KEY>', | CODE |
| HIGH | libs/tracing/README.md | 67 | client = openai.OpenAI(api_key="<your-api-key>") | CODE |
| HIGH | examples/openai/autologging/README.md | 18 | python examples/openai/autologging/instantiated_client.py --api-key="your-api-key" | CODE |
| HIGH | examples/openai/autologging/README.md | 27 | export OPENAI_API_KEY="your-api-key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mlflow/metrics/genai/model_utils.py | 347 | # new ones as requested, as long as the provider support chat endpoints. | COMMENT |
| HIGH | …table/components/GenAiEvaluationTracesReview.utils.tsx | 908 | // It is not AI generated, and it doesn't have the `IS_FROM_AI` metadata field set to true | COMMENT |
| HIGH | …races-table/components/GenAiEvaluationTracesReview.tsx | 60 | // 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.tsx | 66 | // If we should repeat the AI generated overall assessment, we need to copy and add it to the list of assessments | COMMENT |
| HIGH | mlflow/genai/scorers/job.py | 240 | # Preserve order of traces as requested | COMMENT |
| HIGH | .github/workflows/triage.yml | 157 | 🤖 This assessment was generated by AI and may be incorrect. A maintainer will review. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/utils/test_uri.py | 797 | # In this example, %2%0952e -> %2\t52e -> %252e -> %2e -> . | COMMENT |
| HIGH | examples/demos/mlflow-3/deep_learning.py | 2 | # In this example, we will first run a model training job, which is tracked as an MLflow Run. | COMMENT |
| HIGH | examples/demos/mlflow-3/genai.py | 2 | # In this example, we will create an agent and then evaluate its performance. First, we will define the agent and log it | COMMENT |
| HIGH | examples/demos/mlflow-3/ml.py | 2 | # In this example, we will first run a model training job, which is tracked as | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/pyfunc/test_spark.py | 128 | # Don't forget to revert these changes prior to pushing a branch! | COMMENT |
| LOW | examples/tracing/client.py | 52 | # End the child span. Please make sure to end the child span before ending the root span. | COMMENT |
| MEDIUM | examples/tracing/client.py | 80 | # Alternatively, you can use search_traces() API | COMMENT |
| MEDIUM | examples/tracing/fluent.py | 44 | # Alternatively, you can use `search_traces` API to retrieve | COMMENT |
| LOW | examples/docker/train.py | 35 | # Read the wine-quality csv file (make sure you're running this from the root of MLflow!) | COMMENT |
| MEDIUM | examples/evaluation/evaluate_with_model_validation.py | 108 | # If you would like to catch model validation failures, you can add try except clauses around | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/good_first_issue.yaml | 22 | # ^^ make sure to use this | COMMENT |
| LOW | dev/update_mlflow_versions.py | 124 | # version of a dependency. to work around, we make sure to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/tracing/test_fluent.py | 2005 | def test_function(): | CODE |
| LOW⚡ | tests/tracing/test_fluent.py | 2600 | def test_function(): | CODE |
| LOW | tests/tracing/test_provider.py | 662 | def test_function(): | CODE |
| LOW | tests/tracing/test_otel_logging.py | 631 | def test_function(): | CODE |
| LOW | tests/tracing/processor/test_otel_metrics.py | 94 | def test_function() -> str: | CODE |
| LOW | tests/llama_index/test_llama_index_tracer.py | 740 | async def process_data(self, ev: ProcessEvent) -> ResultEvent: | CODE |
| LOW | tests/llama_index/test_llama_index_tracer.py | 811 | async def process_data(self, ev: ProcessEvent) -> ResultEvent: | CODE |
| LOW | tests/genai/test_agent_server.py | 122 | def my_function(request): | CODE |
| LOW | tests/genai/test_agent_server.py | 470 | def test_function(request): | CODE |
| LOW | tests/genai/test_agent_server.py | 488 | def test_function(request): | CODE |
| LOW | tests/pyfunc/sample_code/utils.py | 1 | def my_function(input): | CODE |
| LOW | mlflow/tracing/fluent.py | 149 | def my_function(x, y): | STRING |
| LOW | mlflow/tracing/fluent.py | 161 | def my_function(x, y): | STRING |
| LOW | dev/clint/tests/test_index.py | 12 | test_file.write_text("def test_function(): pass") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | charts/example-mlflow-charts.yaml | 2 | # Usage: | COMMENT |
| LOW | mlflow/protos/opentelemetry/update.sh | 5 | # Usage: | COMMENT |
| LOW | …ples/sklearn_elasticnet_diabetes/osx/train_diabetes.py | 13 | # Usage: | COMMENT |
| LOW | …es/sklearn_elasticnet_diabetes/linux/train_diabetes.py | 13 | # Usage: | COMMENT |
| LOW | dev/publish_model_catalog.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/utils/test_requirements_utils.py | 625 | CODE | |
| MEDIUM | tests/openai/test_openai_agent_autolog.py | 445 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ent-logged-models/ExperimentLoggedModelDetailsPage.tsx | 79 | // TODO: implement error handling | COMMENT |