面向 A 股日K、分钟K与ETF分钟数据的本地量化引擎,集成增量同步、本地缓存、复权、批量查询、回测与指标计算。
This report summarizes scanner evidence for hello245m/free-stockdb, a HTML project with 2,840 GitHub stars. SynthScan examined 7,515 lines of code across 33 source files, recording 33 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 5.5 (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? 18 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 33 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 33 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| HIGH | pybao/stock_sdk.py | 45 | except Exception: | CODE |
| HIGH | pybao/stock_sdk.py | 418 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 数据网页版.html | 404 | function normalizeCodeSuggestQuery(raw) { | CODE |
| LOW | 数据网页版.html | 425 | function normalizeDateSuggestQuery(raw) { | CODE |
| LOW | 数据网页版.html | 1123 | function tradingIndexToClockMinutes(tradingMinute) { | CODE |
| LOW | pybao/zhibiao.py | 396 | def _format_param_mapping_error(title: str, names: list[str], n: Any) -> str: | CODE |
| LOW | pybao/stock_sdk.py | 595 | def build_time_query_for_retrieval(self, start: Optional[str], end: Optional[str], desc: bool, frequency: str) -> st | CODE |
| LOW | 调用方式/excel/查看数据.html | 404 | function normalizeCodeSuggestQuery(raw) { | CODE |
| LOW | 调用方式/excel/查看数据.html | 425 | function normalizeDateSuggestQuery(raw) { | CODE |
| LOW | 调用方式/excel/查看数据.html | 1123 | function tradingIndexToClockMinutes(tradingMinute) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pybao/zhibiao.py | 240 | except Exception: | CODE |
| LOW | pybao/安装.py | 51 | except Exception as e: | CODE |
| LOW | pybao/stock_sdk.py | 45 | except Exception: | CODE |
| LOW | pybao/stock_sdk.py | 418 | except Exception: | CODE |
| LOW | pybao/native_mcp.py | 301 | except Exception as exc: | CODE |
| LOW | pybao/native_mcp.py | 322 | except Exception as exc: | CODE |
| LOW | 调用方式/ai_mcp/stock_mcp_server.py | 56 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sync_url.txt | 1 | # 数据更新同步源配置文件 | COMMENT |
| LOW | cpp/src/updater.cpp | 1 | #include "stockdb/updater.hpp" | COMMENT |
| LOW | cpp/src/server.cpp | 1 | #include "stockdb/server.hpp" | COMMENT |
| LOW | cpp/src/server.cpp | 21 | #include <arpa/inet.h> | COMMENT |
| LOW | 调用方式/http/rd_test.py | 1 | ##### | COMMENT |
| LOW | 调用方式/http/rd_test.py | 101 | #->[20260622, 20260623, 20260624, 20260625, 20260626] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pybao/stock_sdk.py | 1 | CODE | |
| LOW | pybao/stock_sdk.py | 3 | CODE | |
| LOW | pybao/native_mcp.py | 1 | CODE | |
| LOW | 调用方式/python/rd_test.py | 15 | CODE | |
| LOW | 调用方式/python/sdk_test.py | 1 | CODE | |
| LOW | 调用方式/http/rd_test.py | 17 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pybao/stock_sdk.py | 82 | CODE | |
| LOW | pybao/stock_sdk.py | 371 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pybao/stock_sdk.py | 425 | CODE | |
| LOW | pybao/stock_sdk.py | 514 | CODE |