Automatic extraction of relevant features from time series:
This report summarizes scanner evidence for blue-yonder/tsfresh, a Jupyter Notebook project with 9,471 GitHub stars. SynthScan examined 18,643 lines of code across 87 source files, recording 296 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 17.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 248 finding(s).
Are imports declared and package/API names verified? 45 finding(s).
Are wrappers, guards, and repeated structures necessary? 231 finding(s).
Which changes need focused human review? 296 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 296 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/benchmark.py | 32 | def test_benchmark_small_data(benchmark): | CODE |
| LOW | tests/benchmark.py | 45 | def test_benchmark_large_data(benchmark): | CODE |
| LOW | tests/benchmark.py | 58 | def test_benchmark_with_selection(benchmark): | CODE |
| LOW | tests/fixtures.py | 200 | def create_test_data_sample_wide(self): | CODE |
| LOW | tests/fixtures.py | 256 | def create_test_data_sample_with_time_index(self): | CODE |
| LOW | tests/fixtures.py | 431 | def create_test_data_nearly_numerical_indices(self): | CODE |
| LOW | tests/fixtures.py | 603 | def create_one_valued_time_series(self): | CODE |
| LOW | tests/fixtures.py | 611 | def create_test_data_sample_with_target(self): | CODE |
| LOW | tests/fixtures.py | 624 | def create_test_data_sample_with_multiclass_target(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 78 | def test_extract_features_uses_only_kind_to_fc_settings(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 91 | def test_extract_features_for_one_time_series(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 137 | def test_extract_features_for_index_based_functions(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 172 | def test_extract_features_custom_function(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 207 | def test_extract_features_after_randomisation(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 239 | def test_profiling_file_written_out(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 257 | def test_profiling_cumulative_file_written_out(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 280 | def test_extract_features_without_settings(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 292 | def test_extract_features_with_and_without_parallelization(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 320 | def test_extract_index_preservation(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 334 | def test_extract_features_alphabetically_sorted(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 404 | def test_distributor_map_reduce_is_called(self): | CODE |
| LOW | tests/units/feature_extraction/test_extraction.py | 423 | def test_distributor_close_is_called(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 265 | def test_long_tsframe_no_value_column(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 277 | def test_wide_tsframe_without_sort(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 295 | def assert_data_chunk_object_equal(self, result, expected): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 303 | def test_simple_data_sample_two_timeseries(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 317 | def test_simple_data_sample_four_timeseries(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 327 | def test_with_dictionaries_two_rows(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 345 | def test_with_dictionaries_two_rows(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 356 | def test_wide_dataframe_order_preserved_with_sort_column(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 377 | def test_dask_dataframe_with_kind(self): | CODE |
| LOW | tests/units/feature_extraction/test_data.py | 401 | def test_dask_dataframe_without_kind(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 150 | def test___get_length_sequences_where(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 177 | def test_variance_larger_than_standard_deviation(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 185 | def test_large_standard_deviation(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 238 | def test_agg_autocorrelation_returns_correct_values(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 268 | def test_agg_autocorrelation_returns_max_lag_does_not_affect_other_results(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 282 | def test_partial_autocorrelation(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 346 | def test_augmented_dickey_fuller(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 432 | def test_lempel_ziv_complexity(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 534 | def test_ratio_beyond_r_sigma(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 553 | def test_mean_second_derivate_central(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 588 | def test_variation_coefficient(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 651 | def test_absolute_sum_of_changes(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 657 | def test_longest_strike_below_mean(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 668 | def test_longest_strike_above_mean(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 691 | def test_last_location_maximum(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 707 | def test_first_location_of_maximum(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 723 | def test_last_location_of_minimum(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 739 | def test_first_location_of_minimum(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 755 | def test_percentage_of_doubled_datapoints(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 774 | def test_ratio_of_doubled_values(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 793 | def test_sum_of_reoccurring_values(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 806 | def test_sum_of_reoccurring_data_points(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1129 | def test_time_reversal_asymmetry_statistic(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1361 | def test_mean_abs_change_quantiles(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1567 | def test_max_langevin_fixed_point(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1634 | def test__aggregate_on_chunks(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1757 | def test_energy_ratio_by_chunks(self): | CODE |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 1796 | def test_linear_trend_timewise_hours(self): | CODE |
| 160 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/benchmark.py | 4 | CODE | |
| LOW | tests/benchmark.py | 7 | CODE | |
| LOW | tests/benchmark.py | 7 | CODE | |
| LOW | tests/units/feature_extraction/test_data.py | 1 | CODE | |
| LOW | tests/units/feature_extraction/test_data.py | 17 | CODE | |
| LOW | …/units/feature_extraction/test_feature_calculations.py | 11 | CODE | |
| LOW | tests/units/feature_selection/test_relevance.py | 5 | CODE | |
| LOW | tests/units/feature_selection/test_checks.py | 9 | CODE | |
| LOW | tests/units/transformers/test_feature_augmenter.py | 9 | CODE | |
| LOW | tests/integrations/test_relevant_feature_extraction.py | 13 | CODE | |
| LOW | tests/integrations/test_feature_extraction.py | 9 | CODE | |
| LOW | tests/integrations/examples/test_driftbif_simulation.py | 7 | CODE | |
| LOW | tests/integrations/examples/test_driftbif_simulation.py | 9 | CODE | |
| LOW | tests/integrations/examples/test_driftbif_simulation.py | 11 | CODE | |
| LOW | tests/integrations/examples/test_driftbif_simulation.py | 13 | CODE | |
| LOW | …integrations/examples/test_robot_execution_failures.py | 10 | CODE | |
| LOW | docs/conf.py | 12 | CODE | |
| LOW | tsfresh/__init__.py | 27 | CODE | |
| LOW | tsfresh/__init__.py | 30 | CODE | |
| LOW | tsfresh/__init__.py | 31 | CODE | |
| LOW | tsfresh/feature_extraction/__init__.py | 5 | CODE | |
| LOW | tsfresh/feature_extraction/__init__.py | 6 | CODE | |
| LOW | tsfresh/feature_extraction/__init__.py | 6 | CODE | |
| LOW | tsfresh/feature_extraction/__init__.py | 6 | CODE | |
| LOW | tsfresh/feature_extraction/extraction.py | 12 | CODE | |
| LOW | tsfresh/feature_extraction/data.py | 1 | CODE | |
| LOW | tsfresh/feature_selection/__init__.py | 10 | CODE | |
| LOW | tsfresh/utilities/distribution.py | 14 | CODE | |
| LOW | tsfresh/utilities/distribution.py | 21 | CODE | |
| LOW | tsfresh/transformers/__init__.py | 6 | CODE | |
| LOW | tsfresh/transformers/__init__.py | 7 | CODE | |
| LOW | tsfresh/transformers/__init__.py | 8 | CODE | |
| LOW | tsfresh/transformers/__init__.py | 9 | CODE | |
| LOW | tsfresh/examples/__init__.py | 6 | CODE | |
| LOW | tsfresh/examples/__init__.py | 7 | CODE | |
| LOW | tsfresh/examples/__init__.py | 7 | CODE | |
| LOW | tsfresh/examples/__init__.py | 7 | CODE | |
| LOW | tsfresh/examples/__init__.py | 8 | CODE | |
| LOW | tsfresh/examples/__init__.py | 8 | CODE | |
| LOW | tsfresh/examples/har_dataset.py | 23 | CODE | |
| LOW | tsfresh/scripts/run_tsfresh.py | 25 | CODE | |
| LOW | tsfresh/scripts/measure_execution_time.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/units/utilities/test_dataframe_functions.py | 1271 | self.assertTrue(df_restricted2.equals(df)) | CODE |
| HIGH | tests/integrations/test_relevant_feature_extraction.py | 61 | relevant_features.equals( | CODE |
| HIGH | tsfresh/feature_selection/significance_tests.py | 210 | if not y.index.equals(x.index): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tsfresh/feature_extraction/feature_calculators.py | 499 | CODE | |
| LOW | tsfresh/feature_extraction/feature_calculators.py | 1067 | CODE | |
| LOW | tsfresh/feature_extraction/feature_calculators.py | 1100 | CODE | |
| LOW | tsfresh/feature_extraction/extraction.py | 308 | CODE | |
| LOW | tsfresh/feature_extraction/extraction.py | 338 | CODE | |
| LOW | tsfresh/feature_extraction/data.py | 447 | CODE | |
| LOW | tsfresh/feature_selection/relevance.py | 31 | CODE | |
| LOW | tsfresh/utilities/string_manipulation.py | 10 | CODE | |
| LOW | tsfresh/transformers/feature_selector.py | 152 | CODE | |
| LOW | tsfresh/examples/robot_execution_failures.py | 84 | CODE | |
| LOW | tsfresh/scripts/measure_execution_time.py | 141 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/integrations/test_notebooks.py | 32 | except BaseException: | CODE |
| HIGH | docs/conf.py | 115 | except ImportError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.cfg | 1 | # This file is used to configure your project. | COMMENT |
| MEDIUM | tests/units/scripts/test_run_tsfresh.py | 21 | # Create a temporary directory | COMMENT |
| MEDIUM | docs/conf.py | 3 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tsfresh/feature_extraction/extraction.py | 30 | CODE | |
| LOW | tsfresh/feature_selection/selection.py | 17 | CODE | |
| LOW | tsfresh/feature_selection/relevance.py | 31 | CODE | |
| LOW | tsfresh/utilities/dataframe_functions.py | 376 | CODE | |
| LOW | tsfresh/transformers/feature_selector.py | 61 | CODE | |
| LOW | tsfresh/transformers/feature_augmenter.py | 64 | CODE | |
| LOW | tsfresh/transformers/relevant_feature_augmenter.py | 92 | CODE | |
| LOW | tsfresh/convenience/relevant_extraction.py | 17 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/conf.py | 81 | COMMENT | |
| LOW | tsfresh/feature_extraction/feature_calculators.py | 1721 | COMMENT | |
| LOW | tsfresh/feature_extraction/data.py | 101 | for chunk_id, variable, value in results: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/units/feature_extraction/test_feature_calculations.py | 397 | # Check if LinAlgError and ValueError are catched | COMMENT |
| LOW | tsfresh/feature_extraction/feature_calculators.py | 479 | # Check if list is too short to make calculations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tsfresh/__init__.py | 16 | except Exception: | CODE |