AI Slop Code RIsk Monitor

hello245m/free-stockdb

面向 A 股日K、分钟K与ETF分钟数据的本地量化引擎,集成增量同步、本地缓存、复权、批量查询、回测与指标计算。

5.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-10-04
Last Push
2.8K
Stars
HTML
Language
7.5K
Lines of Code
33
Files
33
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 11.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.9/100 · LOW

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

Agent Over-Engineering Ratio 16.4/100 · LOW

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

PR Review Velocity Impact 24.9/100 · LOW

Which changes need focused human review? 33 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 2MEDIUM 0LOW 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 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.

Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpybao/stock_sdk.py45except Exception:CODE
HIGHpybao/stock_sdk.py418except Exception:CODE
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOW数据网页版.html404 function normalizeCodeSuggestQuery(raw) {CODE
LOW数据网页版.html425 function normalizeDateSuggestQuery(raw) {CODE
LOW数据网页版.html1123 function tradingIndexToClockMinutes(tradingMinute) {CODE
LOWpybao/zhibiao.py396def _format_param_mapping_error(title: str, names: list[str], n: Any) -> str:CODE
LOWpybao/stock_sdk.py595 def build_time_query_for_retrieval(self, start: Optional[str], end: Optional[str], desc: bool, frequency: str) -> stCODE
LOW调用方式/excel/查看数据.html404 function normalizeCodeSuggestQuery(raw) {CODE
LOW调用方式/excel/查看数据.html425 function normalizeDateSuggestQuery(raw) {CODE
LOW调用方式/excel/查看数据.html1123 function tradingIndexToClockMinutes(tradingMinute) {CODE
Excessive Try-Catch Wrapping7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpybao/zhibiao.py240 except Exception:CODE
LOWpybao/安装.py51 except Exception as e:CODE
LOWpybao/stock_sdk.py45 except Exception:CODE
LOWpybao/stock_sdk.py418 except Exception:CODE
LOWpybao/native_mcp.py301 except Exception as exc:CODE
LOWpybao/native_mcp.py322 except Exception as exc:CODE
LOW调用方式/ai_mcp/stock_mcp_server.py56 except Exception as e:CODE
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsync_url.txt1# 数据更新同步源配置文件COMMENT
LOWcpp/src/updater.cpp1#include "stockdb/updater.hpp"COMMENT
LOWcpp/src/server.cpp1#include "stockdb/server.hpp"COMMENT
LOWcpp/src/server.cpp21#include <arpa/inet.h>COMMENT
LOW调用方式/http/rd_test.py1#####COMMENT
LOW调用方式/http/rd_test.py101 #->[20260622, 20260623, 20260624, 20260625, 20260626]COMMENT
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpybao/stock_sdk.py1CODE
LOWpybao/stock_sdk.py3CODE
LOWpybao/native_mcp.py1CODE
LOW调用方式/python/rd_test.py15CODE
LOW调用方式/python/sdk_test.py1CODE
LOW调用方式/http/rd_test.py17CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpybao/stock_sdk.py82CODE
LOWpybao/stock_sdk.py371CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpybao/stock_sdk.py425CODE
LOWpybao/stock_sdk.py514CODE