Repository Analysis

NVIDIA/cuml

NVIDIA cuML: GPU-Accelerated Machine Learning

15.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/cuml, a Python project with 5,270 GitHub stars. SynthScan v2.0 examined 159,689 lines of code across 699 source files, recording 2011 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 15.0 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.0
Adjusted Score
15.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
5.3K
Stars
Python
Language
159.7K
Lines of Code
699
Files
2.0K
Pattern Hits
2026-08-29
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 1HIGH 31MEDIUM 151LOW 1828

Directory Score Breakdown

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.

Pattern Findings

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

Hyper-Verbose Identifiers1191 hits · 1125 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
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py82def test_init_no_parameters_signature():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py89def test_sklearn_introspect_estimator_type():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py97def test_sklearn_introspect_parameter_constraints():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py102def test_sklearn_utils_get_tags():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py657def test_common_fit_attributes():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py665def test_fit_validates_params():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py673def 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.py604def test_fit_unsupported_args():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py739def test_incremental_pca_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py760def test_incremental_pca_set_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py773def test_incremental_pca_rejects_unsupported_fit_params(method):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py781def test_get_feature_names_out():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py847def test_metadata_routing_consumed(metadata_routing):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py861def test_array_api_proxy_pandas_inputs():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py884def test_array_api_proxy_global_transform_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py894def test_array_api_proxy_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py923def test_array_api_proxy_coerce_inputs(transform):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py931def test_array_api_proxy_pickle():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py964def test_array_api_proxy_fallback_older_sklearn():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py979def test_subclass_of_proxy_isnt_accelerated(Base):CODE
1131 more matches not shown…
Decorative Section Separators111 hits · 362 pts
SeverityFileLineSnippetContext
MEDIUMpython/libcuml/CMakeLists.txt1# =============================================================================COMMENT
MEDIUMpython/libcuml/CMakeLists.txt6# =============================================================================COMMENT
MEDIUMpython/cuml/CMakeLists.txt1# =============================================================================COMMENT
MEDIUMpython/cuml/CMakeLists.txt6# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py47# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py49# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py58# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py60# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py354# =============================================================================COMMENT
MEDIUMpython/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
MEDIUMpython/cuml/tests/test_train_test_split.py476# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_train_test_split.py478# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py136# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py138# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py534# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py536# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py569# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py571# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py715# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py717# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py781# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py783# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py919# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py921# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py28# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py30# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py69# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py71# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py630# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py632# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py852# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py854# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py956# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py958# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py343# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py346# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py435# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py437# ----------------------------------------------------------------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
51 more matches not shown…
Unused Imports342 hits · 309 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_preprocessing.py63CODE
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__.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__.py38CODE
LOWpython/cuml/cuml/__init__.py43CODE
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__.py55CODE
LOWpython/cuml/cuml/__init__.py55CODE
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__.py63CODE
LOWpython/cuml/cuml/__init__.py63CODE
LOWpython/cuml/cuml/__init__.py63CODE
LOWpython/cuml/cuml/__init__.py68CODE
282 more matches not shown…
Deep Nesting113 hits · 108 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.py698CODE
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_make_classification.py56CODE
LOWpython/cuml/tests/test_exceptions.py25CODE
LOWpython/cuml/tests/test_arima.py365CODE
LOWpython/cuml/tests/test_reflection.py406CODE
LOWpython/cuml/tests/test_reflection.py413CODE
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.py179CODE
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/linear_model/logistic_regression.py256CODE
LOWpython/cuml/cuml/linear_model/base.py195CODE
LOWpython/cuml/cuml/testing/datasets.py244CODE
LOWpython/cuml/cuml/testing/test_preproc_utils.py67CODE
53 more matches not shown…
Cross-Language Confusion13 hits · 82 pts
SeverityFileLineSnippetContext
HIGHpython/cuml/tests/test_train_test_split.py132 assert X_train.equals(X_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py133 assert X_test.equals(X_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py134 assert y_train.equals(y_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py135 assert y_test.equals(y_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py378 assert X_train.equals(X_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py379 assert X_test.equals(X_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py380 assert y_train.equals(y_train2)CODE
HIGHpython/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 Comments26 hits · 72 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_arima.py724 # Create a model with only the current seriesCOMMENT
MEDIUMpython/cuml/tests/test_spectral_embedding.py267 # Create a symmetric k-NN affinity graphCOMMENT
MEDIUMpython/cuml/tests/test_base.py136 # 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.py35 >>> # 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.py2544 # 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
Over-Commented Block61 hits · 61 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_arima.py1#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
LOW…thon/cuml/cuml/feature_extraction/_tfidf_vectorizer.py1# SPDX-FileCopyrightText: Copyright (c) 2020-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpython/cuml/cuml/feature_extraction/_stop_words.py1# SPDX-FileCopyrightText: Olivier Grisel <olivier.grisel@ensta.org>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/estimator_proxy.py241 orig_init(self, *args, **kwargs)COMMENT
LOWpython/cuml/cuml/accel/magics.py21COMMENT
LOWpython/cuml/cuml/accel/_overrides/__init__.py1#COMMENT
LOWpython/cuml/cuml/tsa/batched_lbfgs.py201 for ib in range(num_batches):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…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py1741 # What follows is a faster implementation of: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
LOWwiki/mnmg/Using_Infiniband_for_MNMG.md61# put_short: <= 124COMMENT
LOWwiki/mnmg/Using_Infiniband_for_MNMG.md81# error handling: peer failureCOMMENT
LOWwiki/mnmg/Using_Infiniband_for_MNMG.md101# get_zcopy: unlimited, up to 1 iovCOMMENT
LOWwiki/mnmg/Using_Infiniband_for_MNMG.md121# capabilities:COMMENT
LOWwiki/mnmg/Using_Infiniband_for_MNMG.md141If you configured UCX with the `gdrcopy` option, you should also expect to see transports in this list:COMMENT
LOWdocs/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdocs/source/conf.py81author = "NVIDIA Corporation"COMMENT
LOWdocs/source/conf.py161 #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/symreg/CMakeLists.txt1# =============================================================================COMMENT
LOWcpp/examples/symreg/symreg_example.cpp1/*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
1 more matches not shown…
Excessive Try-Catch Wrapping31 hits · 46 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
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
LOWpython/cuml/cuml/benchmark/_metadata.py90 except Exception as exc:CODE
LOWpython/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
LOW…cuml/testing/plugins/restart_corrupted_xdist_worker.py43 except Exception:CODE
LOWpython/cuml/cuml/internals/validation.py154 except Exception: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
AI Structural Patterns44 hits · 44 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
LOW…thon/cuml/cuml/feature_extraction/_tfidf_vectorizer.py125CODE
LOWpython/cuml/cuml/feature_extraction/_vectorizers.py464CODE
LOWpython/cuml/cuml/feature_extraction/_vectorizers.py877CODE
LOWpython/cuml/cuml/dask/ensemble/base.py208CODE
LOWpython/cuml/cuml/dask/cluster/kmeans.py133CODE
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.py1410CODE
LOWpython/cuml/cuml/svm/linear_svc.py189CODE
LOWpython/cuml/cuml/svm/svc.py226CODE
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
LOWpython/cuml/cuml/tsa/batched_lbfgs.py33CODE
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.py184 # 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
LOWpython/cuml/cuml/accel/estimator_proxy.py149 # Check if it's a true subclassCOMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py152 # Check if its a subclass of _cpu_class (if available)COMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py160 # Check if it's a true instanceCOMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py163 # 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 Boilerplate20 hits · 20 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__.py112__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/feature_extraction/__init__.py8__all__ = ["text"]CODE
LOWpython/cuml/cuml/feature_extraction/text.py22__all__ = [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.py65__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.py1216 """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.py902 # we use fit_transform to make sure to set sparse_output_ (for which weCOMMENT