Repository Analysis

rapidsai/cuml

cuML - RAPIDS Machine Learning Library

14.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rapidsai/cuml, a Python project with 5,243 GitHub stars. SynthScan v2.0 examined 162,100 lines of code across 722 source files, recording 2006 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 14.7 places this repository in the Low AI signal band.

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

14.7
Adjusted Score
14.7
Raw Score
100%
Time Factor
2026-07-31
Last Push
5.2K
Stars
Python
Language
162.1K
Lines of Code
722
Files
2.0K
Pattern Hits
2026-08-02
Scan Date
0.04
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 28MEDIUM 151LOW 1826

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 2006 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1158 hits · 1096 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.py144def test_k_neighbors_classifier():CODE
LOWpython/cuml/cuml_accel_tests/test_basic_estimators.py158def 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.py81def test_init_no_parameters_signature():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py88def test_sklearn_introspect_estimator_type():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py96def test_sklearn_introspect_parameter_constraints():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py101def test_sklearn_utils_get_tags():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py656def test_common_fit_attributes():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py664def test_fit_validates_params():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py672def test_method_that_only_exists_on_cpu_estimator():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py123def test_init_positional_and_keyword():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py186def test_repr_mimebundle_display_text():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py254def test_getattr_supports_select_private_attributes():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py271def test_not_implemented_attr_error():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py410def test_pickle_proxy_estimator_class():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py461def test_pickle_cpu_fit_but_params_supported():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py478def test_unpickle_cuml_accel_not_active():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py603def test_fit_unsupported_args():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py738def test_incremental_pca_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py759def test_incremental_pca_set_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py772def test_incremental_pca_rejects_unsupported_fit_params(method):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py780def test_get_feature_names_out():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py846def test_metadata_routing_consumed(metadata_routing):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py860def test_array_api_proxy_pandas_inputs():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py883def test_array_api_proxy_global_transform_output():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py893def test_array_api_proxy_partial_fit():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py922def test_array_api_proxy_coerce_inputs(transform):CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py930def test_array_api_proxy_pickle():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py963def test_array_api_proxy_fallback_older_sklearn():CODE
LOWpython/cuml/cuml_accel_tests/test_estimator_proxy.py978def test_subclass_of_proxy_isnt_accelerated(Base):CODE
1098 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.py55# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py57# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py378# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py380# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py69# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py71# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py118# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py120# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py411# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py413# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py433# =============================================================================COMMENT
MEDIUMpython/cuml/tests/conftest.py435# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_train_test_split.py495# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_train_test_split.py497# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py125# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py127# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py360# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py362# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py395# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py397# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py541# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py543# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py628# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py630# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py766# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py768# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py26# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py28# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py58# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py60# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py456# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py458# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py699# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py701# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py803# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_isolation_forest.py805# =============================================================================COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py351# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py354# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py426# ----------------------------------------------------------------COMMENT
MEDIUMpython/cuml/tests/test_text_feature_extraction.py428# ----------------------------------------------------------------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 Imports352 hits · 318 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.py61CODE
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__.py39CODE
LOWpython/cuml/cuml/__init__.py44CODE
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__.py56CODE
LOWpython/cuml/cuml/__init__.py56CODE
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__.py64CODE
LOWpython/cuml/cuml/__init__.py64CODE
LOWpython/cuml/cuml/__init__.py64CODE
292 more matches not shown…
Deep Nesting115 hits · 109 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.py697CODE
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.py40CODE
LOWpython/cuml/tests/test_validation.py62CODE
LOWpython/cuml/tests/test_validation.py1353CODE
LOWpython/cuml/tests/test_validation.py1907CODE
LOWpython/cuml/tests/test_metrics.py1689CODE
LOWpython/cuml/tests/test_metrics.py1889CODE
LOWpython/cuml/tests/test_kneighbors_classifier.py328CODE
LOWpython/cuml/tests/test_make_classification.py56CODE
LOWpython/cuml/tests/test_exceptions.py25CODE
LOWpython/cuml/tests/test_fil.py888CODE
LOWpython/cuml/tests/test_arima.py365CODE
LOWpython/cuml/tests/test_reflection.py51CODE
LOWpython/cuml/tests/test_reflection.py432CODE
LOWpython/cuml/tests/test_reflection.py439CODE
LOWpython/cuml/tests/test_benchmark.py38CODE
LOWpython/cuml/tests/test_svm.py39CODE
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.py598CODE
LOWpython/cuml/tests/test_api.py184CODE
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.py19CODE
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
LOW…uml/cuml/experimental/hyperopt_utils/plotting_utils.py30CODE
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
55 more matches not shown…
Cross-Language Confusion16 hits · 105 pts
SeverityFileLineSnippetContext
HIGHpython/cuml/tests/test_train_test_split.py137 assert X_train.equals(X_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py138 assert X_test.equals(X_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py139 assert y_train.equals(y_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py140 assert y_test.equals(y_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py397 assert X_train.equals(X_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py398 assert X_test.equals(X_test2)CODE
HIGHpython/cuml/tests/test_train_test_split.py399 assert y_train.equals(y_train2)CODE
HIGHpython/cuml/tests/test_train_test_split.py400 assert y_test.equals(y_test2)CODE
HIGHpython/cuml/tests/dask/test_dask_ordinal_encoder.py45 assert inv_Xt.equals(X_r)CODE
HIGHpython/cuml/tests/dask/test_dask_ordinal_encoder.py46 assert inv_Xt_1.equals(X_1_r)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
HIGH…on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py755 # instead of null, which makes us need to replace them with FalseCOMMENT
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.py40 >>> # Create a local CUDA clusterSTRING
MEDIUMpython/cuml/cuml/naive_bayes/naive_bayes.py1287 # Create the sparse category count matrixCOMMENT
MEDIUM…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py2501 # 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 Block71 hits · 71 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_lars.py221 y = cp.asarray(y, dtype=datatype, order="F")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
LOWpython/cuml/cuml/experimental/__init__.py1#COMMENT
LOW…thon/cuml/cuml/experimental/hyperopt_utils/__init__.py1#COMMENT
LOW…thon/cuml/cuml/feature_extraction/_tfidf_vectorizer.py1# SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION.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/utils.py541 # A good example is the gaussian dataset with linear classifier:COMMENT
LOWpython/cuml/cuml/testing/dask/__init__.py1#COMMENT
LOWpython/cuml/cuml/testing/plugins/__init__.py1#COMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py241COMMENT
LOWpython/cuml/cuml/accel/magics.py21COMMENT
LOWpython/cuml/cuml/accel/_overrides/__init__.py1#COMMENT
LOW…on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py601 rate -> rateCOMMENT
LOW…on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py621 # rule here would be redundant otherwise). Martin's paper makesCOMMENT
LOW…on/cuml/cuml/preprocessing/text/stem/porter_stemmer.py741 if suffix == "*d":COMMENT
LOW…eprocessing/text/stem/porter_stemmer_utils/__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…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.py141# Add any paths that contain custom static files (such as style sheets) here,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
11 more matches not shown…
Cross-File Repetition10 hits · 50 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
AI Structural Patterns49 hits · 49 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.py463CODE
LOWpython/cuml/cuml/feature_extraction/_vectorizers.py873CODE
LOWpython/cuml/cuml/dask/ensemble/base.py209CODE
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.py247CODE
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.py197CODE
LOWpython/cuml/cuml/testing/strategies.py349CODE
LOWpython/cuml/cuml/testing/strategies.py444CODE
LOWpython/cuml/cuml/internals/validation.py535CODE
LOWpython/cuml/cuml/internals/validation.py1044CODE
LOWpython/cuml/cuml/internals/validation.py1394CODE
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.py117CODE
LOWpython/cuml/cuml/fil/compat.py89CODE
LOWpython/cuml/cuml/fil/compat.py212CODE
LOWpython/cuml/cuml/fil/compat.py253CODE
LOWpython/cuml/cuml/fil/compat.py294CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py182CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py312CODE
LOWpython/cuml/cuml/preprocessing/_target_encoder.py597CODE
LOWpython/cuml/cuml/tsa/batched_lbfgs.py33CODE
Excessive Try-Catch Wrapping33 hits · 48 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/conftest.py373 except Exception: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…uml/cuml/experimental/hyperopt_utils/plotting_utils.py73 except Exception as e:CODE
LOW…uml/cuml/experimental/hyperopt_utils/plotting_utils.py99 except Exception as e:CODE
LOWpython/cuml/cuml/internals/validation.py172 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
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.py184 # Check if function has @given decoratorCOMMENT
LOWpython/cuml/tests/conftest.py186 # Check if function has @example decoratorCOMMENT
LOWpython/cuml/tests/test_lars.py95 # Set tolerance to include the 95% confidence interval aroundCOMMENT
LOWpython/cuml/tests/test_umap.py1587 # 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.py219 # Check if j is a core point with the same labelCOMMENT
LOWpython/cuml/cuml/testing/utils.py221 # Check if j is a neighbor of iCOMMENT
LOWpython/cuml/cuml/testing/utils.py520 # 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.py148 # Check if it's a true subclassCOMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py151 # Check if its a subclass of _cpu_class (if available)COMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py159 # Check if it's a true instanceCOMMENT
LOWpython/cuml/cuml/accel/estimator_proxy.py162 # Check if its an instance of _cpu_class (if available)COMMENT
LOWpython/cuml/cuml/common/doc_utils.py212 # Check if we want to prepend the parametersCOMMENT
Modern Structural Boilerplate22 hits · 22 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__.py113__all__ = [CODE
LOWpython/cuml/cuml/benchmark/config.py1115__all__ = [CODE
LOWpython/cuml/cuml/metrics/__init__.py43__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__.py37__all__ = [CODE
LOWpython/cuml/cuml/preprocessing/text/__init__.py8__all__ = ["stem"]CODE
LOWpython/cuml/cuml/preprocessing/text/stem/__init__.py9__all__ = ["PorterStemmer"]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.py55__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.py199 # object, just return it.COMMENT
LOWpython/cuml/cuml/dask/common/base.py208 # 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.py325 # Not an array-like input, just return NoneCOMMENT
LOWpython/cuml/cuml/internals/validation.py230 # No features, just return NoneCOMMENT
MEDIUMpython/cuml/cuml/internals/validation.py472 # Definitely safe to downscast to int32, but only cast if needed sinceCOMMENT
LOWpython/cuml/cuml/internals/validation.py505 # 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.py268 # ret is already a dictionary, we just use it for the namedCOMMENT
MEDIUM…n/cuml/cuml/_thirdparty/sklearn/preprocessing/_data.py1194 """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.py29# make sure to update the docs if you make changes here.COMMENT
LOW…hirdparty/sklearn/preprocessing/_column_transformer.py870 # we use fit_transform to make sure to set sparse_output_ (for which weCOMMENT