A unified framework for machine learning with time series
This report presents the forensic synthetic code analysis of sktime/sktime, a Python project with 9,855 GitHub stars. SynthScan v2.0 examined 405,221 lines of code across 1788 source files, recording 6330 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 35.1 places this repository in the Strong 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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.
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.
The scanner identified 6330 distinct pattern matches across 19 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sktime/split/singlewindow.py | 0 | return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. paramete | STRING |
| HIGH | sktime/split/temporal_train_test_split.py | 0 | return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. paramete | STRING |
| HIGH | sktime/split/cutoff.py | 0 | return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. paramete | STRING |
| HIGH | sktime/split/singlewindow.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/temporal_train_test_split.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/cutoff.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/expandinggreedy.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/expandingcutoff.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/sameloc.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/expandingwindow.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/slidingwindow.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/testplustrain.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/compose/_repeat.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/split/instance.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | extension_templates/split.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/classification/dummy/_dummy.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/compose/_pipeline.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/param_est/compose/_pipeline.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/dists_kernels/dist_to_kern.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/dists_kernels/algebra.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/dists_kernels/indep.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | …me/regression/distance_based/_time_series_neighbors.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/regression/kernel_based/_rocket_regressor.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/forecasting/theta.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/forecasting/compose/_hierarchy_ensemble.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/forecasting/compose/_column_ensemble.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/performance_metrics/detection/_chamfer.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/performance_metrics/detection/_count.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/performance_metrics/detection/_f1score.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/performance_metrics/detection/_ts_auprc.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/classification/dictionary_based/_boss_pyts.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | …e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | …ation/distance_based/_time_series_neighbors_tslearn.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/classification/distance_based/_shape_dtw.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | …fication/distance_based/_time_series_neighbors_pyts.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/classification/kernel_based/_svc_tslearn.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | …ime/classification/shapelet_based/_learning_tslearn.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/classification/shapelet_based/_learning_pyts.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/hog1d.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/feature_selection.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/channel_selection.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/clasp.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/impute.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/truncation.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/catch22.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/subsequence_extraction.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/tsfresh.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/func_transform.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/adapt.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/filter.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/scaledlogit.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/scaledasinh.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/segment.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/acf.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/signature.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/outlier_detection.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/bootstrap/_splitterboot.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/bootstrap/_mbb.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/dictionary_based/_sax.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| HIGH | sktime/transformations/dictionary_based/_sfa.py | 0 | return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name o | STRING |
| 1283 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sktime/split/base/_base_splitter.py | 102 | # ----------------- | STRING |
| MEDIUM | sktime/classification/ensemble/_weighted.py | 89 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/ensemble/_weighted.py | 92 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/ensemble/_bagging.py | 82 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/ensemble/_bagging.py | 85 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/ensemble/_ctsf.py | 205 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/ensemble/_ctsf.py | 210 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/ensemble/_ctsf.py | 213 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/dummy/_dummy.py | 77 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/dummy/_dummy.py | 81 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/dummy/_dummy.py | 90 | # ----------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss_pyts.py | 103 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss_pyts.py | 107 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_weasel.py | 125 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_weasel.py | 130 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_muse.py | 122 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_muse.py | 127 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss.py | 134 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss.py | 138 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss.py | 561 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_boss.py | 565 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_tde.py | 152 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_tde.py | 156 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_tde.py | 693 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_tde.py | 697 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_cboss.py | 134 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/dictionary_based/_cboss.py | 139 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/compose/_multiplexer.py | 69 | # ----------------- | COMMENT |
| MEDIUM | sktime/classification/compose/_pipeline.py | 109 | # ----------------- | COMMENT |
| MEDIUM | sktime/classification/compose/_pipeline.py | 465 | # ----------------- | COMMENT |
| MEDIUM | sktime/classification/compose/_column_ensemble.py | 28 | # ----------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/fcn.py | 74 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/mvts_transformer.py | 85 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/convtimenet.py | 99 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/convtimenet.py | 104 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/convtimenet.py | 108 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/resnet.py | 66 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/cntc.py | 105 | # --------------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 66 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 72 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 77 | # --------------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 280 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 286 | # -------------- | COMMENT |
| MEDIUM⚡ | sktime/classification/deep_learning/gru.py | 291 | # --------------------- | COMMENT |
| MEDIUM⚡ | …ation/deep_learning/inceptiontime/_inceptiontime_tf.py | 106 | # -------------- | COMMENT |
| MEDIUM⚡ | …ation/deep_learning/inceptiontime/_inceptiontime_tf.py | 111 | # ------------ | COMMENT |
| MEDIUM⚡ | …ation/deep_learning/inceptiontime/_inceptiontime_tf.py | 114 | # --------------------- | COMMENT |
| MEDIUM | …on/deep_learning/inceptiontime/_inceptiontime_torch.py | 176 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/cnn/_cnn_tf.py | 89 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/cnn/_cnn_tf.py | 97 | # --------------------- | COMMENT |
| MEDIUM | …me/classification/deep_learning/lstmfcn/_lstmfcn_tf.py | 75 | # -------------- | COMMENT |
| MEDIUM | …classification/deep_learning/lstmfcn/_lstmfcn_torch.py | 134 | # -------------- | COMMENT |
| MEDIUM | …ime/classification/deep_learning/macnn/_macnn_torch.py | 127 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/macnn/_macnn_tf.py | 87 | # -------------- | COMMENT |
| MEDIUM | …time/classification/deep_learning/tapnet/_tapnet_tf.py | 92 | # -------------- | COMMENT |
| MEDIUM | …assification/deep_learning/convtran/_convtran_torch.py | 132 | # ---------------- | COMMENT |
| MEDIUM | …time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py | 83 | # -------------- | COMMENT |
| MEDIUM | …e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py | 129 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/rnn/_rnn_tf.py | 68 | # -------------- | COMMENT |
| MEDIUM | sktime/classification/deep_learning/rnn/_rnn_torch.py | 130 | # -------------- | COMMENT |
| 881 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/split/temporal_train_test_split.py | 20 | def temporal_train_test_split( | CODE |
| LOW | sktime/split/tests/test_split.py | 58 | def _check_cutoffs_against_test_windows(cutoffs, windows, fh, y): | CODE |
| LOW | sktime/split/tests/test_split.py | 75 | def _check_cutoffs_against_train_windows(cutoffs, windows, y): | CODE |
| LOW | sktime/split/tests/test_split.py | 104 | def _get_n_incomplete_windows(window_length, step_length) -> int: | CODE |
| LOW | sktime/split/tests/test_split.py | 120 | def test_window_splitter_in_sample_fh_smaller_than_window_length(CV): | CODE |
| LOW | sktime/split/tests/test_split.py | 138 | def test_window_splitter_in_sample_fh_greater_than_window_length(CV): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 18 | def test_sliding_greedy_splitter_lengths(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 31 | def test_sliding_greedy_splitter_forecast_horizon(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 54 | def test_sliding_greedy_splitter_indices(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 77 | def test_sliding_greedy_splitter_dates(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 143 | def test_sliding_greedy_splitter_hierarchy(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 204 | def test_sliding_greedy_splitter_consecutive(): | CODE |
| LOW | sktime/split/tests/test_slidinggreedy.py | 237 | def test_sliding_greedy_splitter_step_length(): | CODE |
| LOW | sktime/split/tests/test_slidingwindow.py | 32 | def test_sliding_window_splitter(y, fh, window_length, step_length): | CODE |
| LOW | sktime/split/tests/test_slidingwindow.py | 68 | def test_sliding_window_splitter_with_initial_window( | CODE |
| LOW | sktime/split/tests/test_slidingwindow.py | 110 | def test_sliding_window_splitter_start_with_empty_window( | CODE |
| LOW | sktime/split/tests/test_slidingwindow.py | 150 | def test_sliding_window_splitter_initial_window_start_with_empty_window_raises_error(): | CODE |
| LOW | sktime/split/tests/test_slidingwindow.py | 167 | def test_sliding_window_splitter_initial_window_smaller_than_window_raise_error(): | CODE |
| LOW | sktime/split/tests/test_sameloc.py | 48 | def test_same_loc_splitter_hierarchical(): | CODE |
| LOW | sktime/split/tests/test_expandinggreedy.py | 18 | def test_expanding_greedy_splitter_lengths(): | CODE |
| LOW | sktime/split/tests/test_expandinggreedy.py | 31 | def test_expanding_greedy_splitter_dates(): | CODE |
| LOW | sktime/split/tests/test_expandinggreedy.py | 59 | def test_expanding_greedy_splitter_hierarchy(): | CODE |
| LOW | sktime/split/tests/test_expandinggreedy.py | 91 | def test_expanding_greedy_splitter_consecutive(): | CODE |
| LOW | sktime/split/tests/test_expandinggreedy.py | 120 | def test_expanding_greedy_splitter_forecast_horizon(): | CODE |
| LOW | sktime/split/tests/test_cutoff.py | 30 | def test_cutoff_window_splitter(y, cutoffs, fh, window_length): | CODE |
| LOW | sktime/split/tests/test_temporaltraintest.py | 21 | def _check_train_test_split_y(fh, split): | CODE |
| LOW | sktime/split/tests/test_temporaltraintest.py | 63 | def test_temporal_train_test_split_float_only_y(): | CODE |
| LOW | sktime/split/tests/test_temporaltraintest.py | 105 | def test_temporal_train_test_split_int_only_y(): | CODE |
| LOW | sktime/split/tests/test_temporaltraintest.py | 141 | def test_temporal_train_test_split_hierarchical(): | CODE |
| LOW | sktime/split/tests/test_singlewindow.py | 29 | def test_single_window_splitter(y, fh, window_length): | CODE |
| LOW | sktime/split/tests/test_singlewindow.py | 62 | def test_single_window_splitter_default_window_length(y, fh): | CODE |
| LOW | sktime/split/tests/test_expandingcutoff.py | 242 | def test_expanding_cutoff_docstring_examples(): | CODE |
| LOW | sktime/split/tests/test_expandingcutoff.py | 293 | def test_expandingcutoff_step_length(): | CODE |
| LOW | sktime/split/tests/test_expandingwindow.py | 40 | def test_expanding_window_splitter_start_with_initial_window_zero(y, fh, step_length): | CODE |
| LOW | sktime/split/tests/test_expandingwindow.py | 70 | def test_expanding_window_splitter_start_with_empty_window( | CODE |
| LOW | sktime/split/tests/test_expandingwindow.py | 104 | def test_expanding_window_splitter(y, fh, initial_window, step_length): | CODE |
| LOW | sktime/split/base/_common.py | 69 | def _check_inputs_for_compatibility(args: list) -> None: | CODE |
| LOW | sktime/split/base/_common.py | 124 | def _get_train_window_via_endpoint(y, train_endpoint, window_length): | CODE |
| LOW | sktime/split/base/_base_windowsplitter.py | 147 | def _split_for_initial_window(self, y: pd.Index) -> SPLIT_ARRAY_TYPE: | CODE |
| LOW | sktime/split/base/tests/test_base.py | 95 | def test_hierarchical_singlewindowsplitter(): | CODE |
| LOW | sktime/split/base/tests/test_base.py | 110 | def test_windowbase_splitter_get_n_split_hierarchical( | CODE |
| LOW | sktime/split/base/tests/test_base.py | 125 | def test_windowbase_splitter_get_n_split_unequal_series(y, CV): | CODE |
| LOW | sktime/classification/ensemble/_ctsf.py | 524 | def _set_oob_score_and_attributes(self, X, y): | CODE |
| LOW | sktime/classification/ensemble/tests/test_ensemble.py | 63 | def test_equivalent_model_specifications(n_intervals, n_estimators): | CODE |
| LOW | sktime/classification/model_evaluation/_functions.py | 24 | def _is_proba_classification_score(metric) -> bool: | CODE |
| LOW | sktime/classification/model_evaluation/_functions.py | 114 | def _get_column_order_and_datatype( | CODE |
| LOW | sktime/classification/model_evaluation/_functions.py | 147 | def _get_pred_args_from_metric(scitype, metric): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 35 | def test_evaluate_basic_functionality(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 61 | def test_evaluate_with_multiple_metrics(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 81 | def test_evaluate_with_probabilistic_metrics(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 99 | def test_evaluate_with_return_data(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 124 | def test_evaluate_different_cv_splits(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 141 | def test_evaluate_with_different_classifiers(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 162 | def test_evaluate_timing_measurements(self): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 180 | def test_evaluate_parallel_backend(self, backend): | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 203 | def test_evaluate_parallel_backend_none(self): | CODE |
| LOW | sktime/classification/dictionary_based/_tde_numba.py | 14 | def _histogram_intersection_dict(first, second): | CODE |
| LOW | sktime/classification/dictionary_based/_muse.py | 341 | def _add_first_order_differences(self, X): | CODE |
| LOW | sktime/classification/dictionary_based/_muse.py | 389 | def _parallel_transform_words(X, window_sizes, SFA_transformers, ind): | CODE |
| LOW | …ime/classification/dictionary_based/tests/test_boss.py | 35 | def test_individual_boss_classes(dataset, new_class, expected_dtype): | CODE |
| 1398 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/__init__.py | 10 | CODE | |
| LOW | sktime/exceptions.py | 8 | CODE | |
| LOW | sktime/split/__init__.py | 23 | CODE | |
| LOW | sktime/split/__init__.py | 23 | CODE | |
| LOW | sktime/split/__init__.py | 24 | CODE | |
| LOW | sktime/split/__init__.py | 24 | CODE | |
| LOW | sktime/split/__init__.py | 25 | CODE | |
| LOW | sktime/split/__init__.py | 26 | CODE | |
| LOW | sktime/split/__init__.py | 27 | CODE | |
| LOW | sktime/split/__init__.py | 28 | CODE | |
| LOW | sktime/split/__init__.py | 29 | CODE | |
| LOW | sktime/split/__init__.py | 30 | CODE | |
| LOW | sktime/split/__init__.py | 31 | CODE | |
| LOW | sktime/split/__init__.py | 32 | CODE | |
| LOW | sktime/split/__init__.py | 33 | CODE | |
| LOW | sktime/split/__init__.py | 34 | CODE | |
| LOW | sktime/split/__init__.py | 35 | CODE | |
| LOW | sktime/split/__init__.py | 35 | CODE | |
| LOW | sktime/split/__init__.py | 39 | CODE | |
| LOW | sktime/split/compose/__init__.py | 7 | CODE | |
| LOW | sktime/split/base/__init__.py | 10 | CODE | |
| LOW | sktime/split/base/__init__.py | 11 | CODE | |
| LOW | sktime/classification/__init__.py | 7 | CODE | |
| LOW | sktime/classification/ensemble/__init__.py | 11 | CODE | |
| LOW | sktime/classification/ensemble/__init__.py | 12 | CODE | |
| LOW | sktime/classification/ensemble/__init__.py | 13 | CODE | |
| LOW | sktime/classification/dummy/__init__.py | 7 | CODE | |
| LOW | sktime/classification/model_evaluation/__init__.py | 7 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 14 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 14 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 15 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 16 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 17 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 18 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 18 | CODE | |
| LOW | sktime/classification/dictionary_based/__init__.py | 22 | CODE | |
| LOW | sktime/classification/compose/__init__.py | 15 | CODE | |
| LOW | sktime/classification/compose/__init__.py | 16 | CODE | |
| LOW | sktime/classification/compose/__init__.py | 17 | CODE | |
| LOW | sktime/classification/compose/__init__.py | 17 | CODE | |
| LOW | sktime/classification/early_classification/__init__.py | 9 | CODE | |
| LOW | sktime/classification/early_classification/__init__.py | 12 | CODE | |
| LOW | sktime/classification/early_classification/__init__.py | 13 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 27 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 27 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 31 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 32 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 33 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 34 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 34 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 38 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 38 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 42 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 43 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 43 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 47 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 47 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 51 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 52 | CODE | |
| LOW | sktime/classification/deep_learning/__init__.py | 55 | CODE | |
| 743 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/__init__.py | 8 | __all__ = ["show_versions"] | CODE |
| LOW | sktime/exceptions.py | 6 | __all__ = ["NotEvaluatedError", "NotFittedError", "FitFailedWarning"] | CODE |
| LOW | sktime/split/singlewindow.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/instance.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/slidinggreedy.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/temporal_train_test_split.py | 5 | __all__ = [ | CODE |
| LOW | sktime/split/cutoff.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/expandinggreedy.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/expandingcutoff.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/sameloc.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/expandingwindow.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sktime/split/slidingwindow.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/_legacy_splitters.py | 10 | __all__ = ["PresplitFilesCV", "SingleSplit"] | CODE |
| LOW | sktime/split/testplustrain.py | 7 | __all__ = ["TestPlusTrainSplitter"] | CODE |
| LOW | sktime/split/expandingslidingwindow.py | 7 | __all__ = [ | CODE |
| LOW | sktime/split/compose/__init__.py | 5 | __all__ = ["Repeat"] | CODE |
| LOW | sktime/split/base/__init__.py | 5 | __all__ = [ | CODE |
| LOW | sktime/classification/_delegate.py | 11 | __all__ = ["_DelegatedClassifier"] | CODE |
| LOW | sktime/classification/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sktime/classification/base.py | 20 | __all__ = [ | CODE |
| LOW | sktime/classification/ensemble/_weighted.py | 4 | __all__ = ["WeightedEnsembleClassifier"] | CODE |
| LOW | sktime/classification/ensemble/_bagging.py | 4 | __all__ = ["BaggingClassifier"] | CODE |
| LOW | sktime/classification/ensemble/__init__.py | 5 | __all__ = [ | CODE |
| LOW | sktime/classification/ensemble/_ctsf.py | 4 | __all__ = ["ComposableTimeSeriesForestClassifier"] | CODE |
| LOW | sktime/classification/dummy/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sktime/classification/dummy/_dummy.py | 4 | __all__ = ["DummyClassifier"] | CODE |
| LOW | sktime/classification/model_evaluation/_functions.py | 6 | __all__ = ["evaluate"] | CODE |
| LOW | sktime/classification/model_evaluation/__init__.py | 5 | __all__ = ["evaluate"] | CODE |
| LOW | …classification/model_evaluation/tests/test_evaluate.py | 11 | __all__ = ["TestEvaluate"] | CODE |
| LOW | sktime/classification/dictionary_based/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sktime/classification/dictionary_based/_boss_pyts.py | 6 | __all__ = ["BOSSVSClassifierPyts"] | CODE |
| LOW | sktime/classification/dictionary_based/_weasel.py | 7 | __all__ = ["WEASEL"] | CODE |
| LOW | sktime/classification/dictionary_based/_muse.py | 8 | __all__ = ["MUSE"] | CODE |
| LOW | sktime/classification/dictionary_based/_boss.py | 8 | __all__ = ["BOSSEnsemble", "IndividualBOSS", "pairwise_distances"] | CODE |
| LOW | sktime/classification/dictionary_based/_tde.py | 8 | __all__ = ["TemporalDictionaryEnsemble", "IndividualTDE", "histogram_intersection"] | CODE |
| LOW | sktime/classification/dictionary_based/_cboss.py | 9 | __all__ = ["ContractableBOSS", "pairwise_distances"] | CODE |
| LOW | sktime/classification/compose/_multiplexer.py | 12 | __all__ = ["MultiplexClassifier"] | CODE |
| LOW | sktime/classification/compose/__init__.py | 6 | __all__ = [ | CODE |
| LOW | sktime/classification/compose/_pipeline.py | 12 | __all__ = ["ClassifierPipeline", "SklearnClassifierPipeline"] | CODE |
| LOW | sktime/classification/compose/_column_ensemble.py | 7 | __all__ = ["ColumnEnsembleClassifier"] | CODE |
| LOW | sktime/classification/compose/tests/test_pipeline.py | 5 | __all__ = [] | CODE |
| LOW | …ime/classification/tests/test_sklearn_compatibility.py | 4 | __all__ = [ | CODE |
| LOW | sktime/classification/early_classification/_teaser.py | 8 | __all__ = ["TEASER"] | CODE |
| LOW | sktime/classification/early_classification/__init__.py | 3 | __all__ = [ | CODE |
| LOW | …ication/early_classification/_probability_threshold.py | 8 | __all__ = ["ProbabilityThresholdEarlyClassifier"] | CODE |
| LOW | sktime/classification/early_classification/base.py | 24 | __all__ = [ | CODE |
| LOW | sktime/classification/deep_learning/fcn.py | 3 | __all__ = ["FCNClassifier"] | CODE |
| LOW | sktime/classification/deep_learning/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sktime/classification/deep_learning/convtimenet.py | 4 | __all__ = ["ConvTimeNetClassifier"] | CODE |
| LOW | sktime/classification/deep_learning/_pytorch.py | 6 | __all__ = ["BaseDeepClassifierPytorch"] | CODE |
| LOW | sktime/classification/deep_learning/resnet.py | 3 | __all__ = ["ResNetClassifier"] | CODE |
| LOW | sktime/classification/deep_learning/cntc.py | 3 | __all__ = ["CNTCClassifier"] | CODE |
| LOW | …classification/deep_learning/inceptiontime/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …ation/deep_learning/inceptiontime/_inceptiontime_tf.py | 3 | __all__ = ["InceptionTimeClassifier"] | CODE |
| LOW | …on/deep_learning/inceptiontime/_inceptiontime_torch.py | 4 | __all__ = ["InceptionTimeClassifierTorch"] | CODE |
| LOW | sktime/classification/deep_learning/cnn/_cnn_tf.py | 3 | __all__ = ["CNNClassifier"] | CODE |
| LOW | sktime/classification/deep_learning/cnn/__init__.py | 7 | __all__ = [ | CODE |
| LOW | sktime/classification/deep_learning/cnn/_cnn_torch.py | 3 | __all__ = ["CNNClassifierTorch"] | CODE |
| LOW | sktime/classification/deep_learning/lstmfcn/__init__.py | 7 | __all__ = [ | CODE |
| 587 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ication/early_classification/_probability_threshold.py | 231 | # if we have the full series, always return true | COMMENT |
| HIGH | sktime/transformations/dobin.py | 209 | if not X.index.equals(self._X.index): | CODE |
| HIGH | …e/transformations/hierarchical/tests/test_aggregate.py | 45 | assert X_agg.equals(X_agg_unnamed), msg | CODE |
| HIGH | …mations/hierarchical/tests/reconcile/test_reconcile.py | 105 | assert not y_reconc.equals(y) | CODE |
| HIGH⚡ | sktime/transformations/bootstrap/tests/test_mbb.py | 116 | assert expected_index.equals(y_hat.index) and (y_hat.columns[0] == y.name) | CODE |
| HIGH | sktime/transformations/bootstrap/tests/test_mbb.py | 137 | y_hat.index.equals(y_index) | CODE |
| HIGH | sktime/transformations/compose/_arithmetic.py | 140 | if not Xt.index.equals(first_index): | CODE |
| HIGH | sktime/transformations/compose/_arithmetic.py | 142 | if not Xt.columns.equals(first_columns): | CODE |
| HIGH⚡ | sktime/transformations/tests/test_subset.py | 28 | assert X_subset.index.equals(X.index.intersection(y.index)) | CODE |
| HIGH⚡ | sktime/transformations/tests/test_subset.py | 30 | assert X_subset.index.equals(y.index) | CODE |
| HIGH | sktime/transformations/tests/test_subset.py | 50 | assert X_subset.columns.equals(col_X_and_cols) | CODE |
| HIGH | sktime/transformations/tests/test_subset.py | 52 | assert X_subset.columns.equals(columns_idx) | CODE |
| HIGH | sktime/transformations/tests/test_subset.py | 66 | assert X_subset.columns.equals(X.columns[[0, 2, 4]]) | CODE |
| HIGH | sktime/transformations/tests/test_all_reconcilers.py | 123 | assert Xt.equals(X) | CODE |
| HIGH | sktime/transformations/tests/test_all_reconcilers.py | 126 | assert Xinv.equals(X) | CODE |
| HIGH | sktime/transformations/tests/test_adapt.py | 45 | assert expected_result.equals(trafo_result) | CODE |
| HIGH⚡ | sktime/transformations/tests/test_hampelfilter.py | 26 | assert result.equals(expected_result) | CODE |
| HIGH | sktime/transformations/tests/test_hampelfilter.py | 50 | assert result.equals(expected_result) | CODE |
| HIGH | sktime/transformations/tests/test_lag.py | 45 | assert Xt.index.equals(X.index) | CODE |
| HIGH | sktime/transformations/tests/test_degree_day.py | 108 | assert out.index.equals(X.index) | CODE |
| HIGH | sktime/transformations/tests/test_dummies.py | 35 | assert X.equals(X_expected), "Test failed: X does not match X_expected." | CODE |
| HIGH | sktime/transformations/detrend/_deseasonalize.py | 572 | if not X.index.equals(self._X.index): | CODE |
| HIGH | sktime/transformations/detrend/mstl.py | 264 | if not X.index.equals(self._X.index): | CODE |
| HIGH | …me/transformations/detrend/tests/test_deseasonalise.py | 138 | assert X.index.equals(Xit.index) | CODE |
| HIGH⚡ | sktime/datatypes/tests/test_utils.py | 472 | assert y_new.equals(y) | CODE |
| HIGH⚡ | sktime/datatypes/tests/test_utils.py | 473 | assert y_new.index.equals(y.index) | CODE |
| HIGH⚡ | sktime/datatypes/tests/test_utils.py | 476 | assert y.index.equals(y_new.index.to_period().to_timestamp()) | CODE |
| HIGH | sktime/datatypes/tests/test_panel_converters.py | 108 | assert array.index.equals(nested.index) | CODE |
| HIGH | sktime/datatypes/_adapter/tests/test_polars.py | 48 | assert pd_fixture.equals(pd_fixture_orig) | CODE |
| HIGH | sktime/datatypes/_adapter/tests/test_polars.py | 67 | assert pd_fixture.equals(pd_fixture_orig) | CODE |
| HIGH⚡ | sktime/datatypes/_adapter/tests/test_polars.py | 87 | assert pd_result.equals(pd_fixture) | CODE |
| HIGH⚡ | sktime/datatypes/_adapter/tests/test_polars.py | 100 | assert pd_result.equals(pd_fixture) | CODE |
| HIGH | sktime/datatypes/_adapter/tests/test_dask_pd.py | 65 | assert pd_fixture.equals(pd_fixture_orig) | CODE |
| HIGH | sktime/datatypes/_adapter/tests/test_dask_pd.py | 84 | assert pd_fixture.equals(pd_fixture_orig) | CODE |
| HIGH | sktime/datatypes/_adapter/tests/test_dask_pd.py | 103 | assert pd_fixture.equals(back_result) | CODE |
| HIGH | sktime/utils/deep_equals/_deep_equals.py | 279 | return ret(x.equals(y), ".polars_equals") | CODE |
| HIGH | sktime/utils/_testing/forecasting.py | 135 | assert y_pred_index.equals(expected) | CODE |
| HIGH | sktime/utils/validation/series.py | 268 | failure_cond = not first_index.equals(y_index) | CODE |
| HIGH | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 570 | (typically derived from register tokens): [x || context]. | STRING |
| HIGH | sktime/dists_kernels/scipy_dist.py | 112 | if not X.columns.equals(X2.columns): | CODE |
| HIGH | sktime/benchmarking/tests/test_evaluator.py | 132 | assert expected_ranks.equals(generated_ranks) | CODE |
| HIGH | sktime/benchmarking/tests/test_evaluator.py | 151 | assert metrics_by_strategy.equals(expected_accuracy) | CODE |
| HIGH | …asting/compose/tests/test_groupbycategoryforecaster.py | 75 | assert output.equals(transform_output) | CODE |
| HIGH | sktime/forecasting/tests/test_reconcile.py | 81 | assert prds_recon.equals(reconciler_unnamed.fit_predict(y=y, fh=fh)), msg | CODE |
| HIGH | sktime/forecasting/tests/test_reconcile.py | 176 | assert y_test.index.equals(y_pred.index) | CODE |
| HIGH | sktime/forecasting/tests/test_exp_smoothing.py | 90 | assert y_pred.equals(y_pred_update), "Expected same predictions after update" | CODE |
| HIGH | sktime/forecasting/base/_base.py | 2764 | if not y_pred.columns.equals(ycols): | CODE |
| HIGH⚡ | sktime/forecasting/base/tests/test_fh.py | 953 | assert y_pred_idx.equals(pd.Index([5, 6, 7])) | CODE |
| HIGH⚡ | sktime/forecasting/base/tests/test_fh.py | 958 | assert y_pred_idx.equals(pd.Index([5, 6, 7])) | CODE |
| HIGH⚡ | sktime/forecasting/base/tests/test_fh.py | 967 | assert y_pred_idx.equals(y_pred_idx_expected) | CODE |
| HIGH⚡ | sktime/forecasting/base/tests/test_fh.py | 973 | assert y_pred_idx.equals(y_pred_idx_expected) | CODE |
| HIGH | sktime/forecasting/base/tests/test_fh.py | 52 | assert a.equals(b) | CODE |
| HIGH | sktime/forecasting/base/tests/test_fh.py | 193 | fh_oos = fh.to_pandas()[fh_relative > null] | CODE |
| HIGH | sktime/forecasting/base/tests/test_fh.py | 195 | fh_ins = fh.to_pandas()[fh_relative <= null] | CODE |
| HIGH | sktime/forecasting/base/tests/test_fh.py | 984 | assert y_pred_idx.equals(y_pred_idx_expected) | CODE |
| HIGH | sktime/forecasting/base/tests/test_fh.py | 991 | assert y_pred_idx.equals(y_pred_idx_expected) | CODE |
| HIGH | sktime/forecasting/base/tests/test_base.py | 411 | assert y_resid.index.equals(y_train.index) | CODE |
| HIGH | sktime/forecasting/base/tests/test_base.py | 538 | assert y_pred.equals(y_pred_update), "Expected same predictions after update." | CODE |
| HIGH | sktime/performance_metrics/forecasting/_base.py | 645 | same_rows = y_true.index.equals(y_pred.index) | CODE |
| HIGH | sktime/performance_metrics/forecasting/_base.py | 647 | same_cols = y_true.columns.equals(y_pred.columns) | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/classification/ensemble/_ctsf.py | 219 | CODE | |
| LOW | sktime/classification/model_evaluation/_functions.py | 260 | CODE | |
| LOW | sktime/classification/model_evaluation/_functions.py | 263 | CODE | |
| LOW | sktime/classification/dictionary_based/_boss_pyts.py | 127 | CODE | |
| LOW | sktime/classification/dictionary_based/_weasel.py | 138 | CODE | |
| LOW | sktime/classification/dictionary_based/_muse.py | 137 | CODE | |
| LOW | sktime/classification/dictionary_based/_boss.py | 147 | CODE | |
| LOW | sktime/classification/dictionary_based/_boss.py | 571 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 167 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 704 | CODE | |
| LOW | sktime/classification/dictionary_based/_cboss.py | 149 | CODE | |
| LOW | sktime/classification/deep_learning/fcn.py | 82 | CODE | |
| LOW | sktime/classification/deep_learning/mvts_transformer.py | 90 | CODE | |
| LOW | sktime/classification/deep_learning/convtimenet.py | 117 | CODE | |
| LOW | sktime/classification/deep_learning/_pytorch.py | 33 | CODE | |
| LOW | sktime/classification/deep_learning/resnet.py | 81 | CODE | |
| LOW | sktime/classification/deep_learning/cntc.py | 117 | CODE | |
| LOW | sktime/classification/deep_learning/gru.py | 81 | CODE | |
| LOW | sktime/classification/deep_learning/gru.py | 295 | CODE | |
| LOW | …ation/deep_learning/inceptiontime/_inceptiontime_tf.py | 120 | CODE | |
| LOW | …on/deep_learning/inceptiontime/_inceptiontime_torch.py | 191 | CODE | |
| LOW | sktime/classification/deep_learning/cnn/_cnn_tf.py | 103 | CODE | |
| LOW | sktime/classification/deep_learning/cnn/_cnn_torch.py | 129 | CODE | |
| LOW | …me/classification/deep_learning/lstmfcn/_lstmfcn_tf.py | 82 | CODE | |
| LOW | …classification/deep_learning/lstmfcn/_lstmfcn_torch.py | 143 | CODE | |
| LOW | …ime/classification/deep_learning/macnn/_macnn_torch.py | 136 | CODE | |
| LOW | sktime/classification/deep_learning/macnn/_macnn_tf.py | 94 | CODE | |
| LOW | …time/classification/deep_learning/tapnet/_tapnet_tf.py | 110 | CODE | |
| LOW | …e/classification/deep_learning/tapnet/_tapnet_torch.py | 155 | CODE | |
| LOW | …assification/deep_learning/convtran/_convtran_torch.py | 136 | CODE | |
| LOW | …time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py | 97 | CODE | |
| LOW | …e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py | 136 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_torch.py | 147 | CODE | |
| LOW | sktime/classification/deep_learning/rnn/_rnn_tf.py | 82 | CODE | |
| LOW | sktime/classification/deep_learning/rnn/_rnn_torch.py | 139 | CODE | |
| LOW | sktime/classification/deep_learning/mlp/_mlp_tf.py | 90 | CODE | |
| LOW | sktime/classification/deep_learning/mlp/_mlp_torch.py | 152 | CODE | |
| LOW | sktime/classification/interval_based/_cif.py | 136 | CODE | |
| LOW | sktime/classification/interval_based/_cif.py | 259 | CODE | |
| LOW | sktime/classification/interval_based/_stsf.py | 245 | CODE | |
| LOW | sktime/classification/interval_based/_tsf.py | 209 | CODE | |
| LOW | sktime/classification/interval_based/_drcif.py | 159 | CODE | |
| LOW | sktime/classification/interval_based/_drcif.py | 418 | CODE | |
| LOW | sktime/classification/sklearn/_rotation_forest.py | 115 | CODE | |
| LOW | sktime/classification/sklearn/_rotation_forest.py | 328 | CODE | |
| LOW | sktime/classification/model_selection/_tune.py | 253 | CODE | |
| LOW | …/classification/feature_based/_signature_classifier.py | 118 | CODE | |
| LOW | …ime/classification/distance_based/_proximity_forest.py | 1367 | CODE | |
| LOW | …ime/classification/distance_based/_elastic_ensemble.py | 104 | CODE | |
| LOW | …lassification/distance_based/_time_series_neighbors.py | 159 | CODE | |
| LOW | …fication/distance_based/_time_series_neighbors_pyts.py | 127 | CODE | |
| LOW | sktime/classification/kernel_based/_svc_tslearn.py | 150 | CODE | |
| LOW | sktime/classification/kernel_based/_svc.py | 139 | CODE | |
| LOW | sktime/classification/kernel_based/_arsenal.py | 130 | CODE | |
| LOW | sktime/classification/foundation_models/mantis.py | 115 | CODE | |
| LOW | sktime/classification/foundation_models/tspulse.py | 149 | CODE | |
| LOW | sktime/classification/foundation_models/momentfm.py | 145 | CODE | |
| LOW | sktime/classification/hybrid/_hivecote_v2.py | 106 | CODE | |
| LOW | sktime/classification/shapelet_based/_mrsqm.py | 66 | CODE | |
| LOW | …ime/classification/shapelet_based/_learning_tslearn.py | 114 | CODE | |
| 276 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/split/compose/_repeat.py | 105 | CODE | |
| LOW | sktime/classification/ensemble/_weighted.py | 173 | CODE | |
| LOW | sktime/classification/model_evaluation/_functions.py | 158 | CODE | |
| LOW | sktime/classification/dictionary_based/_boss.py | 181 | CODE | |
| LOW | sktime/classification/dictionary_based/_boss.py | 356 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 458 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 528 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 789 | CODE | |
| LOW | sktime/classification/dictionary_based/_tde.py | 870 | CODE | |
| LOW | sktime/classification/dictionary_based/_cboss.py | 187 | CODE | |
| LOW | sktime/classification/compose/_column_ensemble.py | 401 | CODE | |
| LOW | sktime/classification/compose/_column_ensemble.py | 103 | CODE | |
| LOW | sktime/classification/tests/test_all_classifiers.py | 171 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_torch.py | 245 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_torch.py | 335 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_torch.py | 495 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_tf.py | 135 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_tf.py | 176 | CODE | |
| LOW | sktime/classification/deep_learning/base/_base_tf.py | 285 | CODE | |
| LOW | sktime/classification/deep_learning/rnn/_rnn_tf.py | 174 | CODE | |
| LOW | sktime/classification/interval_based/_cif.py | 358 | CODE | |
| LOW | sktime/classification/interval_based/_drcif.py | 562 | CODE | |
| LOW | …me/classification/sklearn/_continuous_interval_tree.py | 330 | CODE | |
| LOW | …ssification/sklearn/_continuous_interval_tree_numba.py | 18 | CODE | |
| LOW | …ime/classification/distance_based/_proximity_forest.py | 1758 | CODE | |
| LOW | …ime/classification/distance_based/_elastic_ensemble.py | 145 | CODE | |
| LOW | …ime/classification/distance_based/_elastic_ensemble.py | 443 | CODE | |
| LOW | sktime/classification/distance_based/_shape_dtw.py | 386 | CODE | |
| LOW | sktime/classification/kernel_based/_arsenal.py | 171 | CODE | |
| LOW | sktime/classification/foundation_models/momentfm.py | 407 | CODE | |
| LOW | sktime/classification/foundation_models/momentfm.py | 469 | CODE | |
| LOW | sktime/pipeline/step.py | 93 | CODE | |
| LOW | sktime/pipeline/pipeline.py | 235 | CODE | |
| LOW | sktime/pipeline/pipeline.py | 323 | CODE | |
| LOW | sktime/transformations/binning.py | 109 | CODE | |
| LOW | sktime/transformations/dropna.py | 158 | CODE | |
| LOW | sktime/transformations/hidalgo.py | 259 | CODE | |
| LOW | sktime/transformations/hidalgo.py | 371 | CODE | |
| LOW | sktime/transformations/feature_selection.py | 108 | CODE | |
| LOW | sktime/transformations/vmd.py | 181 | CODE | |
| LOW | sktime/transformations/evoforest_tswm.py | 237 | CODE | |
| LOW | sktime/transformations/evoforest_tswm.py | 268 | CODE | |
| LOW | sktime/transformations/fabba.py | 303 | CODE | |
| LOW | sktime/transformations/fabba.py | 452 | CODE | |
| LOW | sktime/transformations/fabba.py | 556 | CODE | |
| LOW | sktime/transformations/fabba.py | 1098 | CODE | |
| LOW | sktime/transformations/impute.py | 164 | CODE | |
| LOW | sktime/transformations/impute.py | 207 | CODE | |
| LOW | sktime/transformations/adi_cv.py | 164 | CODE | |
| LOW | sktime/transformations/catch22.py | 135 | CODE | |
| LOW | sktime/transformations/catch22.py | 503 | CODE | |
| LOW | sktime/transformations/adapt.py | 259 | CODE | |
| LOW | sktime/transformations/time_since.py | 132 | CODE | |
| LOW | sktime/transformations/time_since.py | 218 | CODE | |
| LOW | sktime/transformations/dummies.py | 138 | CODE | |
| LOW | sktime/transformations/segment.py | 503 | CODE | |
| LOW | sktime/transformations/fourier.py | 174 | CODE | |
| LOW | sktime/transformations/fourier.py | 234 | CODE | |
| LOW | sktime/transformations/supervised_intervals.py | 422 | CODE | |
| LOW | sktime/transformations/signature.py | 116 | CODE | |
| 224 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 61 | "scikit-learn>=0.24,<1.8.0", # required for estimators and framework layer | COMMENT |
| LOW | sktime/classification/interval_based/_rise_numba.py | 61 | # i = lag - 1 | COMMENT |
| LOW | …ime/classification/distance_based/_proximity_forest.py | 461 | "epsilon": stats.uniform(0.2 * stdp, stdp - 0.2 * stdp), | COMMENT |
| LOW | …ime/classification/distance_based/_proximity_forest.py | 601 | param_perm = {} | COMMENT |
| LOW | …ime/classification/distance_based/_elastic_ensemble.py | 181 | COMMENT | |
| LOW | sktime/transformations/difference.py | 141 | lag_last = lags.pop() | COMMENT |
| LOW | sktime/transformations/fabba.py | 1241 | p.close() | COMMENT |
| LOW | sktime/transformations/time_since.py | 241 | # To support calculating integer time differences when `freq` | COMMENT |
| LOW | sktime/transformations/lag.py | 301 | Data to be inverse transformed | COMMENT |
| LOW | …ime/transformations/hierarchical/reconcile/_optimal.py | 201 | X_arr = P @ X_arr | COMMENT |
| LOW | sktime/transformations/hierarchical/reconcile/_utils.py | 221 | COMMENT | |
| LOW | …sformations/hierarchical/tests/reconcile/test_utils.py | 121 | # Otherwise, do a broader check | COMMENT |
| LOW | …ns/hierarchical/tests/reconcile/test_full_hierarchy.py | 41 | reason="run test only if module has changed", | COMMENT |
| LOW | sktime/transformations/compose/_featureunion.py | 61 | "visual_block_kind": "parallel", | COMMENT |
| LOW | sktime/transformations/tests/test_all_transformers.py | 261 | # fit_args = _make_args(estimator, "fit") | COMMENT |
| LOW | …nsformations/shapelet_transform/_shapelet_transform.py | 201 | # x cases and y shapelets from each (where x = num_cases_to_sample | COMMENT |
| LOW | sktime/transformations/base/_base.py | 141 | COMMENT | |
| LOW | sktime/transformations/base/_base.py | 1201 | COMMENT | |
| LOW | sktime/transformations/base/_base.py | 1401 | elif self.get_tag("capability:unequal_length:adds"): | COMMENT |
| LOW | sktime/datasets/_readers_writers/utils.py | 221 | raise ValueError("Unknown 'split' value - should be TRAIN/train or TEST/test") | COMMENT |
| LOW | sktime/datasets/_readers_writers/utils.py | 241 | file.write(str(third_line) + "\n") | COMMENT |
| LOW | sktime/datasets/data/GunPoint/GunPoint_TEST.ts | 1 | #This dataset involves one female actor and one male actor making a | COMMENT |
| LOW | sktime/datasets/data/GunPoint/GunPoint_TRAIN.ts | 1 | #This dataset involves one female actor and one male actor making a | COMMENT |
| LOW | sktime/libs/timesfm/patched_decoder.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | sktime/libs/timesfm/xreg_lib.py | 1 | # Copyright 2024 The Google Research Authors. | COMMENT |
| LOW | sktime/libs/timesfm/data_loader.py | 1 | # Copyright 2024 The Google Research Authors. | COMMENT |
| LOW | sktime/libs/timesfm/time_features.py | 1 | # Copyright 2024 The Google Research Authors. | COMMENT |
| LOW | sktime/libs/timesfm/timesfm.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 321 | # self.reduction = reduction | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 341 | # dtype=None, | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 361 | # return w | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 381 | # # Safety: ensure Q matches pred.size(1) when using default taus | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 401 | # if horizon_weights is not None: | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 421 | # """ | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 441 | # """ | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 461 | # self, | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 481 | # # Broadcast shapes | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 1921 | # | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2701 | # # quantiles around median | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2721 | # super().__init__() | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2741 | # self.dw = nn.Conv1d(1, 1, kernel_size=self.mq_kernel_size, padding=pad) | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2761 | # self.mq_decoder_d_model, | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2781 | # x = self.inorm(self.dw(x)) | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2801 | # # [B,C,P,D] → [B,C,P,md] | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2821 | # up_raw = o[:, :, 5:9, :] | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2841 | # q90 = q50 + up_cum[:, :, 3:4, :] | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2861 | COMMENT | |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2881 | # self.temperature_per_horizon = bool( | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2901 | # hidden, 9, kernel_size=1, bias=True | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2921 | # if self._temp_u is None: | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2941 | # """ | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2961 | # down_inc = F.softplus(down_raw) + self.eps | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 2981 | COMMENT | |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 3001 | # Turn mean forecasts [B, C, T] into quantiles [B, C, 9, T] for q = 0.1..0.9. | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 3021 | # ) # [bias50, 4*down, 4*up] | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 3041 | # x = mean_hat.reshape(B * C, 1, T) # share weights across channels | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 3061 | # down_cum = torch.cumsum(down_inc, dim=2) | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 4301 | # self, | COMMENT |
| LOW | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 4321 | # k = Q // 2 # median index | COMMENT |
| LOW | sktime/libs/timemoe/timemoe.py | 1481 | COMMENT | |
| 159 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sktime/classification/deep_learning/convtimenet.py | 68 | >>> # Create a sample multivariate time series dataset | STRING |
| MEDIUM | …ime/classification/distance_based/_proximity_forest.py | 537 | # Create a new transformer instance to avoid pickling issues in parallel | COMMENT |
| MEDIUM | …ime/classification/distance_based/_proximity_forest.py | 564 | # Create a new transformer instance to avoid pickling issues in parallel | COMMENT |
| MEDIUM | sktime/classification/foundation_models/momentfm.py | 265 | # Create a OneCycleLR scheduler | COMMENT |
| MEDIUM | sktime/transformations/slope.py | 147 | # Create a list that contains 1,2,3,4,...,len(Y) for the x coordinates. | COMMENT |
| MEDIUM | sktime/transformations/adi_cv.py | 147 | # Initialize the parent class | STRING |
| MEDIUM | sktime/transformations/fourier.py | 191 | # Create the sp, k pairs | STRING |
| MEDIUM | sktime/transformations/padder.py | 31 | >>> # Create a sample nested DataFrame with unequal length time series | STRING |
| MEDIUM | …ime/transformations/hierarchical/reconcile/_optimal.py | 288 | # Define the objective | COMMENT |
| MEDIUM | …ime/transformations/hierarchical/reconcile/_optimal.py | 354 | # Create a DataFrame with the same row index and MultiIndex columns | COMMENT |
| MEDIUM | sktime/transformations/tests/test_differencer.py | 298 | # Define the TransformedTargetForecaster for y | COMMENT |
| MEDIUM | sktime/transformations/tests/test_differencer.py | 306 | # Create the ForecastingPipeline for y and X | COMMENT |
| MEDIUM⚡ | sktime/transformations/tests/test_hampelfilter.py | 19 | # Create a sample time series with outliers | COMMENT |
| MEDIUM⚡ | sktime/transformations/tests/test_hampelfilter.py | 35 | # Create a sample time series with outliers | COMMENT |
| MEDIUM | sktime/transformations/tests/test_base.py | 770 | # Define the multi-index | COMMENT |
| MEDIUM | sktime/datatypes/_dtypekind.py | 167 | # This function is to broadly classify all dtypekinds into CATEGORICAL or FLOAT | COMMENT |
| MEDIUM | sktime/datatypes/_panel/_check.py | 1483 | # Importing required libraries | COMMENT |
| MEDIUM | sktime/datatypes/_adapter/gluonts.py | 175 | # Importing required libraries | COMMENT |
| MEDIUM | sktime/datatypes/_adapter/gluonts.py | 361 | # Importing required libraries | COMMENT |
| MEDIUM | sktime/datatypes/_adapter/tests/test_dask_pd.py | 41 | # Create a regular pandas DataFrame | COMMENT |
| MEDIUM | sktime/datasets/_readers_writers/ts.py | 602 | # Create a DataFrame from the data parsed above | COMMENT |
| MEDIUM | sktime/clustering/compose/_as_transform.py | 130 | # Create a mapping | COMMENT |
| MEDIUM | sktime/utils/plotting.py | 614 | # Create a constant vector based on the split for y-axis.""" | COMMENT |
| MEDIUM | sktime/libs/timesfm/patched_decoder.py | 67 | # Create a range array for indexing | COMMENT |
| MEDIUM | sktime/libs/timesfm/patched_decoder.py | 162 | # Create a mask where P is 0 | COMMENT |
| MEDIUM | sktime/libs/kronos/kronos.py | 174 | ) # Create a mask for bit extraction | CODE |
| MEDIUM | sktime/libs/kronos/kronos.py | 181 | ) # Create a mask for bit extraction | CODE |
| MEDIUM | sktime/libs/mira/modeling_mira.py | 65 | # Define a dummy odeint to prevent NameError, but raise NotImplementedError if called | COMMENT |
| MEDIUM | sktime/libs/windfm/windfm.py | 216 | ) # Create a mask for bit extraction | CODE |
| MEDIUM | sktime/libs/windfm/windfm.py | 223 | ) # Create a mask for bit extraction | CODE |
| MEDIUM | sktime/libs/lag_llama/data/augmentations/freq_mask.py | 34 | # Create a random mask with a probability defined by 'rate'. | COMMENT |
| MEDIUM | sktime/libs/lag_llama/data/augmentations/freq_mix.py | 35 | # Create a random mask with a probability defined by 'rate'. | COMMENT |
| MEDIUM | …ime/libs/lag_llama/data/augmentations/augmentations.py | 175 | # Create an index for flipping, where each element has a 50% chance of | COMMENT |
| MEDIUM | …ime/libs/lag_llama/data/augmentations/augmentations.py | 183 | # Create a tensor of ones, which will be used to flip the sign of the | COMMENT |
| MEDIUM | …ime/libs/lag_llama/data/augmentations/augmentations.py | 226 | # Create an array representing the original order of data points. | COMMENT |
| MEDIUM | …ime/libs/lag_llama/data/augmentations/augmentations.py | 366 | # Create a cubic spline based on the warp steps and random warps | COMMENT |
| MEDIUM | sktime/networks/scinet.py | 304 | # Initialize all class parameters with provided arguments or default values | COMMENT |
| MEDIUM | sktime/forecasting/greykite.py | 148 | # Create the ForecastConfig using Greykite's parameters. | COMMENT |
| MEDIUM | sktime/forecasting/greykite.py | 184 | # Create the forecast configuration if not already provided. | COMMENT |
| MEDIUM⚡ | sktime/forecasting/moirai.py | 797 | # Create a new MultiIndex with the flattened level and the last level unchanged | COMMENT |
| MEDIUM | sktime/forecasting/convtimenet.py | 103 | >>> # Create a sample univariate time series | STRING |
| MEDIUM | sktime/forecasting/var_reduce.py | 344 | # Create a new `fh` object with only in-sample values | COMMENT |
| MEDIUM | sktime/forecasting/var_reduce.py | 372 | # Create an index for all generated forecasts | COMMENT |
| MEDIUM | sktime/forecasting/var_reduce.py | 379 | # Create a new `fh` object with only the required outsample indices | COMMENT |
| MEDIUM | sktime/forecasting/lagllama.py | 289 | # Initialize parent class | COMMENT |
| MEDIUM⚡ | sktime/forecasting/lagllama.py | 1324 | # Create a new MultiIndex with the flattened level and the last level unchanged | COMMENT |
| MEDIUM | sktime/forecasting/scinet.py | 227 | # Define the SCINet-based network | COMMENT |
| MEDIUM | sktime/forecasting/momentfm.py | 344 | # Create a OneCycleLR scheduler | COMMENT |
| MEDIUM | …me/forecasting/compose/_transform_select_forecaster.py | 207 | # Create a list of forecasters | COMMENT |
| MEDIUM | sktime/forecasting/compose/_grouped.py | 349 | # Create a list of forecasters | COMMENT |
| MEDIUM | …ng/compose/tests/test_transformer_select_forecaster.py | 66 | # Defining the forecaster | COMMENT |
| MEDIUM | sktime/forecasting/compose/tests/test_pipeline.py | 667 | # Create a pipeline with YtoX() and WindowSummarizer | COMMENT |
| MEDIUM | sktime/forecasting/compose/tests/test_pipeline.py | 732 | # Create a forecaster that natively implements _predict_proba | COMMENT |
| MEDIUM | …e/forecasting/tests/test_hf_transformers_forecaster.py | 51 | # Define the forecasting horizon and predict | COMMENT |
| MEDIUM⚡ | sktime/forecasting/tests/test_dummy_global.py | 250 | # Create a single series (not panel data) | COMMENT |
| MEDIUM | sktime/forecasting/tests/test_arar.py | 21 | # Create a simple time series | COMMENT |
| MEDIUM | sktime/forecasting/tests/test_arar.py | 44 | # Create a simple time series | COMMENT |
| MEDIUM | sktime/forecasting/tests/test_arar.py | 66 | # Create a simple time series | COMMENT |
| MEDIUM | sktime/forecasting/tests/test_arar.py | 94 | # Create a simple time series | COMMENT |
| MEDIUM | sktime/forecasting/tests/test_arar.py | 122 | # Create a very short time series (should trigger warning) | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/classification/tests/test_all_classifiers.py | 255 | # Check if the estimator supports class_weight | COMMENT |
| LOW | sktime/pipeline/pipeline.py | 206 | # Check if not already an skobject cloned from the provided | COMMENT |
| LOW | sktime/transformations/fabba.py | 335 | # Check if only a single series or multiple | COMMENT |
| LOW | sktime/transformations/fabba.py | 768 | # Assign symbols to labels | COMMENT |
| LOW | sktime/transformations/fabba.py | 1129 | # Check if only a single series or multiple | COMMENT |
| LOW | sktime/transformations/tests/test_window_summarizer.py | 73 | # Check if the variable name exists and return it | COMMENT |
| LOW | sktime/transformations/signature_based/_checks.py | 44 | # Check if pandas so we can convert back | COMMENT |
| LOW | sktime/transformations/tsfel/_tsfel.py | 169 | # Check if feature exists | COMMENT |
| LOW | sktime/transformations/tsfel/_tsfel.py | 177 | # Check if feature requires parameters that aren't provided | COMMENT |
| LOW | sktime/transformations/detrend/tests/test_mstl.py | 32 | # Check if the transformed data has the expected components | COMMENT |
| LOW | sktime/datatypes/_panel/_check.py | 1334 | # Check if there are no time series in the ListDataset | COMMENT |
| LOW | sktime/datatypes/_panel/_check.py | 1503 | # Check if there are no values | COMMENT |
| LOW | sktime/datatypes/_series/_check.py | 963 | # Check if there are no time series in the ListDataset | COMMENT |
| LOW | sktime/datatypes/_series/_check.py | 1013 | # Check if a valid Frequency is set | COMMENT |
| LOW | sktime/datatypes/_series/_check.py | 1118 | # Check if there are no values | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 94 | # Check if this line contains metadata | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 166 | # Check if we have any associated class values | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 198 | # Check if this line contains the start of data | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 224 | # Check if we are dealing with data that has timestamps | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 257 | # Check if we have reached a class label | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 320 | # Check if there is another value or | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 541 | # Check if we should have class values, and if so | COMMENT |
| LOW | sktime/datasets/_readers_writers/ts.py | 608 | # Check if we should return any associated class labels separately | COMMENT |
| LOW⚡ | sktime/datasets/tests/test_datadownload.py | 105 | # Check if the response status code is 200 (OK) | COMMENT |
| LOW⚡ | sktime/datasets/tests/test_datadownload.py | 110 | # Check if the response headers indicate that the content is downloadable | COMMENT |
| LOW | sktime/datasets/tests/test_all_datasets.py | 60 | # Check if the output is a generator | COMMENT |
| LOW | sktime/datasets/base/_base.py | 167 | # Check if loader_func has split and return_type parameters | COMMENT |
| LOW | sktime/utils/multiindex.py | 209 | # Check if any child value appears under multiple parent values | COMMENT |
| LOW | sktime/utils/_testing/estimator_checks.py | 119 | # Check if both inputs have the same shape | COMMENT |
| LOW | sktime/utils/validation/series.py | 133 | # Check if pandas series or numpy array | COMMENT |
| LOW | sktime/utils/validation/forecasting.py | 108 | # Check if pandas series or numpy array | COMMENT |
| LOW | sktime/utils/validation/forecasting.py | 292 | # Check if non-empty, note we check for empty values here, rather than | COMMENT |
| LOW | sktime/libs/momentfm/utils/data.py | 47 | # Open file | COMMENT |
| LOW | sktime/alignment/dtw_python.py | 137 | # Check if the user has the incorrect 'dtw' package installed. | COMMENT |
| LOW | sktime/alignment/dtw_python.py | 379 | # Check if the user has the incorrect 'dtw' package installed. | COMMENT |
| LOW | sktime/forecasting/moirai.py | 439 | # Check if the index is a range index | COMMENT |
| LOW | sktime/forecasting/convtimenet.py | 244 | # Check if context_window needs adjustment | COMMENT |
| LOW | sktime/forecasting/convtimenet.py | 263 | # Check if patch_ks needs adjustment based on context_window | COMMENT |
| LOW | sktime/forecasting/convtimenet.py | 345 | # Check if we need to drop the last batch to avoid single sample | COMMENT |
| LOW | sktime/forecasting/lagllama.py | 355 | # Check if hierarchical (3+ levels) and convert to panel format | COMMENT |
| LOW | sktime/forecasting/lagllama.py | 407 | # Check if column is not of string type | COMMENT |
| LOW | sktime/forecasting/dummy_global.py | 240 | # Check if we're dealing with multivariate data | COMMENT |
| LOW | sktime/forecasting/dummy_global.py | 275 | # Check if we're dealing with multivariate data | COMMENT |
| LOW | …me/forecasting/model_evaluation/tests/test_evaluate.py | 106 | # Check if all timings are positive. | COMMENT |
| LOW | …ng/compose/tests/test_transformer_select_forecaster.py | 70 | # Check if the type of the chosen forecaster matches the provided forecaster type | COMMENT |
| LOW | sktime/forecasting/tests/test_all_forecasters.py | 994 | # Check if forecaster has overridden _pretrain | COMMENT |
| LOW | sktime/forecasting/model_selection/tests/test_tune.py | 81 | # Check if best parameters are selected. | COMMENT |
| LOW | sktime/forecasting/base/_fh.py | 741 | # Check if all timedeltas are present with min_diff spacing | COMMENT |
| LOW | sktime/performance_metrics/forecasting/_functions.py | 2800 | # Check if indices are different | COMMENT |
| LOW⚡ | …erformance_metrics/forecasting/sample_weight/_types.py | 96 | # Check if the function has at least one parameter (y_true) | COMMENT |
| LOW⚡ | …erformance_metrics/forecasting/sample_weight/_types.py | 103 | # Check if the first parameter is y_true | COMMENT |
| LOW⚡ | …erformance_metrics/forecasting/sample_weight/_types.py | 107 | # Check if the function accepts **kwargs | COMMENT |
| LOW | sktime/detection/ggs.py | 286 | # Check if we need to adjust it | COMMENT |
| LOW | sktime/detection/ggs.py | 346 | # Check if our algorithm is finished | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sktime/classification/tests/test_all_classifiers.py | 82 | # this is more robust against different scitypes in X_new | COMMENT |
| LOW | sktime/transformations/dwt.py | 163 | # if length is 1, just return the list back | COMMENT |
| LOW | sktime/transformations/hurst.py | 237 | # If matplotlib is not installed, we'll just return without plotting | COMMENT |
| MEDIUM | sktime/transformations/tests/test_date.py | 28 | # Test that comprehensive feature_scope works for weeks | COMMENT |
| MEDIUM⚡ | sktime/transformations/tests/test_date.py | 71 | # Test that comprehensive feature_scope works for months | COMMENT |
| LOW | sktime/clustering/kvisibility.py | 215 | # if X is the same as seen in _fit, simply return the labels | COMMENT |
| LOW | sktime/clustering/dbscan.py | 223 | # if X is the same as seen in _fit, simply return the labels | COMMENT |
| MEDIUM | sktime/clustering/tests/test_all_clusterers.py | 65 | # this is more robust against different scitypes in X_new | COMMENT |
| LOW | sktime/clustering/spatio_temporal/_st_dbscan.py | 316 | # if X is the same as seen in _fit, simply return the labels | COMMENT |
| LOW | sktime/utils/datetime.py | 212 | # if we want index, we can simply use add dunder or shift | COMMENT |
| MEDIUM | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 4057 | # initial smooth (no robust weights) | STRING |
| MEDIUM | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 4062 | # robust reweighting loops (Tukey bisquare on centered residuals with MAD scale) | STRING |
| LOW | sktime/networks/mcdcnn/_mcdcnn_tf.py | 121 | # therefore simply use that layer, bypassing concat layer. | COMMENT |
| MEDIUM | sktime/regression/tests/test_all_regressors.py | 75 | # this is more robust against different scitypes in X_new | COMMENT |
| MEDIUM | sktime/forecasting/windfm.py | 86 | https://huggingface.co/NeoQuasar/WindFM-robust | STRING |
| MEDIUM | sktime/forecasting/windfm.py | 90 | https://huggingface.co/NeoQuasar/WindFM-Tokenizer-robust | STRING |
| MEDIUM⚡ | sktime/forecasting/windfm.py | 122 | ... # robust variants: | STRING |
| MEDIUM⚡ | sktime/forecasting/windfm.py | 123 | ... # model_path="NeoQuasar/WindFM-robust", | STRING |
| MEDIUM⚡ | sktime/forecasting/windfm.py | 124 | ... # tokenizer_path="NeoQuasar/WindFM-Tokenizer-robust", | STRING |
| LOW | sktime/forecasting/lagllama.py | 666 | # If already pretrained, predictor_ exists - just return | COMMENT |
| LOW | sktime/forecasting/momentfm.py | 723 | # in the case of a regular multivariate df, we just return the trivial case | COMMENT |
| LOW | sktime/forecasting/reconcile.py | 200 | # # check the length of index if not hierarchical just return self early | COMMENT |
| LOW | sktime/forecasting/compose/_pipeline.py | 744 | # else we just pass on y | COMMENT |
| MEDIUM | …me/forecasting/compose/_transform_select_forecaster.py | 401 | # Attempting to utilize the fallback forecaster | COMMENT |
| MEDIUM | sktime/forecasting/compose/_grouped.py | 571 | # Attempting to utilize the fallback forecaster | COMMENT |
| MEDIUM | sktime/detection/datagen.py | 363 | """Data generator base class in order to allow composition.""" | STRING |
| MEDIUM | sktime/detection/stray.py | 16 | """STRAY: robust anomaly detection in data streams with concept drift. | STRING |
| LOW | sktime/base/_meta.py | 453 | # if already unique, just return | COMMENT |
| LOW | extension_templates/forecasting.py | 443 | # default: just call _pretrain again | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/classification/model_evaluation/_functions.py | 223 | except Exception as e: | CODE |
| LOW | …ime/classification/distance_based/_proximity_forest.py | 97 | except Exception: | CODE |
| LOW | sktime/transformations/compose/_transformif.py | 231 | except Exception: | CODE |
| LOW | sktime/transformations/tests/test_all_transformers.py | 244 | except Exception as e: | CODE |
| LOW | sktime/datasets/_dataset_downloader.py | 290 | except Exception as e: | CODE |
| LOW | sktime/datasets/_dataset_downloader.py | 434 | except Exception as e: | CODE |
| LOW | sktime/tests/test_class_register.py | 84 | except Exception: | CODE |
| LOW | sktime/tests/test_all_estimators.py | 652 | except Exception as err: | CODE |
| LOW | sktime/utils/git_diff.py | 52 | except Exception as e: | STRING |
| LOW | sktime/utils/tests/test_mlflow_sktime_model_export.py | 48 | except Exception as e: | CODE |
| LOW | sktime/utils/dependencies/_placeholder.py | 105 | except Exception: # noqa: S110 | CODE |
| LOW | sktime/utils/_testing/_conditional_fixtures.py | 152 | except Exception as err: | CODE |
| LOW | sktime/utils/adapters/forward.py | 67 | except Exception: | CODE |
| MEDIUM | sktime/utils/adapters/forward.py | 62 | def hasattr_safe(obj, attr): | CODE |
| LOW | sktime/utils/sklearn/_scitype.py | 226 | except Exception: | CODE |
| LOW | sktime/libs/timer_s1/modeling_TimerS1.py | 103 | except Exception: | CODE |
| LOW | sktime/libs/timer_s1/modeling_TimerS1.py | 1034 | except Exception: | CODE |
| LOW | sktime/libs/fracdiff/tests/sklearn/test_fracdiff.py | 39 | except Exception as e: | CODE |
| MEDIUM | sktime/libs/fracdiff/tests/sklearn/test_fracdiff.py | 36 | def test_sklearn_compatible_estimator(self, estimator, check): | CODE |
| LOW | sktime/registry/_craft.py | 140 | except Exception: | CODE |
| LOW | sktime/registry/_alias.py | 66 | except Exception as e: | CODE |
| LOW | sktime/benchmarking/benchmarks.py | 626 | except Exception as exc: | CODE |
| LOW | sktime/forecasting/mapa.py | 210 | except Exception as e: | CODE |
| LOW | sktime/forecasting/mapa.py | 487 | except Exception as e: | CODE |
| LOW | sktime/forecasting/mapa.py | 554 | except Exception as e: | CODE |
| LOW | sktime/forecasting/mapa.py | 687 | except Exception as e: | CODE |
| LOW | sktime/forecasting/moirai.py | 256 | except Exception: | CODE |
| LOW | sktime/forecasting/cinn.py | 246 | except Exception as e: | CODE |
| LOW | sktime/forecasting/cinn.py | 358 | except Exception: | CODE |
| LOW | sktime/forecasting/moirai2.py | 171 | except Exception: | CODE |
| LOW | sktime/forecasting/autots.py | 357 | except Exception as e: | CODE |
| LOW | sktime/forecasting/neuralprophet.py | 234 | except Exception: | CODE |
| LOW | sktime/forecasting/chronos.py | 417 | except Exception as e: | CODE |
| LOW | sktime/forecasting/ets.py | 277 | except Exception: | CODE |
| LOW | sktime/forecasting/model_evaluation/_functions.py | 296 | except Exception as e: | CODE |
| LOW | sktime/forecasting/arar/_arar_forecaster.py | 241 | except Exception as e: | CODE |
| LOW | sktime/forecasting/compose/_fallback.py | 253 | except Exception as e: | CODE |
| LOW | sktime/forecasting/compose/_fallback.py | 296 | except Exception as e: | CODE |
| LOW | sktime/forecasting/agentic/_autoresearch.py | 223 | except Exception as e: | STRING |
| LOW | sktime/forecasting/agentic/_autoresearch.py | 404 | except Exception as e: | CODE |
| LOW | sktime/forecasting/agentic/_autoresearch.py | 667 | except Exception as e: | CODE |
| LOW | sktime/forecasting/agentic/_autoresearch.py | 783 | except Exception as e: | CODE |
| LOW | …orecasting/base/adapters/_generalised_statsforecast.py | 406 | except Exception: | CODE |
| LOW | sktime/base/_base.py | 250 | except Exception: # noqa: S110 | CODE |
| LOW | docs/source/conf.py | 188 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sktime/split/_legacy_splitters.py | 51 | # data loader during orchestration, | COMMENT |
| MEDIUM | sktime/classification/foundation_models/mantis.py | 226 | # because the multiton is for the zero-shot/frozen forecaster pattern. | COMMENT |
| MEDIUM | …rmations/rocket/_minirocket_multivariate_cython_est.py | 168 | # reuse the non-numba fit scaffolding from the numba module | COMMENT |
| MEDIUM | sktime/libs/granite_ttm/modeling_tinytimemixer.py | 1336 | ) # Number of items to skip in the context window from the end | CODE |
| MEDIUM | sktime/benchmarking/base.py | 58 | # assigned during fitting of orchestration | COMMENT |
| MEDIUM | sktime/benchmarking/tests/test_orchestration.py | 41 | # simple test of orchestration and metric evaluation | COMMENT |
| MEDIUM | sktime/benchmarking/tests/test_orchestration.py | 89 | # extensive tests of orchestration and metric evaluation against sklearn | COMMENT |
| MEDIUM | sktime/benchmarking/tests/test_orchestration.py | 117 | # set up orchestration | COMMENT |
| MEDIUM | sktime/forecasting/patch_tst.py | 218 | >>> #Example with a pre-trained model to do zero-shot forecasting | STRING |
| MEDIUM | sktime/detection/momentfm.py | 274 | # For zero-shot, just move to device | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/libs/mira/modeling_mira.py | 487 | # the current expert. We need to make sure to multiply the output hidden | COMMENT |
| LOW | sktime/libs/timemoe/timemoe.py | 526 | # the current expert. We need to make sure to multiply the output hidden | COMMENT |
| LOW | extension_templates/clustering.py | 48 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/classification.py | 50 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/alignment.py | 49 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/metric_detection.py | 43 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/metric_forecasting.py | 54 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/split.py | 47 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/transformer.py | 50 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/dist_kern_tab.py | 31 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/dist_kern_panel.py | 31 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/param_est.py | 40 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/metric_forecasting_hierarchical.py | 64 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| LOW | extension_templates/forecasting.py | 54 | # make sure to fill in the "python_dependencies" tag with the package import name | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sktime/benchmarking/critical_difference.py | 170 | # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2... | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 179 | # Step 2: calculate average rank per strategy | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 182 | # Step 3 : check whether Friedman test is significant | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 185 | # Step 4: If Friedman test is significant calculate critical difference as part of | COMMENT |
| LOW | sktime/benchmarking/critical_difference.py | 380 | # Step 5: compute statistically similar cliques | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sktime/benchmarking/critical_difference.py | 170 | # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2... | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 179 | # Step 2: calculate average rank per strategy | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 182 | # Step 3 : check whether Friedman test is significant | COMMENT |
| LOW⚡ | sktime/benchmarking/critical_difference.py | 185 | # Step 4: If Friedman test is significant calculate critical difference as part of | COMMENT |
| LOW | sktime/benchmarking/critical_difference.py | 380 | # Step 5: compute statistically similar cliques | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sktime/param_est/impulse/_response.py | 263 | dummy_data = np.zeros((10, k_vars)) | CODE |
| LOW⚡ | sktime/param_est/impulse/_response.py | 270 | dummy_model = ImportedModel(dummy_data, order=(p, q), trend=trend_type) | CODE |
| LOW⚡ | sktime/param_est/impulse/_response.py | 278 | endog=dummy_data, | CODE |
| LOW | …/libs/granite_ttm/tests/test_modeling_tinytimemixer.py | 54 | instance_dict["fake_key"] = sentinel | CODE |
| LOW | sktime/libs/lag_llama/gluon/estimator.py | 452 | dummy_value=self.distr_output.value_in_support, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sktime/forecasting/base/_base.py | 2023 | # TODO: add tests that : | COMMENT |
| LOW | extension_templates/catalogue.py | 130 | # TODO: implement this | COMMENT |