Repository Analysis

autogluon/autogluon

Fast and Accurate ML in 3 Lines of Code

27.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of autogluon/autogluon, a Python project with 10,532 GitHub stars. SynthScan v2.0 examined 196,237 lines of code across 1141 source files, recording 3971 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 27.4 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.4
Adjusted Score
27.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.5K
Stars
Python
Language
196.2K
Lines of Code
1.1K
Files
4.0K
Pattern Hits
2026-07-14
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 5HIGH 237MEDIUM 131LOW 3598

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 3971 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 Identifiers1950 hits · 1984 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
1890 more matches not shown…
Cross-Language Confusion148 hits · 898 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.py1880 assert predictions_index_df.equals(predictor.make_future_data_frame(data))CODE
HIGHtimeseries/tests/unittests/test_predictor.py2212 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.py377 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.py883 assert last_oof.index.equals(val_data.slice_by_timestep(-3, None).index)CODE
HIGHtimeseries/tests/unittests/trainer/test_trainer.py885 assert last_oof.index.equals(train_data.slice_by_timestep(-3, None).index)CODE
HIGHtimeseries/tests/unittests/trainer/test_trainer.py573 assert predictions.equals(mock_predictions)CODE
HIGHtimeseries/tests/smoketests/test_all_models.py172 assert predictions.index.equals(future_test_data.index)CODE
HIGHtimeseries/tests/smoketests/test_all_models.py248 assert predictions.index.equals(future_test_data.index)CODE
HIGHtimeseries/src/autogluon/timeseries/metrics/abstract.py114 assert data_future.index.equals(predictions.index), "Prediction and data indices do not match."CODE
HIGH…imeseries/models/abstract/abstract_timeseries_model.py628 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
88 more matches not shown…
Unused Imports778 hits · 717 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/hpo/test_ray_hpo.py11CODE
LOWcore/tests/unittests/hpo/test_ray_hpo.py11CODE
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/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
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
LOWcore/src/autogluon/core/utils/loaders/__init__.py1CODE
LOWcore/src/autogluon/core/models/__init__.py1CODE
LOWcore/src/autogluon/core/models/__init__.py1CODE
LOWcore/src/autogluon/core/models/__init__.py1CODE
LOWcore/src/autogluon/core/models/__init__.py2CODE
LOWcore/src/autogluon/core/models/__init__.py3CODE
LOWcore/src/autogluon/core/models/__init__.py4CODE
LOWcore/src/autogluon/core/models/__init__.py5CODE
718 more matches not shown…
Cross-File Repetition88 hits · 440 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
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…ar/src/autogluon/tabular/models/tabdpt/tabdpt_model.py0heuristic memory estimate based on tabpfn's memory estimate logic in: https://github.com/priorlabs/tabpfn/blob/57a2efd3eSTRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_5_model.py0heuristic memory estimate based on tabpfn's memory estimate logic in: https://github.com/priorlabs/tabpfn/blob/57a2efd3eSTRING
HIGH…/autogluon/tabular/models/tabpfnv2/tabpfnv2_6_model.py0heuristic memory estimate based on tabpfn's memory estimate logic in: https://github.com/priorlabs/tabpfn/blob/57a2efd3eSTRING
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
HIGH…autogluon/multimodal/learners/semantic_segmentation.py0evaluate model on a test dataset. parameters ---------- data a dataframe, containing the same columns as the training daSTRING
HIGH…odal/src/autogluon/multimodal/learners/few_shot_svm.py0evaluate model on a test dataset. parameters ---------- data a dataframe, containing the same columns as the training daSTRING
HIGHmultimodal/src/autogluon/multimodal/learners/ner.py0evaluate model on a test dataset. parameters ---------- data a dataframe, containing the same columns as the training daSTRING
28 more matches not shown…
Decorative Section Separators96 hits · 326 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
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.py94 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py95 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py117 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py175 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py176 # ------------------------------------------COMMENT
MEDIUM…bular/src/autogluon/tabular/configs/presets_configs.py177 # ------------------------------------------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
MEDIUM…togluon/features/generators/arithmetic/preprocessor.py430 # ------------------------------------------------------COMMENT
MEDIUM…togluon/features/generators/arithmetic/preprocessor.py432 # ------------------------------------------------------COMMENT
36 more matches not shown…
Modern Structural Boilerplate277 hits · 277 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.py24logger = 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.py10logger = logging.getLogger(__name__)CODE
LOWcore/src/autogluon/core/utils/files.py12__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.py66logger = logging.getLogger(__name__)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.py240 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.py16logger = 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
LOWtimeseries/src/autogluon/timeseries/models/__init__.py33__all__ = [CODE
217 more matches not shown…
Deep Nesting296 hits · 272 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.py87CODE
LOW…e/src/autogluon/core/metrics/classification_metrics.py274CODE
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.py28CODE
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.py323CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1186CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1522CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py1684CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py3083CODE
LOW…rc/autogluon/core/models/abstract/abstract_nn_model.py18CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1045CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py1326CODE
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.py229CODE
LOW…series/tests/unittests/models/chronos/test_chronos2.py289CODE
LOW…ries/tests/unittests/trainer/test_ensemble_composer.py394CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py1898CODE
LOWtimeseries/src/autogluon/timeseries/regressor.py232CODE
LOWtimeseries/src/autogluon/timeseries/metrics/__init__.py73CODE
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.py443CODE
LOW…eries/src/autogluon/timeseries/models/chronos/model.py652CODE
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.py292CODE
LOW…/src/autogluon/timeseries/trainer/ensemble_composer.py168CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py613CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py844CODE
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
236 more matches not shown…
AI Structural Patterns136 hits · 122 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.py1444CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py244CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py823CODE
LOWcore/src/autogluon/core/hpo/ray_hpo.py144CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py146CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py407CODE
LOWtimeseries/src/autogluon/timeseries/predictor.py1316CODE
LOWtimeseries/src/autogluon/timeseries/regressor.py75CODE
LOWtimeseries/src/autogluon/timeseries/learner.py55CODE
LOWtimeseries/src/autogluon/timeseries/learner.py206CODE
LOW…imeseries/models/abstract/abstract_timeseries_model.py76CODE
LOW…imeseries/models/abstract/abstract_timeseries_model.py398CODE
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…utogluon/timeseries/models/toto/hf_pretrained_model.py151CODE
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
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py46CODE
LOWtimeseries/src/autogluon/timeseries/trainer/trainer.py844CODE
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.py170CODE
LOW…lar/src/autogluon/tabular/models/fastainn/callbacks.py95CODE
LOW…/_internal/models/foundation/foundation_transformer.py163CODE
LOW…/src/autogluon/tabular/models/xgboost/xgboost_model.py103CODE
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.py184CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py187CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py581CODE
LOWtabular/src/autogluon/tabular/models/lgb/callbacks.py17CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py64CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py261CODE
LOW…rc/autogluon/tabular/models/mitra/sklearn_interface.py401CODE
LOW…togluon/tabular/models/mitra/_internal/models/tab2d.py687CODE
LOWtabular/src/autogluon/tabular/testing/fit_helper.py161CODE
LOWtabular/src/autogluon/tabular/testing/fit_helper.py417CODE
LOW…bular/src/autogluon/tabular/learner/default_learner.py43CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py38CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py574CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1009CODE
LOW…ular/src/autogluon/tabular/learner/abstract_learner.py1172CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py201CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py424CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py1854CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py2025CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py2916CODE
76 more matches not shown…
Excessive Try-Catch Wrapping87 hits · 88 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.py2472 except Exception as e:CODE
LOW…e/src/autogluon/core/models/abstract/abstract_model.py2530 except Exception:CODE
MEDIUM…utogluon/core/models/ensemble/bagged_ensemble_model.py779def _get_default_fold_fitting_strategy(self):CODE
LOW…utogluon/core/models/ensemble/bagged_ensemble_model.py785 except Exception as e:CODE
MEDIUM…utogluon/core/models/ensemble/fold_fitting_strategy.py705def _process_fold_results(self, finished, unfinished, fold_ctx):CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py762 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py907 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py915 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1270 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1277 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1283 except Exception:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py488 except Exception as e:CODE
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py1214 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.py262 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.py1149 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
LOW…s/unittests/resource_allocation/test_gpu_assignment.py208 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py69 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lr/lr_model.py264 except Exception:CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py711 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/models/lgb/lgb_model.py732 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py1745 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py1843 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py3888 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py5231 except Exception as e:CODE
LOWtabular/src/autogluon/tabular/predictor/predictor.py6268 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2410 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py2851 except Exception as exc:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py3297 except Exception as e:CODE
LOW…ular/src/autogluon/tabular/trainer/abstract_trainer.py5109 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
LOW…al/src/autogluon/multimodal/optim/losses/focal_loss.py59 except Exception:CODE
LOWmultimodal/src/autogluon/multimodal/utils/misc.py123 except Exception as exp:CODE
LOWmultimodal/src/autogluon/multimodal/utils/download.py263 except Exception as e:CODE
27 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICAL…e/src/autogluon/core/models/abstract/abstract_model.py535 # Kwargs for `autogluon.tabular.features.feature_metadata.FeatureMetadata.get_features()`.COMMENT
CRITICAL…imeseries/models/abstract/abstract_timeseries_model.py319 For more details, see `autogluon.core.models.abstract.AbstractModel._get_tags()` andSTRING
CRITICAL…eries/src/autogluon/timeseries/models/chronos/model.py678 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
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.py217 # Creating a new DataFrame is 10x+ faster than assigning results to X[self.cont_columns]COMMENT
MEDIUM…autogluon/tabular/models/fastainn/tabular_nn_fastai.py224 # Creating a new DataFrame via concatenation is faster than editing values in-placeCOMMENT
MEDIUMtabular/src/autogluon/tabular/models/rf/rf_model.py381 # 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.py282 # 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
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.py224 # 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.py117 # 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.py5180 # 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
Over-Commented Block31 hits · 30 pts
SeverityFileLineSnippetContext
LOW…e/src/autogluon/core/metrics/classification_metrics.py161 if (task != "multiclass") or (label_num == 1):COMMENT
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/tests/unittests/models/test_rf.py41COMMENT
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.py21# Train Data Columns: 1776COMMENT
LOW…bular/src/autogluon/tabular/configs/presets_configs.py61 "refit_full": True,COMMENT
LOWtabular/src/autogluon/tabular/predictor/predictor.py4381 verbose : bool, default = TrueCOMMENT
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.yml41 other_than_docs:COMMENT
LOW.github/workflows/continuous_integration.yml61 # auto-update-conda: trueCOMMENT
LOW.github/workflows/continuous_integration.yml81 # echo "Package Versions:" >> ./package_versions_${cur_date}.txtCOMMENT
LOW.github/workflows/continuous_integration.yml181 command: chmod +x ./.github/workflow_scripts/test_tabular.sh && ./.github/workflow_scripts/test_tabular.shCOMMENT
LOWrelease_instructions/add_links_to_release_notes.py101 # "v0.7.0.md",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.py704 # Check if pred_proba is going to take too longCOMMENT
LOW…utogluon/core/models/ensemble/fold_fitting_strategy.py462 # 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.py1998 # 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.py39# TODO: Add error in AG_ARGS if unknown key presentCOMMENT
LOW…n/timeseries/models/multi_window/multi_window_model.py102 # TODO: implement parallel fitting similar to ParallelLocalFoldFittingStrategy in tabular?COMMENT
LOWtabular/src/autogluon/tabular/predictor/predictor.py88# 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