Repository Analysis

pycaret/pycaret

Open-source, low-code AutoML platform for Python. PyCaret 4.0: sklearn-native engine + React control plane.

22.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pycaret/pycaret, a Python project with 9,825 GitHub stars. SynthScan v2.0 examined 142,559 lines of code across 501 source files, recording 1876 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 22.7 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).

22.7
Adjusted Score
22.7
Raw Score
100%
Time Factor
2026-07-11
Last Push
9.8K
Stars
Python
Language
142.6K
Lines of Code
501
Files
1.9K
Pattern Hits
2026-07-14
Scan Date
0.06
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 0HIGH 30MEDIUM 487LOW 1359

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

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

Decorative Section Separators465 hits · 1604 pts
SeverityFileLineSnippetContext
MEDIUMinfra/helm/pycaret/values.yaml18# ─────────────────────── api (FastAPI backend)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml48# ─────────────────────── worker (Phase 1 + Phase 9 handlers)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml66# ─────────────────────── web (React UI)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml84# ─────────────────────── postgres (Phase 3)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml112# ─────────────────────── redis (Phase 1 + 6)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml132# ─────────────────────── minio (Phase 2)COMMENT
MEDIUMinfra/helm/pycaret/values.yaml163# ─────────────────────── ingressCOMMENT
MEDIUMinfra/helm/pycaret/values.yaml178# ─────────────────────── observabilityCOMMENT
MEDIUMscripts/triage_issues.py36# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/triage_issues.py38# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/triage_issues.py88# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/triage_issues.py166# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/build_notebooks.py35# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/build_notebooks.py37# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/build_notebooks.py78# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/build_notebooks.py80# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/build_notebooks.py92# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py94# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py169# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py171# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py204# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py206# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py239# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py241# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py271# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py273# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py302# -----------------------------------------------------------------------------STRING
MEDIUMscripts/build_notebooks.py304# -----------------------------------------------------------------------------STRING
MEDIUMpackages/engine/pycaret/api/describe.py26# -----------------------------------------------------------------------------COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py32# -----------------------------------------------------------------------------COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py427# -----------------------------------------------------------------------------COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py432# -----------------------------------------------------------------------------COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py462 # ─── Data ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py512 # ─── Preprocessing ────────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py564 # ─── Feature engineering ──────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py579 # ─── Cross-validation ─────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py608 # ─── Reproducibility ──────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py622 # ─── Compute ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py645 # ─── Logging ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py671# -----------------------------------------------------------------------------COMMENT
MEDIUMpackages/engine/pycaret/api/describe.py673# -----------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py274# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py276# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py30# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py72# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py74# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py137# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py139# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py188# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py356# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/engine/tests/test_session49_to_52_plots_remaining.py358# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py31# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py33# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py82# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py84# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py134# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py136# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/engine/tests/test_session53_revive_legacy_verbs.py172# ---------------------------------------------------------------------------COMMENT
405 more matches not shown…
Hyper-Verbose Identifiers521 hits · 556 pts
SeverityFileLineSnippetContext
LOWdocs/for_developers/DRAINING_THE_GODCLASS.md83def test_create_model_returns_fitted_pipeline():CODE
LOWdocs/for_developers/TESTING.md48def test_my_new_dataclass_json_roundtrip():CODE
LOWpackages/engine/pycaret/tasks/time_series.py482 def _build_ts_metric_registry(self) -> dict:CODE
LOWpackages/engine/pycaret/core/experiment.py2444 def _ranked_ids_from_leaderboard(leaderboard: Any) -> list[str]:CODE
LOWpackages/engine/pycaret/core/experiment.py414 def _coerce_supervised_fit_inputs(self, X, y):CODE
LOWpackages/engine/pycaret/core/experiment.py770 def _native_setup_unsupervised(self, data: pd.DataFrame, setup_kwargs: dict[str, Any]) -> None:CODE
LOWpackages/engine/pycaret/core/experiment.py1298 def _create_model_supervised_native(CODE
LOWpackages/engine/pycaret/core/experiment.py1394 def _resolve_supervised_estimator(CODE
LOWpackages/engine/pycaret/core/experiment.py1415 def _cross_validate_supervised(CODE
LOWpackages/engine/pycaret/core/supervised.py138 def _compare_models_supervised_native(CODE
LOWpackages/engine/pycaret/core/supervised.py316 def _sort_metric_is_ascending(sort: str) -> bool:CODE
LOWpackages/engine/pycaret/core/supervised.py461 def _tune_model_supervised_native(CODE
LOWpackages/engine/pycaret/internal/metrics.py224def make_scorer_with_error_score(CODE
LOWpackages/engine/pycaret/internal/memory.py152 def _make_array_contiguous_if_needed(self, arr: "np.ndarray") -> "np.ndarray":CODE
LOWpackages/engine/pycaret/internal/memory.py172 def _get_numpy_metadata_tuple(self, arr: "np.ndarray"):CODE
LOWpackages/engine/pycaret/internal/tunable.py345 def _hidden_layer_size_kwargs_to_hidden_layer_sizes(self, kwargs):CODE
LOWpackages/engine/pycaret/internal/tunable.py378 def _hidden_layer_sizes_to_hidden_layer_size_kwargs(self):CODE
LOWpackages/engine/pycaret/internal/tunable.py763 def _hidden_layer_size_kwargs_to_hidden_layer_sizes(self, kwargs):CODE
LOWpackages/engine/pycaret/internal/tunable.py796 def _hidden_layer_sizes_to_hidden_layer_size_kwargs(self):CODE
LOWpackages/engine/pycaret/internal/tunable.py1025 def _weight_kwargs_to_weights(self, kwargs, estimators=None):CODE
LOWpackages/engine/pycaret/internal/tunable.py1042 def _weights_to_weight_kwargs(self):CODE
LOWpackages/engine/pycaret/internal/tunable.py1186 def _weight_kwargs_to_weights(self, kwargs, estimators=None):CODE
LOWpackages/engine/pycaret/internal/tunable.py1203 def _weights_to_weight_kwargs(self):CODE
LOWpackages/engine/pycaret/internal/distributions.py389def get_hyperopt_distributions(distributions: Dict[str, Distribution]) -> dict:CODE
LOWpackages/engine/pycaret/internal/meta_estimators.py219def get_estimator_from_meta_estimator(estimator):CODE
LOWpackages/engine/pycaret/internal/tests/time_series.py654def recommend_seasonal_period():CODE
LOW…ges/engine/pycaret/internal/display/display_backend.py33def _enable_matplotlib_inline():CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py710def plot_predictions_with_confidence(CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py820def plot_time_series_decomposition(CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py944def plot_time_series_differences(CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py1149def plot_frequency_components(CODE
LOWpackages/engine/pycaret/internal/plots/helper.py41def calculate_standardized_residual(CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py632def return_frequency_components(CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py710def frequency_components_subplot(CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py808def plot_original_with_overlays(CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py1119def _reformat_dataframes_for_plots(CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py1181def _clean_model_results_labels(CODE
LOWpackages/engine/pycaret/utils/_dependencies.py35def _try_import_and_get_module_version(modname: str) -> Optional[Union[Version, bool]]:CODE
LOWpackages/engine/pycaret/utils/generic.py597def normalize_custom_transformers(CODE
LOWpackages/engine/pycaret/utils/generic.py497def calculate_unsupervised_metrics(CODE
LOWpackages/engine/pycaret/utils/generic.py517def _calculate_unsupervised_metric(CODE
LOWpackages/engine/pycaret/utils/generic.py617def _check_custom_transformer(transformer):CODE
LOWpackages/engine/pycaret/utils/generic.py835def get_all_object_vars_and_properties(object):CODE
LOWpackages/engine/pycaret/utils/generic.py947def get_columns_to_stratify_by(CODE
LOWpackages/engine/pycaret/utils/generic.py963def check_if_global_is_not_none(globals_d: dict, global_names: dict):CODE
LOWpackages/engine/pycaret/utils/generic.py1200def _coerce_empty_dataframe_to_none(CODE
LOWpackages/engine/pycaret/utils/datetime.py8def coerce_period_to_datetime_index(CODE
LOWpackages/engine/pycaret/utils/datetime.py65def coerce_datetime_to_period_index(CODE
LOWpackages/engine/pycaret/utils/time_series/__init__.py16def _reconcile_order_and_lags(CODE
LOW…engine/pycaret/utils/time_series/forecasting/models.py9def _disable_pred_int_enforcement(forecaster, enforce_pi: bool) -> bool:CODE
LOW…engine/pycaret/utils/time_series/forecasting/models.py32def _disable_exogenous_enforcement(CODE
LOW…gine/pycaret/utils/time_series/forecasting/__init__.py10def _check_and_clean_coverage(coverage: Union[float, List[float]]) -> List[float]:CODE
LOW…gine/pycaret/utils/time_series/forecasting/__init__.py58def get_predictions_with_intervals(CODE
LOW…gine/pycaret/utils/time_series/forecasting/__init__.py151def update_additional_scorer_kwargs(CODE
LOW…gine/pycaret/utils/time_series/forecasting/pipeline.py102def _transformations_present_y(pipeline: ForecastingPipeline) -> bool:CODE
LOW…gine/pycaret/utils/time_series/forecasting/pipeline.py118def _are_pipeline_tansformations_empty(pipeline: ForecastingPipeline) -> bool:CODE
LOW…gine/pycaret/utils/time_series/forecasting/pipeline.py208def _get_pipeline_estimator_label(CODE
LOW…ckages/engine/pycaret/containers/metrics/regression.py225 def root_mean_squared_log_error(CODE
LOW…ckages/engine/pycaret/containers/metrics/regression.py257 def mean_absolute_percentage_error(CODE
LOW…ckages/engine/pycaret/containers/metrics/regression.py293def get_all_metric_containers(CODE
461 more matches not shown…
Unused Imports367 hits · 343 pts
SeverityFileLineSnippetContext
LOWscripts/triage_issues.py22CODE
LOWscripts/build_notebooks.py20CODE
LOWpackages/sdk-python/pycaret_client/client.py18CODE
LOWpackages/sdk-python/pycaret_client/__init__.py35CODE
LOWpackages/engine/pycaret/persistence.py25CODE
LOWpackages/engine/pycaret/__init__.py34CODE
LOWpackages/engine/pycaret/__init__.py36CODE
LOWpackages/engine/pycaret/__init__.py36CODE
LOWpackages/engine/pycaret/__init__.py37CODE
LOWpackages/engine/pycaret/classification/__init__.py17CODE
LOWpackages/engine/pycaret/anomaly/__init__.py11CODE
LOWpackages/engine/pycaret/tasks/regression.py21CODE
LOWpackages/engine/pycaret/tasks/clustering.py23CODE
LOWpackages/engine/pycaret/tasks/classification.py23CODE
LOWpackages/engine/pycaret/tasks/time_series.py24CODE
LOWpackages/engine/pycaret/tasks/__init__.py8CODE
LOWpackages/engine/pycaret/tasks/__init__.py9CODE
LOWpackages/engine/pycaret/tasks/__init__.py10CODE
LOWpackages/engine/pycaret/tasks/__init__.py11CODE
LOWpackages/engine/pycaret/tasks/__init__.py12CODE
LOWpackages/engine/pycaret/tasks/anomaly.py22CODE
LOWpackages/engine/pycaret/core/tasks.py7CODE
LOWpackages/engine/pycaret/core/results.py19CODE
LOWpackages/engine/pycaret/core/unsupervised.py12CODE
LOWpackages/engine/pycaret/core/__init__.py16CODE
LOWpackages/engine/pycaret/core/__init__.py16CODE
LOWpackages/engine/pycaret/core/__init__.py16CODE
LOWpackages/engine/pycaret/core/__init__.py16CODE
LOWpackages/engine/pycaret/core/__init__.py16CODE
LOWpackages/engine/pycaret/core/__init__.py23CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py24CODE
LOWpackages/engine/pycaret/core/__init__.py35CODE
LOWpackages/engine/pycaret/core/__init__.py36CODE
LOWpackages/engine/pycaret/core/__init__.py37CODE
LOWpackages/engine/pycaret/core/experiment.py42CODE
LOWpackages/engine/pycaret/core/errors.py8CODE
LOWpackages/engine/pycaret/core/supervised.py12CODE
LOWpackages/engine/pycaret/clustering/__init__.py11CODE
LOWpackages/engine/pycaret/internal/display/__init__.py1CODE
LOWpackages/engine/pycaret/internal/display/__init__.py1CODE
LOWpackages/engine/pycaret/internal/display/__init__.py2CODE
LOW…ges/engine/pycaret/internal/display/display_backend.py15CODE
LOW…ges/engine/pycaret/internal/display/display_backend.py22CODE
LOWpackages/engine/pycaret/utils/_dependencies.py12CODE
LOWpackages/engine/pycaret/utils/generic.py25CODE
LOWpackages/engine/pycaret/api/describe.py13CODE
LOWpackages/engine/pycaret/api/cards.py12CODE
LOWpackages/engine/pycaret/api/__init__.py30CODE
LOWpackages/engine/pycaret/api/__init__.py30CODE
LOWpackages/engine/pycaret/api/__init__.py30CODE
LOWpackages/engine/pycaret/api/__init__.py30CODE
LOWpackages/engine/pycaret/api/__init__.py31CODE
307 more matches not shown…
Excessive Try-Catch Wrapping256 hits · 264 pts
SeverityFileLineSnippetContext
LOWpackages/sdk-python/pycaret_client/client.py387 except Exception: # noqa: BLE001CODE
LOWpackages/sdk-python/pycaret_client/client.py398 except Exception: # noqa: BLE001CODE
LOWpackages/engine/pycaret/tasks/time_series.py267 except Exception as e: # noqa: BLE001CODE
LOWpackages/engine/pycaret/tasks/time_series.py278 except Exception as e: # noqa: BLE001CODE
LOWpackages/engine/pycaret/tasks/time_series.py290 except Exception as e: # noqa: BLE001CODE
LOWpackages/engine/pycaret/tasks/time_series.py307 except Exception as e: # noqa: BLE001CODE
LOWpackages/engine/pycaret/tasks/time_series.py437 except Exception as e: # noqa: BLE001 — surface CV failureCODE
LOWpackages/engine/pycaret/tasks/time_series.py466 except Exception:CODE
LOWpackages/engine/pycaret/tasks/time_series.py640 except Exception:CODE
LOWpackages/engine/pycaret/tasks/time_series.py697 except Exception: # noqa: BLE001 — defensiveCODE
LOWpackages/engine/pycaret/tasks/time_series.py801 except Exception:CODE
LOWpackages/engine/pycaret/tasks/time_series.py977 except Exception: # noqa: BLE001 — defensiveCODE
LOWpackages/engine/pycaret/tasks/time_series.py1132 except Exception: # noqa: BLE001 — defensiveCODE
LOWpackages/engine/pycaret/core/unsupervised.py136 except Exception as e: # noqa: BLE001 — surface the real causeCODE
LOWpackages/engine/pycaret/core/experiment.py1131 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1140 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1142 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1458 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1465 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1471 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1480 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py2434 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py2451 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py727 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py868 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py984 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py999 except Exception as e:CODE
LOWpackages/engine/pycaret/core/experiment.py1046 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1158 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1370 except Exception: # noqa: BLE001 — event-widening must never blockCODE
LOWpackages/engine/pycaret/core/experiment.py1441 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1579 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1623 except Exception: # pragma: no cover — defensiveCODE
LOWpackages/engine/pycaret/core/experiment.py1639 except Exception: # pragma: no cover — not all classifiers have probaCODE
LOWpackages/engine/pycaret/core/experiment.py1691 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1712 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py1769 except Exception as e: # noqa: BLE001CODE
LOWpackages/engine/pycaret/core/experiment.py1806 except Exception: # noqa: BLE001CODE
LOWpackages/engine/pycaret/core/experiment.py1890 except Exception:CODE
LOWpackages/engine/pycaret/core/experiment.py2402 except Exception:CODE
LOWpackages/engine/pycaret/core/supervised.py202 except Exception as exc:CODE
LOWpackages/engine/pycaret/core/supervised.py565 except Exception:CODE
LOWpackages/engine/pycaret/core/supervised.py575 except Exception:CODE
LOWpackages/engine/pycaret/core/supervised.py588 except Exception: # noqa: BLE001CODE
LOWpackages/engine/pycaret/core/supervised.py1145 except Exception:CODE
LOWpackages/engine/pycaret/internal/logging.py112 except Exception:CODE
LOWpackages/engine/pycaret/internal/logging.py151 except Exception:CODE
MEDIUMpackages/engine/pycaret/internal/logging.py108def get_logger() -> logging.Logger:CODE
LOWpackages/engine/pycaret/internal/metrics.py209 except Exception:CODE
MEDIUMpackages/engine/pycaret/internal/metrics.py110def __call__(self, y_true, y_pred, **kwargs):CODE
LOWpackages/engine/pycaret/internal/persistence.py202 except Exception:CODE
LOWpackages/engine/pycaret/internal/persistence.py233 except Exception:CODE
LOWpackages/engine/pycaret/internal/memory.py395 except Exception:CODE
LOWpackages/engine/pycaret/internal/tunable.py15except Exception:CODE
LOWpackages/engine/pycaret/internal/tunable.py373 except Exception:CODE
LOWpackages/engine/pycaret/internal/tunable.py791 except Exception:CODE
LOWpackages/engine/pycaret/internal/tunable.py1038 except Exception:CODE
LOWpackages/engine/pycaret/internal/tunable.py1199 except Exception:CODE
LOWpackages/engine/pycaret/internal/distributions.py11except Exception:CODE
LOWpackages/engine/pycaret/internal/validation.py24 except Exception:CODE
196 more matches not shown…
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHpackages/engine/pycaret/containers/base_container.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…ckages/engine/pycaret/containers/metrics/regression.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…ckages/engine/pycaret/containers/metrics/clustering.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…es/engine/pycaret/containers/metrics/classification.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…kages/engine/pycaret/containers/metrics/time_series.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…kages/engine/pycaret/containers/metrics/base_metric.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGHpackages/engine/pycaret/containers/metrics/anomaly.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGHpackages/engine/pycaret/containers/models/regression.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGHpackages/engine/pycaret/containers/models/clustering.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…ges/engine/pycaret/containers/models/classification.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…ckages/engine/pycaret/containers/models/time_series.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGHpackages/engine/pycaret/containers/models/base_model.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGHpackages/engine/pycaret/containers/models/anomaly.py0returns a dictionary of the model properties, to be turned into a pandas dataframe row. parameters ---------- internal :STRING
HIGH…ckages/engine/pycaret/containers/metrics/regression.py0base anomaly metric container class, for easier definition of containers. ensures consistent format before being turned STRING
HIGH…ckages/engine/pycaret/containers/metrics/clustering.py0base anomaly metric container class, for easier definition of containers. ensures consistent format before being turned STRING
HIGH…es/engine/pycaret/containers/metrics/classification.py0base anomaly metric container class, for easier definition of containers. ensures consistent format before being turned STRING
HIGH…kages/engine/pycaret/containers/metrics/time_series.py0base anomaly metric container class, for easier definition of containers. ensures consistent format before being turned STRING
HIGHpackages/engine/pycaret/containers/metrics/anomaly.py0base anomaly metric container class, for easier definition of containers. ensures consistent format before being turned STRING
HIGHpackages/engine/pycaret/containers/models/regression.py0get the default engines from all models returns ------- dict[str, str] default engines for all containers. if unspecifieSTRING
HIGHpackages/engine/pycaret/containers/models/clustering.py0get the default engines from all models returns ------- dict[str, str] default engines for all containers. if unspecifieSTRING
HIGH…ges/engine/pycaret/containers/models/classification.py0get the default engines from all models returns ------- dict[str, str] default engines for all containers. if unspecifieSTRING
HIGH…ckages/engine/pycaret/containers/models/time_series.py0get the default engines from all models returns ------- dict[str, str] default engines for all containers. if unspecifieSTRING
HIGHpackages/engine/pycaret/containers/models/regression.py0base anomaly model container class, for easier definition of containers. ensures consistent format before being turned iSTRING
HIGHpackages/engine/pycaret/containers/models/clustering.py0base anomaly model container class, for easier definition of containers. ensures consistent format before being turned iSTRING
HIGH…ges/engine/pycaret/containers/models/classification.py0base anomaly model container class, for easier definition of containers. ensures consistent format before being turned iSTRING
HIGH…ckages/engine/pycaret/containers/models/time_series.py0base anomaly model container class, for easier definition of containers. ensures consistent format before being turned iSTRING
HIGHpackages/engine/pycaret/containers/models/anomaly.py0base anomaly model container class, for easier definition of containers. ensures consistent format before being turned iSTRING
Verbosity Indicators28 hits · 57 pts
SeverityFileLineSnippetContext
LOWpackages/engine/pycaret/internal/tests/time_series.py267 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py272 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py313 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py317 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py325 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py379 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py384 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py427 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py431 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py439 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py494 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py499 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py543 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py547 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py555 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py40 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py45 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py69 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py73 # Step 4: Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py76 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py121 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py126 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py151 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py155 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py163 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py400 # Step 1: Set the index if not already setCOMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py409 # Step 2: Convert DateTimeIndex to PeriodIndex (IntIndex is left as is)COMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py426 # Step 3: Fill missing index values (only if index is PeriodIndex, not for IntIndex)COMMENT
Structural Annotation Overuse28 hits · 57 pts
SeverityFileLineSnippetContext
LOWpackages/engine/pycaret/internal/tests/time_series.py267 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py272 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py313 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py317 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py325 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py379 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py384 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py427 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py431 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py439 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py494 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py499 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py543 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py547 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/time_series.py555 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py40 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py45 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py69 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py73 # Step 4: Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py76 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py121 # Step 1: Get list of all data that needs to be tested ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py126 # Step 2: Test all data ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py151 # Step 3: Combine all results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py155 # Step 4: Add Settings & Format Results ----COMMENT
LOWpackages/engine/pycaret/internal/tests/stats.py163 # Step 5: Return values ----COMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py400 # Step 1: Set the index if not already setCOMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py409 # Step 2: Convert DateTimeIndex to PeriodIndex (IntIndex is left as is)COMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py426 # Step 3: Fill missing index values (only if index is PeriodIndex, not for IntIndex)COMMENT
Modern Structural Boilerplate40 hits · 39 pts
SeverityFileLineSnippetContext
LOWpackages/sdk-python/pycaret_client/__init__.py39__all__ = ["ControlPlane", "__version__"]CODE
LOWpackages/engine/pycaret/persistence.py89__all__ = ["save_model", "load_model"]CODE
LOWpackages/engine/pycaret/__init__.py43__all__ = [CODE
LOWpackages/engine/pycaret/classification/__init__.py19__all__ = ["ClassificationExperiment"]CODE
LOWpackages/engine/pycaret/anomaly/__init__.py13__all__ = ["AnomalyExperiment"]CODE
LOWpackages/engine/pycaret/tasks/__init__.py14__all__ = [CODE
LOWpackages/engine/pycaret/core/__init__.py39__all__ = [CODE
LOWpackages/engine/pycaret/core/experiment.py2166 def set_config(self, variable: str | None = None, value: Any = None, **kwargs: Any) -> None:CODE
LOWpackages/engine/pycaret/core/experiment.py2411 def _set_last_metrics(self, df: pd.DataFrame | None) -> None:CODE
LOWpackages/engine/pycaret/clustering/__init__.py13__all__ = ["ClusteringExperiment"]CODE
LOWpackages/engine/pycaret/internal/display/__init__.py4__all__ = ["CommonDisplay", "DummyDisplay", "enable_colab"]CODE
LOWpackages/engine/pycaret/utils/_show_versions.py7__all__ = ["show_versions"]CODE
LOWpackages/engine/pycaret/api/__init__.py40__all__ = [CODE
LOWpackages/engine/pycaret/time_series/__init__.py16__all__ = ["TimeSeriesExperiment"]CODE
LOWpackages/engine/pycaret/regression/__init__.py13__all__ = ["RegressionExperiment"]CODE
LOWpackages/engine/pycaret/logging/__init__.py25__all__ = [CODE
LOWpackages/engine/pycaret/logging/base.py106 def set_tags(self, *args, **kwargs) -> None: ...CODE
LOWpackages/engine/pycaret/plots/regression.py22__all__ = [CODE
LOWpackages/engine/pycaret/plots/clustering.py27__all__ = [CODE
LOWpackages/engine/pycaret/plots/classification.py25__all__ = [CODE
LOWpackages/engine/pycaret/plots/time_series.py28__all__ = [CODE
LOWpackages/engine/pycaret/plots/__init__.py40__all__ = [CODE
LOWpackages/engine/pycaret/plots/feature.py27__all__ = [CODE
LOWpackages/engine/pycaret/plots/eda.py24__all__ = [CODE
LOWpackages/engine/pycaret/plots/anomaly.py24__all__ = [CODE
LOWservices/api/pycaret_server/__init__.py10__all__ = ["__version__"]CODE
LOWservices/api/pycaret_server/datasources/__init__.py26__all__ = [CODE
LOWservices/api/pycaret_server/llm/__init__.py21__all__ = [CODE
LOWservices/api/pycaret_server/llm/providers/__init__.py13__all__ = ["LLMProvider", "get_provider", "register_provider", "register_fake_for_tests"]CODE
LOWservices/api/pycaret_server/auth/__init__.py24__all__ = [CODE
LOWservices/api/pycaret_server/runtime/__init__.py14__all__ = ["GpuInventory", "detect_gpus", "reset_for_tests"]CODE
LOWservices/api/pycaret_server/storage/__init__.py28__all__ = [CODE
LOWservices/api/pycaret_server/analyses/__init__.py42__all__ = [CODE
LOWservices/api/pycaret_server/db/__init__.py70__all__ = [CODE
LOWservices/api/pycaret_server/api/trials.py173__all__ = ["router"]CODE
LOWservices/api/pycaret_server/api/__init__.py34__all__ = [CODE
LOWservices/api/pycaret_server/monitoring/__init__.py18__all__ = ["deliver_fired_rule"]CODE
LOWservices/api/pycaret_server/runs/__init__.py20__all__ = [CODE
LOWservices/api/pycaret_server/notebooks/__init__.py26__all__ = [CODE
LOWservices/api/pycaret_server/git/__init__.py21__all__ = ["serialise_experiment", "serialise_run", "serialise_trial"]CODE
Deep Nesting43 hits · 38 pts
SeverityFileLineSnippetContext
LOWscripts/triage_issues.py121CODE
LOWscripts/build_notebooks.py40CODE
LOWpackages/engine/pycaret/datasets.py10CODE
LOWpackages/engine/pycaret/tasks/time_series.py522CODE
LOWpackages/engine/pycaret/core/experiment.py911CODE
LOWpackages/engine/pycaret/core/experiment.py1298CODE
LOWpackages/engine/pycaret/core/experiment.py1495CODE
LOWpackages/engine/pycaret/core/experiment.py2356CODE
LOWpackages/engine/pycaret/internal/persistence.py15CODE
LOWpackages/engine/pycaret/internal/persistence.py337CODE
LOWpackages/engine/pycaret/internal/tunable.py345CODE
LOWpackages/engine/pycaret/internal/tunable.py763CODE
LOWpackages/engine/pycaret/internal/tests/time_series.py19CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py46CODE
LOW…ges/engine/pycaret/internal/plots/utils/time_series.py900CODE
LOWpackages/engine/pycaret/utils/_dependencies.py35CODE
LOWpackages/engine/pycaret/utils/generic.py399CODE
LOWpackages/engine/pycaret/utils/generic.py641CODE
LOWpackages/engine/pycaret/utils/time_series/__init__.py16CODE
LOWpackages/engine/pycaret/utils/time_series/__init__.py284CODE
LOW…gine/pycaret/utils/time_series/forecasting/pipeline.py144CODE
LOWpackages/engine/pycaret/containers/base_container.py96CODE
LOWpackages/engine/pycaret/containers/models/regression.py1590CODE
LOW…ges/engine/pycaret/containers/models/classification.py1222CODE
LOWpackages/engine/pycaret/plots/clustering.py261CODE
LOWpackages/engine/pycaret/plots/anomaly.py116CODE
LOWapps/site/scripts/gen_api_tree.py102CODE
LOWapps/site/scripts/gen_api_tree.py152CODE
LOWservices/api/pycaret_server/worker.py504CODE
LOWservices/api/pycaret_server/scheduler.py216CODE
LOWservices/api/pycaret_server/api/backup.py56CODE
LOWservices/api/pycaret_server/api/connections.py459CODE
LOWservices/api/pycaret_server/api/plots.py180CODE
LOWservices/api/pycaret_server/api/plots.py460CODE
LOWservices/api/pycaret_server/api/data_sources.py103CODE
LOWservices/api/pycaret_server/api/data_sources.py392CODE
LOWservices/api/pycaret_server/api/runs.py432CODE
LOWservices/api/pycaret_server/api/runs.py1322CODE
LOWservices/api/pycaret_server/api/schedules.py97CODE
LOWservices/api/pycaret_server/runs/dispatch.py39CODE
LOWservices/api/pycaret_server/runs/orchestrator.py795CODE
LOWservices/api/pycaret_server/runs/orchestrator.py1031CODE
LOWservices/api/pycaret_server/runs/orchestrator.py371CODE
Fake / Example Data34 hits · 36 pts
SeverityFileLineSnippetContext
LOWdocs/revamp/PLATFORM_QUICKSTART.md62 "email": "admin@example.com",CODE
LOWapps/web/src/pages/AuditLogViewer.test.tsx35 email: 'admin@example.com',CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx62 email: 'admin@example.com',CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx74 { ...BASE_MEMBER, user_id: 'admin-id', email: 'admin@example.com', role: 'admin' },CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx114 { ...BASE_MEMBER, user_id: 'admin-id', email: 'admin@example.com', role: 'admin' },CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx118 expect(screen.getAllByText('admin@example.com').length).toBeGreaterThan(0),CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx150 { ...BASE_MEMBER, user_id: 'admin-id', email: 'admin@example.com', role: 'admin' },CODE
LOWapps/web/src/pages/WorkspaceMembers.test.tsx169 { ...BASE_MEMBER, user_id: 'admin-id', email: 'admin@example.com', role: 'admin' },CODE
LOWservices/api/tests/test_llm.py78 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session24.py83 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session20.py57 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session20.py117 assert members[0]["email"] == "admin@example.com"CODE
LOWservices/api/tests/test_session20.py172 json={"email": "admin@example.com", "role": "member"},CODE
LOWservices/api/tests/test_session20.py250 assert members[0]["email"] == "admin@example.com"CODE
LOWservices/api/tests/test_phase9_finish.py69 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session21.py350 json={"email": "admin@example.com", "password": "supersecret"},CODE
LOWservices/api/tests/test_session21.py358 assert row["payload"]["email"] == "admin@example.com"CODE
LOWservices/api/tests/test_session21.py94 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session21.py126 __import__("sqlalchemy").text("SELECT id FROM users WHERE email = 'admin@example.com'")CODE
LOWservices/api/tests/test_session25.py87 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session22.py86 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session26.py80 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session33_phase9_schedules.py69 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session33_gpu_distributed.py78 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session23.py75 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session33_notebooks.py81 "email": "admin@example.com",CODE
LOWservices/api/tests/test_api.py99 "email": "admin@example.com",CODE
LOWservices/api/tests/test_api.py136 "email": "admin@example.com",CODE
LOWservices/api/tests/test_api.py155 assert me["email"] == "admin@example.com"CODE
LOWservices/api/tests/test_api.py163 json={"email": "admin@example.com", "password": "supersecret"},CODE
LOWservices/api/tests/test_llm_advisories.py88 "email": "admin@example.com",CODE
LOWservices/api/tests/test_runs.py75 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session19.py71 "email": "admin@example.com",CODE
LOWservices/api/tests/test_session32_revert_phase0.py81 "email": "admin@example.com",CODE
Self-Referential Comments9 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMpackages/engine/pycaret/internal/metrics.py328 # Create an instance of ScorerWithErrorScoreCOMMENT
MEDIUMpackages/engine/pycaret/internal/persistence.py688 # Create the containerCOMMENT
MEDIUMpackages/engine/pycaret/internal/persistence.py739 # Create a blob client using the local file name as the name for the blobCOMMENT
MEDIUMpackages/engine/pycaret/internal/persistence.py786 # Create a blob client using the local file name as the name for the blobCOMMENT
MEDIUMservices/api/tests/test_session24.py154 # Create the schedule.COMMENT
MEDIUMservices/api/tests/test_session21.py320 # Create a new workspace — that's a POST /api/v1/workspaces.COMMENT
MEDIUMservices/api/tests/test_session21.py455 # Create a project in each workspace.COMMENT
MEDIUMservices/api/tests/test_session33_phase9_schedules.py128 # Create a project + drop a CSV on disk + register a DataSource.COMMENT
MEDIUMservices/api/tests/test_api.py195 # Create a secondCOMMENT
Over-Commented Block24 hits · 23 pts
SeverityFileLineSnippetContext
LOWpyproject.toml1# Workspace-root pyproject.COMMENT
LOWcompose.yml1# PyCaret Control Plane — root compose file.COMMENT
LOWinfra/docker/docker-entrypoint.sh1#!/bin/shCOMMENT
LOWinfra/docker/docker-compose.prod.yml1# PyCaret Platform — production-shaped Compose stack.COMMENT
LOWinfra/helm/pycaret/values.yaml1# Default values for the PyCaret Platform Helm chart.COMMENT
LOWscripts/check-secrets.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/engine/pycaret/core/experiment.py2201COMMENT
LOWpackages/engine/pycaret/core/experiment.py2301 # ----------------------------------------------- data-accessor propertiesCOMMENT
LOWpackages/engine/pycaret/internal/memory.py201 # simple pickle.load/dump roundtrip:COMMENT
LOWpackages/engine/pycaret/utils/time_series/__init__.py481 # CBM = 12COMMENT
LOW…es/engine/pycaret/containers/metrics/classification.py1# Copyright (C) 2019-2024 PyCaretCOMMENT
LOW…ckages/engine/pycaret/containers/models/time_series.py1741# from sklearn.linear_model import LarsCOMMENT
LOW…ckages/engine/pycaret/containers/models/time_series.py1761# values=[self.sp, 2 * self.sp]COMMENT
LOW…ckages/engine/pycaret/containers/models/time_series.py1941COMMENT
LOW…ckages/engine/pycaret/containers/models/time_series.py1961# tune_distributions = {COMMENT
LOW…ckages/engine/pycaret/containers/models/time_series.py2801 # In that case, pycaret will always pass PeriodIndex from outsideCOMMENT
LOWpackages/engine/tests/test_datasets.py1import pandas as pdCOMMENT
LOW.github/workflows/release.yml1name: ReleaseCOMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml41 # If you wish to specify custom queries, you can do so here or in a config file.COMMENT
LOWservices/api/pycaret_server/config.py41 jwt_algorithm: str = "HS256"COMMENT
LOWservices/api/pycaret_server/config.py61 # :3000 when both projects run on the same laptop). Override viaCOMMENT
LOWservices/api/pycaret_server/db/session.py21settings = get_settings()COMMENT
LOWservices/api/pycaret_server/api/data_sources.py41COMMENT
AI Structural Patterns24 hits · 23 pts
SeverityFileLineSnippetContext
LOWpackages/engine/pycaret/tasks/regression.py31CODE
LOWpackages/engine/pycaret/tasks/clustering.py33CODE
LOWpackages/engine/pycaret/tasks/classification.py33CODE
LOWpackages/engine/pycaret/tasks/time_series.py41CODE
LOWpackages/engine/pycaret/tasks/time_series.py522CODE
LOWpackages/engine/pycaret/tasks/time_series.py719CODE
LOWpackages/engine/pycaret/tasks/time_series.py868CODE
LOWpackages/engine/pycaret/tasks/anomaly.py32CODE
LOWpackages/engine/pycaret/core/experiment.py286CODE
LOWpackages/engine/pycaret/core/supervised.py42CODE
LOWpackages/engine/pycaret/core/supervised.py1172CODE
LOWpackages/engine/pycaret/internal/tunable.py289CODE
LOWpackages/engine/pycaret/internal/tunable.py707CODE
LOWpackages/engine/pycaret/internal/plots/time_series.py46CODE
LOW…caret/utils/time_series/forecasting/model_selection.py344CODE
LOW…caret/utils/time_series/forecasting/model_selection.py644CODE
LOW…caret/utils/time_series/forecasting/model_selection.py689CODE
LOWpackages/engine/pycaret/containers/models/regression.py128CODE
LOW…ges/engine/pycaret/containers/models/classification.py133CODE
LOW…ckages/engine/pycaret/containers/models/time_series.py163CODE
LOWservices/api/pycaret_server/api/audit.py101CODE
LOWservices/api/pycaret_server/api/audit.py135CODE
LOWservices/api/pycaret_server/api/git_repos.py208CODE
LOWservices/api/pycaret_server/runs/orchestrator.py668CODE
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpackages/engine/tests/test_session31_secondary_verbs.py47 assert pulled.equals(created.metrics)CODE
HIGHapps/site/scripts/gen_api_tree.py16 cd apps/site && uv run --with griffe python scripts/gen_api_tree.pySTRING
HIGHservices/api/pycaret_server/api/notebooks.py383 b'{\n "cells": [\n {\n "cell_type": "code",\n "execution_count": null,\n'CODE
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMdocs/revamp/STATUS.md2085## Session 12 — Frontend scaffold + bootstrap flow (Phase 10 start) — ✅COMMENT
MEDIUMdocs/revamp/STATUS.md2289## Session 9 — Backend scaffolding (Phase 8 + Phase 9 + Phase 11 partial) — ✅COMMENT
MEDIUMdocs/revamp/release_notes_pycaret4.md2010# Session 12 — 2026-04-24 — Frontend scaffold + bootstrap flow (Phase 10 start)COMMENT
MEDIUMservices/api/pycaret_server/api/data_sources.py42# Hard guardrails. Tests deliberately push small files; production ops can bumpCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMpackages/engine/pycaret/utils/datetime.py41 # conversion explicitly makes it more robust.COMMENT
LOWpackages/engine/tests/test_session35_native_setup.py52 # We override _build_legacy_experiment to just return the existingCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/engine/pycaret/datasets.py111 # Read the file name from local folder firstCOMMENT