AI Slop Code RIsk Monitor

TA-Lib/ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).

11.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for TA-Lib/ta-lib-python, a Cython project with 12,276 GitHub stars. SynthScan examined 7,107 lines of code across 46 source files, recording 64 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 11.7 (Moderate 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.

11.7
Adjusted Signal
11.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
12.3K
Stars
Cython
Language
7.1K
Lines of Code
46
Files
64
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 37 finding(s).

Hallucinated Dependency & Supply Chain Risk 10.0/100 · LOW

Are imports declared and package/API names verified? 15 finding(s).

Agent Over-Engineering Ratio 37.4/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 47 finding(s).

PR Review Velocity Impact 47.6/100 · MEDIUM

Which changes need focused human review? 64 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 4MEDIUM 4LOW 56

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 64 distinct pattern matches across 6 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.

Hyper-Verbose Identifiers35 hits · 35 pts
SeverityFileLineSnippetContext
LOWtests/test_stubs.py21def test_stubs_cover_every_function():CODE
LOWtests/test_abstract.py272def test_call_supports_same_signature_as_func_module(ford_2012):CODE
LOWtests/test_abstract.py290def test_parameter_type_checking(ford_2012):CODE
LOWtests/test_abstract.py308def test_call_doesnt_cache_parameters(ford_2012):CODE
LOWtests/test_abstract.py324def test_call_without_arguments():CODE
LOWtests/test_threads.py18def test_concurrent_batch_calls(length):CODE
LOWtests/test_threads.py39def test_shared_stream_updates_and_reads():CODE
LOWtests/test_threads.py59def test_shared_stream_reinitialization():CODE
LOWtests/test_threads.py88def test_settings_and_shutdown_reject_live_streams(change):CODE
LOWtests/test_threads.py105def test_failed_stream_open_does_not_block_settings():CODE
LOWtests/test_threads.py112def test_settings_exclusion_and_reader_cleanup():CODE
LOWtests/test_threads.py139def test_settings_change_applies_to_later_calls():CODE
LOWtests/test_threads.py154def test_import_keeps_gil_disabled():CODE
LOWtests/test_threads.py161def test_shutdown_and_reinitialize():CODE
LOWtests/test_func.py24def test_every_grouped_function_is_bound():CODE
LOWtests/test_func.py169def test_unstable_period_moves_its_own_function(name):STRING
LOWtests/test_func.py205def test_unstable_period_retired_is_a_warning_and_a_noop(name):STRING
LOWtests/test_func.py342def test_func_and_abstract_agree():STRING
LOWtests/test_stream.py160def test_leading_nan_bars_are_not_history(name, nan_prefixed):CODE
LOWtests/test_stream.py177def test_the_data_discriminates(datasets):CODE
LOWtests/test_stream.py196def test_open_and_fill_matches_batch(name, datasets):CODE
LOWtests/test_stream.py218def test_peek_and_copy_commit_nothing(name, datasets):CODE
LOWtests/test_stream.py235def test_advance_counts_a_skipped_bar(name, datasets):CODE
LOWtests/test_stream.py244def test_the_open_boundary_is_sharp(name, datasets):CODE
LOWtests/test_stream.py260def test_takes_the_arguments_the_function_takes(name):CODE
LOWtests/test_stream.py272def test_the_stub_matches_the_handle(name):CODE
LOWtests/test_stream.py286def test_the_corpus_is_what_the_library_says_streams():CODE
LOWtests/test_stream.py296def test_multi_output_is_a_plain_tuple(datasets):CODE
LOWtests/test_stream.py311def test_single_output_is_a_scalar(datasets):CODE
LOWtests/test_stream.py316def test_a_handle_takes_what_the_function_takes(datasets):CODE
LOW⚡tests/test_stream.py329def test_stream_rejects_mixed_series(datasets):CODE
LOW⚡tests/test_stream.py337def test_a_handle_does_not_pickle(datasets):CODE
LOW⚡tests/test_stream.py345def test_update_rejects_a_non_finite_bar(datasets):CODE
LOWtests/test_stream.py356def test_insufficient_history_says_what_it_counted(datasets):CODE
LOWtests/test_stream.py362def test_a_handle_takes_the_arguments_the_function_takes(datasets):CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsetup.py66except OSError:CODE
HIGHtalib/__init__.py16except NameError:CODE
HIGHtalib/__init__.py32except NameError:CODE
HIGHtests/test_threads.py122except ValueError:CODE
Unused Imports15 hits · 15 pts
SeverityFileLineSnippetContext
LOWtalib/abstract.py2CODE
LOWtalib/abstract.py5CODE
LOWtalib/abstract.py5CODE
LOWtalib/abstract.py5CODE
LOWtalib/__init__.py130CODE
LOWtalib/__init__.py139CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/__init__.py107CODE
LOWtalib/stream.py53CODE
LOWtalib/stream.py53CODE
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtools/generate_stream.py36 print('Error: ta-lib/ta_func.h not found', file=sys.stderr)CODE
MEDIUMtools/generate_stream.py51 print('Error: %s declares no streaming API; TA-Lib C 0.8.1 or later is required'CODE
MEDIUMtools/generate_stream.py58 print('Error: TA_%s is missing %s' % (name, ', '.join(missing)), file=sys.stderr)CODE
LOWtools/generate_stream.py520 except Exception:STRING
MEDIUMtools/generate_func.py38 print('Error: ta-lib/ta_func.h not found', file=sys.stderr)CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtalib/abstract.py27__all__ = ["Function", "_get_defaults_and_docs"] + __TA_FUNCTION_NAMES__CODE
LOWtalib/__init__.py393__all__ = ['get_functions', 'get_function_groups', 'InsufficientHistory', 'stream'] + __TA_FUNCTION_NAMES__CODE
LOWtalib/stream.py55__all__ = ['Stream', 'OutRange']CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/threads_talib.py21CODE
LOWdocs/generate_html_pages.py129CODE