AI Slop Code RIsk Monitor

sngyai/Sequoia-X

A股自动选股系统 — 多种技术形态自动扫描,收盘后自动运行并推送飞书

25.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sngyai/Sequoia-X, a Python project with 8,022 GitHub stars. SynthScan examined 1,706 lines of code across 27 source files, recording 34 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 25.2 (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.

25.2
Adjusted Signal
25.2
Raw Pattern Score
100%
Time Factor
2026-07-10
Last Push
8.0K
Stars
Python
Language
1.7K
Lines of Code
27
Files
34
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 29.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 20.9/100 · LOW

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

Agent Over-Engineering Ratio 62.0/100 · HIGH

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

PR Review Velocity Impact 74.0/100 · HIGH

Which changes need focused human review? 34 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 2MEDIUM 1LOW 31

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 34 distinct pattern matches across 5 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.

Excessive Try-Catch Wrapping12 hits · 13 pts
SeverityFileLineSnippetContext
LOWmain.py95 except Exception:CODE
LOWmain.py99 except Exception:CODE
LOWsequoia_x/data/engine.py241 except Exception as exc:CODE
LOWsequoia_x/data/engine.py322 except Exception as e:CODE
LOWsequoia_x/strategy/private_placement.py32 except Exception as exc:CODE
LOWsequoia_x/strategy/rps_breakout.py20 except Exception as exc:CODE
MEDIUMsequoia_x/strategy/rps_breakout.py16def run(self) -> list[str]:CODE
LOWsequoia_x/strategy/ma_volume.py58 except Exception as exc:CODE
LOWsequoia_x/strategy/high_tight_flag.py67 except Exception as exc:CODE
LOWsequoia_x/strategy/uptrend_limit_down.py62 except Exception as exc:CODE
LOWsequoia_x/strategy/limit_up_shakeout.py60 except Exception as exc:CODE
LOWsequoia_x/strategy/turtle_trade.py101 except Exception as exc:CODE
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsequoia_x/core/config.py20 def settings_customise_sources(cls, settings_cls, **kwargs): # type: ignore[override]CODE
LOWtests/test_data_engine.py33def test_unique_symbol_date_constraint(symbol: str, trade_date: date) -> None:CODE
LOWtests/test_strategy.py24def test_strategy_run_returns_list_of_str(symbols: list[str]) -> None:CODE
LOWtests/test_feishu.py31def test_notification_contains_all_symbols(symbols: list[str]) -> None:CODE
LOWtests/test_feishu.py52def test_notification_uses_config_url(webhook_url: str) -> None:CODE
LOWtests/test_feishu.py68def test_http_failure_logs_error(status_code: int) -> None:CODE
LOWtests/test_config.py13def test_env_overrides_default(db_path: str, monkeypatch) -> None:CODE
LOWtests/test_config.py25def test_missing_required_field_raises() -> None:CODE
LOWtests/test_main.py17def test_main_exits_nonzero_on_exception(error_msg: str) -> None:CODE
LOWtests/test_logger.py10def test_get_logger_same_instance(name: str) -> None:CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHsequoia_x/data/engine.py283except sqlite3.IntegrityError:CODE
HIGHtests/test_data_engine.py47except sqlite3.IntegrityError:CODE
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWmain.py13CODE
LOWsequoia_x/core/config.py22CODE
LOWsequoia_x/strategy/ma_volume.py3CODE
LOWsequoia_x/strategy/high_tight_flag.py3CODE
LOWsequoia_x/strategy/limit_up_shakeout.py3CODE
LOWtests/test_feishu.py4CODE
LOWtests/test_feishu.py7CODE
LOWtests/test_main.py3CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsequoia_x/data/engine.py158CODE
LOWsequoia_x/strategy/turtle_trade.py26CODE