NVIDIA cuML: GPU-Accelerated Machine Learning
This report summarizes scanner evidence for rapidsai/cuml, a Python project with 5,303 GitHub stars. SynthScan examined 159,091 lines of code across 670 source files, recording 2059 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 15.8 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1515 finding(s).
Are imports declared and package/API names verified? 345 finding(s).
Are wrappers, guards, and repeated structures necessary? 1483 finding(s).
Which changes need focused human review? 2059 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2059 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/libcuml/libcuml/load.py | 17 | def _load_system_installation(soname: str): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_profilers.py | 188 | def test_profile_fallback_in_gpu_method(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_set_output.py | 15 | def proxy_classes_with_set_output(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_logging.py | 73 | def test_logging_multiple_operations(get_logs, log_level, expected): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_logging.py | 87 | def test_unsupported_hyperparams(get_logs): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_logging.py | 104 | def test_unsupported_hyperparams_in_set_params(get_logs, log_level): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_logging.py | 128 | def test_unsupported_parameters(get_logs): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 55 | def test_magic_cudf_pandas_before(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 75 | def test_magic_cudf_pandas_after(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 159 | def test_profiler_magics_output(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 230 | def test_profiler_magics_error_before_exec(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 252 | def test_profiler_magics_error_during_exec(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_magics.py | 274 | def test_line_profiler_magic_applies_to_the_correct_source(): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 31 | def test_multiple_import_styles_work(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 44 | def test_enabled_in_subprocesses(method): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 51 | def test_enabled_in_loky_executor(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 74 | def test_log_level_forwarded_to_subprocesses(monkeypatch): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 113 | def test_proxied_methods_signature_compatibility(cls, name): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 173 | def test_constraints_match_installed_versions(capsys): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 127 | def test_accelerator_exclude_sequence(mockmod): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 141 | def test_accelerator_exclude_callable(mockmod): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 163 | def test_accelerator_external_exclude(mockmod): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 177 | def test_accelerator_import_in_override(mockmod): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 197 | def test_accelerator_install_after_import(mockmod): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 222 | def test_accelerator_module_patch(mockmod): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 274 | def test_import_error_non_existant_file_in_accelerated_module(mockmod): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_basic_estimators.py | 150 | def test_k_neighbors_classifier(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_basic_estimators.py | 164 | def test_k_neighbors_regressor(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_cli.py | 25 | def test_parse_explicit_stdin(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_cli.py | 82 | def test_parse_choses_first_c_or_m(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_cli.py | 181 | def test_cuml_accel_enabled_environ(value): | STRING |
| LOW | python/cuml/cuml_accel_tests/test_cli.py | 287 | def test_cli_mix_cuml_accel_and_cudf_pandas(first, second, tmpdir): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_cli.py | 401 | def test_cli_profilers_errors(mode, option, tmpdir): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 82 | def test_init_no_parameters_signature(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 89 | def test_sklearn_introspect_estimator_type(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 97 | def test_sklearn_introspect_parameter_constraints(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 102 | def test_sklearn_utils_get_tags(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 663 | def test_common_fit_attributes(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 671 | def test_fit_validates_params(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 679 | def test_method_that_only_exists_on_cpu_estimator(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 124 | def test_init_positional_and_keyword(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 187 | def test_repr_mimebundle_display_text(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 255 | def test_getattr_supports_select_private_attributes(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 272 | def test_not_implemented_attr_error(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 411 | def test_pickle_proxy_estimator_class(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 462 | def test_pickle_cpu_fit_but_params_supported(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 479 | def test_unpickle_cuml_accel_not_active(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 605 | def test_fit_unsupported_args(use_kwargs): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 745 | def test_incremental_pca_partial_fit(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 766 | def test_incremental_pca_set_output(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 779 | def test_incremental_pca_rejects_unsupported_fit_params(method): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 787 | def test_get_feature_names_out(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 853 | def test_metadata_routing_consumed(metadata_routing): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 867 | def test_array_api_proxy_pandas_inputs(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 890 | def test_array_api_proxy_global_transform_output(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 900 | def test_array_api_proxy_partial_fit(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 929 | def test_array_api_proxy_coerce_inputs(transform): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 937 | def test_array_api_proxy_pickle(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 970 | def test_array_api_proxy_fallback_older_sklearn(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 985 | def test_subclass_of_proxy_isnt_accelerated(Base): | CODE |
| 1181 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/libcuml/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| MEDIUM | python/libcuml/CMakeLists.txt | 6 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/CMakeLists.txt | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 47 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 49 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 58 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 60 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 354 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 356 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 73 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 120 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 122 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 387 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 389 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 409 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 411 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_train_test_split.py | 476 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_train_test_split.py | 478 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 138 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 140 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 618 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 620 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 653 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 655 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 799 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 801 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 865 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 867 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 998 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 1000 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 30 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 32 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 73 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 714 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 716 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 936 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 938 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 1035 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 1037 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_text_feature_extraction.py | 410 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/tests/test_text_feature_extraction.py | 413 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/tests/test_text_feature_extraction.py | 478 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/tests/test_text_feature_extraction.py | 480 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/tests/test_kernel_density.py | 261 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/tests/test_kernel_density.py | 264 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 52 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 54 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 69 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 71 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 89 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 91 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 107 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 109 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 145 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 147 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/web_results_generation.py | 726 | # ---------------------------------------------------------- | STRING |
| MEDIUM | python/cuml/umap_dev_tools/web_results_generation.py | 728 | # ---------------------------------------------------------- | STRING |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/libcuml/libcuml/__init__.py | 4 | CODE | |
| LOW | python/libcuml/libcuml/__init__.py | 4 | CODE | |
| LOW | python/libcuml/libcuml/__init__.py | 5 | CODE | |
| LOW | python/cuml/cuml_accel_tests/test_accelerator.py | 4 | CODE | |
| LOW | python/cuml/tests/test_benchmark_coverage.py | 10 | CODE | |
| LOW | python/cuml/tests/test_preprocessing.py | 65 | CODE | |
| LOW | python/cuml/tests/test_nearest_neighbors.py | 23 | CODE | |
| LOW | python/cuml/tests/dask/test_dask_linear_regression.py | 54 | CODE | |
| LOW | python/cuml/tests/dask/test_dask_logistic_regression.py | 119 | CODE | |
| LOW | python/cuml/tests/dask/test_dask_logistic_regression.py | 168 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 16 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 17 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 18 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 19 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 20 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 21 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 22 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 23 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 24 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 25 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 26 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 27 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 28 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 29 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 30 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 31 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 32 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 33 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 34 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 35 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 36 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 37 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 42 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 42 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 43 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 44 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 45 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 46 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 47 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 48 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 49 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 50 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 51 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 52 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 53 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 54 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 54 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 54 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 55 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 56 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 57 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 58 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 59 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 60 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 61 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 62 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 62 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 62 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 67 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 68 | CODE | |
| 271 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/libcuml/libcuml/load.py | 51 | except ModuleNotFoundError: | CODE |
| HIGH | python/libcuml/libcuml/load.py | 81 | except OSError: | CODE |
| HIGH | python/libcuml/tests/test_libcuml_linkage.py | 51 | except (ImportError, AttributeError): | CODE |
| HIGH | python/cuml/cuml_accel_tests/test_accelerator.py | 54 | except ValueError: | CODE |
| HIGH | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 161 | except UnicodeDecodeError: | CODE |
| HIGH | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 173 | except UnicodeDecodeError: | CODE |
| HIGH | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 181 | except UnicodeDecodeError: | CODE |
| HIGH | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 211 | except UnicodeDecodeError: | CODE |
| HIGH | python/cuml/cuml/__init__.py | 10 | except ModuleNotFoundError: | CODE |
| HIGH | python/cuml/cuml/benchmark/_metadata.py | 95 | except Exception: | CODE |
| HIGH | python/cuml/cuml/benchmark/run_benchmarks.py | 314 | except (TypeError, ValueError): | CODE |
| HIGH | python/cuml/cuml/benchmark/run_benchmarks.py | 106 | except ValueError: | CODE |
| HIGH | python/cuml/cuml/benchmark/run_benchmarks.py | 497 | except OSError: | CODE |
| HIGH | python/cuml/cuml/comm/serialize.py | 36 | except ImportError: | CODE |
| HIGH | python/cuml/cuml/testing/strategies.py | 490 | except AttributeError: | CODE |
| HIGH | python/cuml/cuml/internals/interop.py | 135 | except AttributeError: | CODE |
| HIGH | python/cuml/cuml/internals/interop.py | 168 | except AttributeError: | CODE |
| HIGH | python/cuml/cuml/internals/validation.py | 154 | except Exception: | CODE |
| HIGH | python/cuml/cuml/accel/estimator_proxy.py | 267 | except AttributeError: | CODE |
| HIGH | python/cuml/cuml/accel/profilers.py | 453 | except ValueError: | CODE |
| HIGH | python/cuml/cuml/accel/profilers.py | 52 | except KeyError: | CODE |
| HIGH | python/cuml/cuml/accel/__main__.py | 107 | except ValueError: | CODE |
| HIGH | python/cuml/cuml/accel/__main__.py | 111 | except ValueError: | CODE |
| HIGH | python/cuml/cuml/preprocessing/encoders.py | 29 | except (TypeError, ValueError): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/libcuml/libcuml/load.py | 36 | CODE | |
| LOW | python/libcuml/tests/test_libcuml_linkage.py | 12 | CODE | |
| LOW | python/libcuml/tests/test_libcuml_linkage.py | 65 | CODE | |
| LOW | python/cuml/cuml_accel_tests/test_core.py | 82 | CODE | |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 704 | CODE | |
| LOW | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 164 | CODE | |
| LOW | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 250 | CODE | |
| LOW | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 312 | CODE | |
| LOW | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 352 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 41 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 63 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 1492 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 2046 | CODE | |
| LOW | python/cuml/tests/test_metrics.py | 1665 | CODE | |
| LOW | python/cuml/tests/test_metrics.py | 1865 | CODE | |
| LOW | python/cuml/tests/test_kneighbors_classifier.py | 328 | CODE | |
| LOW | python/cuml/tests/test_docs.py | 54 | CODE | |
| LOW | python/cuml/tests/test_make_classification.py | 56 | CODE | |
| LOW | python/cuml/tests/test_exceptions.py | 25 | CODE | |
| LOW | python/cuml/tests/test_benchmark_coverage.py | 84 | CODE | |
| LOW | python/cuml/tests/test_reflection.py | 407 | CODE | |
| LOW | python/cuml/tests/test_reflection.py | 414 | CODE | |
| LOW | python/cuml/tests/test_benchmark.py | 38 | CODE | |
| LOW | python/cuml/tests/test_svm.py | 38 | CODE | |
| LOW | python/cuml/tests/test_qn.py | 22 | CODE | |
| LOW | python/cuml/tests/test_label_encoder.py | 204 | CODE | |
| LOW | python/cuml/tests/test_umap_hypothesis.py | 94 | CODE | |
| LOW | python/cuml/tests/test_umap.py | 593 | CODE | |
| LOW | python/cuml/tests/test_api.py | 175 | CODE | |
| LOW | python/cuml/tests/test_kernel_density.py | 56 | CODE | |
| LOW | python/cuml/tests/test_kernel_density.py | 299 | CODE | |
| LOW | python/cuml/tests/test_logistic_regression.py | 379 | CODE | |
| LOW | python/cuml/tests/dask/test_dask_arr_utils.py | 31 | CODE | |
| LOW | python/cuml/tests/dask/test_dask_datasets.py | 81 | CODE | |
| LOW | python/cuml/tests/explainer/test_gpu_treeshap.py | 703 | CODE | |
| LOW | python/cuml/tests/explainer/test_sampling.py | 18 | CODE | |
| LOW | python/cuml/umap_dev_tools/web_results_generation.py | 13 | CODE | |
| LOW | python/cuml/umap_dev_tools/test_umap.py | 929 | CODE | |
| LOW | python/cuml/cuml/benchmark/bench_helper_funcs.py | 102 | CODE | |
| LOW | python/cuml/cuml/benchmark/_metadata.py | 31 | CODE | |
| LOW | python/cuml/cuml/benchmark/_metadata.py | 42 | CODE | |
| LOW | python/cuml/cuml/benchmark/config.py | 361 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 436 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 456 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 480 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 512 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 554 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 405 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 203 | CODE | |
| LOW | python/cuml/cuml/benchmark/run_benchmarks.py | 977 | CODE | |
| LOW | python/cuml/cuml/benchmark/automated/utils/utils.py | 152 | CODE | |
| LOW | python/cuml/cuml/metrics/_classification.py | 16 | CODE | |
| LOW | python/cuml/cuml/metrics/regression.py | 82 | CODE | |
| LOW | python/cuml/cuml/metrics/confusion_matrix.py | 16 | CODE | |
| LOW | python/cuml/cuml/dask/metrics/confusion_matrix.py | 26 | CODE | |
| LOW | …hon/cuml/cuml/dask/linear_model/logistic_regression.py | 164 | CODE | |
| LOW | python/cuml/cuml/dask/common/dask_arr_utils.py | 29 | CODE | |
| LOW | python/cuml/cuml/dask/common/base.py | 225 | CODE | |
| LOW | python/cuml/cuml/linear_model/logistic_regression.py | 256 | CODE | |
| LOW | python/cuml/cuml/linear_model/base.py | 195 | CODE | |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 132 | assert X_train.equals(X_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 133 | assert X_test.equals(X_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 134 | assert y_train.equals(y_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 135 | assert y_test.equals(y_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 378 | assert X_train.equals(X_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 379 | assert X_test.equals(X_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 380 | assert y_train.equals(y_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 381 | assert y_test.equals(y_test2) | CODE |
| HIGH | python/cuml/umap_dev_tools/web_results_generation.py | 1271 | if (window.Plotly && window.Plotly.Plots) {{ | CODE |
| HIGH | python/cuml/umap_dev_tools/web_results_generation.py | 1288 | if (window.Plotly && window.Plotly.Plots) {{ | CODE |
| HIGH | python/cuml/umap_dev_tools/web_results_generation.py | 1312 | if (window.Plotly && window.Plotly.Plots) {{ | CODE |
| HIGH | python/cuml/umap_dev_tools/web_results_generation.py | 1329 | if (window.Plotly && window.Plotly.Plots) {{ | CODE |
| HIGH | python/cuml/cuml/common/sparse.py | 193 | if (rid >= n_cols || cid >= n_cols || rid < cid) return; | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …hon/cuml/cuml/dask/linear_model/logistic_regression.py | 0 | fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features) | STRING |
| HIGH | python/cuml/cuml/dask/linear_model/linear_regression.py | 0 | fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features) | STRING |
| HIGH | python/cuml/cuml/dask/linear_model/ridge.py | 0 | fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features) | STRING |
| HIGH | python/cuml/cuml/dask/solvers/cd.py | 0 | fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features) | STRING |
| HIGH | python/cuml/cuml/dask/linear_model/linear_regression.py | 0 | make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask | STRING |
| HIGH | python/cuml/cuml/dask/linear_model/ridge.py | 0 | make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask | STRING |
| HIGH | python/cuml/cuml/dask/solvers/cd.py | 0 | make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask | STRING |
| HIGH | python/cuml/cuml/dask/decomposition/tsvd.py | 0 | fit the model with x. parameters ---------- x : dask cudf input | STRING |
| HIGH | python/cuml/cuml/dask/decomposition/pca.py | 0 | fit the model with x. parameters ---------- x : dask cudf input | STRING |
| HIGH | python/cuml/cuml/dask/decomposition/base.py | 0 | fit the model with x. parameters ---------- x : dask cudf input | STRING |
| HIGH | python/cuml/cuml/preprocessing/_target_encoder.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| HIGH | python/cuml/cuml/preprocessing/encoders.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| HIGH | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| HIGH | …l/_thirdparty/sklearn/preprocessing/_discretization.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| HIGH | …hirdparty/sklearn/preprocessing/_column_transformer.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| HIGH | …/cuml/_thirdparty/sklearn/preprocessing/_imputation.py | 0 | get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=n | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/cuml/cuml_accel_tests/test_pipeline.py | 91 | # Create a synthetic dataset for binary classification | COMMENT |
| MEDIUM | python/cuml/cuml_accel_tests/test_pipeline.py | 98 | # Create a synthetic dataset for regression | COMMENT |
| MEDIUM | …cuml/cuml_accel_tests/integration/test_rf_regressor.py | 15 | # Create a synthetic regression dataset. | COMMENT |
| MEDIUM | …uml/cuml_accel_tests/integration/test_rf_classifier.py | 16 | # Create a synthetic classification dataset. | COMMENT |
| MEDIUM | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 381 | # Create a key based on all properties except tests | COMMENT |
| MEDIUM | python/cuml/tests/test_spectral_embedding.py | 267 | # Create a symmetric k-NN affinity graph | COMMENT |
| MEDIUM | python/cuml/tests/test_base.py | 137 | # Create an instance | COMMENT |
| MEDIUM | python/cuml/tests/dask/test_dask_logistic_regression.py | 569 | # This function is for testing standardization. | COMMENT |
| MEDIUM | python/cuml/tests/dask/test_dask_logistic_regression.py | 592 | # This function is for testing standardization. | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 421 | # Create a copy of the items to avoid dictionary modification during iteration | COMMENT |
| MEDIUM | python/cuml/umap_dev_tools/web_results_generation.py | 410 | # Create a similar figure for cuML but hidden initially | COMMENT |
| MEDIUM | …cuml/dask/feature_extraction/text/tfidf_transformer.py | 62 | >>> # Create a local CUDA cluster | STRING |
| MEDIUM | python/cuml/cuml/dask/preprocessing/_label.py | 62 | >>> # This method is preferred | STRING |
| MEDIUM | python/cuml/cuml/dask/naive_bayes/naive_bayes.py | 46 | >>> # Create a local CUDA cluster | STRING |
| MEDIUM | python/cuml/cuml/naive_bayes/naive_bayes.py | 1280 | # Create the sparse category count matrix | COMMENT |
| MEDIUM | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 2546 | # Create the quantiles of reference | COMMENT |
| MEDIUM | conda/environments/cpp_all_cuda-129_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/all_cuda-133_arch-aarch64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/all_cuda-133_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/clang_tidy_cuda-129_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/all_cuda-129_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/clang_tidy_cuda-133_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/all_cuda-129_arch-aarch64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | conda/environments/cpp_all_cuda-133_arch-x86_64.yaml | 1 | # This file is generated by `rapids-dependency-file-generator`. | COMMENT |
| MEDIUM | docs/source/conf.py | 5 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 320 | print(f"Error: Report file not found: {args.report_file}") | CODE |
| MEDIUM⚡ | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 326 | print(f"Error: Invalid XML file: {e}") | CODE |
| MEDIUM⚡ | …on/cuml/cuml_accel_tests/upstream/summarize-results.py | 332 | print("Error: No testsuite element found in XML file") | CODE |
| LOW | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 499 | except Exception as e: | CODE |
| MEDIUM | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 500 | print(f"Error formatting {xfail_path}: {e}", file=sys.stderr) | CODE |
| LOW | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 575 | except Exception as e: | CODE |
| MEDIUM | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 576 | print(f"Error: {e}", file=sys.stderr) | CODE |
| LOW | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 678 | except Exception as e: | CODE |
| MEDIUM | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 679 | print(f"Error: {e}", file=sys.stderr) | CODE |
| LOW | …accel_tests/upstream/scikit-learn/example_collector.py | 171 | except Exception as exc: | CODE |
| LOW | python/cuml/tests/dask/test_dask_pca.py | 42 | except Exception as e: | CODE |
| LOW | python/cuml/umap_dev_tools/run_umap_debug.py | 256 | except Exception: | CODE |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 409 | print(f"Error: Dataset '{args.dataset}' not found.") | CODE |
| MEDIUM | python/cuml/umap_dev_tools/run_umap_debug.py | 253 | def _fmt(v): | CODE |
| LOW | python/cuml/umap_dev_tools/web_results_generation.py | 326 | except Exception: | CODE |
| LOW | python/cuml/umap_dev_tools/web_results_generation.py | 633 | except Exception: | CODE |
| LOW | python/cuml/cuml/benchmark/gpu_check.py | 38 | except Exception: | CODE |
| LOW⚡ | python/cuml/cuml/benchmark/_metadata.py | 90 | except Exception as exc: | CODE |
| LOW⚡ | python/cuml/cuml/benchmark/_metadata.py | 95 | except Exception: | CODE |
| MEDIUM | python/cuml/cuml/benchmark/_metadata.py | 15 | def _git_output(args, cwd): | CODE |
| LOW | python/cuml/cuml/benchmark/runners.py | 38 | except Exception: | CODE |
| LOW | python/cuml/cuml/benchmark/runners.py | 236 | except Exception as e: | CODE |
| LOW | python/cuml/cuml/benchmark/run_benchmarks.py | 493 | except Exception: | CODE |
| MEDIUM | python/cuml/cuml/benchmark/run_benchmarks.py | 342 | def _is_missing_value(value): | CODE |
| LOW | python/cuml/cuml/dask/ensemble/base.py | 166 | except Exception as error: | CODE |
| LOW | …cuml/testing/plugins/restart_corrupted_xdist_worker.py | 43 | except Exception: | CODE |
| LOW | python/cuml/cuml/internals/validation.py | 154 | except Exception: | CODE |
| LOW | python/cuml/cuml/internals/validation.py | 1003 | except Exception as exc: | CODE |
| LOW | python/cuml/cuml/accel/pytest_plugin.py | 60 | except Exception: | CODE |
| LOW | python/cuml/cuml/health_checks/__main__.py | 63 | except Exception as e: | CODE |
| LOW | docs/source/sphinxext/github_link.py | 83 | except Exception: | CODE |
| LOW | docs/source/sphinxext/github_link.py | 88 | except Exception: | CODE |
| LOW | docs/source/sphinxext/github_link.py | 127 | except Exception: | CODE |
| MEDIUM | docs/source/sphinxext/github_link.py | 39 | def _get_git_revision(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cuml/cuml_accel_tests/upstream/pytest.ini | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. | COMMENT |
| LOW | …on/cuml/cuml_accel_tests/upstream/hdbscan/run-tests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ml/cuml_accel_tests/upstream/scikit-learn/run-tests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …cuml_accel_tests/upstream/scikit-learn/run-examples.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/cuml/tests/test_dbscan.py | 381 | params = {"eps": 1.1, "min_samples": 4} | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 201 | # if loss == 'softmax': | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 221 | # -96.41866], | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 241 | # else: | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 261 | # -96.41866], | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 281 | # assert (qn.objective - 0.007433414924889803) < tol | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 301 | # -2.0305414], | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 321 | # np.testing.assert_almost_equal(qn.coef_ | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 341 | # [-25.04939, | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 361 | # np.array([[1.2279763, | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 381 | # -0.44855425, | COMMENT |
| LOW | python/cuml/tests/test_qn.py | 401 | # [-1.5185534, | COMMENT |
| LOW | python/cuml/cuml/dask/metrics/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/dask/feature_extraction/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/dask/manifold/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/dask/naive_bayes/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/testing/dask/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/testing/plugins/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/accel/magics.py | 21 | COMMENT | |
| LOW | python/cuml/cuml/accel/_overrides/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/multiclass/__init__.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION. | COMMENT |
| LOW | python/cuml/cuml/_thirdparty/sklearn/__init__.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION. | COMMENT |
| LOW | python/cuml/cuml/_thirdparty/sklearn/utils/extmath.py | 1 | # SPDX-FileCopyrightText: Gael Varoquaux | COMMENT |
| LOW | …hon/cuml/cuml/_thirdparty/sklearn/utils/sparsefuncs.py | 1 | # SPDX-FileCopyrightText: Manoj Kumar | COMMENT |
| LOW | …thon/cuml/cuml/_thirdparty/sklearn/utils/validation.py | 1 | # SPDX-FileCopyrightText: Olivier Grisel | COMMENT |
| LOW | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 1 | # SPDX-FileCopyrightText: Alexandre Gramfort <alexandre.gramfort@inria.fr> | COMMENT |
| LOW | …l/_thirdparty/sklearn/preprocessing/_discretization.py | 1 | # SPDX-FileCopyrightText: Henry Lin <hlin117@gmail.com> | COMMENT |
| LOW | …hirdparty/sklearn/preprocessing/_column_transformer.py | 1 | # SPDX-FileCopyrightText: Andreas Mueller | COMMENT |
| LOW | …/cuml/_thirdparty/sklearn/preprocessing/_imputation.py | 1 | # SPDX-FileCopyrightText: Nicolas Tresegnie <nicolas.tresegnie@gmail.com> | COMMENT |
| LOW | ci/release/update-version.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docs/source/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | docs/source/conf.py | 141 | # |version| and |release|, also used in various other places throughout the | COMMENT |
| LOW | docs/source/conf.py | 221 | # 'papersize': 'letterpaper', | COMMENT |
| LOW | cpp/include/cuml/common/export.hpp | 1 | /* | COMMENT |
| LOW | cpp/include/cuml/common/utils.hpp | 21 | #include <string> | COMMENT |
| LOW | cpp/tests/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| LOW | cpp/examples/CMakeLists.txt | 1 | # | COMMENT |
| LOW | cpp/examples/dbscan/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| LOW | cpp/examples/dbscan/dbscan_example.cpp | 1 | /* | COMMENT |
| LOW | cpp/examples/kmeans/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| LOW | cpp/examples/kmeans/kmeans_example.cpp | 1 | /* | COMMENT |
| LOW | cpp/scripts/run-cmake-format.sh | 1 | #!/bin/bash | COMMENT |
| LOW | cpp/src/glm/qn/simple_mat/sparse.hpp | 1 | /* | COMMENT |
| LOW | cpp/src/glm/qn/simple_mat/dense.hpp | 1 | /* | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cuml/tests/test_umap_hypothesis.py | 233 | CODE | |
| LOW | python/cuml/cuml/benchmark/algorithms.py | 183 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 121 | CODE | |
| LOW | python/cuml/cuml/benchmark/datagen.py | 766 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 405 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 87 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 203 | CODE | |
| LOW | python/cuml/cuml/benchmark/runners.py | 269 | CODE | |
| LOW | python/cuml/cuml/ensemble/randomforestregressor.py | 153 | CODE | |
| LOW | python/cuml/cuml/ensemble/randomforestclassifier.py | 209 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/text.py | 86 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/text.py | 442 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/text.py | 740 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/text.py | 1394 | CODE | |
| LOW | python/cuml/cuml/dask/cluster/kmeans.py | 144 | CODE | |
| LOW | python/cuml/cuml/dask/datasets/regression.py | 253 | CODE | |
| LOW | python/cuml/cuml/dask/datasets/regression.py | 326 | CODE | |
| LOW | python/cuml/cuml/dask/datasets/classification.py | 24 | CODE | |
| LOW | python/cuml/cuml/dask/datasets/blobs.py | 37 | CODE | |
| LOW | python/cuml/cuml/dask/common/dask_arr_utils.py | 91 | CODE | |
| LOW | python/cuml/cuml/dask/common/input_utils.py | 246 | CODE | |
| LOW | python/cuml/cuml/dask/common/dask_df_utils.py | 18 | CODE | |
| LOW | python/cuml/cuml/kernel_ridge/kernel_ridge.py | 246 | CODE | |
| LOW | python/cuml/cuml/datasets/classification.py | 32 | CODE | |
| LOW | python/cuml/cuml/datasets/classification.py | 37 | CODE | |
| LOW | python/cuml/cuml/datasets/blobs.py | 75 | CODE | |
| LOW | python/cuml/cuml/linear_model/elastic_net.py | 195 | CODE | |
| LOW | python/cuml/cuml/linear_model/mbsgd_regressor.py | 127 | CODE | |
| LOW | python/cuml/cuml/linear_model/logistic_regression.py | 226 | CODE | |
| LOW | python/cuml/cuml/linear_model/mbsgd_classifier.py | 138 | CODE | |
| LOW | python/cuml/cuml/linear_model/lasso.py | 117 | CODE | |
| LOW | python/cuml/cuml/linear_model/base.py | 195 | CODE | |
| LOW | python/cuml/cuml/testing/strategies.py | 349 | CODE | |
| LOW | python/cuml/cuml/testing/strategies.py | 444 | CODE | |
| LOW | python/cuml/cuml/internals/validation.py | 565 | CODE | |
| LOW | python/cuml/cuml/internals/validation.py | 1443 | CODE | |
| LOW | python/cuml/cuml/svm/linear_svc.py | 189 | CODE | |
| LOW | python/cuml/cuml/svm/svc.py | 225 | CODE | |
| LOW | python/cuml/cuml/svm/linear_svr.py | 171 | CODE | |
| LOW | python/cuml/cuml/common/doc_utils.py | 110 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 183 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 332 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 617 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/libcuml/tests/test_libcuml_linkage.py | 43 | # Check if VIRTUAL_ENV is set and use that as the root | COMMENT |
| LOW | …thon/cuml/cuml_accel_tests/integration/test_hdbscan.py | 462 | # Check if outlier scores are computed | COMMENT |
| LOW | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 482 | # Check if changes were made | COMMENT |
| LOW | python/cuml/tests/conftest.py | 186 | # Check if function has @given decorator | COMMENT |
| LOW | python/cuml/tests/conftest.py | 188 | # Check if function has @example decorator | COMMENT |
| LOW | python/cuml/tests/test_lars.py | 79 | # Set tolerance to include the 95% confidence interval around | COMMENT |
| LOW | python/cuml/tests/test_umap.py | 1582 | # Check if the high-D reconstruction preserves the neighborhood structure of the low-D embedding | COMMENT |
| LOW | python/cuml/tests/test_random_forest.py | 1098 | # Check if params are still intact | COMMENT |
| LOW | python/cuml/tests/test_random_forest.py | 1137 | # Check if params are still intact | COMMENT |
| LOW | python/cuml/tests/test_kmeans.py | 215 | # Set n_init to 2 to improve stability of k-means|| initialization | COMMENT |
| LOW | python/cuml/umap_dev_tools/web_results_generation.py | 47 | # Check if this dataset has both implementations (comparison mode) | COMMENT |
| LOW | python/cuml/umap_dev_tools/web_results_generation.py | 1091 | # Check if this is comparison mode | STRING |
| LOW | python/cuml/cuml/benchmark/datagen.py | 407 | ] # Assign dtypes to each column | CODE |
| LOW | python/cuml/cuml/testing/utils.py | 195 | # Check if j is a core point with the same label | COMMENT |
| LOW | python/cuml/cuml/testing/utils.py | 197 | # Check if j is a neighbor of i | COMMENT |
| LOW | python/cuml/cuml/testing/utils.py | 435 | # Set tolerance to include the 95% confidence interval of svm2's | COMMENT |
| LOW | python/cuml/cuml/testing/plugins/quick_run_plugin.py | 120 | # Check if this has been seen | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 153 | # Check if it's a true subclass | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 156 | # Check if its a subclass of _cpu_class (if available) | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 164 | # Check if it's a true instance | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 167 | # Check if its an instance of _cpu_class (if available) | COMMENT |
| LOW | python/cuml/cuml/common/doc_utils.py | 204 | # Check if we want to prepend the parameters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/libcuml/libcuml/_version.py | 22 | __all__ = ["__git_commit__", "__version__"] | CODE |
| LOW | python/cuml/cuml/_version.py | 23 | __all__ = ["__git_commit__", "__version__"] | CODE |
| LOW | python/cuml/cuml/__init__.py | 108 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/benchmark/config.py | 1115 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/metrics/__init__.py | 42 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/pipeline/__init__.py | 11 | __all__ = ["Pipeline", "make_pipeline"] | CODE |
| LOW | python/cuml/cuml/dask/__init__.py | 46 | __all__ = [ | CODE |
| LOW | …hon/cuml/cuml/dask/feature_extraction/text/__init__.py | 10 | __all__ = ["TfidfTransformer"] | CODE |
| LOW | python/cuml/cuml/compose/__init__.py | 12 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/covariance/__init__.py | 9 | __all__ = ["EmpiricalCovariance", "LedoitWolf"] | CODE |
| LOW | python/cuml/cuml/testing/datasets.py | 426 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/accel/core.py | 47 | def set_level(self, level: str) -> None: | CODE |
| LOW | python/cuml/cuml/svm/linear_svr.py | 14 | __all__ = ["LinearSVR"] | CODE |
| LOW | python/cuml/cuml/preprocessing/__init__.py | 36 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/naive_bayes/__init__.py | 14 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/model_selection/__init__.py | 17 | __all__ = ["train_test_split", "KFold", "GridSearchCV", "StratifiedKFold"] | CODE |
| LOW | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 61 | __all__ = [ | CODE |
| LOW | …uml/cuml/_thirdparty/sklearn/preprocessing/__init__.py | 39 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cuml/cuml/dask/common/base.py | 198 | # object, just return it. | COMMENT |
| LOW | python/cuml/cuml/dask/common/base.py | 207 | # If model is not distributed, just return the | COMMENT |
| LOW | python/cuml/cuml/dask/neighbors/nearest_neighbors.py | 62 | # calls to get_combined_model() will just return None. | COMMENT |
| LOW | python/cuml/cuml/internals/outputs.py | 283 | # Not an array-like input, just return None | COMMENT |
| LOW | python/cuml/cuml/internals/validation.py | 212 | # No features, just return None | COMMENT |
| MEDIUM | python/cuml/cuml/internals/validation.py | 502 | # Definitely safe to downscast to int32, but only cast if needed since | COMMENT |
| LOW | python/cuml/cuml/internals/validation.py | 535 | # Other type without numeric indices, can just return | COMMENT |
| MEDIUM | python/cuml/cuml/accel/magics.py | 23 | # output. The way IPython handles this is a bit nuanced, and relies on some | COMMENT |
| LOW | python/cuml/cuml/common/doc_utils.py | 260 | # ret is already a dictionary, we just use it for the named | COMMENT |
| MEDIUM | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 1212 | """Scale features using statistics that are robust to outliers. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | python/cuml/cuml_accel_tests/test_core.py | 71 | return cuml.accel.core.logger.level.name.lower() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/cuml/cuml_accel_tests/upstream/xfail_manager.py | 214 | Set metadata for specified tests, moving them to appropriate groups. For each test, this method: 1. Fin | STRING |
| HIGH | python/cuml/cuml/accel/pytest_plugin.py | 65 | Evaluate a version condition immediately. Supports a single package specifier or multiple specifiers joined by 'and | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | print_env.sh | 6 | # Usage: | COMMENT |
| LOW | python/cuml/cuml_accel_tests/upstream/umap/run-tests.sh | 8 | # Example usage: | COMMENT |
| LOW | …on/cuml/cuml_accel_tests/upstream/hdbscan/run-tests.sh | 8 | # Example usage: | COMMENT |
| LOW | …ml/cuml_accel_tests/upstream/scikit-learn/run-tests.sh | 8 | # Example usage: | COMMENT |
| LOW | …cuml_accel_tests/upstream/scikit-learn/run-examples.sh | 8 | # Example usage: | COMMENT |
| LOW | cpp/scripts/run-cmake-format.sh | 26 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cuml/cuml_accel_tests/test_onnx.py | 32 | # make sure to update the docs if you make changes here. | COMMENT |
| LOW | …hirdparty/sklearn/preprocessing/_column_transformer.py | 896 | # we use fit_transform to make sure to set sparse_output_ (for which we | COMMENT |