AI Slop Code RIsk Monitor

autogluon/autogluon

Fast and Accurate ML in 3 Lines of Code

29.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for autogluon/autogluon, a Python project with 10,766 GitHub stars. SynthScan examined 221,160 lines of code across 1230 source files, recording 4789 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 29.6 (Elevated pattern signal); it is not an authorship estimate.

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

29.6
Adjusted Signal
29.6
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
10.8K
Stars
Python
Language
221.2K
Lines of Code
1.2K
Files
4.8K
Pattern Hits
2026-10-12
Scan Date
0.27
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 51.0/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 33.3/100 · MEDIUM

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

Agent Over-Engineering Ratio 62.0/100 · HIGH

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

PR Review Velocity Impact 78.3/100 · CRITICAL

Which changes need focused human review? 4789 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 5HIGH 332MEDIUM 136LOW 4316

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

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

Hyper-Verbose Identifiers2520 hits · 2537 pts
SeverityFileLineSnippetContext
LOWcore/tests/conftest.py18def pytest_collection_modifyitems(config, items):CODE
LOWcore/tests/unittests/test_search_space.py26def test_search_space_dot_key():CODE
LOWcore/tests/unittests/test_feature_selection.py46def test_merge_importance_dfs_base(sample_features):CODE
LOWcore/tests/unittests/test_feature_selection.py52def test_merge_importance_dfs_same_model(sample_features, sample_importance_df_1, sample_importance_df_2):CODE
LOWcore/tests/unittests/test_feature_selection.py66def test_merge_importance_dfs_different_model(sample_features, sample_importance_df_1, sample_importance_df_2):CODE
LOWcore/tests/unittests/test_feature_selection.py82def test_merge_importance_dfs_all(sample_features, sample_importance_df_1, sample_importance_df_2):CODE
LOW⚡core/tests/unittests/test_feature_selection.py98def test_sort_features_by_priority_base(sample_features):CODE
LOW⚡core/tests/unittests/test_feature_selection.py106def test_sort_features_by_priority_same_model(sample_features):CODE
LOW⚡core/tests/unittests/test_feature_selection.py115def test_sort_features_by_priority_different_model(sample_features):CODE
LOWcore/tests/unittests/test_feature_selection.py132def test_sort_features_by_priority_all(sample_features):CODE
LOWcore/tests/unittests/test_parallel_local_folding.py35def _construct_dummy_fold_strategy(num_jobs, model_base_cls=AbstractModel, time_limit=None, num_folds_parallel=8):CODE
LOWcore/tests/unittests/test_parallel_local_folding.py64def _test_resource_allocation_and_time_limit(num_jobs, num_folds_parallel, time_limit):CODE
LOWcore/tests/unittests/test_parallel_local_folding.py94def test_resource_allocation_and_time_limit():CODE
LOWcore/tests/unittests/test_parallel_local_folding.py112def test_dynamic_resource_allocation(resource_cal, mock_get_mem):CODE
LOWcore/tests/unittests/test_global_settings.py37def test_global_settings_default_until_set_and_apply_to_the_registry(monkeypatch):CODE
LOWcore/tests/unittests/test_global_settings.py54def test_global_settings_reject_invalid_values_and_unknown_keys(value):CODE
LOWcore/tests/unittests/test_global_settings.py64def test_global_settings_change_is_logged(caplog):CODE
LOWcore/tests/unittests/test_global_settings.py78def test_global_settings_snapshot_follows_the_model_into_another_process(tmp_path):CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py9def test_local_grid_searcher_categorical():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py61def test_local_grid_searcher_static_params():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py78def test_local_grid_searcher_numeric():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py101def test_local_grid_searcher_numeric_grid_settings():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py131def test_searcher_factory_grid(searcher_name):CODE
LOW…tests/unittests/searcher/test_local_random_searcher.py25def test_local_random_searcher():CODE
LOWcore/tests/unittests/searcher/test_local_searcher.py56 def test_local_searcher_pickle(self):CODE
LOWcore/tests/unittests/metrics/test_metrics_nan.py42def test_nan_prediction_is_not_scored(problem_type, metric, as_pandas):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py147def test_metrics_perfect_binary(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py153def test_metrics_perfect_multiclass(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py162def test_metrics_perfect_raises_binary_single_sample(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py170def test_metrics_perfect_binary_single_sample(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py176def test_metrics_perfect_multiclass_single_sample(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py181def test_metrics_perfect_str_multiclass(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py188def test_metrics_perfect_str_binary(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py199def test_metrics_perfect_proba_raises_str_binary(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py207def test_metrics_perfect_proba_raises_str_multiclass(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py215def test_metrics_perfect_regression(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py221def test_metrics_imperfect_binary(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py226def test_metrics_imperfect_multiclass(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py231def test_metrics_imperfect_regression(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py236def test_metrics_imperfect_str_binary(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py246def test_metrics_imperfect_str_multiclass(metric: str):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py251def _assert_valid_scorer_classifier(scorer: Scorer):CODE
LOW⚡core/tests/unittests/metrics/test_metrics.py261def _assert_valid_scorer_regressor(scorer: Scorer):CODE
LOWcore/tests/unittests/metrics/test_metrics.py289def _assert_perfect_score_single_sample(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py299def _assert_perfect_score_generic(scorer: Scorer, y_true, y_pred, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py313def _assert_perfect_score_str_binary(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py323def _assert_perfect_score_str_multiclass(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py343def _assert_imperfect_score_str_binary(scorer: Scorer, abs_tol: float = 1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py361def _assert_imperfect_score_str_multiclass(scorer: Scorer, abs_tol: float = 1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py379def _assert_imperfect_score_generic(scorer: Scorer, y_true, y_pred, abs_tol: float = 1e-5) -> float:CODE
LOWcore/tests/unittests/metrics/test_metrics.py416def test_rmse_nan_prediction_gives_nan(y_true_type):CODE
LOWcore/tests/unittests/metrics/test_metrics.py448def test_get_metric_raw_callable_fails_fast():CODE
LOWcore/tests/unittests/metrics/test_quantile_metrics.py7def test_invalid_quantile_values_shape_raises():CODE
LOWcore/tests/unittests/metrics/test_quantile_metrics.py18def test_mismatched_target_prediction_length_raises():CODE
LOWcore/tests/unittests/metrics/test_quantile_metrics.py29def test_mismatched_quantiles_raises():CODE
LOWcore/tests/unittests/metrics/test_quantile_metrics.py54def test_multiple_predictions():CODE
LOWcore/tests/unittests/metrics/test_quantile_metrics.py68def test_multiple_predictions_with_weights():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py9def test_confusion_matrix_with_valid_inputs_without_labels_and_weights():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py22def test_confusion_matrix_with_valid_inputs_with_labels_and_without_weights():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py36def test_confusion_matrix_with_valid_inputs_with_labels_and_with_weights():CODE
2460 more matches not shown…
Cross-Language Confusion156 hits · 952 pts
SeverityFileLineSnippetContext
HIGH⚡core/tests/unittests/utils/test_utils.py124 assert X_train.equals(X_train_v2)CODE
HIGH⚡core/tests/unittests/utils/test_utils.py125 assert y_train.equals(y_train_v2)CODE
HIGH⚡core/tests/unittests/utils/test_utils.py126 assert X_test.equals(X_test_v2)CODE
HIGH⚡core/tests/unittests/utils/test_utils.py127 assert y_test.equals(y_test_v2)CODE
HIGH⚡core/tests/unittests/utils/test_utils.py136 assert X_test.equals(X_test_v3.loc[X_test.index])CODE
HIGH⚡core/tests/unittests/utils/test_utils.py137 assert y_test.equals(y_test_v3.loc[y_test.index])CODE
HIGH⚡core/tests/unittests/utils/test_augment_rare_classes.py52 assert out.equals(X)CODE
HIGHcore/tests/unittests/utils/test_augment_rare_classes.py122 assert out.equals(X)CODE
HIGH⚡timeseries/tests/unittests/test_splitter.py21 assert train_fold.static_features.equals(original_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_splitter.py22 assert val_fold.static_features.equals(original_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_splitter.py31 assert train_fold.columns.equals(original_columns)CODE
HIGH⚡timeseries/tests/unittests/test_splitter.py32 assert val_fold.columns.equals(original_columns)CODE
HIGH⚡timeseries/tests/unittests/test_predictor.py2002 assert predictions_index_df.equals(predictor.make_future_data_frame(data))CODE
HIGH⚡timeseries/tests/unittests/test_predictor.py2368 assert predictions_loaded.index.equals(predictions_original.index)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py564 assert read_df.static_features.equals(input_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py571 assert input_df.static_features.equals(copied_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py579 assert input_df.static_features.equals(copied_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py612 assert renamed_df.static_features.equals(input_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py622 assert dfv.static_features.equals(df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py641 assert dfv.static_features.equals(df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py650 assert left.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py651 assert right.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py734 assert ts_df.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py824 assert ts_df.static_features.index.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features.index)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py825 assert ts_df.static_features.columns.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features.columns)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py848 assert df_filled.index.equals(df.index)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py859 assert df_filled.index.equals(df.index)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py870 assert df_filled.index.equals(df.index)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py945 assert df.equals(df_resampled)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py953 assert df.equals(SAMPLE_TS_DATAFRAME)CODE
HIGH⚡timeseries/tests/unittests/test_ts_dataset.py961 assert df_resampled.static_features.equals(df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py595 assert renamed_df.static_features.equals(input_df.static_features)CODE
HIGH⚡timeseries/tests/unittests/test_transforms.py36 assert data.equals(data_original)CODE
HIGH⚡timeseries/tests/unittests/test_transforms.py37 assert not data.equals(data_transformed)CODE
HIGH⚡timeseries/tests/unittests/test_transforms.py174 assert data_orig.equals(data)CODE
HIGH⚡timeseries/tests/unittests/test_transforms.py175 assert known_covariates_orig.equals(known_covariates)CODE
HIGH⚡timeseries/tests/unittests/test_transforms.py176 assert static_features_orig.equals(data.static_features)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py85 assert data.equals(data_orig)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py86 assert data.dtypes.equals(data_orig.dtypes)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py87 assert data.static_features.equals(data_orig.static_features)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py88 assert data.static_features.dtypes.equals(data_orig.static_features.dtypes)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py103 assert known_covariates.equals(known_covariates_orig)CODE
HIGH⚡timeseries/tests/unittests/utils/test_features.py104 assert known_covariates.dtypes.equals(known_covariates_orig.dtypes)CODE
HIGH…series/tests/unittests/models/test_per_step_tabular.py213 assert pred1.equals(pred2)CODE
HIGH⚡timeseries/tests/unittests/models/test_models.py422 assert model_train_data.equals(expected_train_data)CODE
HIGH⚡timeseries/tests/unittests/models/test_models.py423 assert model_val_data.equals(expected_val_data)CODE
HIGH⚡timeseries/tests/unittests/models/test_models.py427 assert model_predict_data.equals(preprocessed_data)CODE
HIGHtimeseries/tests/unittests/models/test_models.py120 assert orig_oof_pred.equals(loaded_oof_pred)CODE
HIGHtimeseries/tests/unittests/models/test_mlforecast.py431 assert predictions.index.equals(model.get_forecast_horizon_index(train_data))CODE
HIGH…eries/tests/unittests/trainer/test_prediction_cache.py82 assert cached_model_preds.equals(preds)CODE
HIGH⚡timeseries/tests/unittests/trainer/test_trainer.py575 assert predictions.equals(mock_predictions)CODE
HIGH⚡timeseries/tests/unittests/trainer/test_trainer.py905 assert last_oof.index.equals(val_data.slice_by_timestep(-3, None).index)CODE
HIGH⚡timeseries/tests/unittests/trainer/test_trainer.py907 assert last_oof.index.equals(train_data.slice_by_timestep(-3, None).index)CODE
HIGHtimeseries/tests/smoketests/test_all_models.py168 assert predictions.index.equals(future_test_data.index)CODE
HIGHtimeseries/tests/smoketests/test_all_models.py243 assert predictions.index.equals(future_test_data.index)CODE
HIGHtimeseries/src/autogluon/timeseries/metrics/abstract.py120 assert data_future.index.equals(predictions.index), "Prediction and data indices do not match."CODE
HIGH…imeseries/models/abstract/abstract_timeseries_model.py679 if not predictions.columns.equals(column_order):CODE
HIGH…gluon/timeseries/models/ensemble/ensemble_selection.py80 assert all(dummy_pred.index.equals(pred[window_idx].index) for pred in predictions)CODE
HIGH…gluon/timeseries/models/ensemble/ensemble_selection.py81 assert all(dummy_pred.columns.equals(pred[window_idx].columns) for pred in predictions)CODE
HIGH⚡tabular/tests/unittests/test_tabular.py405 assert oof_pred_proba.equals(oof_pred_proba_refit)CODE
96 more matches not shown…
Unused Imports862 hits · 796 pts
SeverityFileLineSnippetContext
LOWcore/tests/unittests/test_feature_selection.py4CODE
LOWcore/tests/unittests/test_feature_selection.py6CODE
LOWcore/tests/unittests/test_parallel_local_folding.py9CODE
LOWcore/tests/unittests/test_parallel_local_folding.py12CODE
LOWcore/tests/unittests/test_global_settings.py3CODE
LOWcore/tests/unittests/models/test_parallel_fold_vram.py3CODE
LOW…tests/unittests/models/test_shared_weights_registry.py8CODE
LOW…unittests/models/abstract_model/test_class_settings.py3CODE
LOW…tests/unittests/calibrate/test_logistic_calibration.py1CODE
LOWcore/tests/unittests/hpo/test_ray_hpo.py11CODE
LOWcore/tests/unittests/hpo/test_ray_hpo.py11CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/constants.py4CODE
LOWcore/src/autogluon/core/__init__.py2CODE
LOWcore/src/autogluon/core/__init__.py5CODE
LOWcore/src/autogluon/core/__init__.py5CODE
LOWcore/src/autogluon/core/__init__.py6CODE
LOWcore/src/autogluon/core/global_settings.py15CODE
LOWcore/src/autogluon/core/searcher/__init__.py1CODE
LOWcore/src/autogluon/core/searcher/__init__.py2CODE
LOWcore/src/autogluon/core/searcher/__init__.py3CODE
LOWcore/src/autogluon/core/searcher/__init__.py4CODE
LOWcore/src/autogluon/core/metrics/score_func.py1CODE
LOWcore/src/autogluon/core/metrics/score_func.py10CODE
LOWcore/src/autogluon/core/metrics/__init__.py1CODE
LOWcore/src/autogluon/core/metrics/__init__.py19CODE
LOWcore/src/autogluon/core/metrics/__init__.py20CODE
LOWcore/src/autogluon/core/metrics/__init__.py13CODE
LOWcore/src/autogluon/core/metrics/__init__.py15CODE
LOWcore/src/autogluon/core/callbacks/_abstract_callback.py1CODE
LOW…c/autogluon/core/callbacks/_early_stopping_callback.py1CODE
LOWcore/src/autogluon/core/callbacks/_smooth_count.py1CODE
LOW…on/core/callbacks/_early_stopping_ensemble_callback.py1CODE
LOWcore/src/autogluon/core/callbacks/__init__.py1CODE
LOWcore/src/autogluon/core/callbacks/__init__.py2CODE
LOWcore/src/autogluon/core/callbacks/__init__.py3CODE
LOWcore/src/autogluon/core/callbacks/__init__.py4CODE
LOWcore/src/autogluon/core/callbacks/__init__.py5CODE
LOW…gluon/core/callbacks/_early_stopping_count_callback.py1CODE
LOWcore/src/autogluon/core/callbacks/_example_callback.py1CODE
LOWcore/src/autogluon/core/scheduler/__init__.py2CODE
LOWcore/src/autogluon/core/utils/feature_selection.py1CODE
LOWcore/src/autogluon/core/utils/feature_selection.py8CODE
LOWcore/src/autogluon/core/utils/__init__.py1CODE
LOWcore/src/autogluon/core/utils/__init__.py1CODE
LOWcore/src/autogluon/core/utils/__init__.py2CODE
LOWcore/src/autogluon/core/utils/__init__.py3CODE
LOWcore/src/autogluon/core/utils/__init__.py4CODE
LOWcore/src/autogluon/core/utils/plots.py199CODE
LOWcore/src/autogluon/core/utils/utils.py1CODE
LOWcore/src/autogluon/core/utils/exceptions.py1CODE
LOWcore/src/autogluon/core/utils/early_stopping.py1CODE
LOWcore/src/autogluon/core/utils/model_graph.py1CODE
LOWcore/src/autogluon/core/utils/savers/__init__.py1CODE
802 more matches not shown…
Cross-File Repetition97 hits · 485 pts
SeverityFileLineSnippetContext
HIGH…e/src/autogluon/core/models/abstract/abstract_model.py0loads the model from disk to memory. the loaded model will be on the same device it was trained on (cuda/mps); if the deSTRING
HIGH…ogluon/tabular/models/abstract/abstract_torch_model.py0loads the model from disk to memory. the loaded model will be on the same device it was trained on (cuda/mps); if the deSTRING
HIGH…on/tabular/models/tabular_nn/torch/tabular_nn_torch.py0loads the model from disk to memory. the loaded model will be on the same device it was trained on (cuda/mps); if the deSTRING
HIGHtabular/src/autogluon/tabular/models/nori/nori_model.py0set fold_fitting_strategy to sequential_local, as parallel folding crashes if model weights aren't pre-downloaded.STRING
HIGH…ular/src/autogluon/tabular/models/tabfm/tabfm_model.py0set fold_fitting_strategy to sequential_local, as parallel folding crashes if model weights aren't pre-downloaded.STRING
HIGH…/src/autogluon/tabular/models/causilo/causilo_model.py0set fold_fitting_strategy to sequential_local, as parallel folding crashes if model weights aren't pre-downloaded.STRING
HIGH…ar/src/autogluon/tabular/models/tabicl/tabicl_model.py0set fold_fitting_strategy to sequential_local, as parallel folding crashes if model weights aren't pre-downloaded.STRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_5_model.py0set fold_fitting_strategy to sequential_local, as parallel folding crashes if model weights aren't pre-downloaded.STRING
HIGH…r/src/autogluon/tabular/models/knn/knn_rapids_model.py0rapids linear model : https://rapids.ai/start.html note: this code is experimental, it is recommend to not use this unleSTRING
HIGH…lar/src/autogluon/tabular/models/rf/rf_rapids_model.py0rapids linear model : https://rapids.ai/start.html note: this code is experimental, it is recommend to not use this unleSTRING
HIGH…lar/src/autogluon/tabular/models/lr/lr_rapids_model.py0rapids linear model : https://rapids.ai/start.html note: this code is experimental, it is recommend to not use this unleSTRING
HIGH…ular/src/autogluon/tabular/models/rf/compilers/onnx.py0compile the trained model for faster inference. parameters ---------- model the native model that is expected to be compSTRING
HIGH…ar/src/autogluon/tabular/models/rf/compilers/native.py0compile the trained model for faster inference. parameters ---------- model the native model that is expected to be compSTRING
HIGH…utogluon/tabular/models/tabular_nn/compilers/native.py0compile the trained model for faster inference. parameters ---------- model the native model that is expected to be compSTRING
HIGH…src/autogluon/tabular/models/tabpfnv2/tabpfn3_model.py0we found that the validation score is misleading for tabpfn, when one uses a different random state for the refit model STRING
HIGH…c/autogluon/tabular/models/tabpfnv2/tabpfn3_5_model.py0we found that the validation score is misleading for tabpfn, when one uses a different random state for the refit model STRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_6_model.py0we found that the validation score is misleading for tabpfn, when one uses a different random state for the refit model STRING
HIGH…src/autogluon/tabular/models/tabpfnv2/tabpfn3_model.py0the list of checkpoints to use for hyperparameter tuning.STRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_5_model.py0the list of checkpoints to use for hyperparameter tuning.STRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_6_model.py0the list of checkpoints to use for hyperparameter tuning.STRING
HIGH…c/autogluon/tabular/models/tabpfnv2/tabpfn3_5_model.py0the list of checkpoints to use for hyperparameter tuning.STRING
HIGHmultimodal/src/autogluon/multimodal/predictor.py0the original name of the class labels. for example, the tabular data may contain classes equal to "entailment", "contradSTRING
HIGH…ltimodal/src/autogluon/multimodal/learners/matching.py0the original name of the class labels. for example, the tabular data may contain classes equal to "entailment", "contradSTRING
HIGHmultimodal/src/autogluon/multimodal/learners/base.py0the original name of the class labels. for example, the tabular data may contain classes equal to "entailment", "contradSTRING
HIGHmultimodal/src/autogluon/multimodal/predictor.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGH…ltimodal/src/autogluon/multimodal/learners/matching.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGH…autogluon/multimodal/learners/semantic_segmentation.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGHmultimodal/src/autogluon/multimodal/learners/ner.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGH…odal/src/autogluon/multimodal/learners/few_shot_svm.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGHmultimodal/src/autogluon/multimodal/learners/base.py0predict probabilities class probabilities rather than class labels. this is only for the classification. calling it for STRING
HIGHmultimodal/src/autogluon/multimodal/predictor.py0save this learner to file in directory specified by `path`. parameters ---------- path the directory to save this learneSTRING
HIGH…ltimodal/src/autogluon/multimodal/learners/matching.py0save this learner to file in directory specified by `path`. parameters ---------- path the directory to save this learneSTRING
HIGHmultimodal/src/autogluon/multimodal/learners/base.py0save this learner to file in directory specified by `path`. parameters ---------- path the directory to save this learneSTRING
HIGH…dal/src/autogluon/multimodal/optim/lit_semantic_seg.py0control the loops for training, evaluation, and prediction. this module is independent of the model definition. this claSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_module.py0control the loops for training, evaluation, and prediction. this module is independent of the model definition. this claSTRING
HIGH…ltimodal/src/autogluon/multimodal/optim/lit_matcher.py0control the loops for training, evaluation, and prediction. this module is independent of the model definition. this claSTRING
HIGH…dal/src/autogluon/multimodal/optim/lit_semantic_seg.py0per validation step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_module.py0per validation step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGH…imodal/src/autogluon/multimodal/optim/lit_distiller.py0per validation step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGH…ltimodal/src/autogluon/multimodal/optim/lit_matcher.py0per validation step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_ner.py0per validation step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_mmdet.py0configure optimizer. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_module.py0configure optimizer. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGH…imodal/src/autogluon/multimodal/optim/lit_distiller.py0configure optimizer. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGH…ltimodal/src/autogluon/multimodal/optim/lit_matcher.py0configure optimizer. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/cSTRING
HIGHmultimodal/src/autogluon/multimodal/optim/lit_module.py0per training step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/comSTRING
HIGH…imodal/src/autogluon/multimodal/optim/lit_distiller.py0per training step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/comSTRING
HIGH…ltimodal/src/autogluon/multimodal/optim/lit_matcher.py0per training step. this function is registered by lightningmodule. refer to https://lightning.ai/docs/pytorch/stable/comSTRING
HIGHmultimodal/src/autogluon/multimodal/models/hf_text.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGHmultimodal/src/autogluon/multimodal/models/ner_text.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGH…al/src/autogluon/multimodal/models/meta_transformer.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGHmultimodal/src/autogluon/multimodal/models/t_few.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGHmultimodal/src/autogluon/multimodal/models/sam.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGH…ltimodal/src/autogluon/multimodal/models/timm_image.py0assign an id to each layer. layer ids will be used in layer-wise lr decay. basically, id gradually increases when going STRING
HIGH…odal/src/autogluon/multimodal/models/ft_transformer.py0parameters ---------- batch a dictionary containing the input mini-batch data. we need to use the keys with the model prSTRING
HIGH…rc/autogluon/multimodal/models/document_transformer.py0parameters ---------- batch a dictionary containing the input mini-batch data. we need to use the keys with the model prSTRING
HIGH…dal/src/autogluon/multimodal/models/categorical_mlp.py0parameters ---------- batch a dictionary containing the input mini-batch data. we need to use the keys with the model prSTRING
HIGH…modal/src/autogluon/multimodal/models/numerical_mlp.py0parameters ---------- batch a dictionary containing the input mini-batch data. we need to use the keys with the model prSTRING
HIGHmultimodal/src/autogluon/multimodal/models/clip.py0parameters ---------- batch a dictionary containing the input mini-batch data. we need to use the keys with the model prSTRING
HIGH…odal/src/autogluon/multimodal/models/ft_transformer.py0all layers have the same id 0 since there is no pre-trained models used here. returns ------- a dictionary mapping the lSTRING
37 more matches not shown…
Empty Error Handlers78 hits · 390 pts
SeverityFileLineSnippetContext
HIGH…tests/unittests/metrics/test_classification_metrics.py216except ValueError:CODE
HIGH…e/src/autogluon/core/models/abstract/abstract_model.py1513except ImportError:CODE
HIGH…e/src/autogluon/core/models/abstract/abstract_model.py2866except FileNotFoundError:CODE
HIGH…e/src/autogluon/core/models/abstract/abstract_model.py1534except ImportError:CODE
HIGH…utogluon/core/models/ensemble/bagged_ensemble_model.py1762except FileNotFoundError:CODE
HIGH…utogluon/core/models/ensemble/bagged_ensemble_model.py1771except FileNotFoundError:CODE
HIGH…utogluon/core/models/ensemble/bagged_ensemble_model.py1777except OSError:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py1432except Exception:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py563except ImportError:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py1426except Exception:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py1077except Exception:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py1083except self.ray.exceptions.TaskCancelledError:CODE
HIGH…utogluon/core/models/ensemble/fold_fitting_strategy.py1085except Exception:CODE
HIGHtimeseries/tests/unittests/test_regressor.py146except KeyError:CODE
HIGHtimeseries/tests/unittests/test_regressor.py200except AttributeError:CODE
HIGHtimeseries/tests/unittests/test_predictor.py1228except RuntimeError:CODE
HIGHtimeseries/tests/unittests/test_predictor.py1259except PermissionError:CODE
HIGHtimeseries/tests/unittests/test_predictor.py1280except PermissionError:CODE
HIGHtimeseries/tests/unittests/test_predictor.py1346except RuntimeError:CODE
HIGH…series/tests/unittests/models/test_per_step_tabular.py154except AttributeError:CODE
HIGH…series/tests/unittests/models/test_per_step_tabular.py294except PicklingError:CODE
HIGH…series/tests/unittests/models/test_per_step_tabular.py336except RuntimeError:CODE
HIGHtimeseries/tests/unittests/models/test_models.py101except AssertionError:CODE
HIGHtimeseries/tests/unittests/models/test_models.py248except:CODE
HIGHtimeseries/tests/unittests/models/test_models.py507except RuntimeError:CODE
HIGHtimeseries/tests/unittests/models/test_local.py144except TypeError:CODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py100except TypeError:CODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py120except IndexError: # expected because of mockCODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py151except TypeError:CODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py169except TypeError:CODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py219except TypeError:CODE
HIGHtimeseries/tests/unittests/models/test_gluonts.py261except IsADirectoryError:CODE
HIGHtimeseries/tests/unittests/models/test_mlforecast.py281except TypeError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py157except ValueError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py199except ValueError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py228except ValueError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py250except ValueError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py402except TypeError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py435except AttributeError:CODE
HIGHtimeseries/tests/unittests/models/chronos/test_model.py459except ValueError:CODE
HIGH…series/tests/unittests/models/chronos/test_chronos2.py46except ValueError:CODE
HIGH…series/tests/unittests/models/chronos/test_chronos2.py70except ValueError:CODE
HIGH…series/tests/unittests/models/chronos/test_chronos2.py364except ValueError:CODE
HIGHtimeseries/src/autogluon/timeseries/__init__.py5except ImportError:CODE
HIGHtabular/tests/unittests/test_tabular.py332except:CODE
HIGHtabular/tests/unittests/models/test_tabicl.py43except Exception: # noqa: BLE001 - the mocked estimator cannot actually fitCODE
HIGHtabular/src/autogluon/tabular/__init__.py10except ImportError:CODE
HIGH…autogluon/tabular/models/fastainn/tabular_nn_fastai.py501except CancelFitException:CODE
HIGHtabular/src/autogluon/tabular/models/lr/lr_model.py284except Exception:CODE
HIGH…rc/autogluon/tabular/models/catboost/catboost_model.py220except:CODE
HIGHtabular/src/autogluon/tabular/testing/fit_helper.py325except AssertionError:CODE
HIGH…ular/src/autogluon/tabular/learner/abstract_learner.py1038except ValueError:CODE
HIGH…ular/src/autogluon/tabular/learner/abstract_learner.py1046except ValueError:CODE
HIGHtabular/src/autogluon/tabular/predictor/predictor.py2114except FileNotFoundError:CODE
HIGH…ular/src/autogluon/tabular/trainer/abstract_trainer.py4751except OSError:CODE
HIGH…ular/src/autogluon/tabular/trainer/abstract_trainer.py4756except OSError:CODE
HIGH…ular/src/autogluon/tabular/trainer/abstract_trainer.py4745except FileNotFoundError:CODE
HIGHmultimodal/src/autogluon/multimodal/__init__.py5except ImportError:CODE
HIGHmultimodal/src/autogluon/multimodal/utils/download.py127except OSError:CODE
HIGHmultimodal/src/autogluon/multimodal/utils/download.py96except OSError:CODE
18 more matches not shown…
Decorative Section Separators102 hits · 345 pts
SeverityFileLineSnippetContext
MEDIUM⚡core/tests/unittests/ray/test_parallel_gpu_prototype.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/tests/unittests/ray/test_parallel_gpu_prototype.py121# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/tests/unittests/ray/test_parallel_gpu_prototype.py184# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/tests/unittests/ray/test_parallel_gpu_prototype.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tabular/tests/unittests/test_validation_structure.py1149# ── splitter escape hatch ─────────────────────────────────────────────────────────COMMENT
MEDIUMtabular/tests/unittests/test_validation_structure.py995# ── deprecated `groups` channel ───────────────────────────────────────────────────COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py19# ======================================================================================COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py21# ======================================================================================COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py33# ======================================================================================COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py35# ======================================================================================COMMENT
MEDIUM⚡…ar/src/autogluon/tabular/models/tabm/tabm_reference.py370# ======================================================================================COMMENT
MEDIUM⚡…ar/src/autogluon/tabular/models/tabm/tabm_reference.py372# ======================================================================================COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py415# ======================================================================================COMMENT
MEDIUM…ar/src/autogluon/tabular/models/tabm/tabm_reference.py417# ======================================================================================COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py113 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py114 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py136 # ------------------------------------------COMMENT
MEDIUM⚡…bular/src/autogluon/tabular/configs/presets_configs.py204 # ------------------------------------------COMMENT
MEDIUM⚡…bular/src/autogluon/tabular/configs/presets_configs.py205 # ------------------------------------------COMMENT
MEDIUM⚡…bular/src/autogluon/tabular/configs/presets_configs.py206 # ------------------------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py127 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py129 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py159 # =====================================================COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py161 # =====================================================COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py187 # ---------------------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py189 # ---------------------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py239 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py241 # ------------------------COMMENT
MEDIUM⚡features/src/autogluon/features/generators/cat_int.py222 # ----------------------------------------------------------------------COMMENT
MEDIUM⚡features/src/autogluon/features/generators/cat_int.py224 # ----------------------------------------------------------------------COMMENT
MEDIUM⚡features/src/autogluon/features/generators/cat_int.py231 # --------------------------COMMENT
MEDIUM⚡features/src/autogluon/features/generators/cat_int.py233 # --------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py246 # --------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py248 # --------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py262 # ------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py264 # ------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py282 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py284 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py299 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py301 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py21# ----------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py23# ----------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py179 # ----------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py181 # ----------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py306 # ----------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/groupby.py308 # ----------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py397 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py399 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py405 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py407 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py414 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py416 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py490 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py492 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py497 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py499 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py507 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py509 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py513 # ------------------------------------------------------COMMENT
MEDIUM⚡…togluon/features/generators/arithmetic/preprocessor.py515 # ------------------------------------------------------COMMENT
42 more matches not shown…
Modern Structural Boilerplate302 hits · 302 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/global_settings.py23logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/global_settings.py114__all__ = ["GlobalSettings", "get_global_settings", "set_global_settings"]CODE
LOWcore/src/autogluon/core/problem_type.py5__all__ = ["problem_type_info"]CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py12__all__ = ["LocalGridSearcher"]CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py14logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/searcher/searcher_factory.py4__all__ = ["searcher_factory"]CODE
LOWcore/src/autogluon/core/searcher/local_searcher.py7__all__ = ["LocalSearcher"]CODE
LOWcore/src/autogluon/core/searcher/local_searcher.py9logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/searcher/local_random_searcher.py12__all__ = ["LocalRandomSearcher"]CODE
LOW…e/src/autogluon/core/searcher/local_random_searcher.py14logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/searcher/dummy_searcher.py6__all__ = ["DummySearcher"]CODE
LOWcore/src/autogluon/core/searcher/dummy_searcher.py8logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/metrics/score_func.py12logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/metrics/classification_metrics.py25logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/metrics/quantile_metrics.py7logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/metrics/softclass_metrics.py9logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/augmentation/distill_utils.py14logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/scheduler/seq_scheduler.py13logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/scheduler/reporter.py3logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/scheduler/reporter.py5__all__ = ["FakeReporter"]CODE
LOWcore/src/autogluon/core/scheduler/scheduler_factory.py8logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/utils/time.py7logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/utils/files.py12logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/utils/files.py14__all__ = ["unzip", "download"]CODE
LOWcore/src/autogluon/core/utils/feature_selection.py21logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/utils/plots.py13__all__ = ["plot_performance_vs_trials", "plot_summary_of_models", "plot_tabular_models", "mousover_plot"]CODE
LOWcore/src/autogluon/core/utils/utils.py35logger = logging.getLogger(__name__)CODE
LOW…re/src/autogluon/core/models/abstract/_object_graph.py537__all__ = [CODE
LOWcore/src/autogluon/core/models/abstract/__init__.py7__all__ = [CODE
LOWcore/src/autogluon/core/models/abstract/model_trial.py9logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py76logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2653 def _update_hyperparameters_with_params_trained(hyperparameters: dict, params_trained: dict) -> None:CODE
LOW…rc/autogluon/core/models/abstract/abstract_nn_model.py9logger = logging.getLogger(__name__)CODE
LOW…gluon/core/models/abstract/_shared_weights_registry.py75logger = logging.getLogger(__name__)CODE
LOW…gluon/core/models/abstract/_shared_weights_registry.py270def set_capacity(n: int | None) -> None:CODE
LOW…gluon/core/models/abstract/_shared_weights_registry.py570__all__ = [CODE
LOW…e/src/autogluon/core/models/abstract/shared_weights.py70logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/models/abstract/shared_weights.py825__all__ = [CODE
LOW…ogluon/core/models/ensemble/weighted_ensemble_model.py12logger = logging.getLogger(__name__)CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py39logger = logging.getLogger(__name__)CODE
LOW…togluon/core/models/ensemble/stacker_ensemble_model.py21logger = logging.getLogger(__name__)CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py42logger = logging.getLogger(__name__)CODE
LOW…luon/core/models/greedy_ensemble/ensemble_selection.py15logger = logging.getLogger(__name__)CODE
LOW…dels/greedy_ensemble/greedy_weighted_ensemble_model.py11logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/learner/__init__.py3__all__ = ["AbstractLearner"]CODE
LOWcore/src/autogluon/core/stacked_overfitting/utils.py6logger = logging.getLogger(__name__)CODE
LOW…re/src/autogluon/core/pseudolabeling/pseudolabeling.py8logger = logging.getLogger(__name__)CODE
LOW…re/src/autogluon/core/calibrate/_decision_threshold.py13logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/data/label_cleaner.py11logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/data/cleaner.py7logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/hpo/executors.py25logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/hpo/ray_hpo.py31logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/ray/resources_calculator.py7logger = logging.getLogger(__name__)CODE
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py29logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/trainer/__init__.py3__all__ = ["AbstractTrainer"]CODE
LOWcore/src/autogluon/core/trainer/utils.py4logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/trainer/abstract_trainer.py58 def set_contexts(self, path_context: str) -> None:CODE
LOWcore/src/autogluon/core/trainer/abstract_trainer.py91 def set_model_attribute(self, model: str | ModelTypeT, attribute: str, val: Any) -> None:CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py258 def _setup_log_to_file(self, log_to_file: bool, log_file_path: str | Path) -> None:CODE
LOWtimeseries/src/autogluon/timeseries/splitter.py5__all__ = [CODE
242 more matches not shown…
Deep Nesting317 hits · 292 pts
SeverityFileLineSnippetContext
LOW…tests/unittests/searcher/test_local_random_searcher.py8CODE
LOWcore/tests/unittests/metrics/test_metrics_nan.py19CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py40CODE
LOWcore/src/autogluon/core/searcher/local_searcher.py190CODE
LOW…e/src/autogluon/core/metrics/classification_metrics.py97CODE
LOW…e/src/autogluon/core/metrics/classification_metrics.py284CODE
LOWcore/src/autogluon/core/metrics/__init__.py441CODE
LOWcore/src/autogluon/core/metrics/__init__.py804CODE
LOWcore/src/autogluon/core/metrics/__init__.py240CODE
LOWcore/src/autogluon/core/callbacks/_smooth_count.py60CODE
LOWcore/src/autogluon/core/utils/infer_utils.py8CODE
LOWcore/src/autogluon/core/utils/files.py30CODE
LOWcore/src/autogluon/core/utils/feature_selection.py621CODE
LOWcore/src/autogluon/core/utils/utils.py242CODE
LOWcore/src/autogluon/core/utils/utils.py394CODE
LOWcore/src/autogluon/core/utils/utils.py619CODE
LOWcore/src/autogluon/core/utils/utils.py757CODE
LOWcore/src/autogluon/core/utils/utils.py1028CODE
LOWcore/src/autogluon/core/utils/utils.py1083CODE
LOWcore/src/autogluon/core/utils/model_graph.py151CODE
LOWcore/src/autogluon/core/utils/model_graph.py167CODE
LOW…re/src/autogluon/core/models/abstract/_object_graph.py93CODE
LOW…re/src/autogluon/core/models/abstract/_object_graph.py157CODE
LOW…re/src/autogluon/core/models/abstract/_object_graph.py161CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py455CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1387CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1556CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1844CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2036CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py3689CODE
LOW…rc/autogluon/core/models/abstract/abstract_nn_model.py18CODE
LOW…gluon/core/models/abstract/_shared_weights_registry.py442CODE
LOW…gluon/core/models/abstract/_shared_weights_registry.py501CODE
LOW…e/src/autogluon/core/models/abstract/shared_weights.py254CODE
LOW…e/src/autogluon/core/models/abstract/shared_weights.py501CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1249CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1546CODE
LOW…togluon/core/models/ensemble/stacker_ensemble_model.py160CODE
LOW…togluon/core/models/ensemble/stacker_ensemble_model.py237CODE
LOW…luon/core/models/greedy_ensemble/ensemble_selection.py89CODE
LOW…re/src/autogluon/core/calibrate/_decision_threshold.py18CODE
LOWcore/src/autogluon/core/hpo/executors.py74CODE
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py232CODE
LOW…ries/tests/unittests/trainer/test_ensemble_composer.py393CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py2019CODE
LOWtimeseries/src/autogluon/timeseries/regressor.py232CODE
LOWtimeseries/src/autogluon/timeseries/metrics/__init__.py84CODE
LOW…eries/src/autogluon/timeseries/dataset/ts_dataframe.py123CODE
LOW…eries/src/autogluon/timeseries/dataset/ts_dataframe.py803CODE
LOW…series/src/autogluon/timeseries/utils/datetime/lags.py68CODE
LOW…eries/src/autogluon/timeseries/models/chronos/model.py451CODE
LOW…eries/src/autogluon/timeseries/models/chronos/model.py654CODE
LOW…/autogluon/timeseries/models/toto/_internal/dataset.py145CODE
LOW…timeseries/models/toto/_internal/backbone/attention.py64CODE
LOW…timeseries/models/toto/_internal/backbone/attention.py107CODE
LOW…on/timeseries/models/toto/_internal/backbone/scaler.py14CODE
LOW…dels/toto/_internal/backbone/rotary_embedding_torch.py111CODE
LOW…es/src/autogluon/timeseries/models/gluonts/abstract.py293CODE
LOW…/src/autogluon/timeseries/trainer/ensemble_composer.py168CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py621CODE
257 more matches not shown…
AI Structural Patterns140 hits · 126 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/metrics/__init__.py441CODE
LOWcore/src/autogluon/core/scheduler/scheduler_factory.py21CODE
LOWcore/src/autogluon/core/utils/feature_selection.py169CODE
LOWcore/src/autogluon/core/utils/plots.py166CODE
LOWcore/src/autogluon/core/utils/utils.py757CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1733CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py307CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1013CODE
LOWcore/src/autogluon/core/hpo/ray_hpo.py144CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py151CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py425CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py1349CODE
LOWtimeseries/src/autogluon/timeseries/regressor.py75CODE
LOWtimeseries/src/autogluon/timeseries/learner.py56CODE
LOWtimeseries/src/autogluon/timeseries/learner.py207CODE
LOW…imeseries/models/abstract/abstract_timeseries_model.py79CODE
LOW…imeseries/models/abstract/abstract_timeseries_model.py415CODE
LOW…eries/src/autogluon/timeseries/models/chronos/utils.py133CODE
LOW…eries/src/autogluon/timeseries/models/chronos/utils.py137CODE
LOW…uon/timeseries/models/ensemble/array_based/abstract.py34CODE
LOW…utogluon/timeseries/models/toto/hf_pretrained_model.py14CODE
LOW…meseries/src/autogluon/timeseries/models/toto/model.py62CODE
LOW…dels/toto/_internal/backbone/rotary_embedding_torch.py111CODE
LOW…ies/src/autogluon/timeseries/models/gluonts/dataset.py15CODE
LOW…eseries/src/autogluon/timeseries/models/toto2/model.py77CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py45CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py869CODE
LOW…s/unittests/resource_allocation/test_gpu_assignment.py50CODE
LOWtabular/tests/unittests/data/test_learning_curves.py103CODE
LOW…/autogluon/tabular/experimental/_tabular_classifier.py15CODE
LOW…c/autogluon/tabular/experimental/_tabular_regressor.py14CODE
LOW…autogluon/tabular/models/fastainn/tabular_nn_fastai.py179CODE
LOW…lar/src/autogluon/tabular/models/fastainn/callbacks.py95CODE
LOW…/_internal/models/foundation/foundation_transformer.py163CODE
LOW…/src/autogluon/tabular/models/xgboost/xgboost_model.py104CODE
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py314CODE
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py338CODE
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py672CODE
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py824CODE
LOW…bular/models/tabular_nn/torch/torch_network_modules.py134CODE
LOW…on/tabular/models/tabular_nn/torch/tabular_nn_torch.py183CODE
LOW…n/tabular/models/tabular_nn/utils/data_preprocessor.py58CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py189CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py583CODE
LOWtabular/src/autogluon/tabular/models/lgb/callbacks.py17CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py62CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py246CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py384CODE
LOW…togluon/tabular/models/mitra/_internal/models/tab2d.py716CODE
LOWtabular/src/autogluon/tabular/testing/fit_helper.py162CODE
LOWtabular/src/autogluon/tabular/testing/fit_helper.py490CODE
LOW…bular/src/autogluon/tabular/learner/default_learner.py43CODE
LOW…bular/src/autogluon/tabular/learner/default_learner.py300CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py38CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py310CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py419CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py628CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1063CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1226CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py244CODE
80 more matches not shown…
Excessive Try-Catch Wrapping92 hits · 90 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/scheduler/seq_scheduler.py170 except Exception:CODE
LOWcore/src/autogluon/core/scheduler/seq_scheduler.py295 except Exception as e:CODE
LOWcore/src/autogluon/core/utils/feature_selection.py344 except Exception as e:CODE
LOWcore/src/autogluon/core/models/abstract/model_trial.py51 except Exception as e:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1652 except Exception as err:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2884 except Exception as e:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2942 except Exception:CODE
LOW…e/src/autogluon/core/models/abstract/shared_weights.py296 except Exception:CODE
MEDIUM…utogluon/core/models/ensemble/bagged_ensemble_model.py964def _get_default_fold_fitting_strategy(self):CODE
LOW⚡…utogluon/core/models/ensemble/bagged_ensemble_model.py970 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1689 except Exception as exc:CODE
MEDIUM…utogluon/core/models/ensemble/fold_fitting_strategy.py854def _process_fold_results(self, finished, unfinished, fold_ctx):CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py906 except Exception as e:CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py1077 except Exception:CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py1085 except Exception:CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py1419 except Exception:CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py1426 except Exception:CODE
LOW⚡…utogluon/core/models/ensemble/fold_fitting_strategy.py1432 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py565 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1363 except Exception:CODE
LOWcore/src/autogluon/core/learner/abstract_learner.py140 except Exception as e:CODE
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py264 except Exception as e:CODE
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py303 except Exception as e:CODE
LOWtimeseries/tests/unittests/test_ts_dataset.py667 except Exception as e: # noqaCODE
LOW…eries/src/autogluon/timeseries/dataset/ts_dataframe.py800 except Exception as err: # noqaCODE
LOW…es/src/autogluon/timeseries/models/abstract/tunable.py120 except Exception as e:CODE
LOW…rc/autogluon/timeseries/models/abstract/model_trial.py49 except Exception as err:CODE
LOW…ogluon/timeseries/models/local/abstract_local_model.py200 except Exception:CODE
LOW…ogluon/timeseries/models/autogluon_tabular/per_step.py205 except Exception as e:CODE
LOW…/src/autogluon/timeseries/trainer/ensemble_composer.py290 except Exception as err: # noqaCODE
LOW…s/src/autogluon/timeseries/trainer/prediction_cache.py112 except Exception:CODE
LOW…s/src/autogluon/timeseries/trainer/prediction_cache.py132 except Exception:CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py1174 except Exception:CODE
LOWCI/bench/evaluate.py87 except Exception as e:CODE
LOWCI/bench/evaluate.py242 except Exception as e:CODE
LOWCI/bench/tabular/amlb_user_dir/setup_hf_cache.py52 except Exception as e:CODE
LOWCI/batch/cancel-job.py41 except Exception as e:CODE
LOWCI/hf_mirror/download_hf_models.py54 except Exception as e:CODE
LOWtabular/tests/unittests/test_tabular.py609 except Exception as e:CODE
LOWtabular/tests/unittests/test_tabular.py621 except Exception as e:CODE
LOWtabular/tests/unittests/test_tabular.py642 except Exception as e:CODE
LOWtabular/tests/unittests/test_tabular.py656 except Exception as e:CODE
LOWtabular/tests/unittests/models/test_tabicl.py43 except Exception: # noqa: BLE001 - the mocked estimator cannot actually fitCODE
LOW…s/unittests/resource_allocation/test_gpu_assignment.py208 except Exception:CODE
LOW…ogluon/tabular/models/abstract/abstract_torch_model.py126 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py85 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py284 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py705 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py726 except Exception:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py2320 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py2418 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py4526 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py5885 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py7251 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2382 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2758 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3205 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3651 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py5548 except Exception as exc:CODE
LOWfeatures/src/autogluon/features/generators/astype.py167 except Exception as e:CODE
32 more matches not shown…
Self-Referential Comments14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMcore/src/autogluon/core/augmentation/distill_utils.py121 # Create an empty boolean array of appropriate shapeCOMMENT
MEDIUM…on/timeseries/models/toto/_internal/backbone/scaler.py150 # Create a prefix mask for global statistics computationCOMMENT
MEDIUM…meseries/models/toto/_internal/backbone/transformer.py271 # Create a full causal mask for the new size.COMMENT
MEDIUM…autogluon/tabular/models/fastainn/tabular_nn_fastai.py238 # Creating a new DataFrame is 10x+ faster than assigning results to X[self.cont_columns]COMMENT
MEDIUM…autogluon/tabular/models/fastainn/tabular_nn_fastai.py245 # Creating a new DataFrame via concatenation is faster than editing values in-placeCOMMENT
MEDIUMtabular/src/autogluon/tabular/models/rf/rf_model.py371 # The below code corrects the missing rows to NaN instead of 0.COMMENT
MEDIUM…abular/models/tabular_nn/utils/categorical_encoders.py330 # Create the Tags object with appropriate settingsCOMMENT
MEDIUMmultimodal/src/autogluon/multimodal/utils/load.py125 # Create the signatureCOMMENT
MEDIUM…dal/src/autogluon/multimodal/utils/object_detection.py94 # Create the output lists/dictsCOMMENT
MEDIUMcommon/src/autogluon/common/utils/log_utils.py105 # This function is supposed to be called before any logging from autogluon happensCOMMENT
MEDIUMcommon/src/autogluon/common/loaders/_utils.py283 # Create the signatureCOMMENT
MEDIUMexamples/tabular/example_custom_feature_generator.py70# Create a custom feature generator #COMMENT
MEDIUMexamples/tabular/example_custom_model_tabular.py11# Create a custom model #COMMENT
MEDIUM…/automm/kaggle_pawpularity/kaggle_pawpularity_train.py117 # Create the split information of folds.COMMENT
Hallucination Indicators5 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…rc/autogluon/core/models/abstract/_auxiliary_params.py84 """Kwargs for `autogluon.tabular.features.feature_metadata.FeatureMetadata.get_features()`.STRING
CRITICAL…imeseries/models/abstract/abstract_timeseries_model.py336 For more details, see `autogluon.core.models.abstract.AbstractModel._get_tags()` andSTRING
CRITICAL…eries/src/autogluon/timeseries/models/chronos/model.py680 model_prediction_length = self.model_pipeline.model.config.chronos_config.get("prediction_length")CODE
CRITICALmultimodal/src/autogluon/multimodal/utils/download.py174 s3.meta.client.meta.events.register("choose-signer.s3.*", disable_signing)CODE
CRITICALcommon/src/autogluon/common/loaders/_utils.py146 s3.meta.client.meta.events.register("choose-signer.s3.*", disable_signing)CODE
Over-Commented Block38 hits · 36 pts
SeverityFileLineSnippetContext
LOW…e/src/autogluon/core/metrics/classification_metrics.py161 solution[i, j] = 1COMMENT
LOWcore/src/autogluon/core/models/abstract/_tags.py1_DEFAULT_TAGS = {COMMENT
LOWcore/src/autogluon/core/models/abstract/_tags.py21 # This can be implemented via passing epoch=10 (best epoch) at end of `_fit` by setting (example): `self.params_traCOMMENT
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py341 fit_num_gpus = min(fit_num_gpus, total_num_gpus)COMMENT
LOW…luon/core/models/greedy_ensemble/ensemble_selection.py101 logger.log(15, f"Subsampling to {self.subsample_size} samples to speedup ensemble selection...")COMMENT
LOW…dels/toto/_internal/backbone/rotary_embedding_torch.py1# Source: https://github.com/lucidrains/rotary-embedding-torchCOMMENT
LOWautogluon/src/autogluon/_internal_/__init__.py1# Placeholder to resolve empty packageCOMMENT
LOWtabular/setup.py41 # The CPU-only build. The default `xgboost` wheel depends on `nvidia-nccl-cu12` whileCOMMENT
LOWtabular/tests/unittests/models/test_rf.py41 hyperparameters={RFModel: model_params},COMMENT
LOW…ts/unittests/models/advanced/test_model_random_seed.py21 # # The below is only for full extended tests only for sanity check, not the CICOMMENT
LOW…rc/autogluon/tabular/models/fastainn/imports_helper.py1from fastai.tabular.all import *COMMENT
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py1# The original implementation in this file was based on scikit-garden that comes under the following license.COMMENT
LOWtabular/src/autogluon/tabular/models/rf/rf_quantile.py21# its contributors may be used to endorse or promote productsCOMMENT
LOW…abular/models/tabular_nn/utils/categorical_encoders.py281 Xi[~valid_mask] = self.categories_[i][0]COMMENT
LOW…ar/src/autogluon/tabular/models/tabdpt/tabdpt_model.py21COMMENT
LOW…/src/autogluon/tabular/models/realmlp/realmlp_model.py281 # Re-code every category column to integer codes fixed at fit time, and send unseenCOMMENT
LOW…bular/src/autogluon/tabular/configs/presets_configs.py81 "set_best_to_refit_full": True,COMMENT
LOW…ular/src/autogluon/tabular/configs/pipeline_presets.py21#: 8 # always 8COMMENT
LOW…ular/src/autogluon/tabular/configs/pipeline_presets.py501 # Extra logic to handle cross-validation splits for classificationCOMMENT
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3821 # TODO: figure out a way to avoid calling _add_model in the worker-process to save overhead time.COMMENT
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py4681 eval_metric = self.eval_metric.nameCOMMENT
LOW…rc/autogluon/features/generators/oof_target_encoder.py161 # =====================================================COMMENT
LOW…rc/autogluon/features/generators/oof_target_encoder.py221COMMENT
LOWfeatures/src/autogluon/features/generators/datetime.py41 return dict(required_raw_special_pairs=[(R_DATETIME, None), (None, [S_DATETIME_AS_OBJECT])])COMMENT
LOWmultimodal/src/autogluon/multimodal/optim/deepspeed.py1# Slightly adapted file of lightning.pytorch.strategies.deepspeed to not init deepspeed using lightning's deepspeed infeCOMMENT
LOW…/models/custom_hf_models/modeling_sam_for_conv_lora.py1# coding=utf-8COMMENT
LOW…ultimodal/configs/pretrain/detection/coco_detection.py1# dataset settingsCOMMENT
LOW…ultimodal/configs/pretrain/detection/coco_detection.py81# num_workers=2,COMMENT
LOW…ltimodal/configs/pretrain/detection/default_runtime.py21# set multi-process start method as `fork` to speed up the trainingCOMMENT
LOW…dal/src/autogluon/multimodal/configs/data/default.yaml41 # 2:COMMENT
LOWmultimodal/src/autogluon/multimodal/data/randaug.py161 return imgCOMMENT
LOWcommon/setup.py1#!/usr/bin/env pythonCOMMENT
LOW…tomm/object_detection/quick_start_on_a_tiny_dataset.py61 COMMENT
LOW.github/workflows/continuous_integration.yml61 uses: ./.github/actions/submit-jobCOMMENT
LOW.github/workflows/continuous_integration.yml81 # - name: Configure AWS CredentialsCOMMENT
LOW.github/workflows/continuous_integration.yml101 # /bin/bash ./.github/workflow_scripts/version_diff.shCOMMENT
LOW.github/workflows/continuous_integration.yml201 # steps:COMMENT
LOWrelease_instructions/add_links_to_release_notes.py101 # "v0.7.0.md",COMMENT
AI Slop Vocabulary17 hits · 34 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/learning_curves/plot_curves.py60 # in jupyter environment, simply call function to view graphSTRING
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py227 # Mutate num_cpus user args in worker process or even better just pass num_cpus as fit kwargCOMMENT
MEDIUM…s/src/autogluon/timeseries/transforms/target_scaler.py104 """Applies a robust scaler based on the interquartile range. Less sensitive to outliers compared to other scaler.STRING
MEDIUM⚡tabular/tests/unittests/data/test_learning_curves.py94# This is much faster to run than `get_all_model_problem_metrics`, but isn't fully comprehensiveCOMMENT
MEDIUM…/src/autogluon/tabular/models/xgboost/xgboost_model.py118 # TODO: utilize sample_weight_val in early-stopping if providedCOMMENT
MEDIUM…abular/models/tabular_nn/hyperparameters/parameters.py58 "use_batchnorm": False, # whether or not to utilize batch normalizationCODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py5626 # FIXME: Why use `model.fit_num_cpus_child` when we can use the same values as was passed to `ray` for the pCOMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py97 # Need to refactor passthrough logic to be more nuanced in order to enable thisCOMMENT
MEDIUM…togluon/features/generators/skrub/_squashing_scaler.py92 r"""Perform robust centering and scaling followed by soft clipping.CODE
LOW…ultimodal/configs/pretrain/detection/coco_detection.py6# Method 1: simply set the data root and let the file I/O moduleCOMMENT
MEDIUMcommon/src/autogluon/common/utils/cpu_utils.py48 # 2. Use joblib's robust CPU detectionCOMMENT
LOWexamples/tabular/example_custom_feature_generator.py45# IdentityFeatureGenerator is a 'do-nothing' feature generator if given default arguments. It will simply pass the data COMMENT
LOW⚡examples/tabular/example_custom_feature_generator.py87 # return the output and the new special types of the data. For this generator, we don't add any new special typeCOMMENT
LOW⚡examples/tabular/example_custom_feature_generator.py92 # Because this feature generator is not stateful, we simply add k to all features.COMMENT
LOWexamples/tabular/example_custom_feature_generator.py187# We can even specify our custom generator too (although it needs to do a bit more to actually improve the scores, in moCOMMENT
LOWexamples/automm/text_prediction/run_competition.py180 # we will just use MultiModalPredictor that will train a single model internally.COMMENT
LOWexamples/automm/text_prediction/run_text_prediction.py118 # we will just use MultiModalPredictor that will train a single model internally.COMMENT
Redundant / Tautological Comments19 hits · 27 pts
SeverityFileLineSnippetContext
LOWfull_install.sh10# Check if we're in ColabCOMMENT
LOWcore/src/autogluon/core/searcher/searcher_factory.py56 # Check if searcher_cls is a lambda - evaluate thenCOMMENT
LOWcore/src/autogluon/core/utils/utils.py465 # Set train_size to None to avoid edge-case exceptions with rare classes during stratificationCOMMENT
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py889 # Check if pred_proba is going to take too longCOMMENT
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py539 # Set CUDA_VISIBLE_DEVICES to the assigned GPU IDsCOMMENT
LOW…on/timeseries/models/toto/_internal/backbone/scaler.py94 # Check if deterministic algorithms are enabled and we're using CUDA.COMMENT
LOW…/autogluon/tabular/experimental/_tabular_classifier.py63 # Check if fit has been calledCOMMENT
LOW…c/autogluon/tabular/experimental/_tabular_regressor.py53 # Check if fit has been calledCOMMENT
LOW…lar/src/autogluon/tabular/models/lr/lr_rapids_model.py49 if hasattr(X, "toarray"): # Check if it's a sparse matrixCODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2264 # Check if already compiled, or if can't compile due to missing dependencies,COMMENT
LOW…src/autogluon/tabular/trainer/model_presets/presets.py136 # Check if model_cfg is validCOMMENT
LOW…src/autogluon/tabular/trainer/model_presets/presets.py261# Check if model is validCOMMENT
LOW…rc/autogluon/features/generators/oof_target_encoder.py280 # Assign encodings to OOF for this foldCOMMENT
LOW…imodal/tests/unittests/others/test_object_detection.py201 # Check if all differences are within toleranceCOMMENT
LOWmultimodal/tests/unittests/others_2/test_few_shot.py209 # Check if the predictor can be loaded from an offline environment.COMMENT
LOWmultimodal/tests/unittests/predictor/test_predictor.py417 # Check if the predictor can be loaded from an offline environment.COMMENT
LOW…l/src/autogluon/multimodal/models/adaptation_layers.py254 fan_in_fan_out: bool = False, # Set this to True if the layer to replace stores weight like (fan_in, fan_out)CODE
LOW…l/src/autogluon/multimodal/models/adaptation_layers.py643 fan_in_fan_out: bool = False, # Set this to True if the layer to replace stores weight like (fan_in, fan_out)CODE
LOWmultimodal/src/autogluon/multimodal/data/infer_types.py626 # Check if it is document image or not.COMMENT
Modern AI Meta-Vocabulary10 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM⚡core/tests/unittests/ray/test_parallel_gpu_prototype.py112 # CPUs ARE aggregated across the parallel folds the parent orchestrates...COMMENT
MEDIUMcore/tests/unittests/ray/test_parallel_gpu_prototype.py100 parent.model_base = child # bagged: parent orchestrates a separate child modelCODE
MEDIUMdocs/whats_new/v1.5.0.md29predictor.fit(train_data, presets="chronos2") # zero-shot modeCODE
MEDIUMdocs/whats_new/v1.2.0.md63Chronos-Bolt models are not only significantly faster but also more accurate than the original Chronos models. The folloCODE
MEDIUM…autogluon/multimodal/learners/semantic_segmentation.py261 if self._output_shape is None: # for zero-shot evaluation/predictionCODE
MEDIUM…odal/src/autogluon/multimodal/learners/few_shot_svm.py117 self._tuning_data = tuning_data # TODO: use tuning_data in few shot learning?CODE
MEDIUMmultimodal/src/autogluon/multimodal/learners/base.py452 # Determine data scarcity mode, i.e. a few-shot scenarioCOMMENT
MEDIUM…dal/src/autogluon/multimodal/configs/data/default.yaml20 column_features_pooling_mode: "concat" # How to pool multi-column features into one feature vector. Currently only suCODE
MEDIUMmultimodal/src/autogluon/multimodal/data/infer_types.py85 # TODO(?) The following logic will be problematic if the task is few-shot learning.COMMENT
MEDIUMmultimodal/src/autogluon/multimodal/data/infer_types.py729 # For zero-shot inference, label column is unnecessaryCOMMENT
Structural Annotation Overuse11 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡features/src/autogluon/features/generators/cat_int.py316 # Step 1: out-of-range positions (unseen)COMMENT
LOW⚡features/src/autogluon/features/generators/cat_int.py319 # Step 2: in-range but not equal → unseen mismatchCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md12## Step 1: Prerequisites CheckCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md36## Step 2: Setup Working Directory and Fork/Clone ReposCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md51## Step 3: Compute SHA256 HashCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md61## Step 4: Fetch and Analyze DependenciesCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md95## Step 5: Update Each FeedstockCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md147## Step 6: Commit and PushCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md157## Step 7: Create Pull RequestsCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md181## Step 8: Final SummaryCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md204## Step 9: Automated Merge Chain (opt-in)COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHexamples/tabular/example_custom_model_tabular.py14# In this example, we create a custom Naive Bayes model for use in AutoGluonCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/constants.py40# TODO: Add error in AG_ARGS if unknown key presentCOMMENT
LOW…n/timeseries/models/multi_window/multi_window_model.py108 # TODO: implement parallel fitting similar to ParallelLocalFoldFittingStrategy in tabular?COMMENT
LOWtabular/src/autogluon/tabular/predictor/predictor.py94# TODO: consider adding kwarg option for data which has already been preprocessed by feature generator to skip feature gCOMMENT
LOWcommon/src/autogluon/common/loaders/load_s3.py36# TODO: consider using a single parameter supporting wildcards or regex - this will solve all possible use cases for filCOMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡features/src/autogluon/features/generators/cat_int.py316 # Step 1: out-of-range positions (unseen)COMMENT
LOW⚡features/src/autogluon/features/generators/cat_int.py319 # Step 2: in-range but not equal → unseen mismatchCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…eries/src/autogluon/timeseries/models/chronos/utils.py126 dummy_value=np.nan,CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMexamples/tabular/example_advanced_tabular.py2 Note that all settings demonstrated here are just chosen for demonstration purposes (to minimize runtime), and do noSTRING