AI Slop Code RIsk Monitor

charliedream1/ai_quant_trade

Stock AI Trader: 1-stop platform for learning, sim & live trading. Covers: stock basics, strategies, LLMs, factor mining, ML/DL/RL, graph nets, HFT, C++ deploy & JoinQuant code. 股票AI操盘手:一站式学习、模拟、实盘平台。涵盖:股票基础、策略、大模型、因子挖掘、机器学习/深度学习/强化学习、图网络、高频交易、C++部署及聚宽代码。

25.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for charliedream1/ai_quant_trade, a Jupyter Notebook project with 6,602 GitHub stars. SynthScan examined 52,067 lines of code across 449 source files, recording 791 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 25.8 (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.8
Adjusted Signal
25.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.6K
Stars
Jupyter Notebook
Language
52.1K
Lines of Code
449
Files
791
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 30.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

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

Agent Over-Engineering Ratio 66.3/100 · HIGH

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

PR Review Velocity Impact 69.7/100 · HIGH

Which changes need focused human review? 791 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 23MEDIUM 169LOW 599

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 791 distinct pattern matches across 13 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.

Decorative Section Separators160 hits · 586 pts
SeverityFileLineSnippetContext
MEDIUMegs_data/宏观经济/fred/fred_demo.py34# ============================================================COMMENT
MEDIUMegs_data/宏观经济/fred/fred_demo.py36# ============================================================COMMENT
MEDIUMegs_data/宏观经济/fred/fred_demo.py90# ============================================================COMMENT
MEDIUMegs_data/宏观经济/fred/fred_demo.py92# ============================================================COMMENT
MEDIUM⚡egs_data/宏观经济/fred/fred_demo.py119# ============================================================COMMENT
MEDIUM⚡egs_data/宏观经济/fred/fred_demo.py121# ============================================================COMMENT
MEDIUM⚡egs_data/股票/yfinance/yfinance_data.py53# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/yfinance/yfinance_data.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py284# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py286# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/baostock/get_stock_data.py53# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/baostock/get_stock_data.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/baostock/get_stock_data.py154# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/baostock/get_stock_data.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py179# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/stooq/stooq_demo.py166# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/stooq/stooq_demo.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/pytdx/pytdx_demo.py45# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/pytdx/pytdx_demo.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py259# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py261# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/tushare/tushare_demo.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/tushare/tushare_demo.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py151# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/tushare/tushare_demo.py231# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/tushare/tushare_demo.py233# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/akshare/akshare_demo.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡egs_data/股票/akshare/akshare_demo.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py47# ===========================================================================COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py49# ===========================================================================COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py95# ===========================================================================COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py97# ===========================================================================COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py404# ===========================================================================COMMENT
MEDIUM⚡…data/股票/data_loader_framework/data_loader_base_demo.py406# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py151# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py153# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py198# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py200# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py254# ===========================================================================COMMENT
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py256# ===========================================================================COMMENT
MEDIUMegs_data/新闻/news_api/newsapi_demo.py34# ============================================================COMMENT
MEDIUMegs_data/新闻/news_api/newsapi_demo.py36# ============================================================COMMENT
MEDIUMegs_data/新闻/news_api/newsapi_demo.py113# ============================================================COMMENT
MEDIUMegs_data/新闻/news_api/newsapi_demo.py115# ============================================================COMMENT
MEDIUMegs_data/新闻/finnhub/finnhub_demo.py34# ============================================================COMMENT
MEDIUMegs_data/新闻/finnhub/finnhub_demo.py36# ============================================================COMMENT
MEDIUMegs_data/新闻/finnhub/finnhub_demo.py89# ============================================================COMMENT
MEDIUMegs_data/新闻/finnhub/finnhub_demo.py91# ============================================================COMMENT
MEDIUMegs_data/新闻/xueqiu/xueqiu_demo.py35# ============================================================COMMENT
MEDIUMegs_data/新闻/xueqiu/xueqiu_demo.py37# ============================================================COMMENT
MEDIUMegs_data/新闻/xueqiu/xueqiu_demo.py208# ============================================================COMMENT
MEDIUMegs_data/新闻/xueqiu/xueqiu_demo.py210# ============================================================COMMENT
MEDIUM⚡…cel_stock_monitor/v2/video_generator/generate_video.py188# ============================================================COMMENT
MEDIUM⚡…cel_stock_monitor/v2/video_generator/generate_video.py190# ============================================================COMMENT
100 more matches not shown…
Excessive Try-Catch Wrapping221 hits · 228 pts
SeverityFileLineSnippetContext
LOWtools/log/log_util.py65 except Exception as e:CODE
LOW⚡zz_scripts/check_docs_build.py65 except Exception as e:CODE
LOW⚡zz_scripts/check_docs_build.py72 except Exception as e:CODE
LOW…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py24 except Exception as e:CODE
LOW…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py46 except Exception as e:CODE
LOW…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py61 except Exception as e:CODE
LOW…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py75 except Exception as e:CODE
MEDIUM…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py21def _has(modname, attr):CODE
MEDIUM…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py58def test_trl_sft():CODE
LOWegs_data/期货/futures/futures_demo.py82 except Exception as e:CODE
LOW⚡egs_data/宏观经济/fred/fred_demo.py127 except Exception as e:CODE
LOWegs_data/宏观经济/world_bank/world_bank_demo.py89 except Exception as e:CODE
LOWegs_data/基金/fund/fund_demo.py76 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py134 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py157 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py178 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py208 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py232 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py258 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py320 except Exception as e:CODE
LOWegs_data/股票/qlib/qlib_demo.py99 except Exception as e:CODE
LOW⚡egs_data/股票/baostock/get_stock_data.py150 except Exception as e:CODE
LOWegs_data/股票/baostock/get_stock_data.py211 except Exception as e:CODE
LOWegs_data/股票/baostock/get_stock_data.py246 except Exception as e:CODE
LOWegs_data/股票/baostock/get_stock_data.py275 except Exception as e:CODE
LOWegs_data/股票/baostock/get_stock_data.py298 except Exception as e:CODE
LOWegs_data/股票/baostock/get_stock_data.py320 except Exception as e:CODE
LOWegs_data/股票/stooq/stooq_demo.py115 except Exception as e:CODE
LOWegs_data/股票/stooq/stooq_demo.py143 except Exception:CODE
LOW⚡egs_data/股票/stooq/stooq_demo.py162 except Exception as e:CODE
LOWegs_data/股票/stooq/stooq_demo.py195 except Exception:CODE
LOWegs_data/股票/stooq/stooq_demo.py271 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py40 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py55 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py71 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py85 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py96 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py108 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py122 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py139 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py153 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py165 except Exception as e:CODE
LOWegs_data/股票/wind/basic_data/src/tools/log/log_util.py65 except Exception as e:CODE
LOWegs_data/股票/pytdx/pytdx_demo.py122 except Exception as e:CODE
LOWegs_data/股票/pytdx/pytdx_demo.py135 except Exception:CODE
LOWegs_data/股票/tushare/tushare_demo.py100 except Exception as e:CODE
LOW⚡egs_data/股票/tushare/tushare_demo.py227 except Exception as e:CODE
LOWegs_data/股票/tushare/tushare_demo.py265 except Exception as e:CODE
LOW⚡egs_data/股票/akshare/akshare_demo.py138 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py41 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py60 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py72 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py85 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py98 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py111 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py124 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py164 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py187 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py219 except Exception:CODE
LOWegs_data/股票/akshare/akshare_demo.py221 except Exception as e:CODE
161 more matches not shown…
Hyper-Verbose Identifiers183 hits · 195 pts
SeverityFileLineSnippetContext
LOWunit_test/test_momentum_rotation.py83 def test_tushare_stock_list_skips_stock_basic_call(self):CODE
LOWunit_test/test_momentum_rotation.py101 def test_normalize_tushare_numeric_trade_dates(self):CODE
LOWunit_test/test_momentum_rotation.py117 def test_monthly_rebalance_uses_previous_day_scores(self):CODE
LOWunit_test/test_momentum_rotation.py145 def test_top_n_positions_and_exposure_are_capped(self):CODE
LOWunit_test/test_momentum_rotation.py175 def test_trailing_stop_exits_without_capping_winners(self):CODE
LOWunit_test/test_momentum_rotation.py205 def test_transaction_costs_reduce_final_equity(self):CODE
LOWunit_test/test_momentum_rotation.py240 def test_csv_fixture_smoke_outputs_reports_without_tushare_token(self):CODE
LOWunit_test/test_momentum_rotation.py259 def test_cli_runs_from_strategy_directory(self):CODE
LOWtools/file_io/load_csv.py24def get_self_select_stock_lst(file_path: str) -> list:CODE
LOW⚡zz_scripts/check_docs_build.py60def check_mkdocs_yml_parseable() -> list[str]:CODE
LOWzz_scripts/check_docs_build.py120def check_english_nav_translations_exist() -> list[str]:CODE
LOWzz_scripts/check_docs_build.py135def iter_publishable_default_markdown() -> list[Path]:CODE
LOWzz_scripts/check_docs_build.py147def check_all_publishable_markdown_translated() -> list[str]:CODE
LOWzz_scripts/check_docs_build.py175def check_no_legacy_runtime_language_switch() -> list[str]:CODE
LOWzz_scripts/check_docs_build.py197def check_no_dot_prefixed_docs_dirs() -> list[str]:CODE
LOWzz_scripts/check_docs_build.py213def check_extra_assets_listed() -> list[str]:CODE
LOW…train/a01_unsloth_stock_forcaster/a04_train/run_e2e.py41def test_transformers_chat_template():CODE
LOW⚡…a01_unsloth_stock_forcaster/a05_test/tests/test_all.py11def test_make_dirs_creates_nested_dirs(tmp_path):CODE
LOW⚡…a01_unsloth_stock_forcaster/a05_test/tests/test_all.py19def test_clean_dirs_removes_dir(tmp_path):CODE
LOW⚡…a01_unsloth_stock_forcaster/a05_test/tests/test_all.py28def test_batch_test_transformers_imports_cleanly():CODE
LOW…a01_unsloth_stock_forcaster/a05_test/tests/test_all.py44def test_simple_test_transformers_imports_cleanly():CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py30def test_parse_val_extracts_fields():CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py41def test_make_dirs_idempotent(tmp_path):CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py51def test_wind_data_loader_construction():CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py60def test_dump_data_module_importable():CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py69def test_save_index_data_module_importable():CODE
LOWegs_data/股票/wind/basic_data/tests/test_all.py81def test_save_market_data_module_importable():CODE
LOW…_data/股票/wind/basic_data/src/tools/file_io/load_csv.py24def get_self_select_stock_lst(file_path: str) -> list:CODE
LOW⚡…cel_stock_monitor/v2/video_generator/generate_video.py711def render_sentiment_viz_frame(scene: dict, progress: float) -> Image.Image:CODE
LOW⚡…cel_stock_monitor/v2/video_generator/generate_video.py839def render_stock_pool_demo_frame(scene: dict, progress: float) -> Image.Image:CODE
LOW⚡…cel_stock_monitor/v2/video_generator/generate_video.py940def render_excel_showcase_frame(scene: dict, progress: float) -> Image.Image:CODE
LOW⚡…cel_stock_monitor/v2/video_generator/generate_video.py1094def render_fallback_chain_frame(scene: dict, progress: float) -> Image.Image:CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py22def test_normalize_codes_removes_postfix():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py29def test_normalize_codes_removes_market_prefix():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py36def test_normalize_codes_handles_empty():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py42def test_detect_market_prefix_sh():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py49def test_detect_market_prefix_sz():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py56def test_detect_market_prefix_bj():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py85def test_backup_sources_initialization():CODE
LOW⚡…de/excel_stock_monitor/v2/tests/test_backup_sources.py93def test_backup_sources_lazy_loading_akshare():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py109def test_akshare_stock_realtime_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py140def test_akshare_stock_realtime_empty_codes():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py147def test_akshare_stock_realtime_failure():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py159def test_akshare_news_cls_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py198def test_eastmoney_stock_realtime_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py224def test_eastmoney_money_flow_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py248def test_eastmoney_guba_hot_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py267def test_tencent_stock_realtime_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py294def test_netease_kline_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py323def test_efinance_stock_realtime_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py352def test_backup_source_disabled_when_lib_missing():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py363def test_akshare_north_money_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py381def test_akshare_weibo_sentiment_with_mock():CODE
LOW…de/excel_stock_monitor/v2/tests/test_backup_sources.py398def test_akshare_news_sentiment_with_mock():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py24def test_pinyin_first_letters_basic():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py33def test_pinyin_first_letters_unknown_char():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py53def test_fetch_from_akshare_success():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py125def test_save_and_load_cache_fresh():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py167def test_load_cache_not_exist():CODE
LOW⚡…s_aide/excel_stock_monitor/v2/tests/test_stock_pool.py174def test_load_cache_corrupted():CODE
123 more matches not shown…
Over-Commented Block117 hits · 116 pts
SeverityFileLineSnippetContext
LOWtools/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/parse_options.sh1#!/bin/bashCOMMENT
LOWtools/file_io/load_csv.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/file_io/fold_excel_rows.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/file_io/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/file_io/find_files.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/file_io/make_nd_clean_dirs.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/date_time/chinese_calendar_check.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/date_time/query_time.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/date_time/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/date_time/date_format_check.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/plots/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/plots/trades_on_k_line.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/plots/trades_on_k_line.py121 #COMMENT
LOW…_hot_topic_report/v1_proto_internet/generate_report.py1# -*- coding: utf-8 -*-COMMENT
LOW…a01_unsloth_stock_forcaster/a04_train/requirements.txt21# 导致以下 CVE 暂无法升级修复(训练环境,非生产对外服务):COMMENT
LOW…ain/a01_unsloth_stock_forcaster/a04_train/train_sft.py1# -*- coding: utf-8 -*-COMMENT
LOW…ain/a01_unsloth_stock_forcaster/a04_train/train_sft.py141# save lora modelCOMMENT
LOW…ain/a01_unsloth_stock_forcaster/a04_train/train_sft.py161# model.save_pretrained_gguf("model", tokenizer, quantization_method = "q4_k_m")COMMENT
LOW…stock_forcaster/a01_download_mdl/hf_mirror_download.py1# -*- coding: utf-8 -*-COMMENT
LOW…tock_forcaster/a01_download_mdl/modelscope_download.sh1#modelscope download --model 'unsloth/Qwen3-0.6B-unsloth-bnb-4bit' \COMMENT
LOW…ck_forcaster/a03_data_process/process_fin_r1_reason.py1# -*- coding: utf-8 -*-COMMENT
LOW…rcaster/a03_data_process/process_fin_gpt_forecaster.py1# -*- coding: utf-8 -*-COMMENT
LOW…th_stock_forcaster/a05_test/batch_test_transformers.py1# -*- coding: utf-8 -*-COMMENT
LOW…nsloth_stock_forcaster/a05_test/simple_test_unsloth.py1# -*- coding: utf-8 -*-COMMENT
LOW…nsloth_stock_forcaster/a05_test/simple_test_unsloth.py61 max_new_tokens = 2256, # Increase for longer outputs!COMMENT
LOW…nsloth_stock_forcaster/a05_test/simple_test_unsloth.py81# # ret_ids 是 Tensor,batch_size=1 时取第一个序列并解码COMMENT
LOW…h_stock_forcaster/a05_test/simple_test_transformers.py1# -*- coding: utf-8 -*-COMMENT
LOW…aster/a05_test/src/tools/file_io/make_nd_clean_dirs.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/期货/futures/futures_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/宏观经济/fred/fred_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/宏观经济/world_bank/world_bank_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/基金/fund/fund_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/yfinance/pandas_datareader_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/yfinance/yfinance_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/qlib/qlib_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/baostock/get_stock_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/stooq/stooq_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/efinance/efinance_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/wind/basic_data/save_index_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/wind/basic_data/save_market_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/wind/basic_data/save_market_data.py61 default=[],COMMENT
LOW…a/股票/wind/basic_data/src/data_io/wind/account_login.py1# -*- coding: utf-8 -*-COMMENT
LOW…_data/股票/wind/basic_data/src/data_io/wind/dump_data.py1# -*- coding: utf-8 -*-COMMENT
LOW…_data/股票/wind/basic_data/src/data_io/wind/dump_data.py221COMMENT
LOW…a/股票/wind/basic_data/src/data_io/wind/query_rt_data.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/wind/basic_data/src/data_io/wind/utils.py1# -*- coding: utf-8 -*-COMMENT
LOW…_data/股票/wind/basic_data/src/tools/file_io/load_csv.py1# -*- coding: utf-8 -*-COMMENT
LOW…ind/basic_data/src/tools/file_io/make_nd_clean_dirs.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/pytdx/pytdx_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/tushare/tushare_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/eastmoney/eastmoney_news_guba.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/eastmoney/eastmoney_api.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/tencent/tencent_api.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/cninfo/cninfo_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/netease/netease_api.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/股票/akshare/akshare_demo.py1# -*- coding: utf-8 -*-COMMENT
LOW…data/股票/data_loader_framework/data_loader_base_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/新闻/news_api/newsapi_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/新闻/gdelt/gdelt_demo.py1# -*- coding: utf-8 -*-COMMENT
57 more matches not shown…
Empty Error Handlers22 hits · 110 pts
SeverityFileLineSnippetContext
HIGHzz_scripts/check_docs_build.py74except ImportError:CODE
HIGHegs_data/股票/pytdx/pytdx_demo.py135except Exception:CODE
HIGHegs_data/新闻/xueqiu/xueqiu_demo.py85except Exception:CODE
HIGHegs_data/新闻/xueqiu/xueqiu_demo.py61except Exception:CODE
HIGHegs_data/电子币/cryptocompare/cryptocompare_demo.py63except Exception:CODE
HIGHegs_aide/excel_stock_monitor/v2/main.py246except Exception:CODE
HIGHegs_aide/excel_stock_monitor/v2/main.py236except Exception:CODE
HIGHegs_aide/excel_stock_monitor/v2/main.py207except Exception:CODE
HIGHegs_aide/excel_stock_monitor/v2/main.py215except Exception:CODE
HIGH…ck_monitor/v2/video_generator/capture_excel_screens.py25except Exception:CODE
HIGH…ck_monitor/v2/video_generator/capture_excel_screens.py64except Exception:CODE
HIGH…cel_stock_monitor/v2/video_generator/generate_video.py1260except Exception:CODE
HIGH…cel_stock_monitor/v2/video_generator/generate_video.py377except Exception:CODE
HIGH…cel_stock_monitor/v2/video_generator/generate_video.py404except Exception:CODE
HIGH…ck_monitor/v2/src/excel_monitor/sheets/custom_watch.py58except Exception:CODE
HIGH…ck_monitor/v2/src/excel_monitor/sheets/custom_watch.py89except Exception:CODE
HIGH…ck_monitor/v2/src/excel_monitor/sheets/custom_watch.py121except Exception:CODE
HIGH…ck_monitor/v2/src/excel_monitor/sheets/custom_watch.py265except (ValueError, TypeError):CODE
HIGH…onitor/v2/src/excel_monitor/sheets/stock_pool_sheet.py152except Exception:CODE
HIGH…ock_monitor/v2/src/excel_monitor/core/excel_manager.py26except Exception:CODE
HIGH…platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/龙虎榜+震荡区间过滤.py147except Exception:CODE
HIGH…e_platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/强势股+趋势预测.py149except Exception:CODE
Deep Nesting34 hits · 29 pts
SeverityFileLineSnippetContext
LOWegs_alpha/alpha_libs/alpha101/101Alpha_code_2.py6CODE
LOWegs_alpha/alpha_libs/alpha101/101Alpha_code_2.py836CODE
LOWegs_alpha/alpha_libs/alpha101/101Alpha_code_2.py2420CODE
LOWzz_scripts/check_docs_build.py33CODE
LOW…th_stock_forcaster/a05_test/batch_test_transformers.py115CODE
LOWegs_data/股票/yfinance/yfinance_data.py236CODE
LOWegs_data/股票/qlib/qlib_demo.py52CODE
LOWegs_data/股票/baostock/get_stock_data.py279CODE
LOWegs_data/股票/baostock/get_stock_data.py302CODE
LOWegs_data/股票/stooq/stooq_demo.py119CODE
LOWegs_data/股票/pytdx/pytdx_demo.py89CODE
LOWegs_data/股票/akshare/akshare_demo.py191CODE
LOWegs_data/股票/akshare/akshare_demo.py308CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py494CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py324CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py373CODE
LOWegs_aide/excel_stock_monitor/v2/main.py101CODE
LOW…cel_stock_monitor/v2/video_generator/generate_video.py429CODE
LOW…cel_stock_monitor/v2/video_generator/generate_video.py1094CODE
LOW…ck_monitor/v2/src/excel_monitor/sheets/custom_watch.py257CODE
LOW…ck_monitor/v2/src/excel_monitor/core/backup_sources.py201CODE
LOW…ck_monitor/v2/src/excel_monitor/core/backup_sources.py274CODE
LOW…ck_monitor/v2/src/excel_monitor/core/backup_sources.py800CODE
LOW…ck_monitor/v2/src/excel_monitor/core/backup_sources.py1015CODE
LOWegs_trade/paper_trade/wind/double_ma.py67CODE
LOWegs_trade/vanilla/momentum_rotation/strategy.py86CODE
LOW…rade/vanilla/double_ma/src/data_io/api_tushare_data.py121CODE
LOW…rade/vanilla/double_ma/src/data_io/api_tushare_data.py196CODE
LOW…ll/broker-research-analyst/scripts/report_validator.py247CODE
LOW…ll/broker-research-analyst/scripts/report_validator.py365CODE
LOWegs_skill/broker-research-analyst/scripts/pdf_parser.py285CODE
LOW…ill/broker-research-analyst/scripts/generate_report.py154CODE
LOW…skill/broker-research-analyst/scripts/report_router.py34CODE
LOW…skill/broker-research-analyst/scripts/report_router.py234CODE
Structural Annotation Overuse14 hits · 27 pts
SeverityFileLineSnippetContext
LOW⚡docs/04_website_deployment/Cloudflare_Pages_部署指南.en.md44### Step 1: Register a Cloudflare AccountCOMMENT
LOW⚡docs/04_website_deployment/Cloudflare_Pages_部署指南.en.md52### Step 2: Create a Pages ProjectCOMMENT
LOW⚡docs/04_website_deployment/Cloudflare_Pages_部署指南.en.md57### Step 3: Authorize Cloudflare to Access GitHubCOMMENT
LOW⚡docs/04_website_deployment/Cloudflare_Pages_部署指南.en.md67### Step 4: Fill in Project ConfigurationCOMMENT
LOWdocs/04_website_deployment/Cloudflare_Pages_部署指南.en.md90### Step 5: DeployCOMMENT
LOWdocs/04_website_deployment/Cloudflare_Pages_部署指南.en.md96### Step 6: Visit the Documentation SiteCOMMENT
LOW⚡docs/04_website_deployment/发布操作指南.en.md56#### Step 1: Confirm the Workflow Has Been PushedCOMMENT
LOW⚡docs/04_website_deployment/发布操作指南.en.md66#### Step 2: Enable GitHub Pages from GitHub ActionsCOMMENT
LOW⚡docs/04_website_deployment/发布操作指南.en.md73#### Step 3: Trigger the First DeploymentCOMMENT
LOW⚡docs/04_website_deployment/发布操作指南.en.md79#### Step 4: Visit the SiteCOMMENT
LOWdocs/04_website_deployment/发布操作指南.en.md122#### Step 1: Register a Cloudflare AccountCOMMENT
LOWdocs/04_website_deployment/发布操作指南.en.md127#### Step 2: Create a Pages ProjectCOMMENT
LOWdocs/04_website_deployment/发布操作指南.en.md147#### Step 3: Wait for the First BuildCOMMENT
LOWdocs/04_website_deployment/发布操作指南.en.md152#### Step 4: Visit the SiteCOMMENT
Unused Imports22 hits · 21 pts
SeverityFileLineSnippetContext
LOWzz_scripts/check_docs_build.py14CODE
LOWzz_scripts/check_docs_publish_scope.py4CODE
LOW…_data/股票/wind/basic_data/src/data_io/wind/dump_data.py30CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py268CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py319CODE
LOWegs_data/新闻/xueqiu/xueqiu_demo.py214CODE
LOWegs_aide/excel_stock_monitor/v2/main.py64CODE
LOW…tform/聚宽_JoinQuant/03_模拟盘及实盘/02_股票机器学习类/SVM动态因子选择策略.py37CODE
LOW…tform/聚宽_JoinQuant/03_模拟盘及实盘/02_股票机器学习类/SVM动态因子选择策略.py38CODE
LOW…ine_platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/龙虎榜+均线.py23CODE
LOW…platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/龙虎榜+震荡区间过滤.py27CODE
LOW…ne_platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/小市值+多均线.py20CODE
LOW…e_platform/聚宽_JoinQuant/03_模拟盘及实盘/01_股票规则类/强势股+趋势预测.py28CODE
LOWegs_online_platform/聚宽_JoinQuant/01_模板使用说明/模板.py2CODE
LOW…broker-research-analyst/scripts/report_quality_gate.py9CODE
LOW…ll/broker-research-analyst/scripts/report_validator.py11CODE
LOWegs_skill/broker-research-analyst/scripts/pdf_parser.py13CODE
LOW…l/broker-research-analyst/scripts/eastmoney_adapter.py24CODE
LOW…_skill/broker-research-analyst/scripts/error_logger.py6CODE
LOW…kill/broker-research-analyst/scripts/pdf_downloader.py12CODE
LOW…ill/broker-research-analyst/scripts/generate_report.py15CODE
LOW…skill/broker-research-analyst/scripts/report_router.py10CODE
Modern Structural Boilerplate7 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡egs_data/股票/yfinance/yfinance_data.py47logger = logging.getLogger(__name__)CODE
LOW⚡egs_data/股票/baostock/get_stock_data.py44logger = logging.getLogger(__name__)CODE
LOWegs_data/股票/stooq/stooq_demo.py42logger = logging.getLogger(__name__)CODE
LOW⚡egs_data/股票/pytdx/pytdx_demo.py39logger = logging.getLogger(__name__)CODE
LOW⚡egs_data/股票/tushare/tushare_demo.py42logger = logging.getLogger(__name__)CODE
LOW⚡…data/股票/data_loader_framework/data_loader_base_demo.py41logger = logging.getLogger(__name__)CODE
LOW…rade/rl/a001_proto_sb3/src/rl/envs/StockTradingEnv0.py7logger = logging.getLogger(__name__)CODE
Modern AI Meta-Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMawesome_projects/10-llm.md120## RAGCOMMENT
MEDIUMawesome_projects/10-llm.md188- **[AlphaAgentEvo](https://github.com/hongha5192-bit/AlphaAgentEvo)** — Evolution-oriented alpha mining via self-evolviCODE
MEDIUM…_skill/broker-research-analyst/scripts/error_logger.py21 stage: str # 发生阶段:fetch/quality_gate/download/parse/image/generate/validate/hallucinationCODE
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py32 fake_data = types.SimpleNamespace(CODE
LOW⚡egs_data/股票/wind/basic_data/tests/test_all.py37 ret = parse_val(fake_data, ['RT_LAST'])CODE
LOW⚡egs_trade/paper_trade/wind/tests/test_all.py84 fake_data = types.SimpleNamespace(CODE
LOW⚡egs_trade/paper_trade/wind/tests/test_all.py89 ret = parse_val(fake_data, ['RT_LAST', 'RT_MA_20D'])CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…data/股票/data_loader_framework/data_loader_base_demo.py224按回退链获取第一个可用的数据加载器实例 Args: market: 市场类型,如 "a_share", "us_equity" Returns: 可用的数据加载器实例 RaiseSTRING
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWegs_data/股票/eastmoney/eastmoney_api.py102CODE
LOWegs_data/股票/tencent/tencent_api.py65CODE
LOW…l/broker-research-analyst/scripts/eastmoney_adapter.py134CODE