Repository Analysis

blue-yonder/tsfresh

Automatic extraction of relevant features from time series:

17.0 Moderate AI signal View on GitHub

Analysis Overview

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

17.0
Adjusted Score
17.0
Raw Score
100%
Time Factor
2026-07-06
Last Push
9.3K
Stars
Jupyter Notebook
Language
18.6K
Lines of Code
87
Files
294
Pattern Hits
2026-07-14
Scan Date
0.03
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 3MEDIUM 3LOW 288

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

Hyper-Verbose Identifiers220 hits · 224 pts
SeverityFileLineSnippetContext
LOWtests/benchmark.py32def test_benchmark_small_data(benchmark):CODE
LOWtests/benchmark.py45def test_benchmark_large_data(benchmark):CODE
LOWtests/benchmark.py58def test_benchmark_with_selection(benchmark):CODE
LOWtests/fixtures.py200 def create_test_data_sample_wide(self):CODE
LOWtests/fixtures.py256 def create_test_data_sample_with_time_index(self):CODE
LOWtests/fixtures.py431 def create_test_data_nearly_numerical_indices(self):CODE
LOWtests/fixtures.py603 def create_one_valued_time_series(self):CODE
LOWtests/fixtures.py611 def create_test_data_sample_with_target(self):CODE
LOWtests/fixtures.py624 def create_test_data_sample_with_multiclass_target(self):CODE
LOWtests/units/feature_extraction/test_extraction.py78 def test_extract_features_uses_only_kind_to_fc_settings(self):CODE
LOWtests/units/feature_extraction/test_extraction.py91 def test_extract_features_for_one_time_series(self):CODE
LOWtests/units/feature_extraction/test_extraction.py137 def test_extract_features_for_index_based_functions(self):CODE
LOWtests/units/feature_extraction/test_extraction.py172 def test_extract_features_custom_function(self):CODE
LOWtests/units/feature_extraction/test_extraction.py207 def test_extract_features_after_randomisation(self):CODE
LOWtests/units/feature_extraction/test_extraction.py239 def test_profiling_file_written_out(self):CODE
LOWtests/units/feature_extraction/test_extraction.py257 def test_profiling_cumulative_file_written_out(self):CODE
LOWtests/units/feature_extraction/test_extraction.py280 def test_extract_features_without_settings(self):CODE
LOWtests/units/feature_extraction/test_extraction.py292 def test_extract_features_with_and_without_parallelization(self):CODE
LOWtests/units/feature_extraction/test_extraction.py320 def test_extract_index_preservation(self):CODE
LOWtests/units/feature_extraction/test_extraction.py334 def test_extract_features_alphabetically_sorted(self):CODE
LOWtests/units/feature_extraction/test_extraction.py404 def test_distributor_map_reduce_is_called(self):CODE
LOWtests/units/feature_extraction/test_extraction.py423 def test_distributor_close_is_called(self):CODE
LOWtests/units/feature_extraction/test_data.py265 def test_long_tsframe_no_value_column(self):CODE
LOWtests/units/feature_extraction/test_data.py277 def test_wide_tsframe_without_sort(self):CODE
LOWtests/units/feature_extraction/test_data.py295 def assert_data_chunk_object_equal(self, result, expected):CODE
LOWtests/units/feature_extraction/test_data.py303 def test_simple_data_sample_two_timeseries(self):CODE
LOWtests/units/feature_extraction/test_data.py317 def test_simple_data_sample_four_timeseries(self):CODE
LOWtests/units/feature_extraction/test_data.py327 def test_with_dictionaries_two_rows(self):CODE
LOWtests/units/feature_extraction/test_data.py345 def test_with_dictionaries_two_rows(self):CODE
LOWtests/units/feature_extraction/test_data.py356 def test_wide_dataframe_order_preserved_with_sort_column(self):CODE
LOWtests/units/feature_extraction/test_data.py377 def test_dask_dataframe_with_kind(self):CODE
LOWtests/units/feature_extraction/test_data.py401 def test_dask_dataframe_without_kind(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py150 def test___get_length_sequences_where(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py177 def test_variance_larger_than_standard_deviation(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py185 def test_large_standard_deviation(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py238 def test_agg_autocorrelation_returns_correct_values(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py268 def test_agg_autocorrelation_returns_max_lag_does_not_affect_other_results(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py282 def test_partial_autocorrelation(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py346 def test_augmented_dickey_fuller(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py432 def test_lempel_ziv_complexity(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py534 def test_ratio_beyond_r_sigma(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py553 def test_mean_second_derivate_central(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py588 def test_variation_coefficient(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py651 def test_absolute_sum_of_changes(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py657 def test_longest_strike_below_mean(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py668 def test_longest_strike_above_mean(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py691 def test_last_location_maximum(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py707 def test_first_location_of_maximum(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py723 def test_last_location_of_minimum(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py739 def test_first_location_of_minimum(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py755 def test_percentage_of_doubled_datapoints(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py774 def test_ratio_of_doubled_values(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py793 def test_sum_of_reoccurring_values(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py806 def test_sum_of_reoccurring_data_points(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1129 def test_time_reversal_asymmetry_statistic(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1361 def test_mean_abs_change_quantiles(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1567 def test_max_langevin_fixed_point(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1634 def test__aggregate_on_chunks(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1757 def test_energy_ratio_by_chunks(self):CODE
LOW…/units/feature_extraction/test_feature_calculations.py1796 def test_linear_trend_timewise_hours(self):CODE
160 more matches not shown…
Unused Imports42 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/benchmark.py4CODE
LOWtests/benchmark.py7CODE
LOWtests/benchmark.py7CODE
LOWtests/units/feature_extraction/test_data.py1CODE
LOWtests/units/feature_extraction/test_data.py17CODE
LOW…/units/feature_extraction/test_feature_calculations.py11CODE
LOWtests/units/feature_selection/test_relevance.py5CODE
LOWtests/units/feature_selection/test_checks.py9CODE
LOWtests/units/transformers/test_feature_augmenter.py9CODE
LOWtests/integrations/test_relevant_feature_extraction.py13CODE
LOWtests/integrations/test_feature_extraction.py9CODE
LOWtests/integrations/examples/test_driftbif_simulation.py7CODE
LOWtests/integrations/examples/test_driftbif_simulation.py9CODE
LOWtests/integrations/examples/test_driftbif_simulation.py11CODE
LOWtests/integrations/examples/test_driftbif_simulation.py13CODE
LOW…integrations/examples/test_robot_execution_failures.py10CODE
LOWdocs/conf.py12CODE
LOWtsfresh/__init__.py27CODE
LOWtsfresh/__init__.py30CODE
LOWtsfresh/__init__.py31CODE
LOWtsfresh/feature_extraction/__init__.py5CODE
LOWtsfresh/feature_extraction/__init__.py6CODE
LOWtsfresh/feature_extraction/__init__.py6CODE
LOWtsfresh/feature_extraction/__init__.py6CODE
LOWtsfresh/feature_extraction/extraction.py12CODE
LOWtsfresh/feature_extraction/data.py1CODE
LOWtsfresh/feature_selection/__init__.py10CODE
LOWtsfresh/utilities/distribution.py14CODE
LOWtsfresh/utilities/distribution.py21CODE
LOWtsfresh/transformers/__init__.py6CODE
LOWtsfresh/transformers/__init__.py7CODE
LOWtsfresh/transformers/__init__.py8CODE
LOWtsfresh/transformers/__init__.py9CODE
LOWtsfresh/examples/__init__.py6CODE
LOWtsfresh/examples/__init__.py7CODE
LOWtsfresh/examples/__init__.py7CODE
LOWtsfresh/examples/__init__.py7CODE
LOWtsfresh/examples/__init__.py8CODE
LOWtsfresh/examples/__init__.py8CODE
LOWtsfresh/examples/har_dataset.py23CODE
LOWtsfresh/scripts/run_tsfresh.py25CODE
LOWtsfresh/scripts/measure_execution_time.py15CODE
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/units/utilities/test_dataframe_functions.py1271 self.assertTrue(df_restricted2.equals(df))CODE
HIGHtests/integrations/test_relevant_feature_extraction.py61 relevant_features.equals(CODE
HIGHtsfresh/feature_selection/significance_tests.py210 if not y.index.equals(x.index):CODE
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWtsfresh/feature_extraction/feature_calculators.py499CODE
LOWtsfresh/feature_extraction/feature_calculators.py1067CODE
LOWtsfresh/feature_extraction/feature_calculators.py1100CODE
LOWtsfresh/feature_extraction/extraction.py308CODE
LOWtsfresh/feature_extraction/extraction.py338CODE
LOWtsfresh/feature_extraction/data.py447CODE
LOWtsfresh/feature_selection/relevance.py31CODE
LOWtsfresh/utilities/string_manipulation.py10CODE
LOWtsfresh/transformers/feature_selector.py152CODE
LOWtsfresh/examples/robot_execution_failures.py84CODE
LOWtsfresh/scripts/measure_execution_time.py141CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsetup.cfg1# This file is used to configure your project.COMMENT
MEDIUMtests/units/scripts/test_run_tsfresh.py21 # Create a temporary directoryCOMMENT
MEDIUMdocs/conf.py3# This file is execfile()d with the current directory set to its containing dir.COMMENT
AI Structural Patterns8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtsfresh/feature_extraction/extraction.py30CODE
LOWtsfresh/feature_selection/selection.py17CODE
LOWtsfresh/feature_selection/relevance.py31CODE
LOWtsfresh/utilities/dataframe_functions.py376CODE
LOWtsfresh/transformers/feature_selector.py61CODE
LOWtsfresh/transformers/feature_augmenter.py64CODE
LOWtsfresh/transformers/relevant_feature_augmenter.py92CODE
LOWtsfresh/convenience/relevant_extraction.py17CODE
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/conf.py1# -*- coding: utf-8 -*-COMMENT
LOWdocs/conf.py81COMMENT
LOWtsfresh/feature_extraction/feature_calculators.py1721COMMENT
LOWtsfresh/feature_extraction/data.py101 for chunk_id, variable, value in results:COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/units/feature_extraction/test_feature_calculations.py397 # Check if LinAlgError and ValueError are catchedCOMMENT
LOWtsfresh/feature_extraction/feature_calculators.py479 # Check if list is too short to make calculationsCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtsfresh/__init__.py16except Exception:CODE