AI Slop Code RIsk Monitor

rapidsai/cuml

NVIDIA cuML: GPU-Accelerated Machine Learning

15.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

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.

15.8
Adjusted Signal
15.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.3K
Stars
Python
Language
159.1K
Lines of Code
670
Files
2.1K
Pattern Hits
2026-10-12
Scan Date
0.08
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 37.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 11.6/100 · LOW

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

Agent Over-Engineering Ratio 43.6/100 · MEDIUM

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

PR Review Velocity Impact 56.3/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 1HIGH 55MEDIUM 146LOW 1857

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 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.

Hyper-Verbose Identifiers1241 hits · 1170 pts
SeverityFileLineSnippetContext
LOWpython/libcuml/libcuml/load.py17def _load_system_installation(soname: str):CODE
LOWpython/cuml/cuml_accel_tests/test_profilers.py188def test_profile_fallback_in_gpu_method():CODE
LOWpython/cuml/cuml_accel_tests/test_set_output.py15def proxy_classes_with_set_output():CODE
LOWpython/cuml/cuml_accel_tests/test_logging.py73def test_logging_multiple_operations(get_logs, log_level, expected):CODE
LOWpython/cuml/cuml_accel_tests/test_logging.py87def test_unsupported_hyperparams(get_logs):CODE
LOWpython/cuml/cuml_accel_tests/test_logging.py104def test_unsupported_hyperparams_in_set_params(get_logs, log_level):CODE
LOWpython/cuml/cuml_accel_tests/test_logging.py128def test_unsupported_parameters(get_logs):CODE
LOWpython/cuml/cuml_accel_tests/test_magics.py55def test_magic_cudf_pandas_before():STRING
LOWpython/cuml/cuml_accel_tests/test_magics.py75def test_magic_cudf_pandas_after():STRING
LOWpython/cuml/cuml_accel_tests/test_magics.py159def test_profiler_magics_output():STRING
LOWpython/cuml/cuml_accel_tests/test_magics.py230def test_profiler_magics_error_before_exec():STRING
LOWpython/cuml/cuml_accel_tests/test_magics.py252def test_profiler_magics_error_during_exec():STRING
LOWpython/cuml/cuml_accel_tests/test_magics.py274def test_line_profiler_magic_applies_to_the_correct_source():STRING
LOWpython/cuml/cuml_accel_tests/test_core.py31def test_multiple_import_styles_work():CODE
LOWpython/cuml/cuml_accel_tests/test_core.py44def test_enabled_in_subprocesses(method):CODE
LOWpython/cuml/cuml_accel_tests/test_core.py51def test_enabled_in_loky_executor():CODE
LOWpython/cuml/cuml_accel_tests/test_core.py74def test_log_level_forwarded_to_subprocesses(monkeypatch):CODE
LOWpython/cuml/cuml_accel_tests/test_core.py113def test_proxied_methods_signature_compatibility(cls, name):CODE
LOWpython/cuml/cuml_accel_tests/test_core.py173def test_constraints_match_installed_versions(capsys):CODE
LOWpython/cuml/cuml_accel_tests/test_accelerator.py127def test_accelerator_exclude_sequence(mockmod):STRING
LOWpython/cuml/cuml_accel_tests/test_accelerator.py141def test_accelerator_exclude_callable(mockmod):STRING
LOWpython/cuml/cuml_accel_tests/test_accelerator.py163def test_accelerator_external_exclude(mockmod):STRING
LOWpython/cuml/cuml_accel_tests/test_accelerator.py177def test_accelerator_import_in_override(mockmod):STRING
LOWpython/cuml/cuml_accel_tests/test_accelerator.py197def test_accelerator_install_after_import(mockmod):CODE
LOWpython/cuml/cuml_accel_tests/test_accelerator.py222def test_accelerator_module_patch(mockmod):CODE
LOWpython/cuml/cuml_accel_tests/test_accelerator.py274def test_import_error_non_existant_file_in_accelerated_module(mockmod):CODE
LOWpython/cuml/cuml_accel_tests/test_basic_estimators.py150def test_k_neighbors_classifier():CODE
LOWpython/cuml/cuml_accel_tests/test_basic_estimators.py164def test_k_neighbors_regressor():CODE
LOWpython/cuml/cuml_accel_tests/test_cli.py25def test_parse_explicit_stdin():CODE
LOWpython/cuml/cuml_accel_tests/test_cli.py82def test_parse_choses_first_c_or_m():CODE
LOWpython/cuml/cuml_accel_tests/test_cli.py181def test_cuml_accel_enabled_environ(value):STRING
LOWpython/cuml/cuml_accel_tests/test_cli.py287def test_cli_mix_cuml_accel_and_cudf_pandas(first, second, tmpdir):CODE
LOWpython/cuml/cuml_accel_tests/test_cli.py401def test_cli_profilers_errors(mode, option, tmpdir):CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py82def test_init_no_parameters_signature():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py89def test_sklearn_introspect_estimator_type():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py97def test_sklearn_introspect_parameter_constraints():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py102def test_sklearn_utils_get_tags():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py663def test_common_fit_attributes():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py671def test_fit_validates_params():CODE
LOW⚡python/cuml/cuml_accel_tests/test_estimator_proxy.py679def test_method_that_only_exists_on_cpu_estimator():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py124def test_init_positional_and_keyword():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py187def test_repr_mimebundle_display_text():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py255def test_getattr_supports_select_private_attributes():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py272def test_not_implemented_attr_error():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py411def test_pickle_proxy_estimator_class():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py462def test_pickle_cpu_fit_but_params_supported():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py479def test_unpickle_cuml_accel_not_active():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py605def test_fit_unsupported_args(use_kwargs):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py745def test_incremental_pca_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py766def test_incremental_pca_set_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py779def test_incremental_pca_rejects_unsupported_fit_params(method):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py787def test_get_feature_names_out():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py853def test_metadata_routing_consumed(metadata_routing):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py867def test_array_api_proxy_pandas_inputs():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py890def test_array_api_proxy_global_transform_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py900def test_array_api_proxy_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py929def test_array_api_proxy_coerce_inputs(transform):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py937def test_array_api_proxy_pickle():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py970def test_array_api_proxy_fallback_older_sklearn():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py985def test_subclass_of_proxy_isnt_accelerated(Base):CODE
1181 more matches not shown…
Decorative Section Separators107 hits · 344 pts
SeverityFileLineSnippetContext
MEDIUMpython/libcuml/CMakeLists.txt1# =============================================================================COMMENT
MEDIUMpython/libcuml/CMakeLists.txt6# =============================================================================COMMENT
MEDIUMpython/cuml/CMakeLists.txt1# =============================================================================COMMENT
MEDIUMpython/cuml/CMakeLists.txt6# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py47# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py49# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py58# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py60# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py354# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/conftest.py356# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py71# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py73# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py120# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py122# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py387# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py389# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py409# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py411# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_train_test_split.py476# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_train_test_split.py478# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py138# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py140# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py618# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py620# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py653# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py655# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py799# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py801# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py865# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py867# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py998# =============================================================================COMMENT
MEDIUM⚡python/cuml/tests/test_isolation_forest.py1000# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py30# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py32# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py71# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py73# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py714# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py716# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py936# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py938# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py1035# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py1037# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py410# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py413# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py478# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py480# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_kernel_density.py261# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_kernel_density.py264# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py52 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py54 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py69 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py71 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py89 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py91 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py107 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py109 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py145 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py147 # ------------------------------------------------------------------COMMENT
MEDIUMpython/cuml/umap_dev_tools/web_results_generation.py726 # ----------------------------------------------------------STRING
MEDIUMpython/cuml/umap_dev_tools/web_results_generation.py728 # ----------------------------------------------------------STRING
47 more matches not shown…
Unused Imports331 hits · 300 pts
SeverityFileLineSnippetContext
LOWpython/libcuml/libcuml/__init__.py4CODE
LOWpython/libcuml/libcuml/__init__.py4CODE
LOWpython/libcuml/libcuml/__init__.py5CODE
LOWpython/cuml/cuml_accel_tests/test_accelerator.py4CODE
LOWpython/cuml/tests/test_benchmark_coverage.py10CODE
LOWpython/cuml/tests/test_preprocessing.py65CODE
LOWpython/cuml/tests/test_nearest_neighbors.py23CODE
LOWpython/cuml/tests/dask/test_dask_linear_regression.py54CODE
LOWpython/cuml/tests/dask/test_dask_logistic_regression.py119CODE
LOWpython/cuml/tests/dask/test_dask_logistic_regression.py168CODE
LOWpython/cuml/cuml/__init__.py16CODE
LOWpython/cuml/cuml/__init__.py17CODE
LOWpython/cuml/cuml/__init__.py18CODE
LOWpython/cuml/cuml/__init__.py19CODE
LOWpython/cuml/cuml/__init__.py20CODE
LOWpython/cuml/cuml/__init__.py21CODE
LOWpython/cuml/cuml/__init__.py22CODE
LOWpython/cuml/cuml/__init__.py23CODE
LOWpython/cuml/cuml/__init__.py24CODE
LOWpython/cuml/cuml/__init__.py25CODE
LOWpython/cuml/cuml/__init__.py26CODE
LOWpython/cuml/cuml/__init__.py27CODE
LOWpython/cuml/cuml/__init__.py28CODE
LOWpython/cuml/cuml/__init__.py29CODE
LOWpython/cuml/cuml/__init__.py30CODE
LOWpython/cuml/cuml/__init__.py31CODE
LOWpython/cuml/cuml/__init__.py32CODE
LOWpython/cuml/cuml/__init__.py33CODE
LOWpython/cuml/cuml/__init__.py34CODE
LOWpython/cuml/cuml/__init__.py35CODE
LOWpython/cuml/cuml/__init__.py36CODE
LOWpython/cuml/cuml/__init__.py37CODE
LOWpython/cuml/cuml/__init__.py42CODE
LOWpython/cuml/cuml/__init__.py42CODE
LOWpython/cuml/cuml/__init__.py43CODE
LOWpython/cuml/cuml/__init__.py44CODE
LOWpython/cuml/cuml/__init__.py45CODE
LOWpython/cuml/cuml/__init__.py46CODE
LOWpython/cuml/cuml/__init__.py47CODE
LOWpython/cuml/cuml/__init__.py48CODE
LOWpython/cuml/cuml/__init__.py49CODE
LOWpython/cuml/cuml/__init__.py50CODE
LOWpython/cuml/cuml/__init__.py51CODE
LOWpython/cuml/cuml/__init__.py52CODE
LOWpython/cuml/cuml/__init__.py53CODE
LOWpython/cuml/cuml/__init__.py54CODE
LOWpython/cuml/cuml/__init__.py54CODE
LOWpython/cuml/cuml/__init__.py54CODE
LOWpython/cuml/cuml/__init__.py55CODE
LOWpython/cuml/cuml/__init__.py56CODE
LOWpython/cuml/cuml/__init__.py57CODE
LOWpython/cuml/cuml/__init__.py58CODE
LOWpython/cuml/cuml/__init__.py59CODE
LOWpython/cuml/cuml/__init__.py60CODE
LOWpython/cuml/cuml/__init__.py61CODE
LOWpython/cuml/cuml/__init__.py62CODE
LOWpython/cuml/cuml/__init__.py62CODE
LOWpython/cuml/cuml/__init__.py62CODE
LOWpython/cuml/cuml/__init__.py67CODE
LOWpython/cuml/cuml/__init__.py68CODE
271 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHpython/libcuml/libcuml/load.py51except ModuleNotFoundError:CODE
HIGHpython/libcuml/libcuml/load.py81except OSError:CODE
HIGHpython/libcuml/tests/test_libcuml_linkage.py51except (ImportError, AttributeError):CODE
HIGHpython/cuml/cuml_accel_tests/test_accelerator.py54except ValueError:CODE
HIGHpython/cuml/cuml_accel_tests/test_estimator_proxy.py161except UnicodeDecodeError:CODE
HIGHpython/cuml/cuml_accel_tests/test_estimator_proxy.py173except UnicodeDecodeError:CODE
HIGHpython/cuml/cuml_accel_tests/test_estimator_proxy.py181except UnicodeDecodeError:CODE
HIGHpython/cuml/cuml_accel_tests/test_estimator_proxy.py211except UnicodeDecodeError:CODE
HIGHpython/cuml/cuml/__init__.py10except ModuleNotFoundError:CODE
HIGHpython/cuml/cuml/benchmark/_metadata.py95except Exception:CODE
HIGHpython/cuml/cuml/benchmark/run_benchmarks.py314except (TypeError, ValueError):CODE
HIGHpython/cuml/cuml/benchmark/run_benchmarks.py106except ValueError:CODE
HIGHpython/cuml/cuml/benchmark/run_benchmarks.py497except OSError:CODE
HIGHpython/cuml/cuml/comm/serialize.py36except ImportError:CODE
HIGHpython/cuml/cuml/testing/strategies.py490except AttributeError:CODE
HIGHpython/cuml/cuml/internals/interop.py135except AttributeError:CODE
HIGHpython/cuml/cuml/internals/interop.py168except AttributeError:CODE
HIGHpython/cuml/cuml/internals/validation.py154except Exception:CODE
HIGHpython/cuml/cuml/accel/estimator_proxy.py267except AttributeError:CODE
HIGHpython/cuml/cuml/accel/profilers.py453except ValueError:CODE
HIGHpython/cuml/cuml/accel/profilers.py52except KeyError:CODE
HIGHpython/cuml/cuml/accel/__main__.py107except ValueError:CODE
HIGHpython/cuml/cuml/accel/__main__.py111except ValueError:CODE
HIGHpython/cuml/cuml/preprocessing/encoders.py29except (TypeError, ValueError):CODE
Deep Nesting116 hits · 110 pts
SeverityFileLineSnippetContext
LOWpython/libcuml/libcuml/load.py36CODE
LOWpython/libcuml/tests/test_libcuml_linkage.py12CODE
LOWpython/libcuml/tests/test_libcuml_linkage.py65CODE
LOWpython/cuml/cuml_accel_tests/test_core.py82CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py704CODE
LOW…on/cuml/cuml_accel_tests/upstream/summarize-results.py164CODE
LOW…on/cuml/cuml_accel_tests/upstream/summarize-results.py250CODE
LOW…on/cuml/cuml_accel_tests/upstream/summarize-results.py312CODE
LOWpython/cuml/cuml_accel_tests/upstream/xfail_manager.py352CODE
LOWpython/cuml/tests/test_validation.py41CODE
LOWpython/cuml/tests/test_validation.py63CODE
LOWpython/cuml/tests/test_validation.py1492CODE
LOWpython/cuml/tests/test_validation.py2046CODE
LOWpython/cuml/tests/test_metrics.py1665CODE
LOWpython/cuml/tests/test_metrics.py1865CODE
LOWpython/cuml/tests/test_kneighbors_classifier.py328CODE
LOWpython/cuml/tests/test_docs.py54CODE
LOWpython/cuml/tests/test_make_classification.py56CODE
LOWpython/cuml/tests/test_exceptions.py25CODE
LOWpython/cuml/tests/test_benchmark_coverage.py84CODE
LOWpython/cuml/tests/test_reflection.py407CODE
LOWpython/cuml/tests/test_reflection.py414CODE
LOWpython/cuml/tests/test_benchmark.py38CODE
LOWpython/cuml/tests/test_svm.py38CODE
LOWpython/cuml/tests/test_qn.py22CODE
LOWpython/cuml/tests/test_label_encoder.py204CODE
LOWpython/cuml/tests/test_umap_hypothesis.py94CODE
LOWpython/cuml/tests/test_umap.py593CODE
LOWpython/cuml/tests/test_api.py175CODE
LOWpython/cuml/tests/test_kernel_density.py56CODE
LOWpython/cuml/tests/test_kernel_density.py299CODE
LOWpython/cuml/tests/test_logistic_regression.py379CODE
LOWpython/cuml/tests/dask/test_dask_arr_utils.py31CODE
LOWpython/cuml/tests/dask/test_dask_datasets.py81CODE
LOWpython/cuml/tests/explainer/test_gpu_treeshap.py703CODE
LOWpython/cuml/tests/explainer/test_sampling.py18CODE
LOWpython/cuml/umap_dev_tools/web_results_generation.py13CODE
LOWpython/cuml/umap_dev_tools/test_umap.py929CODE
LOWpython/cuml/cuml/benchmark/bench_helper_funcs.py102CODE
LOWpython/cuml/cuml/benchmark/_metadata.py31CODE
LOWpython/cuml/cuml/benchmark/_metadata.py42CODE
LOWpython/cuml/cuml/benchmark/config.py361CODE
LOWpython/cuml/cuml/benchmark/datagen.py436CODE
LOWpython/cuml/cuml/benchmark/datagen.py456CODE
LOWpython/cuml/cuml/benchmark/datagen.py480CODE
LOWpython/cuml/cuml/benchmark/datagen.py512CODE
LOWpython/cuml/cuml/benchmark/datagen.py554CODE
LOWpython/cuml/cuml/benchmark/runners.py405CODE
LOWpython/cuml/cuml/benchmark/runners.py203CODE
LOWpython/cuml/cuml/benchmark/run_benchmarks.py977CODE
LOWpython/cuml/cuml/benchmark/automated/utils/utils.py152CODE
LOWpython/cuml/cuml/metrics/_classification.py16CODE
LOWpython/cuml/cuml/metrics/regression.py82CODE
LOWpython/cuml/cuml/metrics/confusion_matrix.py16CODE
LOWpython/cuml/cuml/dask/metrics/confusion_matrix.py26CODE
LOW…hon/cuml/cuml/dask/linear_model/logistic_regression.py164CODE
LOWpython/cuml/cuml/dask/common/dask_arr_utils.py29CODE
LOWpython/cuml/cuml/dask/common/base.py225CODE
LOWpython/cuml/cuml/linear_model/logistic_regression.py256CODE
LOWpython/cuml/cuml/linear_model/base.py195CODE
56 more matches not shown…
Cross-Language Confusion13 hits · 82 pts
SeverityFileLineSnippetContext
HIGH⚡python/cuml/tests/test_train_test_split.py132 assert X_train.equals(X_train2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py133 assert X_test.equals(X_test2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py134 assert y_train.equals(y_train2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py135 assert y_test.equals(y_test2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py378 assert X_train.equals(X_train2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py379 assert X_test.equals(X_test2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py380 assert y_train.equals(y_train2)CODE
HIGH⚡python/cuml/tests/test_train_test_split.py381 assert y_test.equals(y_test2)CODE
HIGHpython/cuml/umap_dev_tools/web_results_generation.py1271 if (window.Plotly && window.Plotly.Plots) {{CODE
HIGHpython/cuml/umap_dev_tools/web_results_generation.py1288 if (window.Plotly && window.Plotly.Plots) {{CODE
HIGHpython/cuml/umap_dev_tools/web_results_generation.py1312 if (window.Plotly && window.Plotly.Plots) {{CODE
HIGHpython/cuml/umap_dev_tools/web_results_generation.py1329 if (window.Plotly && window.Plotly.Plots) {{CODE
HIGHpython/cuml/cuml/common/sparse.py193 if (rid >= n_cols || cid >= n_cols || rid < cid) return;STRING
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippetContext
HIGH…hon/cuml/cuml/dask/linear_model/logistic_regression.py0fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features)STRING
HIGHpython/cuml/cuml/dask/linear_model/linear_regression.py0fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features)STRING
HIGHpython/cuml/cuml/dask/linear_model/ridge.py0fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features)STRING
HIGHpython/cuml/cuml/dask/solvers/cd.py0fit the model with x and y. parameters ---------- x : dask cudf dataframe or cupy backed dask array (n_rows, n_features)STRING
HIGHpython/cuml/cuml/dask/linear_model/linear_regression.py0make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask STRING
HIGHpython/cuml/cuml/dask/linear_model/ridge.py0make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask STRING
HIGHpython/cuml/cuml/dask/solvers/cd.py0make predictions for x and returns a dask collection. parameters ---------- x : dask cudf dataframe or cupy backed dask STRING
HIGHpython/cuml/cuml/dask/decomposition/tsvd.py0fit the model with x. parameters ---------- x : dask cudf inputSTRING
HIGHpython/cuml/cuml/dask/decomposition/pca.py0fit the model with x. parameters ---------- x : dask cudf inputSTRING
HIGHpython/cuml/cuml/dask/decomposition/base.py0fit the model with x. parameters ---------- x : dask cudf inputSTRING
HIGHpython/cuml/cuml/preprocessing/_target_encoder.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
HIGHpython/cuml/cuml/preprocessing/encoders.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
HIGH…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
HIGH…l/_thirdparty/sklearn/preprocessing/_discretization.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
HIGH…hirdparty/sklearn/preprocessing/_column_transformer.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
HIGH…/cuml/_thirdparty/sklearn/preprocessing/_imputation.py0get output feature names for transformation. parameters ---------- input_features : array-like of str or none, default=nSTRING
Self-Referential Comments25 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMpython/cuml/cuml_accel_tests/test_pipeline.py91 # Create a synthetic dataset for binary classificationCOMMENT
MEDIUMpython/cuml/cuml_accel_tests/test_pipeline.py98 # Create a synthetic dataset for regressionCOMMENT
MEDIUM…cuml/cuml_accel_tests/integration/test_rf_regressor.py15 # Create a synthetic regression dataset.COMMENT
MEDIUM…uml/cuml_accel_tests/integration/test_rf_classifier.py16 # Create a synthetic classification dataset.COMMENT
MEDIUMpython/cuml/cuml_accel_tests/upstream/xfail_manager.py381 # Create a key based on all properties except testsCOMMENT
MEDIUMpython/cuml/tests/test_spectral_embedding.py267 # Create a symmetric k-NN affinity graphCOMMENT
MEDIUMpython/cuml/tests/test_base.py137 # Create an instanceCOMMENT
MEDIUMpython/cuml/tests/dask/test_dask_logistic_regression.py569 # This function is for testing standardization.COMMENT
MEDIUMpython/cuml/tests/dask/test_dask_logistic_regression.py592 # This function is for testing standardization.COMMENT
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py421 # Create a copy of the items to avoid dictionary modification during iterationCOMMENT
MEDIUMpython/cuml/umap_dev_tools/web_results_generation.py410 # Create a similar figure for cuML but hidden initiallyCOMMENT
MEDIUM…cuml/dask/feature_extraction/text/tfidf_transformer.py62 >>> # Create a local CUDA clusterSTRING
MEDIUMpython/cuml/cuml/dask/preprocessing/_label.py62 >>> # This method is preferredSTRING
MEDIUMpython/cuml/cuml/dask/naive_bayes/naive_bayes.py46 >>> # Create a local CUDA clusterSTRING
MEDIUMpython/cuml/cuml/naive_bayes/naive_bayes.py1280 # Create the sparse category count matrixCOMMENT
MEDIUM…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py2546 # Create the quantiles of referenceCOMMENT
MEDIUMconda/environments/cpp_all_cuda-129_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/all_cuda-133_arch-aarch64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/all_cuda-133_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/clang_tidy_cuda-129_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/all_cuda-129_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/clang_tidy_cuda-133_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/all_cuda-129_arch-aarch64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMconda/environments/cpp_all_cuda-133_arch-x86_64.yaml1# This file is generated by `rapids-dependency-file-generator`.COMMENT
MEDIUMdocs/source/conf.py5# This file is execfile()d with the current directory set to itsCOMMENT
Excessive Try-Catch Wrapping34 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUM⚡…on/cuml/cuml_accel_tests/upstream/summarize-results.py320 print(f"Error: Report file not found: {args.report_file}")CODE
MEDIUM⚡…on/cuml/cuml_accel_tests/upstream/summarize-results.py326 print(f"Error: Invalid XML file: {e}")CODE
MEDIUM⚡…on/cuml/cuml_accel_tests/upstream/summarize-results.py332 print("Error: No testsuite element found in XML file")CODE
LOWpython/cuml/cuml_accel_tests/upstream/xfail_manager.py499 except Exception as e:CODE
MEDIUMpython/cuml/cuml_accel_tests/upstream/xfail_manager.py500 print(f"Error formatting {xfail_path}: {e}", file=sys.stderr)CODE
LOWpython/cuml/cuml_accel_tests/upstream/xfail_manager.py575 except Exception as e:CODE
MEDIUMpython/cuml/cuml_accel_tests/upstream/xfail_manager.py576 print(f"Error: {e}", file=sys.stderr)CODE
LOWpython/cuml/cuml_accel_tests/upstream/xfail_manager.py678 except Exception as e:CODE
MEDIUMpython/cuml/cuml_accel_tests/upstream/xfail_manager.py679 print(f"Error: {e}", file=sys.stderr)CODE
LOW…accel_tests/upstream/scikit-learn/example_collector.py171 except Exception as exc:CODE
LOWpython/cuml/tests/dask/test_dask_pca.py42 except Exception as e:CODE
LOWpython/cuml/umap_dev_tools/run_umap_debug.py256 except Exception:CODE
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py409 print(f"Error: Dataset '{args.dataset}' not found.")CODE
MEDIUMpython/cuml/umap_dev_tools/run_umap_debug.py253def _fmt(v):CODE
LOWpython/cuml/umap_dev_tools/web_results_generation.py326 except Exception:CODE
LOWpython/cuml/umap_dev_tools/web_results_generation.py633 except Exception:CODE
LOWpython/cuml/cuml/benchmark/gpu_check.py38 except Exception:CODE
LOW⚡python/cuml/cuml/benchmark/_metadata.py90 except Exception as exc:CODE
LOW⚡python/cuml/cuml/benchmark/_metadata.py95 except Exception:CODE
MEDIUMpython/cuml/cuml/benchmark/_metadata.py15def _git_output(args, cwd):CODE
LOWpython/cuml/cuml/benchmark/runners.py38 except Exception:CODE
LOWpython/cuml/cuml/benchmark/runners.py236 except Exception as e:CODE
LOWpython/cuml/cuml/benchmark/run_benchmarks.py493 except Exception:CODE
MEDIUMpython/cuml/cuml/benchmark/run_benchmarks.py342def _is_missing_value(value):CODE
LOWpython/cuml/cuml/dask/ensemble/base.py166 except Exception as error:CODE
LOW…cuml/testing/plugins/restart_corrupted_xdist_worker.py43 except Exception:CODE
LOWpython/cuml/cuml/internals/validation.py154 except Exception:CODE
LOWpython/cuml/cuml/internals/validation.py1003 except Exception as exc:CODE
LOWpython/cuml/cuml/accel/pytest_plugin.py60 except Exception:CODE
LOWpython/cuml/cuml/health_checks/__main__.py63 except Exception as e:CODE
LOWdocs/source/sphinxext/github_link.py83 except Exception:CODE
LOWdocs/source/sphinxext/github_link.py88 except Exception:CODE
LOWdocs/source/sphinxext/github_link.py127 except Exception:CODE
MEDIUMdocs/source/sphinxext/github_link.py39def _get_git_revision():CODE
Over-Commented Block48 hits · 48 pts
SeverityFileLineSnippetContext
LOWpython/cuml/cuml_accel_tests/upstream/pytest.ini1# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION.COMMENT
LOW…on/cuml/cuml_accel_tests/upstream/hdbscan/run-tests.sh1#!/bin/bashCOMMENT
LOW…ml/cuml_accel_tests/upstream/scikit-learn/run-tests.sh1#!/bin/bashCOMMENT
LOW…cuml_accel_tests/upstream/scikit-learn/run-examples.sh1#!/bin/bashCOMMENT
LOWpython/cuml/tests/test_dbscan.py381 params = {"eps": 1.1, "min_samples": 4}COMMENT
LOWpython/cuml/tests/test_qn.py201 # if loss == 'softmax':COMMENT
LOWpython/cuml/tests/test_qn.py221 # -96.41866],COMMENT
LOWpython/cuml/tests/test_qn.py241 # else:COMMENT
LOWpython/cuml/tests/test_qn.py261 # -96.41866],COMMENT
LOWpython/cuml/tests/test_qn.py281 # assert (qn.objective - 0.007433414924889803) < tolCOMMENT
LOWpython/cuml/tests/test_qn.py301 # -2.0305414],COMMENT
LOWpython/cuml/tests/test_qn.py321 # np.testing.assert_almost_equal(qn.coef_COMMENT
LOWpython/cuml/tests/test_qn.py341 # [-25.04939,COMMENT
LOWpython/cuml/tests/test_qn.py361 # np.array([[1.2279763,COMMENT
LOWpython/cuml/tests/test_qn.py381 # -0.44855425,COMMENT
LOWpython/cuml/tests/test_qn.py401 # [-1.5185534,COMMENT
LOWpython/cuml/cuml/dask/metrics/__init__.py1#COMMENT
LOWpython/cuml/cuml/dask/feature_extraction/__init__.py1#COMMENT
LOWpython/cuml/cuml/dask/manifold/__init__.py1#COMMENT
LOWpython/cuml/cuml/dask/naive_bayes/__init__.py1#COMMENT
LOWpython/cuml/cuml/testing/dask/__init__.py1#COMMENT
LOWpython/cuml/cuml/testing/plugins/__init__.py1#COMMENT
LOWpython/cuml/cuml/accel/magics.py21COMMENT
LOWpython/cuml/cuml/accel/_overrides/__init__.py1#COMMENT
LOWpython/cuml/cuml/multiclass/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION.COMMENT
LOWpython/cuml/cuml/_thirdparty/sklearn/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION.COMMENT
LOWpython/cuml/cuml/_thirdparty/sklearn/utils/extmath.py1# SPDX-FileCopyrightText: Gael VaroquauxCOMMENT
LOW…hon/cuml/cuml/_thirdparty/sklearn/utils/sparsefuncs.py1# SPDX-FileCopyrightText: Manoj KumarCOMMENT
LOW…thon/cuml/cuml/_thirdparty/sklearn/utils/validation.py1# SPDX-FileCopyrightText: Olivier GriselCOMMENT
LOW…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py1# SPDX-FileCopyrightText: Alexandre Gramfort <alexandre.gramfort@inria.fr>COMMENT
LOW…l/_thirdparty/sklearn/preprocessing/_discretization.py1# SPDX-FileCopyrightText: Henry Lin <hlin117@gmail.com>COMMENT
LOW…hirdparty/sklearn/preprocessing/_column_transformer.py1# SPDX-FileCopyrightText: Andreas MuellerCOMMENT
LOW…/cuml/_thirdparty/sklearn/preprocessing/_imputation.py1# SPDX-FileCopyrightText: Nicolas Tresegnie <nicolas.tresegnie@gmail.com>COMMENT
LOWci/release/update-version.sh1#!/bin/bashCOMMENT
LOWdocs/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdocs/source/conf.py141# |version| and |release|, also used in various other places throughout theCOMMENT
LOWdocs/source/conf.py221 # 'papersize': 'letterpaper',COMMENT
LOWcpp/include/cuml/common/export.hpp1/*COMMENT
LOWcpp/include/cuml/common/utils.hpp21#include <string>COMMENT
LOWcpp/tests/CMakeLists.txt1# =============================================================================COMMENT
LOWcpp/examples/CMakeLists.txt1#COMMENT
LOWcpp/examples/dbscan/CMakeLists.txt1# =============================================================================COMMENT
LOWcpp/examples/dbscan/dbscan_example.cpp1/*COMMENT
LOWcpp/examples/kmeans/CMakeLists.txt1# =============================================================================COMMENT
LOWcpp/examples/kmeans/kmeans_example.cpp1/*COMMENT
LOWcpp/scripts/run-cmake-format.sh1#!/bin/bashCOMMENT
LOWcpp/src/glm/qn/simple_mat/sparse.hpp1/*COMMENT
LOWcpp/src/glm/qn/simple_mat/dense.hpp1/*COMMENT
AI Structural Patterns43 hits · 43 pts
SeverityFileLineSnippetContext
LOWpython/cuml/tests/test_umap_hypothesis.py233CODE
LOWpython/cuml/cuml/benchmark/algorithms.py183CODE
LOWpython/cuml/cuml/benchmark/datagen.py121CODE
LOWpython/cuml/cuml/benchmark/datagen.py766CODE
LOWpython/cuml/cuml/benchmark/runners.py405CODE
LOWpython/cuml/cuml/benchmark/runners.py87CODE
LOWpython/cuml/cuml/benchmark/runners.py203CODE
LOWpython/cuml/cuml/benchmark/runners.py269CODE
LOWpython/cuml/cuml/ensemble/randomforestregressor.py153CODE
LOWpython/cuml/cuml/ensemble/randomforestclassifier.py209CODE
LOWpython/cuml/cuml/feature_extraction/text.py86CODE
LOWpython/cuml/cuml/feature_extraction/text.py442CODE
LOWpython/cuml/cuml/feature_extraction/text.py740CODE
LOWpython/cuml/cuml/feature_extraction/text.py1394CODE
LOWpython/cuml/cuml/dask/cluster/kmeans.py144CODE
LOWpython/cuml/cuml/dask/datasets/regression.py253CODE
LOWpython/cuml/cuml/dask/datasets/regression.py326CODE
LOWpython/cuml/cuml/dask/datasets/classification.py24CODE
LOWpython/cuml/cuml/dask/datasets/blobs.py37CODE
LOWpython/cuml/cuml/dask/common/dask_arr_utils.py91CODE
LOWpython/cuml/cuml/dask/common/input_utils.py246CODE
LOWpython/cuml/cuml/dask/common/dask_df_utils.py18CODE
LOWpython/cuml/cuml/kernel_ridge/kernel_ridge.py246CODE
LOWpython/cuml/cuml/datasets/classification.py32CODE
LOWpython/cuml/cuml/datasets/classification.py37CODE
LOWpython/cuml/cuml/datasets/blobs.py75CODE
LOWpython/cuml/cuml/linear_model/elastic_net.py195CODE
LOWpython/cuml/cuml/linear_model/mbsgd_regressor.py127CODE
LOWpython/cuml/cuml/linear_model/logistic_regression.py226CODE
LOWpython/cuml/cuml/linear_model/mbsgd_classifier.py138CODE
LOWpython/cuml/cuml/linear_model/lasso.py117CODE
LOWpython/cuml/cuml/linear_model/base.py195CODE
LOWpython/cuml/cuml/testing/strategies.py349CODE
LOWpython/cuml/cuml/testing/strategies.py444CODE
LOWpython/cuml/cuml/internals/validation.py565CODE
LOWpython/cuml/cuml/internals/validation.py1443CODE
LOWpython/cuml/cuml/svm/linear_svc.py189CODE
LOWpython/cuml/cuml/svm/svc.py225CODE
LOWpython/cuml/cuml/svm/linear_svr.py171CODE
LOWpython/cuml/cuml/common/doc_utils.py110CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py183CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py332CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py617CODE
Redundant / Tautological Comments22 hits · 34 pts
SeverityFileLineSnippetContext
LOWpython/libcuml/tests/test_libcuml_linkage.py43 # Check if VIRTUAL_ENV is set and use that as the rootCOMMENT
LOW…thon/cuml/cuml_accel_tests/integration/test_hdbscan.py462 # Check if outlier scores are computedCOMMENT
LOWpython/cuml/cuml_accel_tests/upstream/xfail_manager.py482 # Check if changes were madeCOMMENT
LOWpython/cuml/tests/conftest.py186 # Check if function has @given decoratorCOMMENT
LOWpython/cuml/tests/conftest.py188 # Check if function has @example decoratorCOMMENT
LOWpython/cuml/tests/test_lars.py79 # Set tolerance to include the 95% confidence interval aroundCOMMENT
LOWpython/cuml/tests/test_umap.py1582 # Check if the high-D reconstruction preserves the neighborhood structure of the low-D embeddingCOMMENT
LOWpython/cuml/tests/test_random_forest.py1098 # Check if params are still intactCOMMENT
LOWpython/cuml/tests/test_random_forest.py1137 # Check if params are still intactCOMMENT
LOWpython/cuml/tests/test_kmeans.py215 # Set n_init to 2 to improve stability of k-means|| initializationCOMMENT
LOWpython/cuml/umap_dev_tools/web_results_generation.py47 # Check if this dataset has both implementations (comparison mode)COMMENT
LOWpython/cuml/umap_dev_tools/web_results_generation.py1091 # Check if this is comparison modeSTRING
LOWpython/cuml/cuml/benchmark/datagen.py407 ] # Assign dtypes to each columnCODE
LOWpython/cuml/cuml/testing/utils.py195 # Check if j is a core point with the same labelCOMMENT
LOWpython/cuml/cuml/testing/utils.py197 # Check if j is a neighbor of iCOMMENT
LOWpython/cuml/cuml/testing/utils.py435 # Set tolerance to include the 95% confidence interval of svm2'sCOMMENT
LOWpython/cuml/cuml/testing/plugins/quick_run_plugin.py120 # Check if this has been seenCOMMENT
LOW⚡python/cuml/cuml/accel/estimator_proxy.py153 # Check if it's a true subclassCOMMENT
LOW⚡python/cuml/cuml/accel/estimator_proxy.py156 # Check if its a subclass of _cpu_class (if available)COMMENT
LOW⚡python/cuml/cuml/accel/estimator_proxy.py164 # Check if it's a true instanceCOMMENT
LOW⚡python/cuml/cuml/accel/estimator_proxy.py167 # Check if its an instance of _cpu_class (if available)COMMENT
LOWpython/cuml/cuml/common/doc_utils.py204 # Check if we want to prepend the parametersCOMMENT
Modern Structural Boilerplate18 hits · 18 pts
SeverityFileLineSnippetContext
LOWpython/libcuml/libcuml/_version.py22__all__ = ["__git_commit__", "__version__"]CODE
LOWpython/cuml/cuml/_version.py23__all__ = ["__git_commit__", "__version__"]CODE
LOWpython/cuml/cuml/__init__.py108__all__ = [CODE
LOWpython/cuml/cuml/benchmark/config.py1115__all__ = [CODE
LOWpython/cuml/cuml/metrics/__init__.py42__all__ = [CODE
LOWpython/cuml/cuml/pipeline/__init__.py11__all__ = ["Pipeline", "make_pipeline"]CODE
LOWpython/cuml/cuml/dask/__init__.py46__all__ = [CODE
LOW…hon/cuml/cuml/dask/feature_extraction/text/__init__.py10__all__ = ["TfidfTransformer"]CODE
LOWpython/cuml/cuml/compose/__init__.py12__all__ = [CODE
LOWpython/cuml/cuml/covariance/__init__.py9__all__ = ["EmpiricalCovariance", "LedoitWolf"]CODE
LOWpython/cuml/cuml/testing/datasets.py426__all__ = [CODE
LOWpython/cuml/cuml/accel/core.py47 def set_level(self, level: str) -> None:CODE
LOWpython/cuml/cuml/svm/linear_svr.py14__all__ = ["LinearSVR"]CODE
LOWpython/cuml/cuml/preprocessing/__init__.py36__all__ = [CODE
LOWpython/cuml/cuml/naive_bayes/__init__.py14__all__ = [CODE
LOWpython/cuml/cuml/model_selection/__init__.py17__all__ = ["train_test_split", "KFold", "GridSearchCV", "StratifiedKFold"]CODE
LOW…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py61__all__ = [CODE
LOW…uml/cuml/_thirdparty/sklearn/preprocessing/__init__.py39__all__ = [CODE
AI Slop Vocabulary10 hits · 18 pts
SeverityFileLineSnippetContext
LOWpython/cuml/cuml/dask/common/base.py198 # object, just return it.COMMENT
LOWpython/cuml/cuml/dask/common/base.py207 # If model is not distributed, just return theCOMMENT
LOWpython/cuml/cuml/dask/neighbors/nearest_neighbors.py62 # calls to get_combined_model() will just return None.COMMENT
LOWpython/cuml/cuml/internals/outputs.py283 # Not an array-like input, just return NoneCOMMENT
LOWpython/cuml/cuml/internals/validation.py212 # No features, just return NoneCOMMENT
MEDIUMpython/cuml/cuml/internals/validation.py502 # Definitely safe to downscast to int32, but only cast if needed sinceCOMMENT
LOWpython/cuml/cuml/internals/validation.py535 # Other type without numeric indices, can just returnCOMMENT
MEDIUMpython/cuml/cuml/accel/magics.py23 # output. The way IPython handles this is a bit nuanced, and relies on someCOMMENT
LOWpython/cuml/cuml/common/doc_utils.py260 # ret is already a dictionary, we just use it for the namedCOMMENT
MEDIUM…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py1212 """Scale features using statistics that are robust to outliers.STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALpython/cuml/cuml_accel_tests/test_core.py71 return cuml.accel.core.logger.level.name.lower()CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpython/cuml/cuml_accel_tests/upstream/xfail_manager.py214Set metadata for specified tests, moving them to appropriate groups. For each test, this method: 1. FinSTRING
HIGHpython/cuml/cuml/accel/pytest_plugin.py65Evaluate a version condition immediately. Supports a single package specifier or multiple specifiers joined by 'andSTRING
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWprint_env.sh6# Usage:COMMENT
LOWpython/cuml/cuml_accel_tests/upstream/umap/run-tests.sh8# Example usage:COMMENT
LOW…on/cuml/cuml_accel_tests/upstream/hdbscan/run-tests.sh8# Example usage:COMMENT
LOW…ml/cuml_accel_tests/upstream/scikit-learn/run-tests.sh8# Example usage:COMMENT
LOW…cuml_accel_tests/upstream/scikit-learn/run-examples.sh8# Example usage:COMMENT
LOWcpp/scripts/run-cmake-format.sh26# Usage:COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpython/cuml/cuml_accel_tests/test_onnx.py32# make sure to update the docs if you make changes here.COMMENT
LOW…hirdparty/sklearn/preprocessing/_column_transformer.py896 # we use fit_transform to make sure to set sparse_output_ (for which weCOMMENT