Python wrapper for TA-Lib (http://ta-lib.org/).
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 37 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 47 finding(s).
Which changes need focused human review? 64 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_stubs.py | 21 | def test_stubs_cover_every_function(): | CODE |
| LOW | tests/test_abstract.py | 272 | def test_call_supports_same_signature_as_func_module(ford_2012): | CODE |
| LOW | tests/test_abstract.py | 290 | def test_parameter_type_checking(ford_2012): | CODE |
| LOW | tests/test_abstract.py | 308 | def test_call_doesnt_cache_parameters(ford_2012): | CODE |
| LOW | tests/test_abstract.py | 324 | def test_call_without_arguments(): | CODE |
| LOW | tests/test_threads.py | 18 | def test_concurrent_batch_calls(length): | CODE |
| LOW | tests/test_threads.py | 39 | def test_shared_stream_updates_and_reads(): | CODE |
| LOW | tests/test_threads.py | 59 | def test_shared_stream_reinitialization(): | CODE |
| LOW | tests/test_threads.py | 88 | def test_settings_and_shutdown_reject_live_streams(change): | CODE |
| LOW | tests/test_threads.py | 105 | def test_failed_stream_open_does_not_block_settings(): | CODE |
| LOW | tests/test_threads.py | 112 | def test_settings_exclusion_and_reader_cleanup(): | CODE |
| LOW | tests/test_threads.py | 139 | def test_settings_change_applies_to_later_calls(): | CODE |
| LOW | tests/test_threads.py | 154 | def test_import_keeps_gil_disabled(): | CODE |
| LOW | tests/test_threads.py | 161 | def test_shutdown_and_reinitialize(): | CODE |
| LOW | tests/test_func.py | 24 | def test_every_grouped_function_is_bound(): | CODE |
| LOW | tests/test_func.py | 169 | def test_unstable_period_moves_its_own_function(name): | STRING |
| LOW | tests/test_func.py | 205 | def test_unstable_period_retired_is_a_warning_and_a_noop(name): | STRING |
| LOW | tests/test_func.py | 342 | def test_func_and_abstract_agree(): | STRING |
| LOW | tests/test_stream.py | 160 | def test_leading_nan_bars_are_not_history(name, nan_prefixed): | CODE |
| LOW | tests/test_stream.py | 177 | def test_the_data_discriminates(datasets): | CODE |
| LOW | tests/test_stream.py | 196 | def test_open_and_fill_matches_batch(name, datasets): | CODE |
| LOW | tests/test_stream.py | 218 | def test_peek_and_copy_commit_nothing(name, datasets): | CODE |
| LOW | tests/test_stream.py | 235 | def test_advance_counts_a_skipped_bar(name, datasets): | CODE |
| LOW | tests/test_stream.py | 244 | def test_the_open_boundary_is_sharp(name, datasets): | CODE |
| LOW | tests/test_stream.py | 260 | def test_takes_the_arguments_the_function_takes(name): | CODE |
| LOW | tests/test_stream.py | 272 | def test_the_stub_matches_the_handle(name): | CODE |
| LOW | tests/test_stream.py | 286 | def test_the_corpus_is_what_the_library_says_streams(): | CODE |
| LOW | tests/test_stream.py | 296 | def test_multi_output_is_a_plain_tuple(datasets): | CODE |
| LOW | tests/test_stream.py | 311 | def test_single_output_is_a_scalar(datasets): | CODE |
| LOW | tests/test_stream.py | 316 | def test_a_handle_takes_what_the_function_takes(datasets): | CODE |
| LOW⚡ | tests/test_stream.py | 329 | def test_stream_rejects_mixed_series(datasets): | CODE |
| LOW⚡ | tests/test_stream.py | 337 | def test_a_handle_does_not_pickle(datasets): | CODE |
| LOW⚡ | tests/test_stream.py | 345 | def test_update_rejects_a_non_finite_bar(datasets): | CODE |
| LOW | tests/test_stream.py | 356 | def test_insufficient_history_says_what_it_counted(datasets): | CODE |
| LOW | tests/test_stream.py | 362 | def test_a_handle_takes_the_arguments_the_function_takes(datasets): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | setup.py | 66 | except OSError: | CODE |
| HIGH | talib/__init__.py | 16 | except NameError: | CODE |
| HIGH | talib/__init__.py | 32 | except NameError: | CODE |
| HIGH | tests/test_threads.py | 122 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | talib/abstract.py | 2 | CODE | |
| LOW | talib/abstract.py | 5 | CODE | |
| LOW | talib/abstract.py | 5 | CODE | |
| LOW | talib/abstract.py | 5 | CODE | |
| LOW | talib/__init__.py | 130 | CODE | |
| LOW | talib/__init__.py | 139 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/__init__.py | 107 | CODE | |
| LOW | talib/stream.py | 53 | CODE | |
| LOW | talib/stream.py | 53 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/generate_stream.py | 36 | print('Error: ta-lib/ta_func.h not found', file=sys.stderr) | CODE |
| MEDIUM | tools/generate_stream.py | 51 | print('Error: %s declares no streaming API; TA-Lib C 0.8.1 or later is required' | CODE |
| MEDIUM | tools/generate_stream.py | 58 | print('Error: TA_%s is missing %s' % (name, ', '.join(missing)), file=sys.stderr) | CODE |
| LOW | tools/generate_stream.py | 520 | except Exception: | STRING |
| MEDIUM | tools/generate_func.py | 38 | print('Error: ta-lib/ta_func.h not found', file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | talib/abstract.py | 27 | __all__ = ["Function", "_get_defaults_and_docs"] + __TA_FUNCTION_NAMES__ | CODE |
| LOW | talib/__init__.py | 393 | __all__ = ['get_functions', 'get_function_groups', 'InsufficientHistory', 'stream'] + __TA_FUNCTION_NAMES__ | CODE |
| LOW | talib/stream.py | 55 | __all__ = ['Stream', 'OutRange'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/threads_talib.py | 21 | CODE | |
| LOW | docs/generate_html_pages.py | 129 | CODE |