Repository Analysis

autogluon/autogluon

Fast and Accurate ML in 3 Lines of Code

27.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of autogluon/autogluon, a Python project with 10,623 GitHub stars. SynthScan v2.0 examined 211,032 lines of code across 1191 source files, recording 4398 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 27.5 places this repository in the Moderate AI signal band.

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

27.5
Adjusted Score
27.5
Raw Score
100%
Time Factor
2026-08-28
Last Push
10.6K
Stars
Python
Language
211.0K
Lines of Code
1.2K
Files
4.4K
Pattern Hits
2026-08-29
Scan Date
0.21
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 5HIGH 243MEDIUM 137LOW 4013

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

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

Hyper-Verbose Identifiers2291 hits · 2314 pts
SeverityFileLineSnippetContext
LOWcore/tests/conftest.py16def 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
LOWcore/tests/unittests/test_feature_selection.py98def test_sort_features_by_priority_base(sample_features):CODE
LOWcore/tests/unittests/test_feature_selection.py106def test_sort_features_by_priority_same_model(sample_features):CODE
LOWcore/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
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py5def test_local_grid_searcher_categorical():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py61def test_local_grid_searcher_numeric():CODE
LOW…e/tests/unittests/searcher/test_local_grid_searcher.py84def test_local_grid_searcher_numeric_grid_settings():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.py146def test_metrics_perfect_binary(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py152def test_metrics_perfect_multiclass(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py161def test_metrics_perfect_raises_binary_single_sample(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py169def test_metrics_perfect_binary_single_sample(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py175def test_metrics_perfect_multiclass_single_sample(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py180def test_metrics_perfect_str_multiclass(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py187def test_metrics_perfect_str_binary(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py198def test_metrics_perfect_proba_raises_str_binary(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py206def test_metrics_perfect_proba_raises_str_multiclass(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py214def test_metrics_perfect_regression(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py220def test_metrics_imperfect_binary(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py225def test_metrics_imperfect_multiclass(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py230def test_metrics_imperfect_regression(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py235def test_metrics_imperfect_str_binary(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py245def test_metrics_imperfect_str_multiclass(metric: str):CODE
LOWcore/tests/unittests/metrics/test_metrics.py250def _assert_valid_scorer_classifier(scorer: Scorer):CODE
LOWcore/tests/unittests/metrics/test_metrics.py260def _assert_valid_scorer_regressor(scorer: Scorer):CODE
LOWcore/tests/unittests/metrics/test_metrics.py288def _assert_perfect_score_single_sample(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py298def _assert_perfect_score_generic(scorer: Scorer, y_true, y_pred, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py312def _assert_perfect_score_str_binary(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py322def _assert_perfect_score_str_multiclass(scorer: Scorer, abs_tol=1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py342def _assert_imperfect_score_str_binary(scorer: Scorer, abs_tol: float = 1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py360def _assert_imperfect_score_str_multiclass(scorer: Scorer, abs_tol: float = 1e-5):CODE
LOWcore/tests/unittests/metrics/test_metrics.py378def _assert_imperfect_score_generic(scorer: Scorer, y_true, y_pred, abs_tol: float = 1e-5) -> float: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
LOW…tests/unittests/metrics/test_classification_metrics.py51def test_confusion_matrix_with_valid_inputs_with_lesser_number_of_labels_and_without_weights():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py65def test_confusion_matrix_with_unequal_samples():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py75def test_confusion_matrix_with_multioutput_samples():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py85def test_confusion_matrix_with_empty_labels():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py107def test_confusion_matrix_with_invalid_weights():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py118def test_confusion_matrix_with_empty_inputs():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py164def test_log_loss_single_binary_class():CODE
LOW…tests/unittests/metrics/test_classification_metrics.py178def test_log_loss_with_sklearn(gt, probs):CODE
LOW…tests/unittests/metrics/test_classification_metrics.py191def test_roc_auc_score_with_sklearn():CODE
2231 more matches not shown…
Cross-Language Confusion151 hits · 920 pts
SeverityFileLineSnippetContext
HIGHcore/tests/unittests/utils/test_utils.py124 assert X_train.equals(X_train_v2)CODE
HIGHcore/tests/unittests/utils/test_utils.py125 assert y_train.equals(y_train_v2)CODE
HIGHcore/tests/unittests/utils/test_utils.py126 assert X_test.equals(X_test_v2)CODE
HIGHcore/tests/unittests/utils/test_utils.py127 assert y_test.equals(y_test_v2)CODE
HIGHcore/tests/unittests/utils/test_utils.py136 assert X_test.equals(X_test_v3.loc[X_test.index])CODE
HIGHcore/tests/unittests/utils/test_utils.py137 assert y_test.equals(y_test_v3.loc[y_test.index])CODE
HIGHcore/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
HIGHtimeseries/tests/unittests/test_splitter.py21 assert train_fold.static_features.equals(original_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_splitter.py22 assert val_fold.static_features.equals(original_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_splitter.py31 assert train_fold.columns.equals(original_columns)CODE
HIGHtimeseries/tests/unittests/test_splitter.py32 assert val_fold.columns.equals(original_columns)CODE
HIGHtimeseries/tests/unittests/test_predictor.py2002 assert predictions_index_df.equals(predictor.make_future_data_frame(data))CODE
HIGHtimeseries/tests/unittests/test_predictor.py2368 assert predictions_loaded.index.equals(predictions_original.index)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py564 assert read_df.static_features.equals(input_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py571 assert input_df.static_features.equals(copied_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py579 assert input_df.static_features.equals(copied_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py612 assert renamed_df.static_features.equals(input_df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py622 assert dfv.static_features.equals(df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py641 assert dfv.static_features.equals(df.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py650 assert left.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py651 assert right.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py734 assert ts_df.static_features.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py824 assert ts_df.static_features.index.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features.index)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py825 assert ts_df.static_features.columns.equals(SAMPLE_TS_DATAFRAME_STATIC.static_features.columns)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py848 assert df_filled.index.equals(df.index)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py859 assert df_filled.index.equals(df.index)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py870 assert df_filled.index.equals(df.index)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py945 assert df.equals(df_resampled)CODE
HIGHtimeseries/tests/unittests/test_ts_dataset.py953 assert df.equals(SAMPLE_TS_DATAFRAME)CODE
HIGHtimeseries/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
HIGHtimeseries/tests/unittests/test_transforms.py36 assert data.equals(data_original)CODE
HIGHtimeseries/tests/unittests/test_transforms.py37 assert not data.equals(data_transformed)CODE
HIGHtimeseries/tests/unittests/test_transforms.py174 assert data_orig.equals(data)CODE
HIGHtimeseries/tests/unittests/test_transforms.py175 assert known_covariates_orig.equals(known_covariates)CODE
HIGHtimeseries/tests/unittests/test_transforms.py176 assert static_features_orig.equals(data.static_features)CODE
HIGHtimeseries/tests/unittests/utils/test_features.py85 assert data.equals(data_orig)CODE
HIGHtimeseries/tests/unittests/utils/test_features.py86 assert data.dtypes.equals(data_orig.dtypes)CODE
HIGHtimeseries/tests/unittests/utils/test_features.py87 assert data.static_features.equals(data_orig.static_features)CODE
HIGHtimeseries/tests/unittests/utils/test_features.py88 assert data.static_features.dtypes.equals(data_orig.static_features.dtypes)CODE
HIGHtimeseries/tests/unittests/utils/test_features.py103 assert known_covariates.equals(known_covariates_orig)CODE
HIGHtimeseries/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
HIGHtimeseries/tests/unittests/models/test_models.py422 assert model_train_data.equals(expected_train_data)CODE
HIGHtimeseries/tests/unittests/models/test_models.py423 assert model_val_data.equals(expected_val_data)CODE
HIGHtimeseries/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.py378 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
HIGHtimeseries/tests/unittests/trainer/test_trainer.py575 assert predictions.equals(mock_predictions)CODE
HIGHtimeseries/tests/unittests/trainer/test_trainer.py905 assert last_oof.index.equals(val_data.slice_by_timestep(-3, None).index)CODE
HIGHtimeseries/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
HIGHtabular/tests/unittests/test_tabular.py405 assert oof_pred_proba.equals(oof_pred_proba_refit)CODE
91 more matches not shown…
Unused Imports821 hits · 757 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/models/test_parallel_fold_vram.py3CODE
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/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/savers/__init__.py1CODE
LOWcore/src/autogluon/core/utils/savers/__init__.py1CODE
LOWcore/src/autogluon/core/utils/savers/__init__.py1CODE
LOWcore/src/autogluon/core/utils/savers/__init__.py1CODE
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
761 more matches not shown…
Cross-File Repetition91 hits · 455 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…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.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
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
HIGH…dal/src/autogluon/multimodal/models/categorical_mlp.py0all layers have the same id 0 since there is no pre-trained models used here. returns ------- a dictionary mapping the lSTRING
HIGH…modal/src/autogluon/multimodal/models/numerical_mlp.py0all layers have the same id 0 since there is no pre-trained models used here. returns ------- a dictionary mapping the lSTRING
HIGHmultimodal/src/autogluon/multimodal/models/augmenter.py0all layers have the same id 0 since there is no pre-trained models used here. returns ------- a dictionary mapping the lSTRING
HIGH…togluon/multimodal/models/fusion/fusion_transformer.py0use mlp to fuse different models' features (single-modal and multimodal). specifically, it adapts the features of each mSTRING
HIGH…l/src/autogluon/multimodal/models/fusion/fusion_ner.py0use mlp to fuse different models' features (single-modal and multimodal). specifically, it adapts the features of each mSTRING
HIGH…l/src/autogluon/multimodal/models/fusion/fusion_mlp.py0use mlp to fuse different models' features (single-modal and multimodal). specifically, it adapts the features of each mSTRING
31 more matches not shown…
Decorative Section Separators102 hits · 345 pts
SeverityFileLineSnippetContext
MEDIUMcore/tests/unittests/ray/test_parallel_gpu_prototype.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/tests/unittests/ray/test_parallel_gpu_prototype.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/tests/unittests/ray/test_parallel_gpu_prototype.py184# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/tests/unittests/ray/test_parallel_gpu_prototype.py186# ---------------------------------------------------------------------------COMMENT
MEDIUMtabular/tests/unittests/test_validation_structure.py1164# ── splitter escape hatch ─────────────────────────────────────────────────────────COMMENT
MEDIUMtabular/tests/unittests/test_validation_structure.py1010# ── 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.py122 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py124 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py154 # =====================================================COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py156 # =====================================================COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py168 # ---------------------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py170 # ---------------------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py220 # ------------------------COMMENT
MEDIUM…rc/autogluon/features/generators/oof_target_encoder.py222 # ------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py222 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py224 # ----------------------------------------------------------------------COMMENT
MEDIUMfeatures/src/autogluon/features/generators/cat_int.py231 # --------------------------COMMENT
MEDIUMfeatures/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 Boilerplate289 hits · 288 pts
SeverityFileLineSnippetContext
LOWcore/src/autogluon/core/problem_type.py5__all__ = ["problem_type_info"]CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py11__all__ = ["LocalGridSearcher"]CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py13logger = 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
LOWcore/src/autogluon/core/models/abstract/model_trial.py9logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py74logger = logging.getLogger(__name__)CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2447 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…ogluon/core/models/ensemble/weighted_ensemble_model.py12logger = logging.getLogger(__name__)CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py38logger = 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.py43logger = 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.py26logger = 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.py59 def set_contexts(self, path_context: str) -> None:CODE
LOWcore/src/autogluon/core/trainer/abstract_trainer.py92 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
LOWtimeseries/src/autogluon/timeseries/__init__.py14__all__ = ["TimeSeriesDataFrame", "TimeSeriesPredictor"]CODE
LOWtimeseries/src/autogluon/timeseries/regressor.py13logger = logging.getLogger(__name__)CODE
LOWtimeseries/src/autogluon/timeseries/learner.py17logger = logging.getLogger(__name__)CODE
LOWtimeseries/src/autogluon/timeseries/metrics/__init__.py12__all__ = [CODE
LOWtimeseries/src/autogluon/timeseries/metrics/point.py13logger = logging.getLogger(__name__)CODE
LOWtimeseries/src/autogluon/timeseries/dataset/__init__.py3__all__ = ["TimeSeriesDataFrame"]CODE
LOW…eries/src/autogluon/timeseries/dataset/ts_dataframe.py20logger = logging.getLogger(__name__)CODE
LOW…ries/src/autogluon/timeseries/utils/warning_filters.py13__all__ = ["warning_filter", "disable_root_logger", "disable_tqdm"]CODE
LOWtimeseries/src/autogluon/timeseries/utils/features.py20logger = logging.getLogger(__name__)CODE
229 more matches not shown…
Deep Nesting303 hits · 278 pts
SeverityFileLineSnippetContext
LOW…tests/unittests/searcher/test_local_random_searcher.py8CODE
LOWcore/src/autogluon/core/searcher/local_grid_searcher.py39CODE
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__.py801CODE
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
LOW…e/src/autogluon/core/models/abstract/abstract_model.py358CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1276CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1433CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1688CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1872CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py3467CODE
LOW…rc/autogluon/core/models/abstract/abstract_nn_model.py18CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1151CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1432CODE
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.py75CODE
LOW…re/src/autogluon/core/ray/distributed_jobs_managers.py232CODE
LOW…ries/tests/unittests/trainer/test_ensemble_composer.py394CODE
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.py622CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py870CODE
LOW…/src/autogluon/timeseries/trainer/model_set_builder.py54CODE
LOW…/src/autogluon/timeseries/trainer/model_set_builder.py230CODE
LOWCI/bench/evaluate.py9CODE
LOWCI/bench/evaluate.py91CODE
LOWCI/batch/submit-job.py122CODE
LOWtabular/tests/unittests/test_tabular.py48CODE
LOWtabular/tests/unittests/test_tabular.py72CODE
LOWtabular/tests/unittests/test_tabular.py557CODE
LOW…bular/tests/unittests/models/test_tabular_nn_fastai.py78CODE
243 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.py1610CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py294CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py924CODE
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.py46CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py870CODE
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.py698CODE
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.py299CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py38CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py305CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py414CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py623CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1058CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1221CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py227CODE
80 more matches not shown…
Excessive Try-Catch Wrapping90 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.py1529 except Exception as err:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2680 except Exception as e:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2738 except Exception:CODE
MEDIUM…utogluon/core/models/ensemble/bagged_ensemble_model.py880def _get_default_fold_fitting_strategy(self):CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py886 except Exception as e:CODE
MEDIUM…utogluon/core/models/ensemble/fold_fitting_strategy.py835def _process_fold_results(self, finished, unfinished, fold_ctx):CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py892 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1063 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1071 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1429 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1436 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1442 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py551 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1373 except Exception:CODE
LOWcore/src/autogluon/core/learner/abstract_learner.py131 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.py1175 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.py68 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py75 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py270 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.py2256 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py2354 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py4447 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py5801 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py7096 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2694 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3135 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3581 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py5433 except Exception as exc:CODE
LOWfeatures/src/autogluon/features/generators/astype.py165 except Exception as e:CODE
LOWfeatures/src/autogluon/features/generators/astype.py187 except Exception as e:CODE
LOW…atures/src/autogluon/features/generators/text_ngram.py121 except Exception:CODE
LOW…atures/src/autogluon/features/generators/text_ngram.py189 except Exception as err:CODE
30 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 Block36 hits · 34 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.py341COMMENT
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 "xgboost": [COMMENT
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.py261 X[self._features_bool] = X[self._features_bool].astype("category")COMMENT
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
LOWtabular/src/autogluon/tabular/predictor/predictor.py1621COMMENT
LOWtabular/src/autogluon/tabular/predictor/predictor.py1901 y = X[self.label]COMMENT
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
MEDIUMtabular/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.py5504 # 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
LOWexamples/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
LOWexamples/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.py55 # 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.py805 # Check if pred_proba is going to take too longCOMMENT
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py525 # 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.py52 if hasattr(X, "toarray"): # Check if it's a sparse matrixCODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2226 # 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.py261 # 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
MEDIUMcore/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 Overuse10 hits · 16 pts
SeverityFileLineSnippetContext
LOWfeatures/src/autogluon/features/generators/cat_int.py316 # Step 1: out-of-range positions (unseen)COMMENT
LOWfeatures/src/autogluon/features/generators/cat_int.py319 # Step 2: in-range but not equal → unseen mismatchCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md10## Step 1: Prerequisites CheckCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md34## Step 2: Setup Working Directory and Fork/Clone ReposCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md49## Step 3: Compute SHA256 HashCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md59## Step 4: Fetch and Analyze DependenciesCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md93## Step 5: Update Each FeedstockCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md145## Step 6: Commit and PushCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md155## Step 7: Create Pull RequestsCOMMENT
LOWrelease_instructions/autogluon-conda-upgrade/SKILL.md179## Step 8: Final SummaryCOMMENT
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.py92# 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
LOWfeatures/src/autogluon/features/generators/cat_int.py316 # Step 1: out-of-range positions (unseen)COMMENT
LOWfeatures/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