Repository Analysis

sktime/sktime

A unified framework for machine learning with time series

35.1 Strong AI signal View on GitHub

Analysis Overview

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).

35.1
Adjusted Score
35.1
Raw Score
100%
Time Factor
2026-07-11
Last Push
9.9K
Stars
Python
Language
405.2K
Lines of Code
1.8K
Files
6.3K
Pattern Hits
2026-07-14
Scan Date
0.79
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 1408MEDIUM 1034LOW 3888

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 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.

Cross-File Repetition1343 hits · 6715 pts
SeverityFileLineSnippetContext
HIGHsktime/split/singlewindow.py0return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. parameteSTRING
HIGHsktime/split/temporal_train_test_split.py0return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. parameteSTRING
HIGHsktime/split/cutoff.py0return the number of splits. since this splitter returns a single train/test split, this number is trivially 1. parameteSTRING
HIGHsktime/split/singlewindow.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/temporal_train_test_split.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/cutoff.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/expandinggreedy.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/expandingcutoff.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/sameloc.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/expandingwindow.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/slidingwindow.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/testplustrain.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/compose/_repeat.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/split/instance.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHextension_templates/split.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/classification/dummy/_dummy.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/compose/_pipeline.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/param_est/compose/_pipeline.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/dists_kernels/dist_to_kern.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/dists_kernels/algebra.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/dists_kernels/indep.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGH…me/regression/distance_based/_time_series_neighbors.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/regression/kernel_based/_rocket_regressor.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/forecasting/theta.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/forecasting/compose/_hierarchy_ensemble.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/forecasting/compose/_column_ensemble.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/performance_metrics/detection/_chamfer.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/performance_metrics/detection/_count.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/performance_metrics/detection/_f1score.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/performance_metrics/detection/_ts_auprc.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/classification/dictionary_based/_boss_pyts.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGH…e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGH…ation/distance_based/_time_series_neighbors_tslearn.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/classification/distance_based/_shape_dtw.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGH…fication/distance_based/_time_series_neighbors_pyts.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/classification/kernel_based/_svc_tslearn.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGH…ime/classification/shapelet_based/_learning_tslearn.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/classification/shapelet_based/_learning_pyts.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/hog1d.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/feature_selection.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/channel_selection.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/clasp.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/impute.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/truncation.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/catch22.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/subsequence_extraction.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/tsfresh.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/func_transform.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/adapt.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/filter.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/scaledlogit.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/scaledasinh.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/segment.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/acf.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/signature.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/outlier_detection.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/bootstrap/_splitterboot.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/bootstrap/_mbb.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/dictionary_based/_sax.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
HIGHsktime/transformations/dictionary_based/_sfa.py0return testing parameter settings for the estimator. parameters ---------- parameter_set : str, default="default" name oSTRING
1283 more matches not shown…
Decorative Section Separators941 hits · 3016 pts
SeverityFileLineSnippetContext
MEDIUMsktime/split/base/_base_splitter.py102 # -----------------STRING
MEDIUMsktime/classification/ensemble/_weighted.py89 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_weighted.py92 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_bagging.py82 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_bagging.py85 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_ctsf.py205 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_ctsf.py210 # --------------COMMENT
MEDIUMsktime/classification/ensemble/_ctsf.py213 # --------------COMMENT
MEDIUMsktime/classification/dummy/_dummy.py77 # --------------COMMENT
MEDIUMsktime/classification/dummy/_dummy.py81 # --------------COMMENT
MEDIUMsktime/classification/dummy/_dummy.py90 # -----------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss_pyts.py103 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_boss_pyts.py107 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_weasel.py125 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_weasel.py130 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_muse.py122 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_muse.py127 # --------------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.py152 # --------------COMMENT
MEDIUMsktime/classification/dictionary_based/_tde.py156 # --------------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/fcn.py74 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/mvts_transformer.py85 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/convtimenet.py99 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/convtimenet.py104 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/convtimenet.py108 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/resnet.py66 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/cntc.py105 # ---------------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py66 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py72 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py77 # ---------------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py280 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py286 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/gru.py291 # ---------------------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
MEDIUMsktime/classification/deep_learning/cnn/_cnn_tf.py89 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/cnn/_cnn_tf.py97 # ---------------------COMMENT
MEDIUM…me/classification/deep_learning/lstmfcn/_lstmfcn_tf.py75 # --------------COMMENT
MEDIUM…classification/deep_learning/lstmfcn/_lstmfcn_torch.py134 # --------------COMMENT
MEDIUM…ime/classification/deep_learning/macnn/_macnn_torch.py127 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/macnn/_macnn_tf.py87 # --------------COMMENT
MEDIUM…time/classification/deep_learning/tapnet/_tapnet_tf.py92 # --------------COMMENT
MEDIUM…assification/deep_learning/convtran/_convtran_torch.py132 # ----------------COMMENT
MEDIUM…time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py83 # --------------COMMENT
MEDIUM…e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py129 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/rnn/_rnn_tf.py68 # --------------COMMENT
MEDIUMsktime/classification/deep_learning/rnn/_rnn_torch.py130 # --------------COMMENT
881 more matches not shown…
Hyper-Verbose Identifiers1458 hits · 1479 pts
SeverityFileLineSnippetContext
LOWsktime/split/temporal_train_test_split.py20def 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_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_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_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/base/_common.py69def _check_inputs_for_compatibility(args: list) -> None:CODE
LOWsktime/split/base/_common.py124def _get_train_window_via_endpoint(y, train_endpoint, window_length):CODE
LOWsktime/split/base/_base_windowsplitter.py147 def _split_for_initial_window(self, y: pd.Index) -> SPLIT_ARRAY_TYPE: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.py63def test_equivalent_model_specifications(n_intervals, n_estimators):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
LOWsktime/classification/model_evaluation/_functions.py147def _get_pred_args_from_metric(scitype, metric):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py35 def test_evaluate_basic_functionality(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py61 def test_evaluate_with_multiple_metrics(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py81 def test_evaluate_with_probabilistic_metrics(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py99 def test_evaluate_with_return_data(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py124 def test_evaluate_different_cv_splits(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py141 def test_evaluate_with_different_classifiers(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py162 def test_evaluate_timing_measurements(self):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py180 def test_evaluate_parallel_backend(self, backend):CODE
LOW…classification/model_evaluation/tests/test_evaluate.py203 def test_evaluate_parallel_backend_none(self):CODE
LOWsktime/classification/dictionary_based/_tde_numba.py14def _histogram_intersection_dict(first, second):CODE
LOWsktime/classification/dictionary_based/_muse.py341 def _add_first_order_differences(self, X):CODE
LOWsktime/classification/dictionary_based/_muse.py389def _parallel_transform_words(X, window_sizes, SFA_transformers, ind):CODE
LOW…ime/classification/dictionary_based/tests/test_boss.py35def test_individual_boss_classes(dataset, new_class, expected_dtype):CODE
1398 more matches not shown…
Unused Imports803 hits · 756 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/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__.py15CODE
LOWsktime/classification/compose/__init__.py16CODE
LOWsktime/classification/compose/__init__.py17CODE
LOWsktime/classification/compose/__init__.py17CODE
LOWsktime/classification/early_classification/__init__.py9CODE
LOWsktime/classification/early_classification/__init__.py12CODE
LOWsktime/classification/early_classification/__init__.py13CODE
LOWsktime/classification/deep_learning/__init__.py27CODE
LOWsktime/classification/deep_learning/__init__.py27CODE
LOWsktime/classification/deep_learning/__init__.py31CODE
LOWsktime/classification/deep_learning/__init__.py32CODE
LOWsktime/classification/deep_learning/__init__.py33CODE
LOWsktime/classification/deep_learning/__init__.py34CODE
LOWsktime/classification/deep_learning/__init__.py34CODE
LOWsktime/classification/deep_learning/__init__.py38CODE
LOWsktime/classification/deep_learning/__init__.py38CODE
LOWsktime/classification/deep_learning/__init__.py42CODE
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__.py55CODE
743 more matches not shown…
Modern Structural Boilerplate647 hits · 648 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__ = ["Repeat"]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.py6__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/fcn.py3__all__ = ["FCNClassifier"]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/resnet.py3__all__ = ["ResNetClassifier"]CODE
LOWsktime/classification/deep_learning/cntc.py3__all__ = ["CNTCClassifier"]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
LOWsktime/classification/deep_learning/cnn/_cnn_tf.py3__all__ = ["CNNClassifier"]CODE
LOWsktime/classification/deep_learning/cnn/__init__.py7__all__ = [CODE
LOWsktime/classification/deep_learning/cnn/_cnn_torch.py3__all__ = ["CNNClassifierTorch"]CODE
LOWsktime/classification/deep_learning/lstmfcn/__init__.py7__all__ = [CODE
587 more matches not shown…
Cross-Language Confusion65 hits · 358 pts
SeverityFileLineSnippetContext
HIGH…ication/early_classification/_probability_threshold.py231 # if we have the full series, always return trueCOMMENT
HIGHsktime/transformations/dobin.py209 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
HIGHsktime/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/_arithmetic.py140 if not Xt.index.equals(first_index):CODE
HIGHsktime/transformations/compose/_arithmetic.py142 if not Xt.columns.equals(first_columns):CODE
HIGHsktime/transformations/tests/test_subset.py28 assert X_subset.index.equals(X.index.intersection(y.index))CODE
HIGHsktime/transformations/tests/test_subset.py30 assert X_subset.index.equals(y.index)CODE
HIGHsktime/transformations/tests/test_subset.py50 assert X_subset.columns.equals(col_X_and_cols)CODE
HIGHsktime/transformations/tests/test_subset.py52 assert X_subset.columns.equals(columns_idx)CODE
HIGHsktime/transformations/tests/test_subset.py66 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
HIGHsktime/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_dummies.py35 assert X.equals(X_expected), "Test failed: X does not match X_expected."CODE
HIGHsktime/transformations/detrend/_deseasonalize.py572 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
HIGHsktime/datatypes/tests/test_utils.py472 assert y_new.equals(y)CODE
HIGHsktime/datatypes/tests/test_utils.py473 assert y_new.index.equals(y.index)CODE
HIGHsktime/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
HIGHsktime/datatypes/_adapter/tests/test_polars.py87 assert pd_result.equals(pd_fixture)CODE
HIGHsktime/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
HIGH…asting/compose/tests/test_groupbycategoryforecaster.py75 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.py2764 if not y_pred.columns.equals(ycols):CODE
HIGHsktime/forecasting/base/tests/test_fh.py953 assert y_pred_idx.equals(pd.Index([5, 6, 7]))CODE
HIGHsktime/forecasting/base/tests/test_fh.py958 assert y_pred_idx.equals(pd.Index([5, 6, 7]))CODE
HIGHsktime/forecasting/base/tests/test_fh.py967 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGHsktime/forecasting/base/tests/test_fh.py973 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGHsktime/forecasting/base/tests/test_fh.py52 assert a.equals(b)CODE
HIGHsktime/forecasting/base/tests/test_fh.py193 fh_oos = fh.to_pandas()[fh_relative > null]CODE
HIGHsktime/forecasting/base/tests/test_fh.py195 fh_ins = fh.to_pandas()[fh_relative <= null]CODE
HIGHsktime/forecasting/base/tests/test_fh.py984 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGHsktime/forecasting/base/tests/test_fh.py991 assert y_pred_idx.equals(y_pred_idx_expected)CODE
HIGHsktime/forecasting/base/tests/test_base.py411 assert y_resid.index.equals(y_train.index)CODE
HIGHsktime/forecasting/base/tests/test_base.py538 assert y_pred.equals(y_pred_update), "Expected same predictions after update."CODE
HIGHsktime/performance_metrics/forecasting/_base.py645 same_rows = y_true.index.equals(y_pred.index)CODE
HIGHsktime/performance_metrics/forecasting/_base.py647 same_cols = y_true.columns.equals(y_pred.columns)CODE
5 more matches not shown…
AI Structural Patterns336 hits · 330 pts
SeverityFileLineSnippetContext
LOWsktime/classification/ensemble/_ctsf.py219CODE
LOWsktime/classification/model_evaluation/_functions.py260CODE
LOWsktime/classification/model_evaluation/_functions.py263CODE
LOWsktime/classification/dictionary_based/_boss_pyts.py127CODE
LOWsktime/classification/dictionary_based/_weasel.py138CODE
LOWsktime/classification/dictionary_based/_muse.py137CODE
LOWsktime/classification/dictionary_based/_boss.py147CODE
LOWsktime/classification/dictionary_based/_boss.py571CODE
LOWsktime/classification/dictionary_based/_tde.py167CODE
LOWsktime/classification/dictionary_based/_tde.py704CODE
LOWsktime/classification/dictionary_based/_cboss.py149CODE
LOWsktime/classification/deep_learning/fcn.py82CODE
LOWsktime/classification/deep_learning/mvts_transformer.py90CODE
LOWsktime/classification/deep_learning/convtimenet.py117CODE
LOWsktime/classification/deep_learning/_pytorch.py33CODE
LOWsktime/classification/deep_learning/resnet.py81CODE
LOWsktime/classification/deep_learning/cntc.py117CODE
LOWsktime/classification/deep_learning/gru.py81CODE
LOWsktime/classification/deep_learning/gru.py295CODE
LOW…ation/deep_learning/inceptiontime/_inceptiontime_tf.py120CODE
LOW…on/deep_learning/inceptiontime/_inceptiontime_torch.py191CODE
LOWsktime/classification/deep_learning/cnn/_cnn_tf.py103CODE
LOWsktime/classification/deep_learning/cnn/_cnn_torch.py129CODE
LOW…me/classification/deep_learning/lstmfcn/_lstmfcn_tf.py82CODE
LOW…classification/deep_learning/lstmfcn/_lstmfcn_torch.py143CODE
LOW…ime/classification/deep_learning/macnn/_macnn_torch.py136CODE
LOWsktime/classification/deep_learning/macnn/_macnn_tf.py94CODE
LOW…time/classification/deep_learning/tapnet/_tapnet_tf.py110CODE
LOW…e/classification/deep_learning/tapnet/_tapnet_torch.py155CODE
LOW…assification/deep_learning/convtran/_convtran_torch.py136CODE
LOW…time/classification/deep_learning/mcdcnn/_mcdcnn_tf.py97CODE
LOW…e/classification/deep_learning/mcdcnn/_mcdcnn_torch.py136CODE
LOWsktime/classification/deep_learning/base/_base_torch.py147CODE
LOWsktime/classification/deep_learning/rnn/_rnn_tf.py82CODE
LOWsktime/classification/deep_learning/rnn/_rnn_torch.py139CODE
LOWsktime/classification/deep_learning/mlp/_mlp_tf.py90CODE
LOWsktime/classification/deep_learning/mlp/_mlp_torch.py152CODE
LOWsktime/classification/interval_based/_cif.py136CODE
LOWsktime/classification/interval_based/_cif.py259CODE
LOWsktime/classification/interval_based/_stsf.py245CODE
LOWsktime/classification/interval_based/_tsf.py209CODE
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.py253CODE
LOW…/classification/feature_based/_signature_classifier.py118CODE
LOW…ime/classification/distance_based/_proximity_forest.py1367CODE
LOW…ime/classification/distance_based/_elastic_ensemble.py104CODE
LOW…lassification/distance_based/_time_series_neighbors.py159CODE
LOW…fication/distance_based/_time_series_neighbors_pyts.py127CODE
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.py149CODE
LOWsktime/classification/foundation_models/momentfm.py145CODE
LOWsktime/classification/hybrid/_hivecote_v2.py106CODE
LOWsktime/classification/shapelet_based/_mrsqm.py66CODE
LOW…ime/classification/shapelet_based/_learning_tslearn.py114CODE
276 more matches not shown…
Deep Nesting284 hits · 280 pts
SeverityFileLineSnippetContext
LOWsktime/split/compose/_repeat.py105CODE
LOWsktime/classification/ensemble/_weighted.py173CODE
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.py789CODE
LOWsktime/classification/dictionary_based/_tde.py870CODE
LOWsktime/classification/dictionary_based/_cboss.py187CODE
LOWsktime/classification/compose/_column_ensemble.py401CODE
LOWsktime/classification/compose/_column_ensemble.py103CODE
LOWsktime/classification/tests/test_all_classifiers.py171CODE
LOWsktime/classification/deep_learning/base/_base_torch.py245CODE
LOWsktime/classification/deep_learning/base/_base_torch.py335CODE
LOWsktime/classification/deep_learning/base/_base_torch.py495CODE
LOWsktime/classification/deep_learning/base/_base_tf.py135CODE
LOWsktime/classification/deep_learning/base/_base_tf.py176CODE
LOWsktime/classification/deep_learning/base/_base_tf.py285CODE
LOWsktime/classification/deep_learning/rnn/_rnn_tf.py174CODE
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.py145CODE
LOW…ime/classification/distance_based/_elastic_ensemble.py443CODE
LOWsktime/classification/distance_based/_shape_dtw.py386CODE
LOWsktime/classification/kernel_based/_arsenal.py171CODE
LOWsktime/classification/foundation_models/momentfm.py407CODE
LOWsktime/classification/foundation_models/momentfm.py469CODE
LOWsktime/pipeline/step.py93CODE
LOWsktime/pipeline/pipeline.py235CODE
LOWsktime/pipeline/pipeline.py323CODE
LOWsktime/transformations/binning.py109CODE
LOWsktime/transformations/dropna.py158CODE
LOWsktime/transformations/hidalgo.py259CODE
LOWsktime/transformations/hidalgo.py371CODE
LOWsktime/transformations/feature_selection.py108CODE
LOWsktime/transformations/vmd.py181CODE
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/impute.py164CODE
LOWsktime/transformations/impute.py207CODE
LOWsktime/transformations/adi_cv.py164CODE
LOWsktime/transformations/catch22.py135CODE
LOWsktime/transformations/catch22.py503CODE
LOWsktime/transformations/adapt.py259CODE
LOWsktime/transformations/time_since.py132CODE
LOWsktime/transformations/time_since.py218CODE
LOWsktime/transformations/dummies.py138CODE
LOWsktime/transformations/segment.py503CODE
LOWsktime/transformations/fourier.py174CODE
LOWsktime/transformations/fourier.py234CODE
LOWsktime/transformations/supervised_intervals.py422CODE
LOWsktime/transformations/signature.py116CODE
224 more matches not shown…
Over-Commented Block219 hits · 200 pts
SeverityFileLineSnippetContext
LOWpyproject.toml61 "scikit-learn>=0.24,<1.8.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/time_since.py241 # To support calculating integer time differences when `freq`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 # x cases and y shapelets from each (where x = num_cases_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/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
LOWsktime/libs/granite_ttm/modeling_tinytimemixer.py4321 # k = Q // 2 # median indexCOMMENT
LOWsktime/libs/timemoe/timemoe.py1481COMMENT
159 more matches not shown…
Self-Referential Comments65 hits · 188 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.py265 # 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.py191 # 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
MEDIUMsktime/transformations/tests/test_hampelfilter.py19 # Create a sample time series with outliersCOMMENT
MEDIUMsktime/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
MEDIUMsktime/forecasting/greykite.py148 # Create the ForecastConfig using Greykite's parameters.COMMENT
MEDIUMsktime/forecasting/greykite.py184 # Create the forecast configuration if not already provided.COMMENT
MEDIUMsktime/forecasting/moirai.py797 # 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.py344 # Create a new `fh` object with only in-sample valuesCOMMENT
MEDIUMsktime/forecasting/var_reduce.py372 # Create an index for all generated forecastsCOMMENT
MEDIUMsktime/forecasting/var_reduce.py379 # Create a new `fh` object with only the required outsample indicesCOMMENT
MEDIUMsktime/forecasting/lagllama.py289 # Initialize parent classCOMMENT
MEDIUMsktime/forecasting/lagllama.py1324 # Create a new MultiIndex with the flattened level and the last level unchangedCOMMENT
MEDIUMsktime/forecasting/scinet.py227 # Define the SCINet-based networkCOMMENT
MEDIUMsktime/forecasting/momentfm.py344 # Create a OneCycleLR schedulerCOMMENT
MEDIUM…me/forecasting/compose/_transform_select_forecaster.py207 # Create a list of forecastersCOMMENT
MEDIUMsktime/forecasting/compose/_grouped.py349 # 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.py51 # Define the forecasting horizon and predictCOMMENT
MEDIUMsktime/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
MEDIUMsktime/forecasting/tests/test_arar.py94 # Create a simple time seriesCOMMENT
MEDIUMsktime/forecasting/tests/test_arar.py122 # Create a very short time series (should trigger warning)COMMENT
5 more matches not shown…
Redundant / Tautological Comments54 hits · 85 pts
SeverityFileLineSnippetContext
LOWsktime/classification/tests/test_all_classifiers.py255 # Check if the estimator supports class_weightCOMMENT
LOWsktime/pipeline/pipeline.py206 # 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.py169 # Check if feature existsCOMMENT
LOWsktime/transformations/tsfel/_tsfel.py177 # 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
LOWsktime/datasets/tests/test_datadownload.py105 # Check if the response status code is 200 (OK)COMMENT
LOWsktime/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.py439 # Check if the index is a range indexCOMMENT
LOWsktime/forecasting/convtimenet.py244 # Check if context_window needs adjustmentCOMMENT
LOWsktime/forecasting/convtimenet.py263 # Check if patch_ks needs adjustment based on context_windowCOMMENT
LOWsktime/forecasting/convtimenet.py345 # Check if we need to drop the last batch to avoid single sampleCOMMENT
LOWsktime/forecasting/lagllama.py355 # Check if hierarchical (3+ levels) and convert to panel formatCOMMENT
LOWsktime/forecasting/lagllama.py407 # Check if column is not of string typeCOMMENT
LOWsktime/forecasting/dummy_global.py240 # Check if we're dealing with multivariate dataCOMMENT
LOWsktime/forecasting/dummy_global.py275 # Check if we're dealing with multivariate dataCOMMENT
LOW…me/forecasting/model_evaluation/tests/test_evaluate.py106 # 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.py994 # 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.py741 # Check if all timedeltas are present with min_diff spacingCOMMENT
LOWsktime/performance_metrics/forecasting/_functions.py2800 # Check if indices are differentCOMMENT
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
AI Slop Vocabulary29 hits · 52 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
MEDIUMsktime/transformations/tests/test_date.py71 # Test that comprehensive feature_scope works for monthsCOMMENT
LOWsktime/clustering/kvisibility.py215 # if X is the same as seen in _fit, simply return the labelsCOMMENT
LOWsktime/clustering/dbscan.py223 # 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.py316 # if X is the same as seen in _fit, simply return the labelsCOMMENT
LOWsktime/utils/datetime.py212 # 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
LOWsktime/networks/mcdcnn/_mcdcnn_tf.py121 # 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.py86 https://huggingface.co/NeoQuasar/WindFM-robustSTRING
MEDIUMsktime/forecasting/windfm.py90 https://huggingface.co/NeoQuasar/WindFM-Tokenizer-robustSTRING
MEDIUMsktime/forecasting/windfm.py122 ... # robust variants:STRING
MEDIUMsktime/forecasting/windfm.py123 ... # model_path="NeoQuasar/WindFM-robust",STRING
MEDIUMsktime/forecasting/windfm.py124 ... # tokenizer_path="NeoQuasar/WindFM-Tokenizer-robust",STRING
LOWsktime/forecasting/lagllama.py666 # If already pretrained, predictor_ exists - just returnCOMMENT
LOWsktime/forecasting/momentfm.py723 # in the case of a regular multivariate df, we just return the trivial caseCOMMENT
LOWsktime/forecasting/reconcile.py200 # # check the length of index if not hierarchical just return self earlyCOMMENT
LOWsktime/forecasting/compose/_pipeline.py744 # else we just pass on yCOMMENT
MEDIUM…me/forecasting/compose/_transform_select_forecaster.py401 # Attempting to utilize the fallback forecasterCOMMENT
MEDIUMsktime/forecasting/compose/_grouped.py571 # 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.py443 # default: just call _pretrain againCOMMENT
Excessive Try-Catch Wrapping45 hits · 46 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/tests/test_all_estimators.py652 except Exception as err:CODE
LOWsktime/utils/git_diff.py52 except Exception as e:STRING
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/_testing/_conditional_fixtures.py152 except Exception as err:CODE
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.py103 except Exception:CODE
LOWsktime/libs/timer_s1/modeling_TimerS1.py1034 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/registry/_craft.py140 except Exception:CODE
LOWsktime/registry/_alias.py66 except Exception as e:CODE
LOWsktime/benchmarking/benchmarks.py626 except Exception as exc:CODE
LOWsktime/forecasting/mapa.py210 except Exception as e:CODE
LOWsktime/forecasting/mapa.py487 except Exception as e:CODE
LOWsktime/forecasting/mapa.py554 except Exception as e:CODE
LOWsktime/forecasting/mapa.py687 except Exception as e:CODE
LOWsktime/forecasting/moirai.py256 except Exception:CODE
LOWsktime/forecasting/cinn.py246 except Exception as e:CODE
LOWsktime/forecasting/cinn.py358 except Exception:CODE
LOWsktime/forecasting/moirai2.py171 except Exception:CODE
LOWsktime/forecasting/autots.py357 except Exception as e:CODE
LOWsktime/forecasting/neuralprophet.py234 except Exception:CODE
LOWsktime/forecasting/chronos.py417 except Exception as e:CODE
LOWsktime/forecasting/ets.py277 except Exception:CODE
LOWsktime/forecasting/model_evaluation/_functions.py296 except Exception as e:CODE
LOWsktime/forecasting/arar/_arar_forecaster.py241 except Exception as e:CODE
LOWsktime/forecasting/compose/_fallback.py253 except Exception as e:CODE
LOWsktime/forecasting/compose/_fallback.py296 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py223 except Exception as e:STRING
LOWsktime/forecasting/agentic/_autoresearch.py404 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py667 except Exception as e:CODE
LOWsktime/forecasting/agentic/_autoresearch.py783 except Exception as e:CODE
LOW…orecasting/base/adapters/_generalised_statsforecast.py406 except Exception:CODE
LOWsktime/base/_base.py250 except Exception: # noqa: S110CODE
LOWdocs/source/conf.py188 except Exception:CODE
Modern AI Meta-Vocabulary10 hits · 27 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.py58 # 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
MEDIUMsktime/forecasting/patch_tst.py218 >>> #Example with a pre-trained model to do zero-shot forecastingSTRING
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
LOWsktime/benchmarking/critical_difference.py170 # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2...COMMENT
LOWsktime/benchmarking/critical_difference.py179 # Step 2: calculate average rank per strategyCOMMENT
LOWsktime/benchmarking/critical_difference.py182 # Step 3 : check whether Friedman test is significantCOMMENT
LOWsktime/benchmarking/critical_difference.py185 # Step 4: If Friedman test is significant calculate critical difference as part ofCOMMENT
LOWsktime/benchmarking/critical_difference.py380 # Step 5: compute statistically similar cliquesCOMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOWsktime/benchmarking/critical_difference.py170 # Step 1: rank data: best algorithm gets rank of 1 second best rank of 2...COMMENT
LOWsktime/benchmarking/critical_difference.py179 # Step 2: calculate average rank per strategyCOMMENT
LOWsktime/benchmarking/critical_difference.py182 # Step 3 : check whether Friedman test is significantCOMMENT
LOWsktime/benchmarking/critical_difference.py185 # Step 4: If Friedman test is significant calculate critical difference as part ofCOMMENT
LOWsktime/benchmarking/critical_difference.py380 # Step 5: compute statistically similar cliquesCOMMENT
Fake / Example Data5 hits · 6 pts
SeverityFileLineSnippetContext
LOWsktime/param_est/impulse/_response.py263 dummy_data = np.zeros((10, k_vars))CODE
LOWsktime/param_est/impulse/_response.py270 dummy_model = ImportedModel(dummy_data, order=(p, q), trend=trend_type)CODE
LOWsktime/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.py452 dummy_value=self.distr_output.value_in_support,CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsktime/forecasting/base/_base.py2023 # TODO: add tests that :COMMENT
LOWextension_templates/catalogue.py130 # TODO: implement thisCOMMENT