Repository Analysis

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.

10.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of h2oai/h2o-3, a Jupyter Notebook project with 7,502 GitHub stars. SynthScan v2.0 examined 886,354 lines of code across 6448 source files, recording 5097 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 10.4 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).

10.4
Adjusted Score
10.4
Raw Score
100%
Time Factor
2026-08-01
Last Push
7.5K
Stars
Jupyter Notebook
Language
886.4K
Lines of Code
6.4K
Files
5.1K
Pattern Hits
2026-08-02
Scan Date
0.08
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 34HIGH 499MEDIUM 889LOW 3675

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 5097 distinct pattern matches across 22 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.

Decorative Section Separators679 hits · 2247 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
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R3#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R5#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R11#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_hdfs_basic.R15 #----------------------------------------------------------------------COMMENT
MEDIUMh2o-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
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_glrm_large.R3#----------------------------------------------------------------------COMMENT
MEDIUMh2o-hadoop-common/tests_multinode/R/runit_glrm_large.R5#----------------------------------------------------------------------COMMENT
MEDIUMh2o-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 · 1239 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
LOWh2o-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
LOWh2o-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.py1387def enable_expr_optimizations(flag):CODE
LOWh2o-py/h2o/h2o.py1397def is_expr_optimizations_enabled():CODE
LOWh2o-py/h2o/h2o.py2374def _inspect_methods_separately(obj):CODE
LOWh2o-py/h2o/h2o.py2400def _default_custom_distribution_source_provider(obj):CODE
LOWh2o-py/h2o/h2o.py2510def 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
LOWh2o-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 Block1094 hits · 910 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
1034 more matches not shown…
Unused Imports723 hits · 682 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
663 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.py214 - If ``top_n<0 && bottom_n<0`` then sort all SHAP values in descending orderSTRING
HIGHh2o-py/h2o/model/model_base.py220 - 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
HIGHscripts/addjavamessage2ignore.py34"parameters":{"_train":{"name":"py_3","type":"Key"},"_valid":null,"_nfolds":-1,"_keep_cross_validation_predictions":falsSTRING
HIGHscripts/addjavamessage2ignore.py36"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stSTRING
HIGHscripts/addjavamessage2ignore.py37"_stopping_tolerance":0.001,"_response_column":"cylinders","_balance_classes":false,"_max_after_balance_size":5.0,"_clasSTRING
HIGHscripts/addjavamessage2ignore.py38"_max_confusion_matrix_size":20,"_checkpoint":null,"_ntrees":5,"_max_depth":5,"_min_rows":10.0,"_nbins":20,"_nbins_cats"STRING
HIGHscripts/addjavamessage2ignore.py55"parameters":{"_train":{"name":"py_3","type":"Key"},"_valid":null,"_nfolds":-1,"_keep_cross_validation_predictions":falsSTRING
HIGHscripts/addjavamessage2ignore.py57"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stSTRING
HIGHscripts/addjavamessage2ignore.py58"_stopping_tolerance":0.001,"_response_column":"cylinders","_balance_classes":false,"_max_after_balance_size":5.0,"_clasSTRING
HIGHscripts/addjavamessage2ignore.py59"_max_confusion_matrix_size":20,"_checkpoint":null,"_ntrees":5,"_max_depth":5,"_min_rows":10.0,"_nbins":20,"_nbins_cats"STRING
HIGHh2o-bindings/bin/gen_java.py431 if (jobs.jobs == null || jobs.jobs.length != 1)CODE
HIGHh2o-bindings/bin/gen_java.py433 } while (jobs != null && jobs.jobs[0].status.equals(\"RUNNING\"));CODE
HIGHh2o-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
MEDIUMh2o-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
CRITICALscripts/addjavamessage2ignore.py29javax.servlet.http.HttpServlet.service(HttpServlet.java:848), org.eclipse.jetty.servlet.ServletHolder.handle(ServletHoldSTRING
CRITICALscripts/addjavamessage2ignore.py50javax.servlet.http.HttpServlet.service(HttpServlet.java:848), org.eclipse.jetty.servlet.ServletHolder.handle(ServletHoldSTRING
CRITICALh2o-test-support/src/main/java/water/TestUtil.java729 org.apache.commons.io.FileUtils.copyInputStreamToFile(stream, tmpFile);CODE
CRITICALh2o-test-support/src/main/java/water/TestUtil.java1845 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 Wrapping182 hits · 207 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
LOWh2o-py/h2o/telemetry.py563 except Exception:CODE
LOWh2o-py/h2o/telemetry.py567 except Exception:CODE
LOWh2o-py/h2o/telemetry.py571 except Exception:CODE
LOWh2o-py/h2o/telemetry.py643 except Exception:CODE
LOWh2o-py/h2o/telemetry.py653 except Exception:CODE
LOWh2o-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.py1167 except Exception:CODE
LOWh2o-py/h2o/telemetry.py1187 except Exception:CODE
LOWh2o-py/h2o/h2o.py60 except Exception:CODE
LOWh2o-py/h2o/h2o.py131 except Exception:CODE
LOWh2o-py/h2o/h2o.py357 except Exception:CODE
LOWh2o-py/h2o/h2o.py522 except Exception:CODE
LOWh2o-py/h2o/h2o.py635 except Exception:CODE
LOWh2o-py/h2o/h2o.py653 except Exception:CODE
LOWh2o-py/h2o/h2o.py1604 except Exception:CODE
LOWh2o-py/h2o/h2o.py1609 except Exception:CODE
LOWh2o-py/h2o/h2o.py1716 except Exception:CODE
LOWh2o-py/h2o/h2o.py1721 except Exception:CODE
LOWh2o-py/h2o/h2o.py1774 except Exception:CODE
LOWh2o-py/h2o/h2o.py1779 except Exception:CODE
LOWh2o-py/h2o/h2o.py1840 except Exception:CODE
LOWh2o-py/h2o/h2o.py1845 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
LOWh2o-py/h2o/backend/connection.py933except Exception as exc:CODE
MEDIUMh2o-py/h2o/automl/_estimator.py19def _h2o_version_safe():CODE
LOWh2o-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
122 more matches not shown…
Deep Nesting237 hits · 187 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.py427CODE
LOWh2o-py/h2o/h2o.py526CODE
LOWh2o-py/h2o/h2o.py895CODE
LOWh2o-py/h2o/h2o.py1430CODE
LOWh2o-py/h2o/h2o.py1548CODE
LOWh2o-py/h2o/h2o.py1667CODE
LOWh2o-py/h2o/h2o.py1725CODE
LOWh2o-py/h2o/h2o.py1798CODE
LOWh2o-py/h2o/h2o.py1945CODE
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 · 72 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.py64CODE
LOWh2o-py/h2o/h2o.py173CODE
LOWh2o-py/h2o/h2o.py427CODE
LOWh2o-py/h2o/h2o.py526CODE
LOWh2o-py/h2o/h2o.py895CODE
LOWh2o-py/h2o/h2o.py1849CODE
LOWh2o-py/h2o/h2o.py1945CODE
LOWh2o-py/h2o/h2o.py2243CODE
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
LOWREADME.md250##### Step 1: Download and install [WinPython](https://winpython.github.io).COMMENT
LOWREADME.md253##### Step 2: Install required Python packages:COMMENT
LOWREADME.md257##### Step 3: Install JDKCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java623 // Step 1: Assign each row to a foldCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java626 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java629 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOWh2o-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
LOWh2o-core/src/main/java/hex/ModelBuilder.java653 // Step 5: Score the CV modelsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java657 // Step 6: Build the main modelCOMMENT
LOWh2o-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
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java110 // Step 2: Determine the interval of legal decimal representations.COMMENT
LOWh2o-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.R468# 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
LOWh2o-core/src/main/java/hex/ModelBuilder.java623 // Step 1: Assign each row to a foldCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java626 // Step 2: Make 2*N binary weight vectorsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java629 // Step 3: Build N train & validation frames; build N ModelBuilders; error check them allCOMMENT
LOWh2o-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
LOWh2o-core/src/main/java/hex/ModelBuilder.java653 // Step 5: Score the CV modelsCOMMENT
LOWh2o-core/src/main/java/hex/ModelBuilder.java657 // Step 6: Build the main modelCOMMENT
LOWh2o-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
LOWh2o-core/src/main/java/water/fvec/RyuDouble.java110 // Step 2: Determine the interval of legal decimal representations.COMMENT
LOWh2o-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.py1027 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
LOWh2o-py/tests/testdir_utils/pyunit_auth.py11 "Digest realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4URrv/xwf94CODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py12 "Basic Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4UCODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py13 "Basic, Negotiatesds realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPECODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py14 "Basic, asdfNegotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPCODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py15 "Basic realm='http-auth@example.org', qop='auth, auth-int', algorithm=Negotiate, nonce='7ypf/xlj9XXwfDPEoM4URrv/CODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py18 valid = {"Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDPEoM4URCODE
LOWh2o-py/tests/testdir_utils/pyunit_auth.py19 "Basic, Negotiate realm='http-auth@example.org', qop='auth, auth-int', algorithm=MD5, nonce='7ypf/xlj9XXwfDCODE
LOWh2o-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.py1952 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