Automatic extraction of relevant features from time series:
This report presents the forensic synthetic code analysis of blue-yonder/tsfresh, a Jupyter Notebook project with 9,268 GitHub stars. SynthScan v2.0 examined 18,643 lines of code across 87 source files, recording 294 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 17.0 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 294 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 |