A股自动选股系统 — 多种技术形态自动扫描,收盘后自动运行并推送飞书
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 12 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 34 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 95 | except Exception: | CODE |
| LOW | main.py | 99 | except Exception: | CODE |
| LOW | sequoia_x/data/engine.py | 241 | except Exception as exc: | CODE |
| LOW | sequoia_x/data/engine.py | 322 | except Exception as e: | CODE |
| LOW | sequoia_x/strategy/private_placement.py | 32 | except Exception as exc: | CODE |
| LOW | sequoia_x/strategy/rps_breakout.py | 20 | except Exception as exc: | CODE |
| MEDIUM | sequoia_x/strategy/rps_breakout.py | 16 | def run(self) -> list[str]: | CODE |
| LOW | sequoia_x/strategy/ma_volume.py | 58 | except Exception as exc: | CODE |
| LOW | sequoia_x/strategy/high_tight_flag.py | 67 | except Exception as exc: | CODE |
| LOW | sequoia_x/strategy/uptrend_limit_down.py | 62 | except Exception as exc: | CODE |
| LOW | sequoia_x/strategy/limit_up_shakeout.py | 60 | except Exception as exc: | CODE |
| LOW | sequoia_x/strategy/turtle_trade.py | 101 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sequoia_x/core/config.py | 20 | def settings_customise_sources(cls, settings_cls, **kwargs): # type: ignore[override] | CODE |
| LOW | tests/test_data_engine.py | 33 | def test_unique_symbol_date_constraint(symbol: str, trade_date: date) -> None: | CODE |
| LOW | tests/test_strategy.py | 24 | def test_strategy_run_returns_list_of_str(symbols: list[str]) -> None: | CODE |
| LOW | tests/test_feishu.py | 31 | def test_notification_contains_all_symbols(symbols: list[str]) -> None: | CODE |
| LOW | tests/test_feishu.py | 52 | def test_notification_uses_config_url(webhook_url: str) -> None: | CODE |
| LOW | tests/test_feishu.py | 68 | def test_http_failure_logs_error(status_code: int) -> None: | CODE |
| LOW | tests/test_config.py | 13 | def test_env_overrides_default(db_path: str, monkeypatch) -> None: | CODE |
| LOW | tests/test_config.py | 25 | def test_missing_required_field_raises() -> None: | CODE |
| LOW | tests/test_main.py | 17 | def test_main_exits_nonzero_on_exception(error_msg: str) -> None: | CODE |
| LOW | tests/test_logger.py | 10 | def test_get_logger_same_instance(name: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sequoia_x/data/engine.py | 283 | except sqlite3.IntegrityError: | CODE |
| HIGH | tests/test_data_engine.py | 47 | except sqlite3.IntegrityError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 13 | CODE | |
| LOW | sequoia_x/core/config.py | 22 | CODE | |
| LOW | sequoia_x/strategy/ma_volume.py | 3 | CODE | |
| LOW | sequoia_x/strategy/high_tight_flag.py | 3 | CODE | |
| LOW | sequoia_x/strategy/limit_up_shakeout.py | 3 | CODE | |
| LOW | tests/test_feishu.py | 4 | CODE | |
| LOW | tests/test_feishu.py | 7 | CODE | |
| LOW | tests/test_main.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sequoia_x/data/engine.py | 158 | CODE | |
| LOW | sequoia_x/strategy/turtle_trade.py | 26 | CODE |