cuML - RAPIDS Machine Learning Library
This report presents the forensic synthetic code analysis of rapidsai/cuml, a Python project with 5,243 GitHub stars. SynthScan v2.0 examined 162,100 lines of code across 722 source files, recording 2006 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 14.7 places this repository in the Low 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 2006 distinct pattern matches across 17 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 | 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 | 144 | def test_k_neighbors_classifier(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_basic_estimators.py | 158 | 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 | 81 | def test_init_no_parameters_signature(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 88 | def test_sklearn_introspect_estimator_type(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 96 | def test_sklearn_introspect_parameter_constraints(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 101 | def test_sklearn_utils_get_tags(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 656 | def test_common_fit_attributes(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 664 | def test_fit_validates_params(): | CODE |
| LOW⚡ | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 672 | def test_method_that_only_exists_on_cpu_estimator(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 123 | def test_init_positional_and_keyword(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 186 | def test_repr_mimebundle_display_text(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 254 | def test_getattr_supports_select_private_attributes(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 271 | def test_not_implemented_attr_error(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 410 | def test_pickle_proxy_estimator_class(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 461 | def test_pickle_cpu_fit_but_params_supported(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 478 | def test_unpickle_cuml_accel_not_active(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 603 | def test_fit_unsupported_args(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 738 | def test_incremental_pca_partial_fit(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 759 | def test_incremental_pca_set_output(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 772 | def test_incremental_pca_rejects_unsupported_fit_params(method): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 780 | def test_get_feature_names_out(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 846 | def test_metadata_routing_consumed(metadata_routing): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 860 | def test_array_api_proxy_pandas_inputs(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 883 | def test_array_api_proxy_global_transform_output(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 893 | def test_array_api_proxy_partial_fit(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 922 | def test_array_api_proxy_coerce_inputs(transform): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 930 | def test_array_api_proxy_pickle(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 963 | def test_array_api_proxy_fallback_older_sklearn(): | CODE |
| LOW | python/cuml/cuml_accel_tests/test_estimator_proxy.py | 978 | def test_subclass_of_proxy_isnt_accelerated(Base): | CODE |
| 1098 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 | 55 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 57 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 378 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/conftest.py | 380 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 69 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 118 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 120 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 411 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 413 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 433 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/conftest.py | 435 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_train_test_split.py | 495 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_train_test_split.py | 497 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 125 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 127 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 360 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 362 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 395 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 397 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 541 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 543 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 628 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 630 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 766 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_isolation_forest.py | 768 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 26 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 28 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 58 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 60 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 456 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 458 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 699 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 701 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 803 | # ============================================================================= | COMMENT |
| MEDIUM | python/cuml/tests/test_isolation_forest.py | 805 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_text_feature_extraction.py | 351 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_text_feature_extraction.py | 354 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_text_feature_extraction.py | 426 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/cuml/tests/test_text_feature_extraction.py | 428 | # ---------------------------------------------------------------- | 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 |
| 51 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_preprocessing.py | 61 | 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 | 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 | 38 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 39 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 44 | 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 | 55 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 56 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 56 | 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 | 63 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 64 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 64 | CODE | |
| LOW | python/cuml/cuml/__init__.py | 64 | CODE | |
| 292 more matches not shown… | ||||
| 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 | 697 | 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 | 40 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 62 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 1353 | CODE | |
| LOW | python/cuml/tests/test_validation.py | 1907 | CODE | |
| LOW | python/cuml/tests/test_metrics.py | 1689 | CODE | |
| LOW | python/cuml/tests/test_metrics.py | 1889 | CODE | |
| LOW | python/cuml/tests/test_kneighbors_classifier.py | 328 | 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_fil.py | 888 | CODE | |
| LOW | python/cuml/tests/test_arima.py | 365 | CODE | |
| LOW | python/cuml/tests/test_reflection.py | 51 | CODE | |
| LOW | python/cuml/tests/test_reflection.py | 432 | CODE | |
| LOW | python/cuml/tests/test_reflection.py | 439 | CODE | |
| LOW | python/cuml/tests/test_benchmark.py | 38 | CODE | |
| LOW | python/cuml/tests/test_svm.py | 39 | 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 | 598 | CODE | |
| LOW | python/cuml/tests/test_api.py | 184 | 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 | 19 | 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 | …uml/cuml/experimental/hyperopt_utils/plotting_utils.py | 30 | 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/linear_model/logistic_regression.py | 256 | CODE | |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 137 | assert X_train.equals(X_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 138 | assert X_test.equals(X_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 139 | assert y_train.equals(y_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 140 | assert y_test.equals(y_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 397 | assert X_train.equals(X_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 398 | assert X_test.equals(X_test2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 399 | assert y_train.equals(y_train2) | CODE |
| HIGH⚡ | python/cuml/tests/test_train_test_split.py | 400 | assert y_test.equals(y_test2) | CODE |
| HIGH⚡ | python/cuml/tests/dask/test_dask_ordinal_encoder.py | 45 | assert inv_Xt.equals(X_r) | CODE |
| HIGH⚡ | python/cuml/tests/dask/test_dask_ordinal_encoder.py | 46 | assert inv_Xt_1.equals(X_1_r) | 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 |
| HIGH | …on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py | 755 | # instead of null, which makes us need to replace them with False | COMMENT |
| 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_arima.py | 724 | # Create a model with only the current series | 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 | 136 | # 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 | 35 | >>> # 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 | 40 | >>> # Create a local CUDA cluster | STRING |
| MEDIUM | python/cuml/cuml/naive_bayes/naive_bayes.py | 1287 | # Create the sparse category count matrix | COMMENT |
| MEDIUM | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 2501 | # 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 |
|---|---|---|---|---|
| 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_lars.py | 221 | y = cp.asarray(y, dtype=datatype, order="F") | COMMENT |
| LOW | python/cuml/tests/test_arima.py | 1 | # | 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/experimental/__init__.py | 1 | # | COMMENT |
| LOW | …thon/cuml/cuml/experimental/hyperopt_utils/__init__.py | 1 | # | COMMENT |
| LOW | …thon/cuml/cuml/feature_extraction/_tfidf_vectorizer.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION. | COMMENT |
| LOW | python/cuml/cuml/feature_extraction/_stop_words.py | 1 | # SPDX-FileCopyrightText: Olivier Grisel <olivier.grisel@ensta.org> | 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/utils.py | 541 | # A good example is the gaussian dataset with linear classifier: | 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/estimator_proxy.py | 241 | COMMENT | |
| LOW | python/cuml/cuml/accel/magics.py | 21 | COMMENT | |
| LOW | python/cuml/cuml/accel/_overrides/__init__.py | 1 | # | COMMENT |
| LOW | …on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py | 601 | rate -> rate | COMMENT |
| LOW | …on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py | 621 | # rule here would be redundant otherwise). Martin's paper makes | COMMENT |
| LOW | …on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py | 741 | if suffix == "*d": | COMMENT |
| LOW | …eprocessing/text/stem/porter_stemmer_utils/__init__.py | 1 | # | COMMENT |
| LOW | python/cuml/cuml/tsa/batched_lbfgs.py | 201 | for ib in range(num_batches): | 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 | wiki/mnmg/Using_Infiniband_for_MNMG.md | 61 | # put_short: <= 124 | COMMENT |
| LOW | wiki/mnmg/Using_Infiniband_for_MNMG.md | 81 | # error handling: peer failure | COMMENT |
| LOW | wiki/mnmg/Using_Infiniband_for_MNMG.md | 101 | # get_zcopy: unlimited, up to 1 iov | COMMENT |
| LOW | wiki/mnmg/Using_Infiniband_for_MNMG.md | 121 | # capabilities: | COMMENT |
| LOW | wiki/mnmg/Using_Infiniband_for_MNMG.md | 141 | If you configured UCX with the `gdrcopy` option, you should also expect to see transports in this list: | COMMENT |
| LOW | docs/source/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | docs/source/conf.py | 81 | author = "NVIDIA Corporation" | COMMENT |
| LOW | docs/source/conf.py | 141 | # Add any paths that contain custom static files (such as style sheets) here, | 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/symreg/CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| 11 more matches not shown… | ||||
| 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 |
| 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 | …thon/cuml/cuml/feature_extraction/_tfidf_vectorizer.py | 125 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/_vectorizers.py | 463 | CODE | |
| LOW | python/cuml/cuml/feature_extraction/_vectorizers.py | 873 | CODE | |
| LOW | python/cuml/cuml/dask/ensemble/base.py | 209 | CODE | |
| LOW | python/cuml/cuml/dask/cluster/kmeans.py | 133 | 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 | 247 | 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 | 197 | 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 | 535 | CODE | |
| LOW | python/cuml/cuml/internals/validation.py | 1044 | CODE | |
| LOW | python/cuml/cuml/internals/validation.py | 1394 | CODE | |
| LOW | python/cuml/cuml/svm/linear_svc.py | 189 | CODE | |
| LOW | python/cuml/cuml/svm/svc.py | 226 | CODE | |
| LOW | python/cuml/cuml/svm/linear_svr.py | 171 | CODE | |
| LOW | python/cuml/cuml/common/doc_utils.py | 117 | CODE | |
| LOW | python/cuml/cuml/fil/compat.py | 89 | CODE | |
| LOW | python/cuml/cuml/fil/compat.py | 212 | CODE | |
| LOW | python/cuml/cuml/fil/compat.py | 253 | CODE | |
| LOW | python/cuml/cuml/fil/compat.py | 294 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 182 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 312 | CODE | |
| LOW | python/cuml/cuml/preprocessing/_target_encoder.py | 597 | CODE | |
| LOW | python/cuml/cuml/tsa/batched_lbfgs.py | 33 | CODE |
| 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⚡ | python/cuml/tests/conftest.py | 373 | except Exception: | 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 | …uml/cuml/experimental/hyperopt_utils/plotting_utils.py | 73 | except Exception as e: | CODE |
| LOW | …uml/cuml/experimental/hyperopt_utils/plotting_utils.py | 99 | except Exception as e: | CODE |
| LOW | python/cuml/cuml/internals/validation.py | 172 | except Exception: | 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/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 | 184 | # Check if function has @given decorator | COMMENT |
| LOW | python/cuml/tests/conftest.py | 186 | # Check if function has @example decorator | COMMENT |
| LOW | python/cuml/tests/test_lars.py | 95 | # Set tolerance to include the 95% confidence interval around | COMMENT |
| LOW | python/cuml/tests/test_umap.py | 1587 | # 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 | 184 | # 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 | 219 | # Check if j is a core point with the same label | COMMENT |
| LOW | python/cuml/cuml/testing/utils.py | 221 | # Check if j is a neighbor of i | COMMENT |
| LOW | python/cuml/cuml/testing/utils.py | 520 | # 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 | 148 | # Check if it's a true subclass | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 151 | # Check if its a subclass of _cpu_class (if available) | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 159 | # Check if it's a true instance | COMMENT |
| LOW⚡ | python/cuml/cuml/accel/estimator_proxy.py | 162 | # Check if its an instance of _cpu_class (if available) | COMMENT |
| LOW | python/cuml/cuml/common/doc_utils.py | 212 | # 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 | 113 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/benchmark/config.py | 1115 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/metrics/__init__.py | 43 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/pipeline/__init__.py | 11 | __all__ = ["Pipeline", "make_pipeline"] | CODE |
| LOW | python/cuml/cuml/feature_extraction/__init__.py | 8 | __all__ = ["text"] | CODE |
| LOW | python/cuml/cuml/feature_extraction/text.py | 22 | __all__ = [ | 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 | 37 | __all__ = [ | CODE |
| LOW | python/cuml/cuml/preprocessing/text/__init__.py | 8 | __all__ = ["stem"] | CODE |
| LOW | python/cuml/cuml/preprocessing/text/stem/__init__.py | 9 | __all__ = ["PorterStemmer"] | 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 | 55 | __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 | 199 | # object, just return it. | COMMENT |
| LOW | python/cuml/cuml/dask/common/base.py | 208 | # 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 | 325 | # Not an array-like input, just return None | COMMENT |
| LOW | python/cuml/cuml/internals/validation.py | 230 | # No features, just return None | COMMENT |
| MEDIUM | python/cuml/cuml/internals/validation.py | 472 | # Definitely safe to downscast to int32, but only cast if needed since | COMMENT |
| LOW | python/cuml/cuml/internals/validation.py | 505 | # 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 | 268 | # ret is already a dictionary, we just use it for the named | COMMENT |
| MEDIUM | …n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py | 1194 | """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 | 29 | # make sure to update the docs if you make changes here. | COMMENT |
| LOW | …hirdparty/sklearn/preprocessing/_column_transformer.py | 870 | # we use fit_transform to make sure to set sparse_output_ (for which we | COMMENT |