AI Slop Code RIsk Monitor

h2oai/h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.

11.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for h2oai/h2o-3, a Jupyter Notebook project with 7,509 GitHub stars. SynthScan examined 886,945 lines of code across 6455 source files, recording 5257 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 11.2 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.2
Adjusted Signal
11.2
Raw Pattern Score
100%
Time Factor
2026-09-25
Last Push
7.5K
Stars
Jupyter Notebook
Language
886.9K
Lines of Code
6.5K
Files
5.3K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 15.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 8.1/100 · LOW

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

Agent Over-Engineering Ratio 31.4/100 · MEDIUM

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

PR Review Velocity Impact 44.9/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 34HIGH 649MEDIUM 889LOW 3685

Directory Score Breakdown

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

Pattern Findings

The scanner identified 5257 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators679 hits · 2244 pts
SeverityFileLineSnippetContext
MEDIUMh2o-py-mlflow-flavor/setup.cfg4# E265: (Block comment should start with '# ') I like having banner comments of the form #---------------------COMMENT
MEDIUMh2o-py-cloud-extensions/setup.cfg4# E265: (Block comment should start with '# ') I like having banner comments of the form #---------------------COMMENT
MEDIUM…multinode/python/pyunit_NOPASS_kmeans_mllib_1_large.py10#----------------------------------------------------------------------COMMENT
MEDIUM…multinode/python/pyunit_NOPASS_kmeans_mllib_1_large.py12#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_xgb_varimp.R3#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_xgb_varimp.R6#----------------------------------------------------------------------COMMENT
MEDIUM…common/tests_multinode/R/runit_kmeans_converge_large.R3#----------------------------------------------------------------------COMMENT
MEDIUM…common/tests_multinode/R/runit_kmeans_converge_large.R5#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R3#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R5#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R11#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R15 #----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R17 #----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R34 #----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R36 #----------------------------------------------------------------------COMMENT
MEDIUM…op-common/tests_multinode/R/runit_parquet_pubdev7293.R3#----------------------------------------------------------------------COMMENT
MEDIUM…op-common/tests_multinode/R/runit_parquet_pubdev7293.R5#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_kmeans.R3#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_kmeans.R5#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_glrm_large.R3#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_glrm_large.R5#----------------------------------------------------------------------COMMENT
MEDIUM⚡h2o-hadoop-common/tests_multinode/R/runit_glrm_large.R10#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_pca_large.R3#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_pca_large.R5#----------------------------------------------------------------------COMMENT
MEDIUM…cs/src/booklets/v2_2015/source/rbooklet.glm.vignette.R1#---------------------------------------------------------------------COMMENT
MEDIUM…cs/src/booklets/v2_2015/source/rbooklet.glm.vignette.R15#---------------------------------------------------------------------COMMENT
MEDIUM…docs/src/booklets/v2_2015/source/rbooklet.r.vignette.R1#---------------------------------------------------------------------COMMENT
MEDIUM…docs/src/booklets/v2_2015/source/rbooklet.r.vignette.R15#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R1#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R9#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R13#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R14#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R20#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R21#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R25#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R26#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R30#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R31#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R35#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R36#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R40#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R41#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R45#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R46#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R50#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R51#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R55#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R56#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R60#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R61#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R65#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R66#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R70#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R71#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R75#---------------------------------------------------------------------COMMENT
MEDIUM⚡…cs/src/booklets/v2_2015/source/DeepLearning_Vignette.R76#---------------------------------------------------------------------COMMENT
MEDIUMh2o-docs/src/booklets/v2_2015/source/Python_Booklet.py1#---------------------------------------------------------------------COMMENT
MEDIUMh2o-docs/src/booklets/v2_2015/source/Python_Booklet.py9#---------------------------------------------------------------------COMMENT
MEDIUM…cs/src/booklets/v2_2015/source/rbooklet.gbm.vignette.R1#---------------------------------------------------------------------COMMENT
MEDIUM…cs/src/booklets/v2_2015/source/rbooklet.gbm.vignette.R15#---------------------------------------------------------------------COMMENT
619 more matches not shown…
Cross-File Repetition424 hits · 2120 pts
SeverityFileLineSnippetContext
HIGHh2o-py/h2o/astfun.py0test harness. :copyright: (c) 2016 h2o.ai :license: apache license version 2.0 (see license for details)STRING
HIGHh2o-py/h2o/transforms/transform_base.py0test harness. :copyright: (c) 2016 h2o.ai :license: apache license version 2.0 (see license for details)STRING
HIGHh2o-py/h2o/model/model_builder.py0test harness. :copyright: (c) 2016 h2o.ai :license: apache license version 2.0 (see license for details)STRING
HIGHh2o-py/h2o/model/metrics_base.py0test harness. :copyright: (c) 2016 h2o.ai :license: apache license version 2.0 (see license for details)STRING
HIGHscripts/run.py0test harness. :copyright: (c) 2016 h2o.ai :license: apache license version 2.0 (see license for details)STRING
HIGHh2o-py/h2o/estimators/coxph.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/targetencoder.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/adaboost.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/glm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/anovaglm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/glrm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/extended_isolation_forest.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/hglm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/aggregator.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/model_selection.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/svd.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/kmeans.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/isolation_forest.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/deeplearning.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/naive_bayes.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/decision_tree.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/single_decision_tree.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/pca.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/infogram.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/psvm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/uplift_random_forest.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/xgboost.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/isotonicregression.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/sdt.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/random_forest.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/rulefit.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/gam.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/gbm.py0names of columns to ignore for training. type: ``list[str]``.STRING
HIGHh2o-py/h2o/estimators/coxph.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/adaboost.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/anovaglm.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/hglm.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/model_selection.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/stackedensemble.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/infogram.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/isotonicregression.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/rulefit.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/gam.py0column with observation weights. giving some observation a weight of zero is equivalent to excluding it from the datasetSTRING
HIGHh2o-py/h2o/estimators/adaboost.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/anovaglm.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/hglm.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/model_selection.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/decision_tree.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/single_decision_tree.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/infogram.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/uplift_random_forest.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/isotonicregression.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/sdt.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/rulefit.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/gam.py0id of the training data frame. type: ``union[none, str, h2oframe]``.STRING
HIGHh2o-py/h2o/estimators/adaboost.py0ignore constant columns. type: ``bool``, defaults to ``true``.STRING
HIGHh2o-py/h2o/estimators/anovaglm.py0ignore constant columns. type: ``bool``, defaults to ``true``.STRING
HIGHh2o-py/h2o/estimators/hglm.py0ignore constant columns. type: ``bool``, defaults to ``true``.STRING
HIGHh2o-py/h2o/estimators/model_selection.py0ignore constant columns. type: ``bool``, defaults to ``true``.STRING
HIGHh2o-py/h2o/estimators/single_decision_tree.py0ignore constant columns. type: ``bool``, defaults to ``true``.STRING
364 more matches not shown…
Hyper-Verbose Identifiers1205 hits · 1225 pts
SeverityFileLineSnippetContext
LOWh2o-py-mlflow-flavor/h2o_mlflow_flavor/__init__.py45def get_default_pip_requirements():CODE
LOW…-core/src/main/java/water/api/DownloadDataHandler.java6public class DownloadDataHandler extends Handler {CODE
LOWh2o-hadoop-2/tests/python/pyunit_s3_import_export.py15def get_supported_filesystems():CODE
LOW…y-cloud-extensions/h2o_cloud_extensions/mlops/patch.py10def _with_function_called_after(original_function, method_called_after):CODE
LOW…-cloud-extensions/h2o_cloud_extensions/mlops/deploy.py111def _wait_for_deployment_become_healthy(mlops_connection, deployment, max_wait_time_secs, model_name, environment):CODE
LOW…-cloud-extensions/h2o_cloud_extensions/mlops/deploy.py191def _get_published_automl_models(self, mlops_connection, project):CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py13def publish_estimator_automatically(self):CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py94def _resolve_metrics_metadata(self):CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py172def publish_grid_search_automatically(self):CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py206def publish_automl_automatically(self):CODE
LOW…n/tests/python/pyunit_local_and_hdfs_frame_equality.py11def local_and_hdfs_frame_equality():CODE
LOW…-common/tests_multinode/python/pyunit_download_logs.py31def log_files_expected_suffixes(log_level):CODE
LOW⚡h2o-docs/src/product/sphinxext/numpydoc.py100def monkeypatch_sphinx_ext_autodoc():CODE
LOWh2o-docs/src/product/sphinxext/docscrape.py71 def read_to_next_unindented_line(self):CODE
LOWh2o-docs/src/front/assets/javascripts/jquery.min.js8629 function addToPrefiltersOrTransports( structure ) {CODE
LOWh2o-docs/src/front/assets/javascripts/jquery.min.js8661 function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {CODE
LOWh2o-r/scripts/build_minicran.py89 def get_dependencies_for_package(self, package_name):CODE
LOWh2o-py/h2o/astfun.py497def _read_explicit_keyword_args(nargs, idx, ops, keys):CODE
LOWh2o-py/h2o/astfun.py507def _read_explicit_positional_args(nargs, idx, ops, keys):CODE
LOW⚡h2o-py/h2o/telemetry.py554def _detect_python_distribution():CODE
LOWh2o-py/h2o/telemetry.py378def bucketize_cluster_memory_gb(gb):CODE
LOWh2o-py/h2o/telemetry.py405def bucketize_max_runtime_secs(secs):CODE
LOWh2o-py/h2o/telemetry.py412def bucketize_leaderboard_size(n):CODE
LOWh2o-py/h2o/telemetry.py685def _attributes_with_distribution(attributes):CODE
LOWh2o-py/h2o/telemetry.py863def send_cluster_connect_telemetry(h2o_version, *, cluster_shape=None, attributes=None):CODE
LOWh2o-py/h2o/display.py246def _auto_html_element_wrapper(it, pre=None, nex=None):CODE
LOWh2o-py/h2o/debug.py12def equal_gbm_model_tree_structure(gbm_1, gbm_2):CODE
LOWh2o-py/h2o/frame.py5258def _handle_pandas_data_frame(python_obj, header):CODE
LOWh2o-py/h2o/h2o.py1390def enable_expr_optimizations(flag):CODE
LOWh2o-py/h2o/h2o.py1400def is_expr_optimizations_enabled():CODE
LOWh2o-py/h2o/h2o.py2381def _inspect_methods_separately(obj):CODE
LOWh2o-py/h2o/h2o.py2407def _default_custom_distribution_source_provider(obj):CODE
LOWh2o-py/h2o/h2o.py2517def upload_custom_distribution(func, func_file="distributions.py", func_name=None, class_name=None, source_provider=NoneSTRING
LOWh2o-py/h2o/explanation/__init__.py4def _complain_about_matplotlib(*args, **kwargs):CODE
LOWh2o-py/h2o/explanation/_explain.py499def _timestamp_to_mpl_datetime(timestamp):CODE
LOWh2o-py/h2o/explanation/_explain.py1125def _extract_graphing_data_values(data, frame_id, grouping_variable_value, original_observation, centering_value,CODE
LOWh2o-py/h2o/explanation/_explain.py1874def _is_automl_or_leaderboard(obj):CODE
LOWh2o-py/h2o/explanation/_explain.py1887def _get_model_ids_from_automl_or_leaderboard(automl_or_leaderboard, filter_=lambda _: True):CODE
LOWh2o-py/h2o/explanation/_explain.py1901def _get_models_from_automl_or_leaderboard(automl_or_leaderboard, filter_=lambda _: True):CODE
LOWh2o-py/h2o/explanation/_explain.py2060def _calculate_clustering_indices(matrix):CODE
LOWh2o-py/h2o/explanation/_explain.py2222def model_correlation_heatmap(CODE
LOWh2o-py/h2o/explanation/_explain.py2303def _check_deprecated_top_n_argument(models, top_n):CODE
LOWh2o-py/h2o/explanation/_explain.py2998def _preprocess_scoring_history(model, scoring_history, training_metric=None):CODE
LOWh2o-py/h2o/explanation/_explain.py3107def _process_explanation_lists(CODE
LOWh2o-py/h2o/utils/metaclass.py213 def handle_deprecated_params_order(fn):CODE
LOWh2o-py/h2o/utils/progressbar.py255 def _recalculate_model_parameters(self, now):CODE
LOWh2o-py/h2o/utils/progressbar.py285 def _estimate_progress_completion_time(self, now):CODE
LOWh2o-py/h2o/utils/progressbar.py321 def _guess_next_poll_interval(self):CODE
LOWh2o-py/h2o/utils/progressbar.py332 def _compute_progress_at_time(self, t):CODE
LOW⚡h2o-py/h2o/utils/typechecks.py485def _retrieve_assert_arguments():CODE
LOWh2o-py/h2o/backend/server.py488 def _get_server_info_from_logs(self):CODE
LOWh2o-py/h2o/backend/cluster.py270 def _get_cluster_status_info_values(self):CODE
LOWh2o-py/h2o/automl/_estimator.py444 def __validate_monotone_constraints(self, monotone_constraints):CODE
LOWh2o-py/h2o/automl/_estimator.py451 def __validate_algo_parameters(self, algo_parameters):CODE
LOWh2o-py/h2o/schemas/schema.py14def define_classes_from_schema(classes, connection):CODE
LOWh2o-py/h2o/sklearn/wrapper.py307 def _is_classifier_distribution(self):CODE
LOWh2o-py/h2o/sklearn/wrapper.py311 def _is_regressor_distribution(self):CODE
LOWh2o-py/h2o/sklearn/__init__.py90def _estimator_supports_predict_proba(cls):CODE
LOWh2o-py/h2o/sklearn/__init__.py105def _estimator_supports_score(cls):CODE
LOWh2o-py/h2o/sklearn/__init__.py120def _estimator_supports_transform(cls):CODE
1145 more matches not shown…
Over-Commented Block1098 hits · 913 pts
SeverityFileLineSnippetContext
LOWh2o-py-mlflow-flavor/setup.cfg1[flake8]COMMENT
LOWh2o-core/testMultiNode.sh41# build/libs/h2o-core-test.jar - Test h2o core classesCOMMENT
LOWh2o-core/testMultiNode.sh81echo "$JVM" > $OUTDIR/jvm_cmd.txtCOMMENT
LOWh2o-core/src/test/java/water/fvec/ChunkSpeedTest.java41 for (int i = 0; i < ll; ++i)COMMENT
LOWh2o-core/src/test/java/water/fvec/RyuDoubleTest.java1// Copyright 1999-2020 Alibaba Group Holding Ltd.COMMENT
LOWh2o-core/src/test/java/water/udf/UdfTest.java121COMMENT
LOWh2o-core/src/main/java/jsr166y/CountedCompleter.java381 */COMMENT
LOW…-core/src/main/java/jsr166y/ConcurrentLinkedDeque.java401 if (prev == null) {COMMENT
LOWh2o-core/src/main/java/hex/ScoreKeeper.java341 // movingAvg[1] is based on scoring events indices 15,16,17 <- first "new" smooth scoreCOMMENT
LOWh2o-core/src/main/java/water/TypeMap.java121 */COMMENT
LOWh2o-core/src/main/java/water/TCPReceiverThread.java321 // current membership check required for Paxos packets.COMMENT
LOWh2o-core/src/main/java/water/Job.java301 // F/J rules: upon receiving an exception (the task's compute/compute2COMMENT
LOWh2o-core/src/main/java/water/H2O.java1461 sb.append(" https://github.com/h2oai/h2o-3/discussions/").append(GITHUB_DISCUSSIONS.get(number)).append("\n");COMMENT
LOWh2o-core/src/main/java/water/H2O.java1641 private /*final*/ byte _priority;COMMENT
LOWh2o-core/src/main/java/water/H2O.java2161 // - Atomically update the STORE, returning the old Value on successCOMMENT
LOWh2o-core/src/main/java/water/Lockable.java41 // Atomic create+overwrite of prior key.COMMENT
LOWh2o-core/src/main/java/water/RPC.java581 // _dt object, and be unable to resend. This is fatal right now.COMMENT
LOWh2o-core/src/main/java/water/TimeLine.java21COMMENT
LOWh2o-core/src/main/java/water/TimeLine.java141// long io_ms = System.currentTimeMillis() - start_io_ms;COMMENT
LOWh2o-core/src/main/java/water/DKV.java201 // inform the home-node that his copy has been Shared... in case itCOMMENT
LOWh2o-core/src/main/java/water/UDP.java21 timeline (false, new TimeLine() ,H2O.MAX_PRIORITY), // Get timeline dumps from across the CloudCOMMENT
LOWh2o-core/src/main/java/water/AutoBuffer.java61 // for open AutoBuffers doing file i/o or reading any TCP/UDP or havingCOMMENT
LOWh2o-core/src/main/java/water/AutoBuffer.java81COMMENT
LOWh2o-core/src/main/java/water/Value.java81 final byte[] rawMem() { return _mem; }COMMENT
LOWh2o-core/src/main/java/water/Value.java401 _replicas = null;COMMENT
LOWh2o-core/src/main/java/water/Value.java421 // 2. Stores are not reordered with other storesCOMMENT
LOWh2o-core/src/main/java/water/Value.java441 // 8. Gets and Puts may be reordered with RMW operationsCOMMENT
LOWh2o-core/src/main/java/water/Key.java101 int idx = h2o.index();COMMENT
LOWh2o-core/src/main/java/water/Key.java121 // 1 Chunk-per-node, until all nodes have 1 chunk (max parallelism).COMMENT
LOWh2o-core/src/main/java/water/H2ONode.java681 // delayed UDP packet look like New Work). The easy way to do this is leaveCOMMENT
LOWh2o-core/src/main/java/water/H2ONode.java701 // also ACKACK'd.COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java121 return h;COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java141 // Number of K,V pairs in the tableCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java161 // The same Key can be reinserted with a new value later.COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java481 // the hashes are unequal (fast negative test) and finally do the full-onCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java541 // We also need a volatile-read between reading a newly inserted ValueCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java661 chm._slots.add(1); // Raise key-slots-used countCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java721 // not-null (i.e., once per key-insert). Of course we got a 'free' checkCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java801 // Size in active K,V pairsCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java841 // give the initial resizing thread a little time to allocate the initialCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java861 // new table. Note that if a 'get' call has reprobed too many times andCOMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java901 // For tables more than 1M entries, if >75% full of keys then...COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java1061 //COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java1101 topmap._kvs == oldkvs && // Looking at the top-level table?COMMENT
LOW…-core/src/main/java/water/nbhm/NonBlockingHashMap.java1121 // Blindly set the key slot from null to TOMBSTONE, to eagerly stopCOMMENT
LOW…o-core/src/main/java/water/nbhm/NonBlockingSetInt.java381 // Top level guy ready to promote?COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java121 Prime( Object V ) { _V = V; }COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java141 //COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java161COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java501 // We need a volatile-read here to preserve happens-before semantics onCOMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java561 chm._slots.add(1); // Raise key-slots-used countCOMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java601 return putIfMatch(topmap,newkvs,key,putval,expVal);COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java621 ((V == null && chm.tableFull(reprobe_cnt,len)) ||COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java661 }COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java701 // These next 2 fields are used in the resizing heuristics, to judge whenCOMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java721 private final AtomicReferenceFieldUpdater<CHM,Object[]> _newkvsUpdater =COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java741 // un-initialized array creation (especially of ref arrays!).COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java941 // --- copy_slot_and_check -----------------------------------------------COMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java981 // nested in-progress copies and manage to finish a nested copy beforeCOMMENT
LOW…c/main/java/water/nbhm/NonBlockingIdentityHashMap.java1001 // old table - so that any transition in the new table from null toCOMMENT
1038 more matches not shown…
Empty Error Handlers150 hits · 750 pts
SeverityFileLineSnippetContext
HIGHh2o-dist/local_dev.py47except KeyboardInterrupt:CODE
HIGHh2o-py/h2o/demos.py319except IOError:CODE
HIGHh2o-py/h2o/__init__.py87except ImportError:CODE
HIGHh2o-py/h2o/telemetry.py656except Exception:CODE
HIGHh2o-py/h2o/telemetry.py754except queue.Full:CODE
HIGHh2o-py/h2o/telemetry.py832except Exception:CODE
HIGHh2o-py/h2o/telemetry.py1172except Exception:CODE
HIGHh2o-py/h2o/telemetry.py503except Exception:CODE
HIGHh2o-py/h2o/telemetry.py653except Exception:CODE
HIGHh2o-py/h2o/telemetry.py721except Exception:CODE
HIGHh2o-py/h2o/telemetry.py643except Exception:CODE
HIGHh2o-py/h2o/telemetry.py712except Exception:CODE
HIGHh2o-py/h2o/frame.py5195except ValueError:CODE
HIGHh2o-py/h2o/h2o.py525except Exception:CODE
HIGHh2o-py/h2o/h2o.py656except Exception:CODE
HIGHh2o-py/h2o/h2o.py1616except Exception:CODE
HIGHh2o-py/h2o/h2o.py1728except Exception:CODE
HIGHh2o-py/h2o/h2o.py1786except Exception:CODE
HIGHh2o-py/h2o/h2o.py1852except Exception:CODE
HIGHh2o-py/h2o/expr.py205except (AttributeError, H2OConnectionError):CODE
HIGHh2o-py/h2o/utils/metaclass.py348except AttributeError:CODE
HIGHh2o-py/h2o/utils/progressbar.py587except:CODE
HIGHh2o-py/h2o/utils/progressbar.py597except:CODE
HIGHh2o-py/h2o/utils/progressbar.py686except UnicodeEncodeError:CODE
HIGHh2o-py/h2o/utils/typechecks.py682except Exception:CODE
HIGHh2o-py/h2o/backend/server.py168except:CODE
HIGHh2o-py/h2o/backend/connection.py59except Exception:CODE
HIGHh2o-py/h2o/automl/_estimator.py730except Exception:CODE
HIGHh2o-py/h2o/automl/_estimator.py712except Exception:CODE
HIGHh2o-py/h2o/automl/_estimator.py718except Exception:CODE
HIGHh2o-py/h2o/estimators/estimator_base.py126except Exception:CODE
HIGHh2o-py/h2o/estimators/estimator_base.py147except Exception:CODE
HIGHh2o-py/h2o/model/model_base.py354except Exception:CODE
HIGHh2o-py/h2o/model/model_base.py1250except Exception:CODE
HIGHh2o-py/h2o/model/model_base.py1303except Exception:CODE
HIGHh2o-py/h2o/model/model_base.py374except Exception:CODE
HIGHh2o-py/h2o/model/model_base.py1282except Exception:CODE
HIGH…y/tests/testdir_apis/H2O_Init/h2o.init_test_HOQE-16.py25except H2OConnectionError:CODE
HIGHh2o-py/tests/testdir_utils/pyunit_typechecks.py145except ImportError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_factoring.py32except H2OValueError: # as designedCODE
HIGHh2o-py/tests/testdir_misc/pyunit_h2oconnectionconf.py29except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_h2oconnectionconf.py35except H2OValueError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py62except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py86except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py102except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py118except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py133except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py191except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py237except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py281except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py317except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_param_type_hints.py345except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_twodimtable.py28except H2OTypeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_create_frame.py52except H2OValueError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_create_frame.py58except H2OValueError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_mojo_predict.py75except RuntimeError:CODE
HIGHh2o-py/tests/testdir_misc/pyunit_user.py40except Exception:CODE
HIGHh2o-py/tests/testdir_misc/explain/pyunit_explain.py439except EnvironmentError:CODE
HIGHh2o-py/tests/testdir_misc/explain/pyunit_explain.py447except EnvironmentError:CODE
HIGHh2o-py/tests/testdir_misc/explain/pyunit_explain.py987except H2OValueError:CODE
90 more matches not shown…
Unused Imports727 hits · 684 pts
SeverityFileLineSnippetContext
LOWh2o-py-cloud-extensions/setup.py5CODE
LOWh2o-py-cloud-extensions/setup.py6CODE
LOW…o-py-cloud-extensions/h2o_cloud_extensions/__init__.py3CODE
LOW…y-cloud-extensions/h2o_cloud_extensions/mlops/patch.py4CODE
LOW…y-cloud-extensions/h2o_cloud_extensions/mlops/patch.py5CODE
LOW…-cloud-extensions/h2o_cloud_extensions/mlops/deploy.py7CODE
LOW…-cloud-extensions/h2o_cloud_extensions/mlops/deploy.py8CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/connect.py5CODE
LOW…-cloud-extensions/h2o_cloud_extensions/mlops/status.py2CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py3CODE
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py4CODE
LOW…ommon/tests_fault_tolerance/python/test_grid_reload.py5CODE
LOW…/GLM_Vignette_code_examples/glm_recalculate_predict.py2CODE
LOWh2o-docs/src/product/conf.py15CODE
LOWh2o-docs/src/product/conf.py17CODE
LOWh2o-docs/src/product/conf.py18CODE
LOWh2o-docs/src/product/conf.py19CODE
LOWh2o-docs/src/product/conf.py20CODE
LOWh2o-docs/src/product/sphinxext/docscrape_sphinx.py1CODE
LOWh2o-r/scripts/usage_finder.py1CODE
LOWh2o-py/assembly_demo.py3CODE
LOWh2o-py/setup.py6CODE
LOWh2o-py/h2o/astfun.py8CODE
LOWh2o-py/h2o/auth.py21CODE
LOWh2o-py/h2o/demos.py9CODE
LOWh2o-py/h2o/demos.py71CODE
LOWh2o-py/h2o/group_by.py8CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
LOWh2o-py/h2o/__init__.py26CODE
667 more matches not shown…
Cross-Language Confusion71 hits · 436 pts
SeverityFileLineSnippetContext
HIGH…mmon/tests_fault_tolerance/python/test_frame_reload.py35 self.assertTrue(df_pd_orig.equals(df_pd_loaded))CODE
HIGHh2o-py/h2o/telemetry.py759 """Drop None values from a dict (omitted keys are treated as null)."""STRING
HIGHh2o-py/h2o/estimators/isolation_forest.py137 Defaults to -1 (undefined).STRING
HIGHh2o-py/h2o/estimators/isolation_forest.py708 will not mark observations as anomalies and only anomaly score will be returned. Defaults to -1 (undefined).STRING
HIGHh2o-py/h2o/model/model_base.py215 - If ``top_n<0 && bottom_n<0`` then sort all SHAP values in descending orderSTRING
HIGHh2o-py/h2o/model/model_base.py221 - If ``top_n<0 && bottom_n<0`` then sort all SHAP values in descending orderSTRING
HIGHh2o-py/h2o/model/extensions/contributions.py29 - If ``top_n<0 && bottom_n<0`` then sort all SHAP values in descending orderSTRING
HIGHh2o-py/h2o/model/extensions/contributions.py35 - If ``top_n<0 && bottom_n<0`` then sort all SHAP values in descending orderSTRING
HIGHh2o-py/tests/testdir_misc/pyunit_melt.py22 assert expected.equals(actual)CODE
HIGHh2o-py/tests/testdir_misc/pyunit_export_sep.py26 assert expected.equals(parsed_default)CODE
HIGHh2o-py/tests/testdir_misc/pyunit_export_sep.py27 assert expected.equals(parsed_custom)CODE
HIGHh2o-py/tests/testdir_misc/pyunit_frame_reload.py29 assert df_pd_orig.equals(df_pd_loaded_force)CODE
HIGHh2o-py/tests/testdir_misc/pyunit_frame_reload.py30 assert df_pd_orig.equals(df_pd_loaded)CODE
HIGH…/deeplearning/pyunit_offset_init_train_deeplearning.py41 assert predictions_train.equals(predictions_init), "Expected predictions of a model with offset_column in train methCODE
HIGH…/deeplearning/pyunit_offset_init_train_deeplearning.py42 assert predictions_train.equals(predictions_init_train), "Expected predictions of a model with offset_column in traiCODE
HIGH…/testdir_algos/xgboost/pyunit_offset_column_xgboost.py25 assert not predictions_normal.equals(predictions_offset)CODE
HIGH…s/testdir_algos/automl/pyunit_automl_memory_cleanup.py91 # see last comment line below for ideal assertion if cv predictions could be returned as null,COMMENT
HIGH…ests/testdir_algos/gbm/pyunit_offset_init_train_gbm.py33 assert predictions_train.equals(predictions_init), "Expected predictions of a model with offset_column in train methCODE
HIGH…ests/testdir_algos/gbm/pyunit_offset_init_train_gbm.py34 assert predictions_train.equals(predictions_init_train), "Expected predictions of a model with offset_column in traiCODE
HIGH…ests/testdir_algos/glm/pyunit_offset_init_train_glm.py33 assert predictions_train.equals(predictions_init), "Expected predictions of a model with offset_column in train methCODE
HIGH…ests/testdir_algos/glm/pyunit_offset_init_train_glm.py34 assert predictions_train.equals(predictions_init_train), "Expected predictions of a model with offset_column in traiCODE
HIGHh2o-py/tests/testdir_jira/pyunit_pubdev_7119.py18 if not pd_df.equals(pd_df2):CODE
HIGHh2o-py/tests/testdir_jira/pyunit_pubdev_7119.py28 if not pd_df.equals(pd_df2):CODE
HIGHh2o-py/tests/pyunit_utils/utilsPY.py1923 if compare_val_h2o_py > tolerance: # difference is too high, return falseCODE
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py53 /* Bias */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py58 /* EvapMM */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py59 /* MaxWindSpeed */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py60 /* Temp9am */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py61 /* RelHumid9am */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py62 /* Cloud9am */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py63 /* WindSpeed9am */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py64 /* Pressure9am */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py65 /* Temp3pm */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py66 /* RelHumid3pm */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py67 /* Cloud3pm */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py68 /* WindSpeed3pm */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py69 /* Pressure3pm */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py70 /* RainToday */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py71 /* TempRange */ null,COMMENT
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py160 return val == null;CODE
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py165 if (idx == null)CODE
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py172 if (idx == null)CODE
HIGH⚡…s/testdir_generic_model/pyunit_combined_pojo_import.py175 return null;CODE
HIGHh2o-py/tests_rest_smoke/rest_tests/test_models.py169 # Bad parameters (hidden is null):COMMENT
HIGH⚡scripts/addjavamessage2ignore.py34"parameters":{"_train":{"name":"py_3","type":"Key"},"_valid":null,"_nfolds":-1,"_keep_cross_validation_predictions":falsSTRING
HIGH⚡scripts/addjavamessage2ignore.py36"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stSTRING
HIGH⚡scripts/addjavamessage2ignore.py37"_stopping_tolerance":0.001,"_response_column":"cylinders","_balance_classes":false,"_max_after_balance_size":5.0,"_clasSTRING
HIGH⚡scripts/addjavamessage2ignore.py38"_max_confusion_matrix_size":20,"_checkpoint":null,"_ntrees":5,"_max_depth":5,"_min_rows":10.0,"_nbins":20,"_nbins_cats"STRING
HIGH⚡scripts/addjavamessage2ignore.py55"parameters":{"_train":{"name":"py_3","type":"Key"},"_valid":null,"_nfolds":-1,"_keep_cross_validation_predictions":falsSTRING
HIGH⚡scripts/addjavamessage2ignore.py57"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stSTRING
HIGH⚡scripts/addjavamessage2ignore.py58"_stopping_tolerance":0.001,"_response_column":"cylinders","_balance_classes":false,"_max_after_balance_size":5.0,"_clasSTRING
HIGH⚡scripts/addjavamessage2ignore.py59"_max_confusion_matrix_size":20,"_checkpoint":null,"_ntrees":5,"_max_depth":5,"_min_rows":10.0,"_nbins":20,"_nbins_cats"STRING
HIGH⚡h2o-bindings/bin/gen_java.py431 if (jobs.jobs == null || jobs.jobs.length != 1)CODE
HIGH⚡h2o-bindings/bin/gen_java.py433 } while (jobs != null && jobs.jobs[0].status.equals(\"RUNNING\"));CODE
HIGH⚡h2o-bindings/bin/gen_java.py433 } while (jobs != null && jobs.jobs[0].status.equals(\"RUNNING\"));CODE
HIGHh2o-bindings/bin/gen_java.py332 yield " if (keys == null) return null;"CODE
HIGHh2o-bindings/bin/gen_java.py386 retrofit = null;CODE
HIGHh2o-bindings/bin/gen_java.py392 retrofit = null;CODE
HIGHh2o-bindings/bin/gen_java.py415 Response<JobsV3> jobsResponse = null;CODE
HIGHh2o-bindings/bin/gen_java.py417 JobsV3 jobs = null;CODE
11 more matches not shown…
Self-Referential Comments139 hits · 384 pts
SeverityFileLineSnippetContext
MEDIUMmake-dist.sh115# Create a zip file for the whole documentation and add to target.COMMENT
MEDIUMh2o-docs-theme/demo_docs/source/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUM…te_code_examples/python_merge_frames_by_column_name.py5# Create a single-column, 100-row frameCOMMENT
MEDIUM…e_examples/python_combine_frames_append_one_as_rows.py1# Create a frame of random numbers w/ 100 rowsCOMMENT
MEDIUM…e_examples/python_combine_frames_append_one_as_rows.py4# Create a second frame of random numbers w/ 100 rowsCOMMENT
MEDIUM…s/v2_2015/source/R_Vignette_code_examples/r_glm_demo.R49# Define the data for the model and display the resultsCOMMENT
MEDIUM…ts/v2_2015/source/R_Vignette_code_examples/r_addfunc.R1# Create an R functional expressionCOMMENT
MEDIUMh2o-docs/src/product/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMh2o-r/ensemble/h2oEnsemble-package/R/wrappers.R7 # This function is just an example.COMMENT
MEDIUMh2o-r/ensemble/h2oEnsemble-package/R/ensemble.R130 # Create the Z matrix of cross-validated predictionsCOMMENT
MEDIUMh2o-r/ensemble/demos/higgs_randomgrid_stack.R118# Create a list of all the base modelsCOMMENT
MEDIUM…nit_GLM_Binomial_RandomGrid_Test_SyntheticData_large.R6# This class is created to test the three stopping conditions for randomized gridsearch usingCOMMENT
MEDIUM…nit_GLM_Gaussian_RandomGrid_Test_SyntheticData_large.R6# This class is created to test the three stopping conditions for randomized gridsearch usingCOMMENT
MEDIUMh2o-r/tests/testdir_misc/runit_looping_slice_quantile.R174 # Create the slice.COMMENT
MEDIUMh2o-r/tests/testdir_misc/runit_export_time_large.R5#The below function will test if the exporting of a file in H2O is NOT asynchronous. Meaning the h2o.export_file()COMMENT
MEDIUMh2o-r/tests/testdir_munging/slice/runit_indexing.R5 # This function is called with a huge variety of argument stylesCOMMENT
MEDIUM…mble/runit_stackedensemble_base_model_training_frame.R90 # Create a new training frame that's a different sizeCOMMENT
MEDIUM…sts/testdir_algos/gbm/runit_GBM_iris_multinomial_auc.R13 # Create a training set from the 1st dataset in the splitCOMMENT
MEDIUM…sts/testdir_algos/gbm/runit_GBM_iris_multinomial_auc.R17 # Create a testing set from the 2nd dataset in the splitCOMMENT
MEDIUM…ests/testdir_algos/glm/runit_GLM_link_functions_vpow.R47 # Create the appropriate tweedie functionCOMMENT
MEDIUM…ts/testdir_parser/runit_NOFEATURE_orc_parser_baddata.R16 # This file contains big integer value Long.MIN_VALUE that is used for sentinelCOMMENT
MEDIUMh2o-r/tests/testdir_jira/runit_pubdev_5096-glm-sparse.R7 # Create a dummy training frameCOMMENT
MEDIUMh2o-r/tests/testdir_jira/runit_pubdev_5096-glm-sparse.R25 # Create a sparse test frameCOMMENT
MEDIUM…s/testdir_jira/runit_NOPASS_pubdev_2386_missing_rtmp.R11 # Create a frame to join with iris.hexCOMMENT
MEDIUMh2o-r/h2o-package/R/glrm.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/gam.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/psvm.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/targetencoder.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/generic.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/anovaglm.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/xgboost.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/coxph.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R1738#' # Create the SHAP summary plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R1958#' # Create the SHAP row explanation plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2253#' # Create the variable importance heatmapCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2347#' # Create the model correlationCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2428#' # Create the model correlation heatmapCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2517#' # Create the residual analysis plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2594#' # Create the partial dependence plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R2667#' # Create the partial dependence plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R3059#' # Create the individual conditional expectations plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R3133#' # Create the learning curve plotCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R3608#' # Create the Pareto frontCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R3742#' # Create the explanation for whole H2OAutoML objectCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R3746#' # Create the explanation for the leader modelCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R4160#' # Create the explanation for whole H2OAutoML objectCOMMENT
MEDIUMh2o-r/h2o-package/R/explain.R4164#' # Create the explanation for the leader modelCOMMENT
MEDIUMh2o-r/h2o-package/R/svd.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/kmeans.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/pca.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUM⚡h2o-r/h2o-package/R/frame.R5166 # Create the group by ASTCOMMENT
MEDIUMh2o-r/h2o-package/R/frame.R1711 # This function is called with a huge variety of argument stylesCOMMENT
MEDIUMh2o-r/h2o-package/R/decisiontree.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/modelselection.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/rulefit.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/deeplearning.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/infogram.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/naivebayes.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
MEDIUMh2o-r/h2o-package/R/automl.R391 # Create the parameter list to POST to the AutoMLBuilderCOMMENT
MEDIUMh2o-r/h2o-package/R/glm.R1# This file is auto-generated by h2o-3/h2o-bindings/bin/gen_R.pyCOMMENT
79 more matches not shown…
Hallucination Indicators34 hits · 355 pts
SeverityFileLineSnippetContext
CRITICALh2o-core/src/main/java/hex/LinkFunction.java202 return "new org.apache.commons.math3.distribution.NormalDistribution(0, 1).cumulativeProbability("+f+");";CODE
CRITICALh2o-core/src/main/java/hex/leaderboard/Leaderboard.java800 modelIDsFormatted[i] = org.apache.commons.lang.StringUtils.rightPad(key.toString(), maxModelIdLen);CODE
CRITICALh2o-core/src/main/java/water/TypeMap.java32 water.fvec.Vec.VectorGroup.class.getName(), // Used in TestUtilCODE
CRITICALh2o-core/src/main/java/water/TypeMap.java33 water.fvec.Vec.ESPC.class.getName(), // Used in TestUtilCODE
CRITICALh2o-core/src/main/java/water/TypeMap.java53 hex.schemas.ModelBuilderSchema.IcedHashMapStringModelBuilderSchema.class.getName(),CODE
CRITICALh2o-core/src/main/java/water/TypeMap.java68 water.util.IcedHashMapGeneric.IcedHashMapStringString.class.getName(),CODE
CRITICALh2o-core/src/main/java/water/TypeMap.java69 water.util.IcedHashMapGeneric.IcedHashMapStringObject.class.getName(),CODE
CRITICALh2o-core/src/main/java/water/util/LogArchiveWriter.java96 org.apache.commons.lang.StringUtils.repeat("=", entryStr.length() + 1) + "\n";CODE
CRITICAL…src/main/java/water/webserver/jetty8/Jetty8Helper.java191 formAuthenticator = new org.eclipse.jetty.security.authentication.FormAuthenticator(CODE
CRITICALh2o-docs/src/front/assets/javascripts/jquery.min.js8056 jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {CODE
CRITICALh2o-docs/src/front/assets/javascripts/forms2.min.js6},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},nb.fx=L.prototype.init,nb.fx.step={};var zc,Ac,Bc=CODE
CRITICALh2o-docs/src/front/assets/javascripts/jquery.js4marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:"CODE
CRITICAL…ts/testdir_algos/coxph/runit_coxph_concordance_heart.R114 multiple.columns.and.interactions.with.strata()CODE
CRITICAL…ts/testdir_algos/coxph/runit_coxph_concordance_heart.R115 multiple.columns.and.interactions.with.multiple.strata()CODE
CRITICALh2o-r/tests/testdir_algos/generic/runit_generic_model.r52doSuite("Generic model from GBM MOJO", make.model.generic.predict.test.suite())CODE
CRITICAL⚡…/tests/testdir_algos/generic/runit_generic_encodings.r29 test.model.generic.predict.with.encoding("Binary")CODE
CRITICAL⚡…/tests/testdir_algos/generic/runit_generic_encodings.r32 test.model.generic.predict.with.encoding("OneHotExplicit")CODE
CRITICAL⚡…/tests/testdir_algos/generic/runit_generic_encodings.r35 test.model.generic.predict.with.encoding("LabelEncoder")CODE
CRITICAL⚡…/tests/testdir_algos/generic/runit_generic_encodings.r44doSuite("Predicting with non-AUTO encodings with imported MOJO", make.model.generic.predict.test.suite())CODE
CRITICAL…hex/genmodel/algos/deepwater/caffe/nano/Deepwater.java262 if (!com.google.protobuf.nano.WireFormatNano.parseUnknownField(input, tag)) {CODE
CRITICAL…hex/genmodel/algos/deepwater/caffe/nano/Deepwater.java464 return com.google.protobuf.nano.MessageNano.mergeFrom(new Cmd(), data);CODE
CRITICAL…hex/genmodel/algos/deepwater/caffe/nano/Deepwater.java552 if (!com.google.protobuf.nano.WireFormatNano.parseUnknownField(input, tag)) {CODE
CRITICAL…hex/genmodel/algos/deepwater/caffe/nano/Deepwater.java607 return com.google.protobuf.nano.MessageNano.mergeFrom(new Saved(), data);CODE
CRITICALh2o-algos/src/test/java/hex/ensemble/CheckSumTest.java101 stackedEnsembleModel._output._metalearner._output._training_metrics.remove();CODE
CRITICAL…src/main/java/hex/pca/mtj/PCA_MTJ_EVD_DenseMatrix.java25 evd = no.uib.cipr.matrix.EVD.factorize(gramMatrix);CODE
CRITICAL…/src/main/java/hex/pca/mtj/PCA_MTJ_EVD_SymmMatrix.java35 symmDenseEVD = no.uib.cipr.matrix.SymmDenseEVD.factorize(this.symmGramMatrix);CODE
CRITICAL…-algos/src/main/java/hex/ensemble/StackedEnsemble.java721 rowValues.add(_model._output._metalearner._parms._fold_assignment == null ? "AUTO" : _model._output._metalearner._CODE
CRITICAL…s/src/main/java/hex/ensemble/StackedEnsembleModel.java664 this._output._cross_validation_metrics_summary = (TwoDimTable) this._output._metalearner._output._cross_validationCODE
CRITICAL⚡scripts/addjavamessage2ignore.py29javax.servlet.http.HttpServlet.service(HttpServlet.java:848), org.eclipse.jetty.servlet.ServletHolder.handle(ServletHoldSTRING
CRITICAL⚡scripts/addjavamessage2ignore.py50javax.servlet.http.HttpServlet.service(HttpServlet.java:848), org.eclipse.jetty.servlet.ServletHolder.handle(ServletHoldSTRING
CRITICALh2o-test-support/src/main/java/water/TestUtil.java754 org.apache.commons.io.FileUtils.copyInputStreamToFile(stream, tmpFile);CODE
CRITICALh2o-test-support/src/main/java/water/TestUtil.java1870 org.apache.commons.io.FileUtils.deleteQuietly(generatedFile);CODE
CRITICAL…t/src/test/java/hex/tree/xgboost/XGBoostUtilsTest.java837 booster = ai.h2o.xgboost4j.java.XGBoost.train(train, nativeParms, nround, watches, null, null);CODE
CRITICAL…oost/src/main/java/hex/tree/xgboost/util/GpuUtils.java159 ai.h2o.xgboost4j.java.XGBoost.train(trainMat, params, 1, watches, null, null);CODE
Excessive Try-Catch Wrapping184 hits · 202 pts
SeverityFileLineSnippetContext
LOW…tests_fault_tolerance/python/test_grid_auto_recover.py22 except Exception as e:CODE
MEDIUM…tests_fault_tolerance/python/test_grid_auto_recover.py23 print("Error while training")CODE
MEDIUM…r/tests/testdir_munging/slice/runit_no_plus_operator.R17 print("Error with splice UUID to both predictions :: '+' operator")CODE
LOWh2o-hive/tests/python/pyunit_hive_import_direct.py16 except Exception as e:CODE
LOWh2o-hive/tests/python/pyunit_hive_import_direct.py23 except Exception as e:CODE
LOWh2o-hive/tests/python/pyunit_hive_import_direct.py36 except Exception as e:CODE
MEDIUMh2o-py/h2o/telemetry.py509def _python_version_safe():CODE
MEDIUMh2o-py/h2o/telemetry.py770def _wrapped(*args, **kwargs):CODE
LOW⚡h2o-py/h2o/telemetry.py563 except Exception:CODE
LOW⚡h2o-py/h2o/telemetry.py567 except Exception:CODE
LOW⚡h2o-py/h2o/telemetry.py571 except Exception:CODE
LOW⚡h2o-py/h2o/telemetry.py643 except Exception:CODE
LOW⚡h2o-py/h2o/telemetry.py653 except Exception:CODE
LOW⚡h2o-py/h2o/telemetry.py656 except Exception:CODE
LOWh2o-py/h2o/telemetry.py48except Exception:CODE
LOWh2o-py/h2o/telemetry.py58except Exception:CODE
LOWh2o-py/h2o/telemetry.py170 except Exception:CODE
LOWh2o-py/h2o/telemetry.py189 except Exception:CODE
LOWh2o-py/h2o/telemetry.py222 except Exception:CODE
LOWh2o-py/h2o/telemetry.py466 except Exception:CODE
LOWh2o-py/h2o/telemetry.py503 except Exception:CODE
LOWh2o-py/h2o/telemetry.py512 except Exception:CODE
LOWh2o-py/h2o/telemetry.py539 except Exception:CODE
LOWh2o-py/h2o/telemetry.py602 except Exception:CODE
LOWh2o-py/h2o/telemetry.py712 except Exception:CODE
LOWh2o-py/h2o/telemetry.py721 except Exception:CODE
LOWh2o-py/h2o/telemetry.py773 except Exception:CODE
LOWh2o-py/h2o/telemetry.py823 except Exception:CODE
LOWh2o-py/h2o/telemetry.py832 except Exception:CODE
LOWh2o-py/h2o/telemetry.py1172 except Exception:CODE
LOWh2o-py/h2o/telemetry.py1192 except Exception:CODE
LOWh2o-py/h2o/h2o.py61 except Exception:CODE
LOWh2o-py/h2o/h2o.py133 except Exception:CODE
LOWh2o-py/h2o/h2o.py360 except Exception:CODE
LOWh2o-py/h2o/h2o.py525 except Exception:CODE
LOWh2o-py/h2o/h2o.py638 except Exception:CODE
LOWh2o-py/h2o/h2o.py656 except Exception:CODE
LOWh2o-py/h2o/h2o.py1611 except Exception:CODE
LOWh2o-py/h2o/h2o.py1616 except Exception:CODE
LOWh2o-py/h2o/h2o.py1723 except Exception:CODE
LOWh2o-py/h2o/h2o.py1728 except Exception:CODE
LOWh2o-py/h2o/h2o.py1781 except Exception:CODE
LOWh2o-py/h2o/h2o.py1786 except Exception:CODE
LOWh2o-py/h2o/h2o.py1847 except Exception:CODE
LOWh2o-py/h2o/h2o.py1852 except Exception:CODE
LOWh2o-py/h2o/explanation/_explain.py266 except Exception:CODE
LOWh2o-py/h2o/explanation/_explain.py2953 except Exception:CODE
LOWh2o-py/h2o/utils/debugging.py284 except Exception:CODE
LOWh2o-py/h2o/utils/typechecks.py682 except Exception:CODE
MEDIUMh2o-py/h2o/utils/typechecks.py366def _init(self):CODE
LOWh2o-py/h2o/backend/connection.py59 except Exception:CODE
LOWh2o-py/h2o/backend/connection.py423 except Exception:STRING
LOWh2o-py/h2o/backend/connection.py551 except Exception as e:STRING
LOW⚡h2o-py/h2o/backend/connection.py933except Exception as exc:CODE
MEDIUMh2o-py/h2o/automl/_estimator.py19def _h2o_version_safe():CODE
LOW⚡h2o-py/h2o/automl/_estimator.py730 except Exception:CODE
LOWh2o-py/h2o/automl/_estimator.py23 except Exception:CODE
LOWh2o-py/h2o/automl/_estimator.py712 except Exception:CODE
LOWh2o-py/h2o/automl/_estimator.py718 except Exception:CODE
LOWh2o-py/h2o/automl/_estimator.py789 except Exception as e:CODE
124 more matches not shown…
Deep Nesting237 hits · 186 pts
SeverityFileLineSnippetContext
LOW…cloud-extensions/h2o_cloud_extensions/mlops/publish.py81CODE
LOWh2o-docs/src/product/sphinxext/docscrape_sphinx.py118CODE
LOWh2o-r/scripts/build_dataset_from_parse_log.py272CODE
LOWh2o-r/scripts/build_dataset_from_parse_log.py108CODE
LOWh2o-py/h2o/astfun.py214CODE
LOWh2o-py/h2o/astfun.py285CODE
LOWh2o-py/h2o/astfun.py419CODE
LOWh2o-py/h2o/demos.py206CODE
LOWh2o-py/h2o/demos.py236CODE
LOWh2o-py/h2o/job.py107CODE
LOWh2o-py/h2o/scoring.py7CODE
LOWh2o-py/h2o/scoring.py34CODE
LOWh2o-py/h2o/group_by.py337CODE
LOWh2o-py/h2o/telemetry.py193CODE
LOWh2o-py/h2o/telemetry.py471CODE
LOWh2o-py/h2o/telemetry.py617CODE
LOWh2o-py/h2o/telemetry.py703CODE
LOWh2o-py/h2o/display.py26CODE
LOWh2o-py/h2o/display.py179CODE
LOWh2o-py/h2o/frame.py1947CODE
LOWh2o-py/h2o/frame.py2074CODE
LOWh2o-py/h2o/frame.py2171CODE
LOWh2o-py/h2o/frame.py2211CODE
LOWh2o-py/h2o/frame.py2306CODE
LOWh2o-py/h2o/frame.py2526CODE
LOWh2o-py/h2o/frame.py2742CODE
LOWh2o-py/h2o/h2o.py430CODE
LOWh2o-py/h2o/h2o.py529CODE
LOWh2o-py/h2o/h2o.py898CODE
LOWh2o-py/h2o/h2o.py1433CODE
LOWh2o-py/h2o/h2o.py1551CODE
LOWh2o-py/h2o/h2o.py1674CODE
LOWh2o-py/h2o/h2o.py1732CODE
LOWh2o-py/h2o/h2o.py1805CODE
LOWh2o-py/h2o/h2o.py1952CODE
LOWh2o-py/h2o/expr.py227CODE
LOWh2o-py/h2o/two_dim_table.py87CODE
LOWh2o-py/h2o/tree/tree.py413CODE
LOWh2o-py/h2o/explanation/_explain.py616CODE
LOWh2o-py/h2o/explanation/_explain.py765CODE
LOWh2o-py/h2o/explanation/_explain.py2060CODE
LOWh2o-py/h2o/explanation/_explain.py2315CODE
LOWh2o-py/h2o/explanation/_explain.py2452CODE
LOWh2o-py/h2o/explanation/_explain.py3208CODE
LOWh2o-py/h2o/explanation/_explain.py3493CODE
LOWh2o-py/h2o/explanation/_explain.py214CODE
LOWh2o-py/h2o/plot/_plot_result.py27CODE
LOWh2o-py/h2o/utils/config.py54CODE
LOWh2o-py/h2o/utils/metaclass.py55CODE
LOWh2o-py/h2o/utils/metaclass.py58CODE
LOWh2o-py/h2o/utils/metaclass.py62CODE
LOWh2o-py/h2o/utils/debugging.py30CODE
LOWh2o-py/h2o/utils/debugging.py257CODE
LOWh2o-py/h2o/utils/debugging.py274CODE
LOWh2o-py/h2o/utils/progressbar.py150CODE
LOWh2o-py/h2o/utils/typechecks.py485CODE
LOWh2o-py/h2o/utils/typechecks.py638CODE
LOWh2o-py/h2o/utils/typechecks.py640CODE
LOWh2o-py/h2o/backend/server.py415CODE
LOWh2o-py/h2o/backend/connection.py280CODE
177 more matches not shown…
Redundant / Tautological Comments58 hits · 86 pts
SeverityFileLineSnippetContext
LOWh2o-core/testMultiNode.sh69# Check if coverage should be runCOMMENT
LOW…lets/v2_2015/source/R_Vignette_code_examples/r_runif.R10##Assign name to training setCOMMENT
LOW…lets/v2_2015/source/R_Vignette_code_examples/r_runif.R14## Assign name to test setCOMMENT
LOWh2o-parsers/h2o-orc-parser/testMultiNode.sh55# Check if coverage should be runCOMMENT
LOWh2o-automl/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-automl/testMultiNode.sh64# Check if coverage should be runCOMMENT
LOWh2o-r/tests/testdir_munging/unop/runit_sum_axis.R95 #Check if axis is ignored when return_frame=FALSECOMMENT
LOWh2o-r/tests/testdir_munging/unop/runit_mean_axis.R95 #Check if axis is ignored when return_frame=FALSECOMMENT
LOW…_algos/xgboost/runit_XGBoost_bernoulli_SyntheticData.R22 # Assign names to the columns of X:COMMENT
LOW…/testdir_algos/gbm/runit_GBM_bernoulli_SyntheticData.R22 # Assign names to the columns of X:COMMENT
LOW…r/tests/testdir_algos/glm/runit_GLM_covtype_getModel.R14 # Set response to be indicator of a particular classCOMMENT
LOWh2o-r/tests/testdir_algos/glm/runit_GLM_covtype.R14 # Set response to be indicator of a particular classCOMMENT
LOWh2o-r/tests/testdir_jira/runit_pub_2702_primitive.R34 #Check if NA's are present with na.rm = TRUECOMMENT
LOWh2o-r/h2o-package/R/glrm.R176 # Check if user_y is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/glrm.R200 # Check if user_x is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/glrm.R335 # Check if user_y is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/glrm.R359 # Check if user_x is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/config.R84 #Check if allowed keys are present. If none are present, return NULLCOMMENT
LOWh2o-r/h2o-package/R/predict.R106 # Set path to h2o-genmodel.jar if necessary and check it's validCOMMENT
LOWh2o-r/h2o-package/R/communication.R540 #Check if payload is a raw vector(binary data) and convert to character for error printing. Otherwise returnCOMMENT
LOWh2o-r/h2o-package/R/kmeans.R133 # Check if user_points is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/kmeans.R249 # Check if user_points is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-r/h2o-package/R/frame.R2076#' # Assign names to the columns of X:COMMENT
LOWh2o-r/h2o-package/R/models.R235 # Check if specified model request is for supervised algoCOMMENT
LOWh2o-r/demos/rdemo.citi.bike.small.R12# Set this to True if you want to fetch the data directly from S3.COMMENT
LOWh2o-r/demos/rdemo.citi.bike.large.R12# Set this to True if you want to fetch the data directly from S3.COMMENT
LOWh2o-r/demos/rdemo.chicago.crime.large.R4# Set this to True if you want to fetch the data directly from S3.COMMENT
LOWh2o-r/demos/rdemo.lending.club.large.R4# Set this to True if you want to fetch the data directly from S3.COMMENT
LOWh2o-admissibleml/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-admissibleml/testMultiNode.sh64# Check if coverage should be runCOMMENT
LOWh2o-py/h2o/frame.py2333 # Check if index is an actual column(s) in the frameCOMMENT
LOWh2o-py/h2o/frame.py2339 # Check if index is an actual column index in the frameCOMMENT
LOWh2o-py/h2o/frame.py2361 # Check if index is an actual column(s) in the frameCOMMENT
LOWh2o-py/h2o/frame.py2378 # Check if index is an actual column index in the frameCOMMENT
LOWh2o-py/h2o/utils/shared_utils.py467 # Set path to h2o-genmodel.jar if necessary and check it's validCOMMENT
LOWh2o-py/h2o/backend/server.py241 # Check if running from an h2o-3 src folder (or any subfolder), in which case use the freshly-built h2o.jarCOMMENT
LOWh2o-py/h2o/automl/_estimator.py318 # Check if H2O jar contains AutoMLCOMMENT
LOW…y/tests/testdir_apis/H2O_Init/h2o.init_test_HOQE-16.py45# Check if cluster is healthyCOMMENT
LOWh2o-py/tests/testdir_algos/glm/pyunit_covtype_glm.py15 # Set response to be indicator of a particular classCOMMENT
LOW…ests/testdir_algos/glm/pyunit_covtype_get_model_glm.py15 # Set response to be indicator of a particular classCOMMENT
LOW…s/testdir_algos/glm/pyunit_covtype_get_future_model.py15 # Set response to be indicator of a particular classCOMMENT
LOWh2o-algos/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-algos/testSingleNodeOneProc.sh60# Check if coverage should be runCOMMENT
LOWh2o-algos/testMultiNode.sh64# Check if coverage should be runCOMMENT
LOWscripts/run.py1487 # Check if no cloud was foundCOMMENT
LOWscripts/db_check.py20 # Check if anything at all is returnedCOMMENT
LOWh2o-extensions/target-encoder/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-extensions/target-encoder/testMultiNode.sh64# Check if coverage should be runCOMMENT
LOWh2o-extensions/steam/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-extensions/example/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-extensions/xgboost/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-extensions/xgboost/testMultiNode.sh63# Check if coverage should be runCOMMENT
LOWh2o-extensions/mojo-pipeline/testSingleNode.sh62# Check if coverage should be runCOMMENT
LOWh2o-extensions/jython-cfunc/testSingleNode.sh59# Check if coverage should be runCOMMENT
LOWh2o-extensions/jython-cfunc/testMultiNode.sh64# Check if coverage should be runCOMMENT
LOWh2o-bindings/bin/custom/R/gen_glrm.py11# Check if user_y is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-bindings/bin/custom/R/gen_glrm.py35# Check if user_x is an acceptable set of user-specified starting pointsCOMMENT
LOWh2o-bindings/bin/custom/R/gen_kmeans.py14# Check if user_points is an acceptable set of user-specified starting pointsCOMMENT
AI Structural Patterns87 hits · 71 pts
SeverityFileLineSnippetContext
LOWh2o-py-mlflow-flavor/h2o_mlflow_flavor/__init__.py145CODE
LOWh2o-py-mlflow-flavor/h2o_mlflow_flavor/__init__.py253CODE
LOWh2o-persist-drive/src/main/resources/drive_client.py40CODE
LOWh2o-py/h2o/frame.py91CODE
LOWh2o-py/h2o/frame.py132CODE
LOWh2o-py/h2o/frame.py472CODE
LOWh2o-py/h2o/frame.py1296CODE
LOWh2o-py/h2o/h2o.py65CODE
LOWh2o-py/h2o/h2o.py175CODE
LOWh2o-py/h2o/h2o.py430CODE
LOWh2o-py/h2o/h2o.py529CODE
LOWh2o-py/h2o/h2o.py898CODE
LOWh2o-py/h2o/h2o.py1856CODE
LOWh2o-py/h2o/h2o.py1952CODE
LOWh2o-py/h2o/h2o.py2250CODE
LOWh2o-py/h2o/two_dim_table.py18CODE
LOWh2o-py/h2o/explanation/_explain.py616CODE
LOWh2o-py/h2o/explanation/_explain.py1305CODE
LOWh2o-py/h2o/explanation/_explain.py1411CODE
LOWh2o-py/h2o/explanation/_explain.py1485CODE
LOWh2o-py/h2o/explanation/_explain.py1751CODE
LOWh2o-py/h2o/explanation/_explain.py3208CODE
LOWh2o-py/h2o/explanation/_explain.py3493CODE
LOWh2o-py/h2o/utils/shared_utils.py418CODE
LOWh2o-py/h2o/backend/server.py64CODE
LOWh2o-py/h2o/backend/connection.py280CODE
LOWh2o-py/h2o/automl/_estimator.py141CODE
LOWh2o-py/h2o/automl/_estimator.py589CODE
LOWh2o-py/h2o/transforms/decomposition.py52CODE
LOWh2o-py/h2o/estimators/coxph.py24CODE
LOWh2o-py/h2o/estimators/targetencoder.py29CODE
LOWh2o-py/h2o/estimators/adaboost.py30CODE
LOWh2o-py/h2o/estimators/glm.py40CODE
LOWh2o-py/h2o/estimators/anovaglm.py31CODE
LOWh2o-py/h2o/estimators/glrm.py28CODE
LOWh2o-py/h2o/estimators/extended_isolation_forest.py33CODE
LOWh2o-py/h2o/estimators/hglm.py26CODE
LOWh2o-py/h2o/estimators/aggregator.py23CODE
LOWh2o-py/h2o/estimators/word2vec.py24CODE
LOWh2o-py/h2o/estimators/model_selection.py32CODE
LOWh2o-py/h2o/estimators/stackedensemble.py69CODE
LOWh2o-py/h2o/estimators/svd.py23CODE
LOWh2o-py/h2o/estimators/kmeans.py24CODE
LOWh2o-py/h2o/estimators/isolation_forest.py29CODE
LOWh2o-py/h2o/estimators/deeplearning.py41CODE
LOWh2o-py/h2o/estimators/naive_bayes.py29CODE
LOWh2o-py/h2o/estimators/decision_tree.py24CODE
LOWh2o-py/h2o/estimators/pca.py23CODE
LOWh2o-py/h2o/estimators/infogram.py36CODE
LOWh2o-py/h2o/estimators/psvm.py23CODE
LOWh2o-py/h2o/estimators/estimator_base.py95CODE
LOWh2o-py/h2o/estimators/estimator_base.py150CODE
LOWh2o-py/h2o/estimators/estimator_base.py243CODE
LOWh2o-py/h2o/estimators/uplift_random_forest.py28CODE
LOWh2o-py/h2o/estimators/xgboost.py34CODE
LOWh2o-py/h2o/estimators/isotonicregression.py23CODE
LOWh2o-py/h2o/estimators/random_forest.py34CODE
LOWh2o-py/h2o/estimators/rulefit.py28CODE
LOWh2o-py/h2o/estimators/gam.py39CODE
LOWh2o-py/h2o/estimators/gbm.py37CODE
27 more matches not shown…
Structural Annotation Overuse35 hits · 62 pts
SeverityFileLineSnippetContext
LOW⚡README.md250##### Step 1: Download and install [WinPython](https://winpython.github.io).COMMENT
LOW⚡README.md253##### Step 2: Install required Python packages:COMMENT
LOW⚡README.md257##### Step 3: Install JDKCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java623 // Step 1: Assign each row to a foldCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java626 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java629 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java632 // Step 4: Run all the CV models (and optionally train the main model in parallel to the CV training)COMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java653 // Step 5: Score the CV modelsCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java657 // Step 6: Build the main modelCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java662 // Step 7: Combine cross-validation scores; compute main model x-valCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java695 // Step 1: Assign each row to a foldCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java722 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java754 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java827 // Step 4: Run all the CV models and launch the main modelCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java838 // Step 5: Score the CV modelsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java910 // Step 6: build the main modelCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java924 // Step 7: Combine cross-validation scores; compute main model x-val scores; compute gains/liftsCOMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java84 // Step 1: Decode the floating point number, and unify normalized and subnormal cases.COMMENT
LOW⚡h2o-core/src/main/java/water/fvec/RyuDouble.java110 // Step 2: Determine the interval of legal decimal representations.COMMENT
LOW⚡h2o-core/src/main/java/water/fvec/RyuDouble.java118 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java163 // Step 4: Find the shortest decimal representation in the interval of legal representations.COMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java231 // Step 5: Print the decimal representation.COMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R10## Step 1 - Download and Install H2OCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R32## Step 2 - Launch H2OCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R52## Step 3 - Import Data and create Train/Validation SplitsCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R70## Step 4 - Use H2O Flow to inspect the data and build some models onCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R78## Step 5 - GBM Hyper-Parameter Tuning with Random SearchCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R136## Step 6 - Build Final Model using the Full Training DataCOMMENT
LOWh2o-kaggle/otto/beating_the_benchmark.R152## Step 7 - Make Final Test Set Predictions for SubmissionCOMMENT
LOWh2o-r/tests/runitUtils/utilsR.R298 # WARNING: This assumes categorical levels don't contain colonsCOMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java95 // Step 0: prepare the data rowCOMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java98 // Step 1: initialize X (for now do Random initialization only)COMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java106 // Step 2: update X based on prox-prox algorithm, iterate until convergenceCOMMENT
LOW⚡…py/tests/testdir_javapredict/helper_model_generator.py26 # Step 1: generate the dataset.COMMENT
LOW⚡…py/tests/testdir_javapredict/helper_model_generator.py34 # Step 2: train and save the modelsCOMMENT
Dead Code31 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMh2o-docs/src/product/sphinxext/docscrape_sphinx.py20CODE
MEDIUMh2o-py/h2o/utils/debugging.py97CODE
MEDIUMh2o-py/h2o/utils/debugging.py98CODE
MEDIUMh2o-py/h2o/utils/debugging.py101CODE
MEDIUMh2o-py/h2o/utils/debugging.py103CODE
MEDIUMh2o-py/h2o/utils/debugging.py104CODE
MEDIUMh2o-py/h2o/utils/debugging.py108CODE
MEDIUMh2o-py/h2o/utils/debugging.py116CODE
MEDIUMh2o-py/h2o/utils/debugging.py117CODE
MEDIUMh2o-py/h2o/utils/debugging.py118CODE
MEDIUMh2o-py/h2o/utils/debugging.py119CODE
MEDIUMh2o-py/h2o/utils/debugging.py146CODE
MEDIUMh2o-py/h2o/utils/debugging.py149CODE
MEDIUMh2o-py/h2o/utils/debugging.py150CODE
MEDIUMh2o-py/h2o/utils/debugging.py151CODE
MEDIUMh2o-py/h2o/utils/debugging.py152CODE
MEDIUMh2o-py/h2o/utils/debugging.py153CODE
MEDIUMh2o-py/h2o/utils/debugging.py154CODE
MEDIUMh2o-py/h2o/utils/debugging.py177CODE
MEDIUMh2o-py/h2o/utils/debugging.py179CODE
MEDIUMh2o-py/h2o/utils/debugging.py182CODE
MEDIUMh2o-py/h2o/utils/debugging.py183CODE
MEDIUMh2o-py/h2o/utils/debugging.py185CODE
MEDIUMh2o-py/h2o/utils/debugging.py186CODE
MEDIUMh2o-py/h2o/utils/debugging.py187CODE
MEDIUMh2o-py/h2o/utils/debugging.py191CODE
MEDIUMh2o-py/h2o/utils/debugging.py192CODE
MEDIUMh2o-py/tests_rest_smoke/h2o.py396CODE
MEDIUMh2o-py/tests_rest_smoke/h2o.py402CODE
MEDIUMh2o-py/tests_rest_smoke/h2o.py403CODE
MEDIUMh2o-py/tests_rest_smoke/h2o.py409CODE
AI Slop Vocabulary23 hits · 50 pts
SeverityFileLineSnippetContext
LOWh2o-core/src/main/java/water/H2ONode.java713 // If this RPC task# is very old, we just return a Golden Completed task.COMMENT
MEDIUMh2o-core/src/main/java/water/rapids/BinaryMerge.java383 // i.e. (lLow+lUpp)/2 but being robust to one day in the future someoneCOMMENT
MEDIUM…src/main/java/water/rapids/SingleThreadRadixOrder.java7// node, to utilize the cores available. The initial MSB needs to split by numCOMMENT
MEDIUMh2o-core/src/main/java/water/rapids/RadixOrder.java154 // simpler and more robust for now for all categorical bases to be 0,COMMENT
MEDIUM…o-core/src/main/java/water/rapids/SplitByMSBLocal.java303 if (cnts[_msb] == 0) { // robust in case we skipped zeros when accumulatingCODE
MEDIUMh2o-core/src/main/java/water/parser/ARFFParser.java104 //could be a bit more robust than just counting commas?COMMENT
MEDIUMh2o-docs/src/front/assets/javascripts/jquery.min.js10295// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUMh2o-r/tests/testdir_misc/runit_telemetry.R69 # rather than by capturing message() output -- the runit harness alreadyCOMMENT
MEDIUMh2o-r/tests/testdir_munging/runit_merge_overlap.R8# Essentially, here we aim to test :COMMENT
LOWh2o-r/tests/testdir_munging/runit_merge_overlap.R82 # Check that all tables didn't just return nothing all of a sudden for some reason.COMMENT
MEDIUM…ests/testdir_algos/glm/runit_GLM_bc_ignore_constants.R3### This tests ignore_constant_columns argument when used in conjunction with beta constraints ######COMMENT
LOWh2o-r/scripts/package_version_check_update.R68#' @details When package update is to be done on clean R environment/library, or in case when we want to re-install everCOMMENT
LOWh2o-r/h2o-package/R/connection.R470# Suggest cribbing the code from Internal.R that checks cluster status (or just call it here?)COMMENT
LOWh2o-r/h2o-package/R/frame.R181 # 3rd exec: there is no 3rd exec, just use the ID stringCOMMENT
MEDIUMh2o-r/h2o-package/R/modelselection.R118#' frames for more robust results, 'maxrsweep' that uses sequential replacement and sweeping action, much fasterCOMMENT
LOWh2o-r/demos/rdemo.imputation.R28# This is cheap, since H2O data frames are mutable. The data is not copied, we just add a new column.COMMENT
LOWh2o-r/demos/rdemo.VI.all.algos.R4# If you want to cut and paste code from this test, you can just create the connection yourself up front.COMMENT
MEDIUM…/src/main/java/water/k8s/KubernetesEmbeddedConfig.java23 flatFileBuilder.append("54321"); // All pods are expected to utilize the default H2O portCODE
MEDIUMh2o-py/h2o/utils/progressbar.py531 """Initial rendering stage, done in order to compute widths of all widgets."""STRING
MEDIUM…/main/java/hex/modelselection/ModelSelectionModel.java93 maxr, // use sequential replacement but calls GLM to build all models, slow but can use cross-validation andCODE
LOWscripts/addjavamessage2ignore.py164 if key in allKeys: # key already exists, just add to itCODE
MEDIUM…t/src/test/java/hex/tree/xgboost/XGBoostUtilsTest.java397 // Force the internal representation to utilize both dimensionsCOMMENT
MEDIUM…/src/main/java/water/k8s/KubernetesEmbeddedConfig.java26 flatFileBuilder.append(H2O.H2O_DEFAULT_PORT); // All pods are expected to utilize the default H2O portCODE
Verbosity Indicators24 hits · 44 pts
SeverityFileLineSnippetContext
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java623 // Step 1: Assign each row to a foldCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java626 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java629 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java632 // Step 4: Run all the CV models (and optionally train the main model in parallel to the CV training)COMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java653 // Step 5: Score the CV modelsCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java657 // Step 6: Build the main modelCOMMENT
LOW⚡h2o-core/src/main/java/hex/ModelBuilder.java662 // Step 7: Combine cross-validation scores; compute main model x-valCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java695 // Step 1: Assign each row to a foldCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java722 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java754 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java827 // Step 4: Run all the CV models and launch the main modelCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java838 // Step 5: Score the CV modelsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java910 // Step 6: build the main modelCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java924 // Step 7: Combine cross-validation scores; compute main model x-val scores; compute gains/liftsCOMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java84 // Step 1: Decode the floating point number, and unify normalized and subnormal cases.COMMENT
LOW⚡h2o-core/src/main/java/water/fvec/RyuDouble.java110 // Step 2: Determine the interval of legal decimal representations.COMMENT
LOW⚡h2o-core/src/main/java/water/fvec/RyuDouble.java118 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java163 // Step 4: Find the shortest decimal representation in the interval of legal representations.COMMENT
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java231 // Step 5: Print the decimal representation.COMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java95 // Step 0: prepare the data rowCOMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java98 // Step 1: initialize X (for now do Random initialization only)COMMENT
LOW⚡…c/main/java/hex/genmodel/algos/glrm/GlrmMojoModel.java106 // Step 2: update X based on prox-prox algorithm, iterate until convergenceCOMMENT
LOW⚡…py/tests/testdir_javapredict/helper_model_generator.py26 # Step 1: generate the dataset.COMMENT
LOW⚡…py/tests/testdir_javapredict/helper_model_generator.py34 # Step 2: train and save the modelsCOMMENT
Modern Structural Boilerplate20 hits · 20 pts
SeverityFileLineSnippetContext
LOWh2o-py/h2o/__init__.py91__all__ = [s for s in dir()CODE
LOWh2o-py/h2o/display.py786__all__ = [s for s in dir() if not s.startswith('_') and s not in __no_export]STRING
LOWh2o-py/h2o/h2o.py1030 if not isinstance(column_names, list): raise ValueError("col_names should be a list")CODE
LOWh2o-py/h2o/tree/__init__.py6__all__ = ["H2OTree", "H2ONode", "H2OSplitNode", "H2OLeafNode"]CODE
LOWh2o-py/h2o/plot/__init__.py4__all__ = [s for s in dir() if not s.startswith('_')]CODE
LOWh2o-py/h2o/plot/_plot_result.py56__all__ = [s for s in dir() if not s.startswith('_') and s not in __no_export]CODE
LOWh2o-py/h2o/utils/threading.py89__all__ = [s for s in dir() if not s.startswith('_') and s not in __no_export]CODE
LOWh2o-py/h2o/utils/csv/readers.py5__all__ = [CODE
LOWh2o-py/h2o/utils/csv/_dispatch.py6__all__ = ['register_reader', 'register_writer', 'get_reader', 'get_writer']CODE
LOWh2o-py/h2o/utils/csv/dialects.py5__all__ = ['unix_dialect']CODE
LOWh2o-py/h2o/automl/autoh2o.py10__all__ = ['H2OAutoML', 'get_automl', 'get_leaderboard']CODE
LOWh2o-py/h2o/schemas/__init__.py5__all__ = ['H2OSchema', 'define_classes_from_schema',CODE
LOWh2o-py/h2o/information_retrieval/__init__.py3__all__ = ['tf_ifd']CODE
LOWh2o-py/h2o/transforms/__init__.py9__all__ = ["H2OPCA", "H2OSVD", "H2OScaler", "H2OColSelect", "H2OColOp",CODE
LOWh2o-py/h2o/model/__init__.py13__all__ = ["ModelBase", "MetricsBase",CODE
LOWh2o-py/h2o/model/metrics/__init__.py29__all__ = [s for s in dir() if not s.startswith('_')]CODE
LOWh2o-py/h2o/model/models/__init__.py17__all__ = [s for s in dir() if not s.startswith('_')]CODE
LOWh2o-py/h2o/model/extensions/__init__.py48__all__ = [ # mainly useful here for the generated documentationCODE
LOWh2o-py/h2o/persist/__init__.py4__all__ = ["set_s3_credentials", "remove_s3_credentials"]CODE
LOWh2o-py/h2o/grid/__init__.py9__all__ = ['H2OGridSearch', 'H2OBinomialGridSearch', 'H2OClusteringGridSearch',CODE
Fake / Example Data15 hits · 19 pts
SeverityFileLineSnippetContext
LOWh2o-docs/src/front/assets/javascripts/public.js50 $(this).attr('placeholder', $(this).attr('data-placeholder'));CODE
LOWh2o-docs/src/front/assets/javascripts/public.js60 $(this).attr('placeholder', '');CODE
LOWh2o-docs/src/front/assets/javascripts/public.js75 input.attr('placeholder', input.attr('data-placeholder'));CODE
LOWh2o-docs/src/front/assets/javascripts/public.js81 input.attr('placeholder', '');CODE
LOWh2o-docs/src/front/assets/javascripts/public.js104 input.attr('placeholder', input.attr('data-placeholder'));CODE
LOWh2o-docs/src/front/assets/javascripts/public.js110 input.attr('placeholder', '');CODE
LOWh2o-docs/src/front/assets/javascripts/main.js1533 $("body.h2o .search-banner form .search-field").attr("placeholder", "Start your serch here...");CODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py11 "Digest realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4URrv/xwf94CODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py12 "Basic Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4UCODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py13 "Basic, Negotiatesds realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPECODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py14 "Basic, asdfNegotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPCODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py15 "Basic realm='http-auth@example.org', qop='auth, auth-int', algorithm=Negotiate, nonce='7ypf/xlj9XXwfDPEoM4URrv/CODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py18 valid = {"Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4URCODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py19 "Basic, Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDCODE
LOW⚡h2o-py/tests/testdir_utils/pyunit_auth.py20 "Basic realm='http-auth@example.org', Negotiate realm='http-auth@example.org', qop='auth, auth-int', algoriCODE
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…runit_PUBDEV_7835_glm_lambda_max_min_best_alpha_best.R5# I have added two parameters to GLMModelOutput: lambda_min and lambda_max. These parameters will take on the followingCOMMENT
HIGHh2o-r/h2o-package/R/import.R76#' #In this example we import all .csv files in the directory prostate_folderCOMMENT
Slop Phrases6 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMh2o-kaggle/rain/beating_the_benchmark.R16## you can use read.csv in place of data.table; it's just much slowerCOMMENT
LOW…_algos/glm/runit_NOFEATURE_GLM_getLambdaModel_medium.R5#Change the 1st parameter of the getLambdaModel method and make sure you get the same model for the same lambdaCOMMENT
MEDIUMh2o-r/h2o-package/R/predict.R203# These are defined so that you can use the same names in Python and allows us to change the backing methodCOMMENT
LOWh2o-r/h2o-package/R/models.R124 if (algo=="pca" && is.null(params$k)) # make sure to set k=1 for default for pcaCODE
LOW…st/java/hex/deeplearning/DeepLearningMLPReference.java636 ihPrevWeightsDelta[i][j] = (float)delta; // don't forget to save the delta for momentumCODE
LOW…st/java/hex/deeplearning/DeepLearningMLPReference.java647 hPrevBiasesDelta[i] = delta; // don't forget to save the deltaCODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHh2o-py/h2o/h2o.py1959 Create a new frame with random data. Creates a data frame in H2O with real-valued, categorical, integer, and bSTRING
HIGHh2o-py/h2o/utils/csv/readers.py17CSV reader yielding lists of ``unicode`` strings (PY3: ``str``). Args: stream: Iterable of text (``unicode`STRING
TODO Padding6 hits · 8 pts
SeverityFileLineSnippetContext
LOWh2o-core/src/main/java/water/rapids/BinaryMerge.java44 // 'unique' index. // TODO: implementCOMMENT
LOWh2o-r/tests/testdir_munging/runit_merge_random_data.R158 for (ay in c(FALSE)) { # TODO: implement all.y=TRUECODE
LOWh2o-r/tests/testdir_munging/runit_merge_real_data.R81 for (ay in c(FALSE)) { # TODO: implement all.y=TRUECODE
LOWh2o-algos/src/main/java/hex/gram/Gram.java956 @Override public void map(Chunk[] chks) { // TODO: implement the sparse option.CODE
LOWh2o-algos/src/main/java/hex/deeplearning/Neurons.java636 // TODO: implement GEMMCOMMENT
LOWh2o-algos/src/main/java/hex/deeplearning/Neurons.java761 // TODO: implement GEMMCOMMENT