AI Slop Code RIsk Monitor

sktime/sktime

A unified framework for machine learning with time series

36.8 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sktime/sktime, a Python project with 10,062 GitHub stars. SynthScan examined 441,987 lines of code across 1992 source files, recording 7278 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 36.8 (High pattern signal); it is not an authorship estimate.

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

36.8
Adjusted Signal
36.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
10.1K
Stars
Python
Language
442.0K
Lines of Code
2.0K
Files
7.3K
Pattern Hits
2026-10-12
Scan Date
0.78
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 30.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 13.3/100 · LOW

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

Agent Over-Engineering Ratio 79.7/100 · CRITICAL

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

PR Review Velocity Impact 86.2/100 · CRITICAL

Which changes need focused human review? 7278 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 1556MEDIUM 1222LOW 4500

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 7278 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Cross-File Repetition1457 hits · 7285 pts
SeverityFileLineSnippetContext
HIGHsktime/split/singlewindow.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/split/cutoff.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/split/expandingcutoff.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/split/base/_base_windowsplitter.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/split/base/_base_splitter.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/dictionary_based/_weasel.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/compose/_pipeline.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/mvts_transformer.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/convtimenet.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/_pytorch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/fcn/_fcn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…ation/deep_learning/inceptiontime/_inceptiontime_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…on/deep_learning/inceptiontime/_inceptiontime_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…time/classification/deep_learning/resnet/_resnet_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…e/classification/deep_learning/resnet/_resnet_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/cntc/_cntc_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/cntc/_cntc_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/cnn/_cnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/macnn/_macnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…time/classification/deep_learning/tapnet/_tapnet_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…e/classification/deep_learning/tapnet/_tapnet_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/base/_base_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/rnn/_rnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/deep_learning/rnn/_rnn_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…/classification/feature_based/_signature_classifier.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/shapelet_based/_mrsqm.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/classification/shapelet_based/_mrseql.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/transformations/tsfresh.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/transformations/dictionary_based/_sfa_fast.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…e/transformations/signature_based/_signature_method.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/transformations/tsfel/_tsfel.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/transformations/base/_base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/transformations/detrend/_detrend.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/catalogues/base/_base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/clustering/dbscan.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/clustering/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/param_est/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/networks/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/networks/fcn/_fcn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/networks/cnn/_cnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/networks/lstmfcn/_lstmfcn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/networks/mlp/_mlp_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/alignment/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/benchmarking/analysis/_base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/base.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/compose/_pipeline.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/fcn/_fcn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…ssion/deep_learning/inceptiontime/_inceptiontime_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGH…on/deep_learning/inceptiontime/_inceptiontime_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/resnet/_resnet_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/resnet/_resnet_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/cntc/_cntc_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/cntc/_cntc_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/cnn/_cnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/macnn/_macnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/tapnet/_tapnet_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/tapnet/_tapnet_torch.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
HIGHsktime/regression/deep_learning/mcdcnn/_mcdcnn_tf.py0post-init constructor logic, can be used by inheriting classes. this method should be used for: * parameter validation *STRING
1397 more matches not shown…
Decorative Section Separators1121 hits · 3646 pts
SeverityFileLineSnippetContext
MEDIUMsktime/split/cutoff.py316 # -----------------STRING
MEDIUMsktime/split/sameloc.py71 # -----------------STRING
MEDIUMsktime/split/testplustrain.py42 # ---------------STRING
MEDIUMsktime/split/compose/_repeat.py44 # ---------------COMMENT
MEDIUMsktime/split/base/_base_splitter.py86 # -----------------STRING
MEDIUMsktime/classification/ensemble/_weighted.py90 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_weighted.py93 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_bagging.py83 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_bagging.py86 # --------------COMMENT
MEDIUM⚡sktime/classification/ensemble/_ctsf.py205 # --------------COMMENT
MEDIUM⚡sktime/classification/ensemble/_ctsf.py210 # --------------COMMENT
MEDIUM⚡sktime/classification/ensemble/_ctsf.py213 # --------------COMMENT
MEDIUM⚡sktime/classification/dummy/_dummy.py77 # --------------COMMENT
MEDIUM⚡sktime/classification/dummy/_dummy.py81 # --------------COMMENT
MEDIUM⚡sktime/classification/dummy/_dummy.py90 # -----------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_boss_pyts.py102 # --------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_boss_pyts.py106 # --------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_boss_pyts.py113 # -----------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_weasel.py125 # --------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_weasel.py130 # --------------COMMENT
MEDIUM⚡sktime/classification/dictionary_based/_weasel.py137 # ---------------COMMENT
MEDIUMsktime/classification/dictionary_based/_muse.py125 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_muse.py130 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss.py134 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss.py138 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss.py561 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss.py565 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_tde.py151 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_tde.py155 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_tde.py693 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_tde.py697 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_cboss.py134 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_cboss.py139 # --------------COMMENT
MEDIUMsktime/classification/compose/_multiplexer.py69 # -----------------COMMENT
MEDIUMsktime/classification/compose/_pipeline.py109 # -----------------COMMENT
MEDIUMsktime/classification/compose/_pipeline.py465 # -----------------COMMENT
MEDIUMsktime/classification/compose/_column_ensemble.py28 # -----------------COMMENT
MEDIUMsktime/classification/deep_learning/mvts_transformer.py85 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/convtimenet.py99 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/convtimenet.py104 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/convtimenet.py108 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py75 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py81 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py86 # ---------------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py297 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py303 # --------------COMMENT
MEDIUM⚡sktime/classification/deep_learning/gru.py308 # ---------------------COMMENT
MEDIUMsktime/classification/deep_learning/fcn/_fcn_tf.py74 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/fcn/_fcn_tf.py80 # ----------------COMMENT
MEDIUMsktime/classification/deep_learning/fcn/_fcn_torch.py92 # ----------------COMMENT
MEDIUM⚡…ation/deep_learning/inceptiontime/_inceptiontime_tf.py106 # --------------COMMENT
MEDIUM⚡…ation/deep_learning/inceptiontime/_inceptiontime_tf.py111 # ------------COMMENT
MEDIUM⚡…ation/deep_learning/inceptiontime/_inceptiontime_tf.py114 # ---------------------COMMENT
MEDIUM…on/deep_learning/inceptiontime/_inceptiontime_torch.py176 # --------------COMMENT
MEDIUM…on/deep_learning/inceptiontime/_inceptiontime_torch.py183 # ----------------COMMENT
MEDIUM…time/classification/deep_learning/resnet/_resnet_tf.py66 # --------------COMMENT
MEDIUM…e/classification/deep_learning/resnet/_resnet_torch.py136 # ----------------COMMENT
MEDIUMsktime/classification/deep_learning/cntc/_cntc_torch.py221 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/cntc/_cntc_torch.py228 # ----------------COMMENT
MEDIUMsktime/classification/deep_learning/cntc/_cntc_tf.py105 # ---------------------COMMENT
1061 more matches not shown…
Hyper-Verbose Identifiers1840 hits · 1892 pts
SeverityFileLineSnippetContext
LOWsktime/split/temporal_train_test_split.py19def temporal_train_test_split(CODE
LOWsktime/split/tests/test_split.py58def _check_cutoffs_against_test_windows(cutoffs, windows, fh, y):CODE
LOWsktime/split/tests/test_split.py75def _check_cutoffs_against_train_windows(cutoffs, windows, y):CODE
LOWsktime/split/tests/test_split.py104def _get_n_incomplete_windows(window_length, step_length) -> int:CODE
LOWsktime/split/tests/test_split.py120def test_window_splitter_in_sample_fh_smaller_than_window_length(CV):CODE
LOWsktime/split/tests/test_split.py138def test_window_splitter_in_sample_fh_greater_than_window_length(CV):CODE
LOWsktime/split/tests/test_slidinggreedy.py18def test_sliding_greedy_splitter_lengths():CODE
LOWsktime/split/tests/test_slidinggreedy.py31def test_sliding_greedy_splitter_forecast_horizon():CODE
LOWsktime/split/tests/test_slidinggreedy.py54def test_sliding_greedy_splitter_indices():CODE
LOWsktime/split/tests/test_slidinggreedy.py77def test_sliding_greedy_splitter_dates():CODE
LOWsktime/split/tests/test_slidinggreedy.py143def test_sliding_greedy_splitter_hierarchy():CODE
LOWsktime/split/tests/test_slidinggreedy.py204def test_sliding_greedy_splitter_consecutive():CODE
LOWsktime/split/tests/test_slidinggreedy.py237def test_sliding_greedy_splitter_step_length():CODE
LOWsktime/split/tests/test_sync_to_longest.py26def test_sync_to_longest_excludes_instances_without_full_window():CODE
LOWsktime/split/tests/test_sync_to_longest.py53def test_sync_to_longest_min_length_relaxes_training_window():CODE
LOWsktime/split/tests/test_sync_to_longest.py70def test_sync_to_longest_forwards_fh_and_window_length():CODE
LOWsktime/split/tests/test_sync_to_longest.py89def test_sync_to_longest_invalid_min_length_raises():CODE
LOWsktime/split/tests/test_sync_to_longest.py94def test_sync_to_longest_min_length_above_window_warns():CODE
LOWsktime/split/tests/test_sync_to_longest.py113def test_sync_to_longest_with_explicit_cv_x():CODE
LOWsktime/split/tests/test_sync_to_longest.py144def test_sync_to_longest_explicit_cv_x_needs_same_loc():CODE
LOWsktime/split/tests/test_sync_to_longest.py179def test_sync_to_longest_works_with_mase():CODE
LOWsktime/split/tests/test_sync_to_longest.py192def test_sync_to_longest_passthrough_for_single_series():CODE
LOWsktime/split/tests/test_slidingwindow.py32def test_sliding_window_splitter(y, fh, window_length, step_length):CODE
LOWsktime/split/tests/test_slidingwindow.py68def test_sliding_window_splitter_with_initial_window(CODE
LOWsktime/split/tests/test_slidingwindow.py110def test_sliding_window_splitter_start_with_empty_window(CODE
LOWsktime/split/tests/test_slidingwindow.py150def test_sliding_window_splitter_initial_window_start_with_empty_window_raises_error():CODE
LOWsktime/split/tests/test_slidingwindow.py167def test_sliding_window_splitter_initial_window_smaller_than_window_raise_error():CODE
LOWsktime/split/tests/test_sameloc.py48def test_same_loc_splitter_hierarchical():CODE
LOWsktime/split/tests/test_fh.py31def test_forecasting_horizon_splitter_relative(fh, expected_train, expected_test):CODE
LOWsktime/split/tests/test_expandinggreedy.py18def test_expanding_greedy_splitter_lengths():CODE
LOWsktime/split/tests/test_expandinggreedy.py31def test_expanding_greedy_splitter_dates():CODE
LOWsktime/split/tests/test_expandinggreedy.py59def test_expanding_greedy_splitter_hierarchy():CODE
LOWsktime/split/tests/test_expandinggreedy.py91def test_expanding_greedy_splitter_consecutive():CODE
LOWsktime/split/tests/test_expandinggreedy.py120def test_expanding_greedy_splitter_forecast_horizon():CODE
LOWsktime/split/tests/test_cutoff.py30def test_cutoff_window_splitter(y, cutoffs, fh, window_length):CODE
LOWsktime/split/tests/test_cutoff.py79def test_cutoff_fh_splitter_relative_cutoffs(hierarchical, fh, method):CODE
LOWsktime/split/tests/test_temporaltraintest.py21def _check_train_test_split_y(fh, split):CODE
LOWsktime/split/tests/test_temporaltraintest.py63def test_temporal_train_test_split_float_only_y():CODE
LOWsktime/split/tests/test_temporaltraintest.py105def test_temporal_train_test_split_int_only_y():CODE
LOWsktime/split/tests/test_temporaltraintest.py141def test_temporal_train_test_split_hierarchical():CODE
LOWsktime/split/tests/test_singlewindow.py29def test_single_window_splitter(y, fh, window_length):CODE
LOWsktime/split/tests/test_singlewindow.py62def test_single_window_splitter_default_window_length(y, fh):CODE
LOWsktime/split/tests/test_expandingcutoff.py242def test_expanding_cutoff_docstring_examples():CODE
LOWsktime/split/tests/test_expandingcutoff.py293def test_expandingcutoff_step_length():CODE
LOWsktime/split/tests/test_expandingwindow.py40def test_expanding_window_splitter_start_with_initial_window_zero(y, fh, step_length):CODE
LOWsktime/split/tests/test_expandingwindow.py70def test_expanding_window_splitter_start_with_empty_window(CODE
LOWsktime/split/tests/test_expandingwindow.py104def test_expanding_window_splitter(y, fh, initial_window, step_length):CODE
LOWsktime/split/tests/test_testplustrain.py16def test_test_plus_train_splitter_fh():CODE
LOWsktime/split/tests/test_testplustrain.py34def test_test_plus_train_splitter():CODE
LOWsktime/split/base/_common.py55def _check_inputs_for_compatibility(args: list) -> None:CODE
LOWsktime/split/base/_common.py110def _get_train_window_via_endpoint(y, train_endpoint, window_length):CODE
LOWsktime/split/base/_base_windowsplitter.py149 def _split_for_initial_window(self, y):CODE
LOWsktime/split/base/tests/test_base.py95def test_hierarchical_singlewindowsplitter():CODE
LOWsktime/split/base/tests/test_base.py110def test_windowbase_splitter_get_n_split_hierarchical(CODE
LOWsktime/split/base/tests/test_base.py125def test_windowbase_splitter_get_n_split_unequal_series(y, CV):CODE
LOWsktime/classification/ensemble/_ctsf.py524 def _set_oob_score_and_attributes(self, X, y):CODE
LOWsktime/classification/ensemble/tests/test_ensemble.py66def test_equivalent_model_specifications(n_intervals, n_estimators):CODE
LOWsktime/classification/ensemble/tests/test_ensemble.py155def test_bagging_does_not_reseed_global_numpy_rng():CODE
LOWsktime/classification/model_evaluation/_functions.py24def _is_proba_classification_score(metric) -> bool:CODE
LOWsktime/classification/model_evaluation/_functions.py114def _get_column_order_and_datatype(CODE
1780 more matches not shown…
Unused Imports914 hits · 859 pts
SeverityFileLineSnippetContext
LOWsktime/__init__.py10CODE
LOWsktime/exceptions.py8CODE
LOWsktime/split/__init__.py23CODE
LOWsktime/split/__init__.py23CODE
LOWsktime/split/__init__.py24CODE
LOWsktime/split/__init__.py24CODE
LOWsktime/split/__init__.py25CODE
LOWsktime/split/__init__.py26CODE
LOWsktime/split/__init__.py27CODE
LOWsktime/split/__init__.py28CODE
LOWsktime/split/__init__.py29CODE
LOWsktime/split/__init__.py30CODE
LOWsktime/split/__init__.py31CODE
LOWsktime/split/__init__.py32CODE
LOWsktime/split/__init__.py33CODE
LOWsktime/split/__init__.py34CODE
LOWsktime/split/__init__.py35CODE
LOWsktime/split/__init__.py35CODE
LOWsktime/split/__init__.py39CODE
LOWsktime/split/compose/__init__.py7CODE
LOWsktime/split/compose/__init__.py8CODE
LOWsktime/split/base/__init__.py10CODE
LOWsktime/split/base/__init__.py11CODE
LOWsktime/classification/__init__.py7CODE
LOWsktime/classification/ensemble/__init__.py11CODE
LOWsktime/classification/ensemble/__init__.py12CODE
LOWsktime/classification/ensemble/__init__.py13CODE
LOWsktime/classification/dummy/__init__.py7CODE
LOWsktime/classification/model_evaluation/__init__.py7CODE
LOWsktime/classification/dictionary_based/__init__.py14CODE
LOWsktime/classification/dictionary_based/__init__.py14CODE
LOWsktime/classification/dictionary_based/__init__.py15CODE
LOWsktime/classification/dictionary_based/__init__.py16CODE
LOWsktime/classification/dictionary_based/__init__.py17CODE
LOWsktime/classification/dictionary_based/__init__.py18CODE
LOWsktime/classification/dictionary_based/__init__.py18CODE
LOWsktime/classification/dictionary_based/__init__.py22CODE
LOWsktime/classification/compose/__init__.py13CODE
LOWsktime/classification/compose/__init__.py14CODE
LOWsktime/classification/compose/__init__.py15CODE
LOWsktime/classification/compose/__init__.py15CODE
LOWsktime/classification/early_classification/__init__.py9CODE
LOWsktime/classification/early_classification/__init__.py12CODE
LOWsktime/classification/early_classification/__init__.py13CODE
LOWsktime/classification/deep_learning/__init__.py30CODE
LOWsktime/classification/deep_learning/__init__.py30CODE
LOWsktime/classification/deep_learning/__init__.py34CODE
LOWsktime/classification/deep_learning/__init__.py34CODE
LOWsktime/classification/deep_learning/__init__.py38CODE
LOWsktime/classification/deep_learning/__init__.py39CODE
LOWsktime/classification/deep_learning/__init__.py39CODE
LOWsktime/classification/deep_learning/__init__.py43CODE
LOWsktime/classification/deep_learning/__init__.py43CODE
LOWsktime/classification/deep_learning/__init__.py47CODE
LOWsktime/classification/deep_learning/__init__.py47CODE
LOWsktime/classification/deep_learning/__init__.py51CODE
LOWsktime/classification/deep_learning/__init__.py52CODE
LOWsktime/classification/deep_learning/__init__.py52CODE
LOWsktime/classification/deep_learning/__init__.py56CODE
LOWsktime/classification/deep_learning/__init__.py56CODE
854 more matches not shown…
Modern Structural Boilerplate711 hits · 712 pts
SeverityFileLineSnippetContext
LOWsktime/__init__.py8__all__ = ["show_versions"]CODE
LOWsktime/exceptions.py6__all__ = ["NotEvaluatedError", "NotFittedError", "FitFailedWarning"]CODE
LOWsktime/split/singlewindow.py7__all__ = [CODE
LOWsktime/split/instance.py7__all__ = [CODE
LOWsktime/split/slidinggreedy.py7__all__ = [CODE
LOWsktime/split/temporal_train_test_split.py5__all__ = [CODE
LOWsktime/split/cutoff.py7__all__ = [CODE
LOWsktime/split/expandinggreedy.py7__all__ = [CODE
LOWsktime/split/expandingcutoff.py7__all__ = [CODE
LOWsktime/split/sameloc.py7__all__ = [CODE
LOWsktime/split/expandingwindow.py7__all__ = [CODE
LOWsktime/split/__init__.py3__all__ = [CODE
LOWsktime/split/slidingwindow.py7__all__ = [CODE
LOWsktime/split/_legacy_splitters.py10__all__ = ["PresplitFilesCV", "SingleSplit"]CODE
LOWsktime/split/testplustrain.py7__all__ = ["TestPlusTrainSplitter"]CODE
LOWsktime/split/expandingslidingwindow.py7__all__ = [CODE
LOWsktime/split/compose/__init__.py5__all__ = ["SyncToLongest", "Repeat"]CODE
LOWsktime/split/compose/_sync_to_longest.py7__all__ = ["SyncToLongest"]CODE
LOWsktime/split/base/__init__.py5__all__ = [CODE
LOWsktime/classification/_delegate.py11__all__ = ["_DelegatedClassifier"]CODE
LOWsktime/classification/__init__.py3__all__ = [CODE
LOWsktime/classification/base.py20__all__ = [CODE
LOWsktime/classification/ensemble/_weighted.py4__all__ = ["WeightedEnsembleClassifier"]CODE
LOWsktime/classification/ensemble/_bagging.py4__all__ = ["BaggingClassifier"]CODE
LOWsktime/classification/ensemble/__init__.py5__all__ = [CODE
LOWsktime/classification/ensemble/_ctsf.py4__all__ = ["ComposableTimeSeriesForestClassifier"]CODE
LOWsktime/classification/dummy/__init__.py3__all__ = [CODE
LOWsktime/classification/dummy/_dummy.py4__all__ = ["DummyClassifier"]CODE
LOWsktime/classification/model_evaluation/_functions.py6__all__ = ["evaluate"]CODE
LOWsktime/classification/model_evaluation/__init__.py5__all__ = ["evaluate"]CODE
LOW…classification/model_evaluation/tests/test_evaluate.py11__all__ = ["TestEvaluate"]CODE
LOWsktime/classification/dictionary_based/__init__.py3__all__ = [CODE
LOWsktime/classification/dictionary_based/_boss_pyts.py5__all__ = ["BOSSVSClassifierPyts"]CODE
LOWsktime/classification/dictionary_based/_weasel.py7__all__ = ["WEASEL"]CODE
LOWsktime/classification/dictionary_based/_muse.py8__all__ = ["MUSE"]CODE
LOWsktime/classification/dictionary_based/_boss.py8__all__ = ["BOSSEnsemble", "IndividualBOSS", "pairwise_distances"]CODE
LOWsktime/classification/dictionary_based/_tde.py8__all__ = ["TemporalDictionaryEnsemble", "IndividualTDE", "histogram_intersection"]CODE
LOWsktime/classification/dictionary_based/_cboss.py9__all__ = ["ContractableBOSS", "pairwise_distances"]CODE
LOWsktime/classification/compose/_multiplexer.py12__all__ = ["MultiplexClassifier"]CODE
LOWsktime/classification/compose/__init__.py6__all__ = [CODE
LOWsktime/classification/compose/_pipeline.py12__all__ = ["ClassifierPipeline", "SklearnClassifierPipeline"]CODE
LOWsktime/classification/compose/_column_ensemble.py7__all__ = ["ColumnEnsembleClassifier"]CODE
LOWsktime/classification/compose/tests/test_pipeline.py5__all__ = []CODE
LOW…ime/classification/tests/test_sklearn_compatibility.py4__all__ = [CODE
LOWsktime/classification/early_classification/_teaser.py8__all__ = ["TEASER"]CODE
LOWsktime/classification/early_classification/__init__.py3__all__ = [CODE
LOW…ication/early_classification/_probability_threshold.py8__all__ = ["ProbabilityThresholdEarlyClassifier"]CODE
LOWsktime/classification/early_classification/base.py24__all__ = [CODE
LOWsktime/classification/deep_learning/__init__.py3__all__ = [CODE
LOWsktime/classification/deep_learning/convtimenet.py4__all__ = ["ConvTimeNetClassifier"]CODE
LOWsktime/classification/deep_learning/_pytorch.py6__all__ = ["BaseDeepClassifierPytorch"]CODE
LOWsktime/classification/deep_learning/fcn/_fcn_tf.py3__all__ = ["FCNClassifier"]CODE
LOWsktime/classification/deep_learning/fcn/__init__.py7__all__ = [CODE
LOWsktime/classification/deep_learning/fcn/_fcn_torch.py4__all__ = ["FCNClassifierTorch"]CODE
LOW…classification/deep_learning/inceptiontime/__init__.py7__all__ = [CODE
LOW…ation/deep_learning/inceptiontime/_inceptiontime_tf.py3__all__ = ["InceptionTimeClassifier"]CODE
LOW…on/deep_learning/inceptiontime/_inceptiontime_torch.py4__all__ = ["InceptionTimeClassifierTorch"]CODE
LOW…time/classification/deep_learning/resnet/_resnet_tf.py3__all__ = ["ResNetClassifier"]CODE
LOWsktime/classification/deep_learning/resnet/__init__.py7__all__ = [CODE
LOW…e/classification/deep_learning/resnet/_resnet_torch.py4__all__ = ["ResNetClassifierTorch"]CODE
651 more matches not shown…
Cross-Language Confusion73 hits · 398 pts
SeverityFileLineSnippetContext
HIGH…ication/early_classification/_probability_threshold.py231 # if we have the full series, always return trueCOMMENT
HIGHsktime/transformations/dobin.py210 if not X.index.equals(self._X.index):CODE
HIGH…e/transformations/hierarchical/tests/test_aggregate.py45 assert X_agg.equals(X_agg_unnamed), msgCODE
HIGH…mations/hierarchical/tests/reconcile/test_reconcile.py105 assert not y_reconc.equals(y)CODE
HIGH⚡sktime/transformations/bootstrap/tests/test_mbb.py116 assert expected_index.equals(y_hat.index) and (y_hat.columns[0] == y.name)CODE
HIGHsktime/transformations/bootstrap/tests/test_mbb.py137 y_hat.index.equals(y_index)CODE
HIGHsktime/transformations/compose/_id.py26 >>> Xt.equals(X)STRING
HIGHsktime/transformations/compose/_id.py29 >>> X_inv.equals(X)STRING
HIGHsktime/transformations/compose/_arithmetic.py140 if not Xt.index.equals(first_index):CODE
HIGHsktime/transformations/compose/_arithmetic.py142 if not Xt.columns.equals(first_columns):CODE
HIGH⚡sktime/transformations/tests/test_subset.py27 assert X_subset.index.equals(X.index.intersection(y.index))CODE
HIGH⚡sktime/transformations/tests/test_subset.py29 assert X_subset.index.equals(y.index)CODE
HIGHsktime/transformations/tests/test_subset.py49 assert X_subset.columns.equals(col_X_and_cols)CODE
HIGHsktime/transformations/tests/test_subset.py51 assert X_subset.columns.equals(columns_idx)CODE
HIGHsktime/transformations/tests/test_subset.py65 assert X_subset.columns.equals(X.columns[[0, 2, 4]])CODE
HIGHsktime/transformations/tests/test_all_reconcilers.py123 assert Xt.equals(X)CODE
HIGHsktime/transformations/tests/test_all_reconcilers.py126 assert Xinv.equals(X)CODE
HIGHsktime/transformations/tests/test_adapt.py45 assert expected_result.equals(trafo_result)CODE
HIGH⚡sktime/transformations/tests/test_hampelfilter.py26 assert result.equals(expected_result)CODE
HIGHsktime/transformations/tests/test_hampelfilter.py50 assert result.equals(expected_result)CODE
HIGHsktime/transformations/tests/test_lag.py45 assert Xt.index.equals(X.index)CODE
HIGHsktime/transformations/tests/test_degree_day.py108 assert out.index.equals(X.index)CODE
HIGHsktime/transformations/tests/test_peak.py43 assert Xt.index.equals(X.index)CODE
HIGHsktime/transformations/tests/test_dummies.py35 assert X.equals(X_expected), "Test failed: X does not match X_expected."CODE
HIGHsktime/transformations/detrend/_deseasonalize.py570 if not X.index.equals(self._X.index):CODE
HIGHsktime/transformations/detrend/mstl.py264 if not X.index.equals(self._X.index):CODE
HIGH…me/transformations/detrend/tests/test_deseasonalise.py138 assert X.index.equals(Xit.index)CODE
HIGH⚡sktime/datatypes/tests/test_utils.py472 assert y_new.equals(y)CODE
HIGH⚡sktime/datatypes/tests/test_utils.py473 assert y_new.index.equals(y.index)CODE
HIGH⚡sktime/datatypes/tests/test_utils.py476 assert y.index.equals(y_new.index.to_period().to_timestamp())CODE
HIGHsktime/datatypes/tests/test_panel_converters.py108 assert array.index.equals(nested.index)CODE
HIGHsktime/datatypes/_adapter/tests/test_polars.py48 assert pd_fixture.equals(pd_fixture_orig)CODE
HIGHsktime/datatypes/_adapter/tests/test_polars.py67 assert pd_fixture.equals(pd_fixture_orig)CODE
HIGH⚡sktime/datatypes/_adapter/tests/test_polars.py87 assert pd_result.equals(pd_fixture)CODE
HIGH⚡sktime/datatypes/_adapter/tests/test_polars.py100 assert pd_result.equals(pd_fixture)CODE
HIGHsktime/datatypes/_adapter/tests/test_dask_pd.py65 assert pd_fixture.equals(pd_fixture_orig)CODE
HIGHsktime/datatypes/_adapter/tests/test_dask_pd.py84 assert pd_fixture.equals(pd_fixture_orig)CODE
HIGHsktime/datatypes/_adapter/tests/test_dask_pd.py103 assert pd_fixture.equals(back_result)CODE
HIGHsktime/utils/deep_equals/_deep_equals.py279 return ret(x.equals(y), ".polars_equals")CODE
HIGHsktime/utils/_testing/forecasting.py135 assert y_pred_index.equals(expected)CODE
HIGHsktime/utils/validation/series.py268 failure_cond = not first_index.equals(y_index)CODE
HIGHsktime/libs/granite_ttm/modeling_tinytimemixer.py570 (typically derived from register tokens): [x || context].STRING
HIGHsktime/dists_kernels/scipy_dist.py112 if not X.columns.equals(X2.columns):CODE
HIGHsktime/benchmarking/tests/test_evaluator.py132 assert expected_ranks.equals(generated_ranks)CODE
HIGHsktime/benchmarking/tests/test_evaluator.py151 assert metrics_by_strategy.equals(expected_accuracy)CODE
HIGHsktime/forecasting/pyfable_arima.py461 if not y_series.index.equals(X.index):CODE
HIGHsktime/forecasting/pyfable_arima.py539 if not X.index.equals(fh.to_absolute_index()):CODE
HIGHsktime/forecasting/compose/tests/test_reduce_proba.py51 assert y_pred.index.equals(y_test.index)CODE
HIGHsktime/forecasting/compose/tests/test_reduce_proba.py271 assert not pred1.equals(pred2)CODE
HIGH…asting/compose/tests/test_groupbycategoryforecaster.py80 assert output.equals(transform_output)CODE
HIGHsktime/forecasting/tests/test_reconcile.py81 assert prds_recon.equals(reconciler_unnamed.fit_predict(y=y, fh=fh)), msgCODE
HIGHsktime/forecasting/tests/test_reconcile.py176 assert y_test.index.equals(y_pred.index)CODE
HIGHsktime/forecasting/tests/test_exp_smoothing.py90 assert y_pred.equals(y_pred_update), "Expected same predictions after update"CODE
HIGHsktime/forecasting/base/_base.py2809 if not y_pred.columns.equals(ycols):CODE
HIGH⚡sktime/forecasting/base/tests/test_fh.py965 assert y_pred_idx.equals(pd.Index([5, 6, 7]))CODE
HIGH⚡sktime/forecasting/base/tests/test_fh.py970 assert y_pred_idx.equals(pd.Index([5, 6, 7]))CODE
HIGH⚡sktime/forecasting/base/tests/test_fh.py979 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGH⚡sktime/forecasting/base/tests/test_fh.py985 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGHsktime/forecasting/base/tests/test_fh.py53 assert a.equals(b)CODE
HIGHsktime/forecasting/base/tests/test_fh.py194 fh_oos = fh.to_pandas()[fh_relative > null]CODE
13 more matches not shown…
AI Structural Patterns360 hits · 353 pts
SeverityFileLineSnippetContext
LOWsktime/classification/ensemble/_ctsf.py219CODE
LOWsktime/classification/model_evaluation/_functions.py260CODE
LOWsktime/classification/model_evaluation/_functions.py263CODE
LOWsktime/classification/model_evaluation/_functions.py405CODE
LOWsktime/classification/dictionary_based/_boss_pyts.py130CODE
LOWsktime/classification/dictionary_based/_weasel.py141CODE
LOWsktime/classification/dictionary_based/_muse.py140CODE
LOWsktime/classification/dictionary_based/_boss.py147CODE
LOWsktime/classification/dictionary_based/_boss.py572CODE
LOWsktime/classification/dictionary_based/_tde.py167CODE
LOWsktime/classification/dictionary_based/_tde.py705CODE
LOWsktime/classification/dictionary_based/_cboss.py149CODE
LOWsktime/classification/deep_learning/mvts_transformer.py90CODE
LOWsktime/classification/deep_learning/convtimenet.py117CODE
LOWsktime/classification/deep_learning/_pytorch.py33CODE
LOWsktime/classification/deep_learning/gru.py90CODE
LOWsktime/classification/deep_learning/gru.py312CODE
LOWsktime/classification/deep_learning/fcn/_fcn_tf.py86CODE
LOWsktime/classification/deep_learning/fcn/_fcn_torch.py97CODE
LOW…ation/deep_learning/inceptiontime/_inceptiontime_tf.py120CODE
LOW…on/deep_learning/inceptiontime/_inceptiontime_torch.py194CODE
LOW…time/classification/deep_learning/resnet/_resnet_tf.py82CODE
LOW…e/classification/deep_learning/resnet/_resnet_torch.py141CODE
LOWsktime/classification/deep_learning/cntc/_cntc_torch.py233CODE
LOWsktime/classification/deep_learning/cntc/_cntc_tf.py117CODE
LOWsktime/classification/deep_learning/cnn/_cnn_tf.py104CODE
LOWsktime/classification/deep_learning/cnn/_cnn_torch.py133CODE
LOW…me/classification/deep_learning/lstmfcn/_lstmfcn_tf.py95CODE
LOW…classification/deep_learning/lstmfcn/_lstmfcn_torch.py146CODE
LOW…ime/classification/deep_learning/macnn/_macnn_torch.py139CODE
LOWsktime/classification/deep_learning/macnn/_macnn_tf.py103CODE
LOW…time/classification/deep_learning/tapnet/_tapnet_tf.py116CODE
LOW…e/classification/deep_learning/tapnet/_tapnet_torch.py158CODE
LOW…assification/deep_learning/convtran/_convtran_torch.py136CODE
LOW…time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py102CODE
LOW…e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py140CODE
LOWsktime/classification/deep_learning/base/_base_torch.py156CODE
LOWsktime/classification/deep_learning/rnn/_rnn_tf.py86CODE
LOWsktime/classification/deep_learning/rnn/_rnn_torch.py142CODE
LOWsktime/classification/deep_learning/mlp/_mlp_tf.py96CODE
LOWsktime/classification/deep_learning/mlp/_mlp_torch.py155CODE
LOWsktime/classification/interval_based/_cif.py136CODE
LOWsktime/classification/interval_based/_cif.py259CODE
LOWsktime/classification/interval_based/_stsf.py245CODE
LOWsktime/classification/interval_based/_tsf.py187CODE
LOWsktime/classification/interval_based/_drcif.py159CODE
LOWsktime/classification/interval_based/_drcif.py418CODE
LOWsktime/classification/sklearn/_rotation_forest.py115CODE
LOWsktime/classification/sklearn/_rotation_forest.py328CODE
LOWsktime/classification/model_selection/_tune.py263CODE
LOW…/classification/feature_based/_signature_classifier.py118CODE
LOW…ime/classification/distance_based/_proximity_forest.py1367CODE
LOW…ime/classification/distance_based/_elastic_ensemble.py108CODE
LOW…lassification/distance_based/_time_series_neighbors.py159CODE
LOW…fication/distance_based/_time_series_neighbors_pyts.py128CODE
LOWsktime/classification/kernel_based/_svc_tslearn.py150CODE
LOWsktime/classification/kernel_based/_svc.py139CODE
LOWsktime/classification/kernel_based/_arsenal.py130CODE
LOWsktime/classification/foundation_models/mantis.py115CODE
LOWsktime/classification/foundation_models/tspulse.py245CODE
300 more matches not shown…
Deep Nesting287 hits · 283 pts
SeverityFileLineSnippetContext
LOWsktime/split/compose/_repeat.py108CODE
LOWsktime/split/compose/_sync_to_longest.py144CODE
LOWsktime/classification/ensemble/_weighted.py175CODE
LOWsktime/classification/model_evaluation/_functions.py158CODE
LOWsktime/classification/dictionary_based/_boss.py181CODE
LOWsktime/classification/dictionary_based/_boss.py356CODE
LOWsktime/classification/dictionary_based/_tde.py458CODE
LOWsktime/classification/dictionary_based/_tde.py528CODE
LOWsktime/classification/dictionary_based/_tde.py790CODE
LOWsktime/classification/dictionary_based/_tde.py873CODE
LOWsktime/classification/dictionary_based/_cboss.py187CODE
LOWsktime/classification/compose/_column_ensemble.py399CODE
LOWsktime/classification/compose/_column_ensemble.py103CODE
LOWsktime/classification/tests/test_all_classifiers.py171CODE
LOWsktime/classification/deep_learning/base/_base_torch.py247CODE
LOWsktime/classification/deep_learning/base/_base_torch.py340CODE
LOWsktime/classification/deep_learning/base/_base_torch.py561CODE
LOWsktime/classification/deep_learning/base/_base_tf.py139CODE
LOWsktime/classification/deep_learning/base/_base_tf.py180CODE
LOWsktime/classification/deep_learning/base/_base_tf.py289CODE
LOWsktime/classification/deep_learning/rnn/_rnn_tf.py178CODE
LOWsktime/classification/interval_based/_cif.py358CODE
LOWsktime/classification/interval_based/_drcif.py562CODE
LOW…me/classification/sklearn/_continuous_interval_tree.py330CODE
LOW…ssification/sklearn/_continuous_interval_tree_numba.py18CODE
LOW…ime/classification/distance_based/_proximity_forest.py1758CODE
LOW…ime/classification/distance_based/_elastic_ensemble.py149CODE
LOW…ime/classification/distance_based/_elastic_ensemble.py447CODE
LOWsktime/classification/distance_based/_shape_dtw.py386CODE
LOWsktime/classification/kernel_based/_arsenal.py171CODE
LOWsktime/classification/foundation_models/momentfm.py571CODE
LOWsktime/classification/foundation_models/momentfm.py633CODE
LOWsktime/pipeline/step.py93CODE
LOWsktime/pipeline/pipeline.py242CODE
LOWsktime/pipeline/pipeline.py330CODE
LOWsktime/transformations/binning.py135CODE
LOWsktime/transformations/dropna.py158CODE
LOWsktime/transformations/hidalgo.py259CODE
LOWsktime/transformations/hidalgo.py371CODE
LOWsktime/transformations/feature_selection.py108CODE
LOWsktime/transformations/vmd.py182CODE
LOWsktime/transformations/evoforest_tswm.py237CODE
LOWsktime/transformations/evoforest_tswm.py268CODE
LOWsktime/transformations/fabba.py303CODE
LOWsktime/transformations/fabba.py452CODE
LOWsktime/transformations/fabba.py556CODE
LOWsktime/transformations/fabba.py1098CODE
LOWsktime/transformations/hilbert.py88CODE
LOWsktime/transformations/impute.py164CODE
LOWsktime/transformations/impute.py207CODE
LOWsktime/transformations/adi_cv.py164CODE
LOWsktime/transformations/catch22.py135CODE
LOWsktime/transformations/catch22.py507CODE
LOWsktime/transformations/adapt.py259CODE
LOWsktime/transformations/time_since.py131CODE
LOWsktime/transformations/time_since.py217CODE
LOWsktime/transformations/dummies.py138CODE
LOWsktime/transformations/wavelet_packet.py83CODE
LOWsktime/transformations/segment.py525CODE
LOWsktime/transformations/fourier.py175CODE
227 more matches not shown…
Over-Commented Block239 hits · 218 pts
SeverityFileLineSnippetContext
LOWpyproject.toml61 "scikit-learn>=0.24,<1.10.0", # required for estimators and framework layerCOMMENT
LOWsktime/classification/interval_based/_rise_numba.py61 # i = lag - 1COMMENT
LOW…ime/classification/distance_based/_proximity_forest.py461 "epsilon": stats.uniform(0.2 * stdp, stdp - 0.2 * stdp),COMMENT
LOW…ime/classification/distance_based/_proximity_forest.py601 param_perm = {}COMMENT
LOW…ime/classification/distance_based/_elastic_ensemble.py181COMMENT
LOWsktime/transformations/difference.py141 lag_last = lags.pop()COMMENT
LOWsktime/transformations/fabba.py1241 p.close()COMMENT
LOWsktime/transformations/peak.py181 # --------------COMMENT
LOWsktime/transformations/time_since.py241 # is not compatible with timedelta type (e.g., "M", "MS", "Y")COMMENT
LOWsktime/transformations/lag.py301 Data to be inverse transformedCOMMENT
LOW…ime/transformations/hierarchical/reconcile/_optimal.py201 X_arr = P @ X_arrCOMMENT
LOWsktime/transformations/hierarchical/reconcile/_utils.py221COMMENT
LOW…sformations/hierarchical/tests/reconcile/test_utils.py121 # Otherwise, do a broader checkCOMMENT
LOW…ns/hierarchical/tests/reconcile/test_full_hierarchy.py41 reason="run test only if module has changed",COMMENT
LOWsktime/transformations/compose/_featureunion.py61 "visual_block_kind": "parallel",COMMENT
LOWsktime/transformations/tests/test_all_transformers.py261# fit_args = _make_args(estimator, "fit")COMMENT
LOW…nsformations/shapelet_transform/_shapelet_transform.py201 # Here we establish the order of cases to sample. We need to sampleCOMMENT
LOWsktime/transformations/base/_base.py141COMMENT
LOWsktime/transformations/base/_base.py1201COMMENT
LOWsktime/transformations/base/_base.py1401 elif self.get_tag("capability:unequal_length:adds"):COMMENT
LOWsktime/datasets/_readers_writers/utils.py221 raise ValueError("Unknown 'split' value - should be TRAIN/train or TEST/test")COMMENT
LOWsktime/datasets/_readers_writers/utils.py241 file.write(str(third_line) + "\n")COMMENT
LOWsktime/datasets/data/GunPoint/GunPoint_TEST.ts1#This dataset involves one female actor and one male actor making aCOMMENT
LOWsktime/datasets/data/GunPoint/GunPoint_TRAIN.ts1#This dataset involves one female actor and one male actor making aCOMMENT
LOWsktime/tests/_config.py61COMMENT
LOWsktime/libs/timesfm/patched_decoder.py1# Copyright 2024 Google LLCCOMMENT
LOWsktime/libs/timesfm/xreg_lib.py1# Copyright 2024 The Google Research Authors.COMMENT
LOWsktime/libs/timesfm/data_loader.py1# Copyright 2024 The Google Research Authors.COMMENT
LOWsktime/libs/timesfm/time_features.py1# Copyright 2024 The Google Research Authors.COMMENT
LOWsktime/libs/timesfm/timesfm.py1# Copyright 2024 Google LLCCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py321# self.reduction = reductionCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py341# dtype=None,COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py361# return wCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py381# # Safety: ensure Q matches pred.size(1) when using default tausCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py401# if horizon_weights is not None:COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py421# """COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py441# """COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py461# self,COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py481# # Broadcast shapesCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py1921 #COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2701 # # quantiles around medianCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2721# super().__init__()COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2741# self.dw = nn.Conv1d(1, 1, kernel_size=self.mq_kernel_size, padding=pad)COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2761# self.mq_decoder_d_model,COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2781# x = self.inorm(self.dw(x))COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2801# # [B,C,P,D] → [B,C,P,md]COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2821# up_raw = o[:, :, 5:9, :]COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2841# q90 = q50 + up_cum[:, :, 3:4, :]COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2861COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2881# self.temperature_per_horizon = bool(COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2901# hidden, 9, kernel_size=1, bias=TrueCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2921# if self._temp_u is None:COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2941# """COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2961# down_inc = F.softplus(down_raw) + self.epsCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py2981COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py3001# Turn mean forecasts [B, C, T] into quantiles [B, C, 9, T] for q = 0.1..0.9.COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py3021# ) # [bias50, 4*down, 4*up]COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py3041# x = mean_hat.reshape(B * C, 1, T) # share weights across channelsCOMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py3061# down_cum = torch.cumsum(down_inc, dim=2)COMMENT
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py4301 # self,COMMENT
179 more matches not shown…
Self-Referential Comments67 hits · 190 pts
SeverityFileLineSnippetContext
MEDIUMsktime/classification/deep_learning/convtimenet.py68 >>> # Create a sample multivariate time series datasetSTRING
MEDIUM…ime/classification/distance_based/_proximity_forest.py537 # Create a new transformer instance to avoid pickling issues in parallelCOMMENT
MEDIUM…ime/classification/distance_based/_proximity_forest.py564 # Create a new transformer instance to avoid pickling issues in parallelCOMMENT
MEDIUMsktime/classification/foundation_models/momentfm.py423 # Create a OneCycleLR schedulerCOMMENT
MEDIUMsktime/transformations/slope.py147 # Create a list that contains 1,2,3,4,...,len(Y) for the x coordinates.COMMENT
MEDIUMsktime/transformations/adi_cv.py147 # Initialize the parent classSTRING
MEDIUMsktime/transformations/fourier.py192 # Create the sp, k pairsSTRING
MEDIUMsktime/transformations/padder.py31 >>> # Create a sample nested DataFrame with unequal length time seriesSTRING
MEDIUM…ime/transformations/hierarchical/reconcile/_optimal.py288 # Define the objectiveCOMMENT
MEDIUM…ime/transformations/hierarchical/reconcile/_optimal.py354 # Create a DataFrame with the same row index and MultiIndex columnsCOMMENT
MEDIUMsktime/transformations/tests/test_differencer.py298 # Define the TransformedTargetForecaster for yCOMMENT
MEDIUMsktime/transformations/tests/test_differencer.py306 # Create the ForecastingPipeline for y and XCOMMENT
MEDIUM⚡sktime/transformations/tests/test_hampelfilter.py19 # Create a sample time series with outliersCOMMENT
MEDIUM⚡sktime/transformations/tests/test_hampelfilter.py35 # Create a sample time series with outliersCOMMENT
MEDIUMsktime/transformations/tests/test_base.py770 # Define the multi-indexCOMMENT
MEDIUMsktime/datatypes/_dtypekind.py167# This function is to broadly classify all dtypekinds into CATEGORICAL or FLOATCOMMENT
MEDIUMsktime/datatypes/_panel/_check.py1483 # Importing required librariesCOMMENT
MEDIUMsktime/datatypes/_adapter/gluonts.py175 # Importing required librariesCOMMENT
MEDIUMsktime/datatypes/_adapter/gluonts.py361 # Importing required librariesCOMMENT
MEDIUMsktime/datatypes/_adapter/tests/test_dask_pd.py41 # Create a regular pandas DataFrameCOMMENT
MEDIUMsktime/datasets/_readers_writers/ts.py602 # Create a DataFrame from the data parsed aboveCOMMENT
MEDIUMsktime/clustering/compose/_as_transform.py130 # Create a mappingCOMMENT
MEDIUMsktime/utils/plotting.py614 # Create a constant vector based on the split for y-axis."""COMMENT
MEDIUMsktime/libs/timesfm/patched_decoder.py67 # Create a range array for indexingCOMMENT
MEDIUMsktime/libs/timesfm/patched_decoder.py162 # Create a mask where P is 0COMMENT
MEDIUMsktime/libs/kronos/kronos.py174 ) # Create a mask for bit extractionCODE
MEDIUMsktime/libs/kronos/kronos.py181 ) # Create a mask for bit extractionCODE
MEDIUMsktime/libs/mira/modeling_mira.py65 # Define a dummy odeint to prevent NameError, but raise NotImplementedError if calledCOMMENT
MEDIUMsktime/libs/windfm/windfm.py216 ) # Create a mask for bit extractionCODE
MEDIUMsktime/libs/windfm/windfm.py223 ) # Create a mask for bit extractionCODE
MEDIUMsktime/libs/lag_llama/data/augmentations/freq_mask.py34 # Create a random mask with a probability defined by 'rate'.COMMENT
MEDIUMsktime/libs/lag_llama/data/augmentations/freq_mix.py35 # Create a random mask with a probability defined by 'rate'.COMMENT
MEDIUM…ime/libs/lag_llama/data/augmentations/augmentations.py175 # Create an index for flipping, where each element has a 50% chance ofCOMMENT
MEDIUM…ime/libs/lag_llama/data/augmentations/augmentations.py183 # Create a tensor of ones, which will be used to flip the sign of theCOMMENT
MEDIUM…ime/libs/lag_llama/data/augmentations/augmentations.py226 # Create an array representing the original order of data points.COMMENT
MEDIUM…ime/libs/lag_llama/data/augmentations/augmentations.py366 # Create a cubic spline based on the warp steps and random warpsCOMMENT
MEDIUMsktime/networks/scinet.py304 # Initialize all class parameters with provided arguments or default valuesCOMMENT
MEDIUM⚡sktime/forecasting/moirai.py854 # Create a new MultiIndex with the flattened level and the last level unchangedCOMMENT
MEDIUMsktime/forecasting/convtimenet.py103 >>> # Create a sample univariate time seriesSTRING
MEDIUMsktime/forecasting/var_reduce.py346 # Create a new `fh` object with only in-sample valuesCOMMENT
MEDIUMsktime/forecasting/var_reduce.py374 # Create an index for all generated forecastsCOMMENT
MEDIUMsktime/forecasting/var_reduce.py381 # Create a new `fh` object with only the required outsample indicesCOMMENT
MEDIUMsktime/forecasting/lagllama.py481 # Initialize parent classCOMMENT
MEDIUM⚡sktime/forecasting/lagllama.py1538 # Create a new MultiIndex with the flattened level and the last level unchangedCOMMENT
MEDIUMsktime/forecasting/scinet.py230 # Define the SCINet-based networkCOMMENT
MEDIUMsktime/forecasting/pyfable_arima.py312 # Define the R script to prepare the tsibbleSTRING
MEDIUMsktime/forecasting/pyfable_arima.py382 # Define the R script to fit the ARIMA modelSTRING
MEDIUMsktime/forecasting/momentfm.py350 # Create a OneCycleLR schedulerCOMMENT
MEDIUMsktime/forecasting/boxcox_biasadj.py54 >>> # Define the forecasting horizonCODE
MEDIUM…me/forecasting/compose/_transform_select_forecaster.py209 # Create a list of forecastersCOMMENT
MEDIUMsktime/forecasting/compose/_grouped.py354 # Create a list of forecastersCOMMENT
MEDIUM…ng/compose/tests/test_transformer_select_forecaster.py66 # Defining the forecasterCOMMENT
MEDIUMsktime/forecasting/compose/tests/test_pipeline.py667 # Create a pipeline with YtoX() and WindowSummarizerCOMMENT
MEDIUMsktime/forecasting/compose/tests/test_pipeline.py732 # Create a forecaster that natively implements _predict_probaCOMMENT
MEDIUM…e/forecasting/tests/test_hf_transformers_forecaster.py53 # Define the forecasting horizon and predictCOMMENT
MEDIUMsktime/forecasting/tests/test_cisco_tsm.py28 # Create a simple test seriesCOMMENT
MEDIUM⚡sktime/forecasting/tests/test_dummy_global.py250 # Create a single series (not panel data)COMMENT
MEDIUMsktime/forecasting/tests/test_arar.py21 # Create a simple time seriesCOMMENT
MEDIUMsktime/forecasting/tests/test_arar.py44 # Create a simple time seriesCOMMENT
MEDIUMsktime/forecasting/tests/test_arar.py66 # Create a simple time seriesCOMMENT
7 more matches not shown…
Empty Error Handlers26 hits · 130 pts
SeverityFileLineSnippetContext
HIGHsktime/classification/model_evaluation/_functions.py64except (TypeError, ValueError, AttributeError):CODE
HIGHsktime/datatypes/_utilities.py284except ValueError:CODE
HIGHsktime/datatypes/_vectorize.py666except TypeError:CODE
HIGHsktime/datatypes/_vectorize.py668except ValueError:CODE
HIGHsktime/datasets/_readers_writers/arff.py209except OSError:CODE
HIGHsktime/datasets/_readers_writers/utils.py127except OSError:CODE
HIGHsktime/datasets/_readers_writers/utils.py213except OSError:CODE
HIGHsktime/datasets/_readers_writers/tsf.py96except ValueError:CODE
HIGHsktime/utils/datetime.py77except Exception: # noqa: S110CODE
HIGHsktime/utils/dependencies/_placeholder.py105except Exception: # noqa: S110CODE
HIGHsktime/utils/sklearn/_scoring.py155except (TypeError, ValueError):CODE
HIGHsktime/libs/mira/modeling_mira.py53except:CODE
HIGHsktime/libs/timemoe/time_moe_window_dataset.py39except ImportError:CODE
HIGHsktime/libs/timemoe/time_moe_window_dataset.py112except ImportError:CODE
HIGH…me/forecasting/model_evaluation/tests/test_evaluate.py608except NotImplementedError:CODE
HIGHsktime/forecasting/compose/_reduce_proba.py711except TypeError:CODE
HIGHsktime/forecasting/tests/test_all_forecasters.py571except NotImplementedError: # noqa: S110CODE
HIGHsktime/forecasting/tests/test_pytorchforecasting.py94except AttributeError: # noqa: S110CODE
HIGHsktime/forecasting/model_selection/_base.py154except NotImplementedError:CODE
HIGHsktime/forecasting/base/adapters/_pytorchforecasting.py350except AttributeError:CODE
HIGHsktime/forecasting/base/adapters/_pytorchforecasting.py367except AttributeError:CODE
HIGHsktime/forecasting/base/adapters/_pytorchforecasting.py443except AttributeError:CODE
HIGHsktime/forecasting/base/adapters/_pytorchforecasting.py462except AttributeError:CODE
HIGHsktime/detection/_utils.py550except ImportError:CODE
HIGHsktime/detection/_utils.py601except ImportError:CODE
HIGHsktime/base/_base.py255except Exception: # noqa: S110CODE
Redundant / Tautological Comments53 hits · 83 pts
SeverityFileLineSnippetContext
LOWsktime/classification/tests/test_all_classifiers.py255 # Check if the estimator supports class_weightCOMMENT
LOWsktime/pipeline/pipeline.py213 # Check if not already an skobject cloned from the providedCOMMENT
LOWsktime/transformations/fabba.py335 # Check if only a single series or multipleCOMMENT
LOWsktime/transformations/fabba.py768 # Assign symbols to labelsCOMMENT
LOWsktime/transformations/fabba.py1129 # Check if only a single series or multipleCOMMENT
LOWsktime/transformations/tests/test_window_summarizer.py73 # Check if the variable name exists and return itCOMMENT
LOWsktime/transformations/signature_based/_checks.py44 # Check if pandas so we can convert backCOMMENT
LOWsktime/transformations/tsfel/_tsfel.py170 # Check if feature existsCOMMENT
LOWsktime/transformations/tsfel/_tsfel.py178 # Check if feature requires parameters that aren't providedCOMMENT
LOWsktime/transformations/detrend/tests/test_mstl.py32 # Check if the transformed data has the expected componentsCOMMENT
LOWsktime/datatypes/_panel/_check.py1334 # Check if there are no time series in the ListDatasetCOMMENT
LOWsktime/datatypes/_panel/_check.py1503 # Check if there are no valuesCOMMENT
LOWsktime/datatypes/_series/_check.py963 # Check if there are no time series in the ListDatasetCOMMENT
LOWsktime/datatypes/_series/_check.py1013 # Check if a valid Frequency is setCOMMENT
LOWsktime/datatypes/_series/_check.py1118 # Check if there are no valuesCOMMENT
LOWsktime/datasets/_readers_writers/ts.py94 # Check if this line contains metadataCOMMENT
LOWsktime/datasets/_readers_writers/ts.py166 # Check if we have any associated class valuesCOMMENT
LOWsktime/datasets/_readers_writers/ts.py198 # Check if this line contains the start of dataCOMMENT
LOWsktime/datasets/_readers_writers/ts.py224 # Check if we are dealing with data that has timestampsCOMMENT
LOWsktime/datasets/_readers_writers/ts.py257 # Check if we have reached a class labelCOMMENT
LOWsktime/datasets/_readers_writers/ts.py320 # Check if there is another value orCOMMENT
LOWsktime/datasets/_readers_writers/ts.py541 # Check if we should have class values, and if soCOMMENT
LOWsktime/datasets/_readers_writers/ts.py608 # Check if we should return any associated class labels separatelyCOMMENT
LOW⚡sktime/datasets/tests/test_datadownload.py105 # Check if the response status code is 200 (OK)COMMENT
LOW⚡sktime/datasets/tests/test_datadownload.py110 # Check if the response headers indicate that the content is downloadableCOMMENT
LOWsktime/datasets/tests/test_all_datasets.py60 # Check if the output is a generatorCOMMENT
LOWsktime/datasets/base/_base.py167 # Check if loader_func has split and return_type parametersCOMMENT
LOWsktime/utils/multiindex.py209 # Check if any child value appears under multiple parent valuesCOMMENT
LOWsktime/utils/_testing/estimator_checks.py119 # Check if both inputs have the same shapeCOMMENT
LOWsktime/utils/validation/series.py133 # Check if pandas series or numpy arrayCOMMENT
LOWsktime/utils/validation/forecasting.py108 # Check if pandas series or numpy arrayCOMMENT
LOWsktime/utils/validation/forecasting.py292 # Check if non-empty, note we check for empty values here, rather thanCOMMENT
LOWsktime/libs/momentfm/utils/data.py47 # Open fileCOMMENT
LOWsktime/alignment/dtw_python.py137 # Check if the user has the incorrect 'dtw' package installed.COMMENT
LOWsktime/alignment/dtw_python.py379 # Check if the user has the incorrect 'dtw' package installed.COMMENT
LOWsktime/forecasting/moirai.py493 # Check if the index is a range indexCOMMENT
LOWsktime/forecasting/convtimenet.py243 # Check if context_window needs adjustmentCOMMENT
LOWsktime/forecasting/convtimenet.py262 # Check if patch_ks needs adjustment based on context_windowCOMMENT
LOWsktime/forecasting/convtimenet.py344 # Check if we need to drop the last batch to avoid single sampleCOMMENT
LOWsktime/forecasting/lagllama.py547 # Check if hierarchical (3+ levels) and convert to panel formatCOMMENT
LOWsktime/forecasting/lagllama.py599 # Check if column is not of string typeCOMMENT
LOWsktime/forecasting/dummy_global.py239 # Check if we're dealing with multivariate dataCOMMENT
LOWsktime/forecasting/dummy_global.py274 # Check if we're dealing with multivariate dataCOMMENT
LOW…me/forecasting/model_evaluation/tests/test_evaluate.py109 # Check if all timings are positive.COMMENT
LOW…ng/compose/tests/test_transformer_select_forecaster.py70 # Check if the type of the chosen forecaster matches the provided forecaster typeCOMMENT
LOWsktime/forecasting/tests/test_all_forecasters.py1071 # Check if forecaster has overridden _pretrainCOMMENT
LOWsktime/forecasting/model_selection/tests/test_tune.py81 # Check if best parameters are selected.COMMENT
LOWsktime/forecasting/base/_fh.py734 # Check if all timedeltas are present with min_diff spacingCOMMENT
LOW⚡…erformance_metrics/forecasting/sample_weight/_types.py96 # Check if the function has at least one parameter (y_true)COMMENT
LOW⚡…erformance_metrics/forecasting/sample_weight/_types.py103 # Check if the first parameter is y_trueCOMMENT
LOW⚡…erformance_metrics/forecasting/sample_weight/_types.py107 # Check if the function accepts **kwargsCOMMENT
LOWsktime/detection/ggs.py286 # Check if we need to adjust itCOMMENT
LOWsktime/detection/ggs.py346 # Check if our algorithm is finishedCOMMENT
Excessive Try-Catch Wrapping52 hits · 54 pts
SeverityFileLineSnippetContext
LOWsktime/classification/model_evaluation/_functions.py223 except Exception as e:CODE
LOW…ime/classification/distance_based/_proximity_forest.py97 except Exception:CODE
LOWsktime/transformations/compose/_transformif.py231 except Exception:CODE
LOWsktime/transformations/tests/test_all_transformers.py244 except Exception as e:CODE
LOWsktime/datasets/_dataset_downloader.py290 except Exception as e:CODE
LOWsktime/datasets/_dataset_downloader.py434 except Exception as e:CODE
LOWsktime/tests/test_class_register.py84 except Exception:CODE
LOWsktime/utils/git_diff.py52 except Exception as e:STRING
LOWsktime/utils/datetime.py77 except Exception: # noqa: S110CODE
LOWsktime/utils/tests/test_mlflow_sktime_model_export.py48 except Exception as e:CODE
LOWsktime/utils/dependencies/_placeholder.py105 except Exception: # noqa: S110CODE
LOWsktime/utils/adapters/forward.py67 except Exception:CODE
MEDIUMsktime/utils/adapters/forward.py62def hasattr_safe(obj, attr):CODE
LOWsktime/utils/sklearn/_scitype.py226 except Exception:CODE
LOWsktime/libs/timer_s1/modeling_TimerS1.py92 except Exception:CODE
LOWsktime/libs/timer_s1/modeling_TimerS1.py1023 except Exception:CODE
LOWsktime/libs/fracdiff/tests/sklearn/test_fracdiff.py39 except Exception as e:CODE
MEDIUMsktime/libs/fracdiff/tests/sklearn/test_fracdiff.py36def test_sklearn_compatible_estimator(self, estimator, check):CODE
LOWsktime/libs/tbats/abstract/Model.py197 except Exception as validation_exception:CODE
LOWsktime/libs/tbats/abstract/Estimator.py112 except Exception as validation_exception:CODE
LOW⚡sktime/libs/tbats/abstract/Estimator.py246 except Exception as validation_exception:CODE
LOWsktime/registry/_craft.py207 except Exception as e:CODE
LOWsktime/registry/_alias.py66 except Exception as e:CODE
LOWsktime/benchmarking/benchmarks.py698 except Exception as exc:CODE
LOWsktime/forecasting/mapa.py218 except Exception as e:CODE
LOWsktime/forecasting/mapa.py495 except Exception as e:CODE
LOWsktime/forecasting/mapa.py562 except Exception as e:CODE
LOWsktime/forecasting/mapa.py695 except Exception as e:CODE
LOWsktime/forecasting/moirai.py327 except Exception:CODE
LOWsktime/forecasting/moirai.py935 except Exception:CODE
LOWsktime/forecasting/cinn.py242 except Exception as e:CODE
LOWsktime/forecasting/cinn.py360 except Exception:CODE
LOWsktime/forecasting/moirai2.py171 except Exception:CODE
LOWsktime/forecasting/autots.py370 except Exception as e:CODE
LOWsktime/forecasting/neuralprophet.py248 except Exception:CODE
LOWsktime/forecasting/chronos.py417 except Exception as e:CODE
LOWsktime/forecasting/ets.py277 except Exception:CODE
LOWsktime/forecasting/model_evaluation/_functions.py303 except Exception as e:CODE
LOWsktime/forecasting/arar/_arar_forecaster.py241 except Exception as e:CODE
LOWsktime/forecasting/compose/_fallback.py255 except Exception as e:CODE
LOWsktime/forecasting/compose/_fallback.py298 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py224 except Exception as e:STRING
LOWsktime/forecasting/agentic/_autoresearch.py417 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py680 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py796 except Exception as e:CODE
LOWsktime/forecasting/base/_base_proba.py284 except Exception as exc:CODE
LOW…orecasting/base/adapters/_generalised_statsforecast.py409 except Exception:CODE
LOWsktime/base/_base.py255 except Exception: # noqa: S110CODE
LOWdocs/source/conf.py188 except Exception:CODE
LOW.github/workflows/test.yml683 except Exception as exc:CODE
LOW.github/workflows/test.yml709 except Exception as exc:CODE
LOW.github/workflows/test.yml721 except Exception:CODE
AI Slop Vocabulary31 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMsktime/classification/tests/test_all_classifiers.py82 # this is more robust against different scitypes in X_newCOMMENT
LOWsktime/transformations/dwt.py163 # if length is 1, just return the list backCOMMENT
LOWsktime/transformations/hurst.py237 # If matplotlib is not installed, we'll just return without plottingCOMMENT
MEDIUMsktime/transformations/tests/test_date.py28 # Test that comprehensive feature_scope works for weeksCOMMENT
MEDIUM⚡sktime/transformations/tests/test_date.py71 # Test that comprehensive feature_scope works for monthsCOMMENT
LOWsktime/clustering/kvisibility.py218 # if X is the same as seen in _fit, simply return the labelsCOMMENT
LOWsktime/clustering/dbscan.py258 # if X is the same as seen in _fit, simply return the labelsCOMMENT
MEDIUMsktime/clustering/tests/test_all_clusterers.py65 # this is more robust against different scitypes in X_newCOMMENT
LOWsktime/clustering/spatio_temporal/_st_dbscan.py323 # if X is the same as seen in _fit, simply return the labelsCOMMENT
LOWsktime/utils/datetime.py230 # if we want index, we can simply use add dunder or shiftCOMMENT
MEDIUMsktime/libs/granite_ttm/modeling_tinytimemixer.py4057 # initial smooth (no robust weights)STRING
MEDIUMsktime/libs/granite_ttm/modeling_tinytimemixer.py4062 # robust reweighting loops (Tukey bisquare on centered residuals with MAD scale)STRING
MEDIUMsktime/libs/tbats/bats/BATS.py73 """Checks all allowed parameter combinations in order to choose best model"""STRING
LOWsktime/networks/mcdcnn/_mcdcnn_tf.py129 # therefore simply use that layer, bypassing concat layer.COMMENT
MEDIUMsktime/regression/tests/test_all_regressors.py75 # this is more robust against different scitypes in X_newCOMMENT
MEDIUMsktime/forecasting/windfm.py101 https://huggingface.co/NeoQuasar/WindFM-robustSTRING
MEDIUMsktime/forecasting/windfm.py105 https://huggingface.co/NeoQuasar/WindFM-Tokenizer-robustSTRING
MEDIUM⚡sktime/forecasting/windfm.py137 ... # robust variants:STRING
MEDIUM⚡sktime/forecasting/windfm.py138 ... # model_path="NeoQuasar/WindFM-robust",STRING
MEDIUM⚡sktime/forecasting/windfm.py139 ... # tokenizer_path="NeoQuasar/WindFM-Tokenizer-robust",STRING
LOWsktime/forecasting/lagllama.py862 # If already pretrained, predictor_ exists - just returnCOMMENT
LOWsktime/forecasting/pyfable_arima.py344 # irregular case - just pass through the (possibly POSIXct) timestampSTRING
LOWsktime/forecasting/momentfm.py740 # in the case of a regular multivariate df, we just return the trivial caseCOMMENT
LOWsktime/forecasting/reconcile.py201 # # check the length of index if not hierarchical just return self earlyCOMMENT
LOWsktime/forecasting/compose/_pipeline.py748 # else we just pass on yCOMMENT
MEDIUM…me/forecasting/compose/_transform_select_forecaster.py403 # Attempting to utilize the fallback forecasterCOMMENT
MEDIUMsktime/forecasting/compose/_grouped.py576 # Attempting to utilize the fallback forecasterCOMMENT
MEDIUMsktime/detection/datagen.py363 """Data generator base class in order to allow composition."""STRING
MEDIUMsktime/detection/stray.py16 """STRAY: robust anomaly detection in data streams with concept drift.STRING
LOWsktime/base/_meta.py453 # if already unique, just returnCOMMENT
LOWextension_templates/forecasting.py454 # default: just call _pretrain againCOMMENT
Modern AI Meta-Vocabulary15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMsktime/split/_legacy_splitters.py51 # data loader during orchestration,COMMENT
MEDIUMsktime/classification/foundation_models/mantis.py226 # because the multiton is for the zero-shot/frozen forecaster pattern.COMMENT
MEDIUM…rmations/rocket/_minirocket_multivariate_cython_est.py168 # reuse the non-numba fit scaffolding from the numba moduleCOMMENT
MEDIUMsktime/libs/granite_ttm/modeling_tinytimemixer.py1336 ) # Number of items to skip in the context window from the endCODE
MEDIUMsktime/benchmarking/base.py79 # assigned during fitting of orchestrationCOMMENT
MEDIUMsktime/benchmarking/tests/test_orchestration.py41# simple test of orchestration and metric evaluationCOMMENT
MEDIUMsktime/benchmarking/tests/test_orchestration.py89# extensive tests of orchestration and metric evaluation against sklearnCOMMENT
MEDIUMsktime/benchmarking/tests/test_orchestration.py117 # set up orchestrationCOMMENT
MEDIUM⚡sktime/forecasting/moirai.py229 # Since the model is stateless (zero-shot) and already cached by theCOMMENT
MEDIUMsktime/forecasting/patch_tst.py334 >>> #Example with a pre-trained model to do zero-shot forecastingSTRING
MEDIUMsktime/forecasting/tests/test_kronos.py19# The full series is used as context: Kronos is a zero-shot pretrained modelCOMMENT
MEDIUM…e/forecasting/tests/test_hf_transformers_forecaster.py70# trainable -- fitting is a no-op and prediction is genuinely zero-shot.COMMENT
MEDIUM…e/forecasting/tests/test_hf_transformers_forecaster.py135 # a genuinely zero-shot forecast has no reinitialized weights to adaptCOMMENT
MEDIUMsktime/forecasting/tests/test_momentfm.py19# MomentFM has no zero-shot mode: the forecasting head is always randomlyCOMMENT
MEDIUMsktime/detection/momentfm.py274 # For zero-shot, just move to deviceCOMMENT
Slop Phrases14 hits · 21 pts
SeverityFileLineSnippetContext
LOWsktime/libs/mira/modeling_mira.py487 # the current expert. We need to make sure to multiply the output hiddenCOMMENT
LOWsktime/libs/timemoe/timemoe.py526 # the current expert. We need to make sure to multiply the output hiddenCOMMENT
LOWextension_templates/clustering.py48# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/classification.py50# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/alignment.py49# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/metric_detection.py43# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/metric_forecasting.py54# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/split.py47# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/transformer.py50# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/dist_kern_tab.py31# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/dist_kern_panel.py31# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/param_est.py40# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/metric_forecasting_hierarchical.py64# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
LOWextension_templates/forecasting.py54# make sure to fill in the "python_dependencies" tag with the package import nameCOMMENT
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡sktime/benchmarking/critical_difference.py175 # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2...COMMENT
LOW⚡sktime/benchmarking/critical_difference.py184 # Step 2: calculate average rank per strategyCOMMENT
LOW⚡sktime/benchmarking/critical_difference.py187 # Step 3 : check whether Friedman test is significantCOMMENT
LOW⚡sktime/benchmarking/critical_difference.py190 # Step 4: If Friedman test is significant calculate critical difference as part ofCOMMENT
LOWsktime/benchmarking/critical_difference.py385 # Step 5: compute statistically similar cliquesCOMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡sktime/benchmarking/critical_difference.py175 # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2...COMMENT
LOW⚡sktime/benchmarking/critical_difference.py184 # Step 2: calculate average rank per strategyCOMMENT
LOW⚡sktime/benchmarking/critical_difference.py187 # Step 3 : check whether Friedman test is significantCOMMENT
LOW⚡sktime/benchmarking/critical_difference.py190 # Step 4: If Friedman test is significant calculate critical difference as part ofCOMMENT
LOWsktime/benchmarking/critical_difference.py385 # Step 5: compute statistically similar cliquesCOMMENT
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡sktime/param_est/impulse/_response.py263 dummy_data = np.zeros((10, k_vars))CODE
LOW⚡sktime/param_est/impulse/_response.py270 dummy_model = ImportedModel(dummy_data, order=(p, q), trend=trend_type)CODE
LOW⚡sktime/param_est/impulse/_response.py278 endog=dummy_data,CODE
LOW…/libs/granite_ttm/tests/test_modeling_tinytimemixer.py54 instance_dict["fake_key"] = sentinelCODE
LOWsktime/libs/lag_llama/gluon/estimator.py474 dummy_value=self.distr_output.value_in_support,CODE
LOWsktime/forecasting/compose/_reduce_proba.py863 params = [{**params1, "estimator": "placeholder"}]CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsktime/forecasting/base/_base.py2054 # TODO: add tests that :COMMENT
LOWextension_templates/catalogue.py130 # TODO: implement thisCOMMENT