Repository Analysis

charliedream1/ai_quant_trade

股票AI操盘手:从学习、模拟到实盘,一站式平台。包含股票知识、策略实例、大模型、因子挖掘、传统策略、机器学习、深度学习、强化学习、图网络、高频交易、C++部署和聚宽实例代码等,可以方便学习、模拟及实盘交易

15.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of charliedream1/ai_quant_trade, a Jupyter Notebook project with 6,123 GitHub stars. SynthScan v2.0 examined 95,371 lines of code across 794 source files, recording 904 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 15.6 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.6
Adjusted Score
15.6
Raw Score
100%
Time Factor
2026-08-09
Last Push
6.1K
Stars
Jupyter Notebook
Language
95.4K
Lines of Code
794
Files
904
Pattern Hits
2026-08-09
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 18MEDIUM 191LOW 695

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 904 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators186 hits · 678 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
MEDIUMegs_data/宏观经济/fred/fred_demo.py119# ============================================================COMMENT
MEDIUMegs_data/宏观经济/fred/fred_demo.py121# ============================================================COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py286# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/yfinance/yfinance_data.py288# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py154# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py179# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/baostock/get_stock_data.py181# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/stooq/stooq_demo.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/stooq/stooq_demo.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py258# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/pytdx/pytdx_demo.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py151# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py231# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/tushare/tushare_demo.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_data/股票/akshare/akshare_demo.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMegs_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.py206# ============================================================COMMENT
MEDIUMegs_data/新闻/xueqiu/xueqiu_demo.py208# ============================================================COMMENT
MEDIUMegs_aide/看盘神器/v2/video_generator/generate_video.py189# ============================================================COMMENT
MEDIUMegs_aide/看盘神器/v2/video_generator/generate_video.py191# ============================================================COMMENT
126 more matches not shown…
Excessive Try-Catch Wrapping232 hits · 236 pts
SeverityFileLineSnippetContext
LOWtools/log/log_util.py66 except Exception as e:CODE
LOWegs_data/期货/futures/futures_demo.py82 except Exception as e:CODE
LOWegs_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.py136 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py159 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py180 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py210 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py234 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py260 except Exception as e:CODE
LOWegs_data/股票/yfinance/yfinance_data.py322 except Exception as e:CODE
LOWegs_data/股票/qlib/qlib_demo.py91 except Exception as e:CODE
LOWegs_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.py116 except Exception as e:CODE
LOWegs_data/股票/stooq/stooq_demo.py144 except Exception:CODE
LOWegs_data/股票/stooq/stooq_demo.py163 except Exception as e:CODE
LOWegs_data/股票/stooq/stooq_demo.py196 except Exception:CODE
LOWegs_data/股票/stooq/stooq_demo.py272 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py41 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py56 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py72 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py86 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py97 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py109 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py123 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py140 except Exception as e2:CODE
LOWegs_data/股票/efinance/efinance_demo.py154 except Exception as e:CODE
LOWegs_data/股票/efinance/efinance_demo.py166 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
LOWegs_data/股票/tushare/tushare_demo.py227 except Exception as e:CODE
LOWegs_data/股票/tushare/tushare_demo.py265 except Exception as e:CODE
LOWegs_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
LOWegs_data/股票/akshare/akshare_demo.py247 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py295 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py304 except Exception as e:CODE
LOWegs_data/股票/akshare/akshare_demo.py329 except Exception as e:CODE
MEDIUM…data/股票/data_loader_framework/data_loader_base_demo.py266def is_available(self) -> bool:CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py104 except Exception as exc:CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py399 except Exception as exc:CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py243 except Exception as exc:CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py282 except Exception as exc:CODE
172 more matches not shown…
Hyper-Verbose Identifiers167 hits · 170 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.py25def get_self_select_stock_lst(file_path: str) -> list:CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md121def test_custom_watch_columns():CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md219def test_clean_stock_code_removes_postfix():CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md598def test_market_overview_refresh_with_mock():CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md710def test_detailed_quotes_refresh_with_mock():CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md834def test_news_sheet_refresh_with_mock():CODE
LOWdocs/superpowers/plans/2026-06-20-excel-monitor-v2.md934def test_custom_watch_refresh_with_mock():CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py710def render_sentiment_viz_frame(scene: dict, progress: float) -> Image.Image:CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py838def render_stock_pool_demo_frame(scene: dict, progress: float) -> Image.Image:CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py940def render_excel_showcase_frame(scene: dict, progress: float) -> Image.Image:CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py1094def render_fallback_chain_frame(scene: dict, progress: float) -> Image.Image:CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py22def test_normalize_codes_removes_postfix():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py29def test_normalize_codes_removes_market_prefix():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py36def test_normalize_codes_handles_empty():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py42def test_detect_market_prefix_sh():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py49def test_detect_market_prefix_sz():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py56def test_detect_market_prefix_bj():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py85def test_backup_sources_initialization():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py93def test_backup_sources_lazy_loading_akshare():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py109def test_akshare_stock_realtime_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py140def test_akshare_stock_realtime_empty_codes():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py147def test_akshare_stock_realtime_failure():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py159def test_akshare_news_cls_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py198def test_eastmoney_stock_realtime_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py224def test_eastmoney_money_flow_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py248def test_eastmoney_guba_hot_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py269def test_tencent_stock_realtime_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py296def test_netease_kline_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py325def test_efinance_stock_realtime_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py354def test_backup_source_disabled_when_lib_missing():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py365def test_akshare_north_money_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py383def test_akshare_weibo_sentiment_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_backup_sources.py400def test_akshare_news_sentiment_with_mock():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py24def test_pinyin_first_letters_basic():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py33def test_pinyin_first_letters_unknown_char():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py53def test_fetch_from_akshare_success():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py125def test_save_and_load_cache_fresh():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py167def test_load_cache_not_exist():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py174def test_load_cache_corrupted():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py184def test_load_or_fetch_uses_cache():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py71def test_fetch_from_akshare_failure():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py81def test_fetch_from_efinance_success():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py95def test_fetch_fallback_chain():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py204def test_load_or_fetch_refreshes_when_expired():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py229def test_load_or_fetch_falls_back_to_expired_cache():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py265def test_search_by_code_prefix():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py274def test_search_by_name_contains():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py290def test_search_empty_keyword_returns_head():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool.py311def test_search_case_insensitive():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool_sheet.py46def test_init_loads_pool_and_displays():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool_sheet.py105def test_refresh_search_trigger_filters():CODE
LOWegs_aide/看盘神器/v2/tests/test_stock_pool_sheet.py180def test_setup_dropdown_calls_validation():CODE
107 more matches not shown…
Unused Imports116 hits · 114 pts
SeverityFileLineSnippetContext
LOWtools/file_io/load_csv.py21CODE
LOWtools/file_io/fold_excel_rows.py37CODE
LOWtools/plots/trades_on_k_line.py21CODE
LOWtools/plots/trades_on_k_line.py23CODE
LOWtools/plots/trades_on_k_line.py32CODE
LOW…ain/a01_unsloth_stock_forcaster/a04_train/train_sft.py25CODE
LOW…th_stock_forcaster/a05_test/batch_test_transformers.py31CODE
LOWegs_data/股票/yfinance/pandas_datareader_data.py23CODE
LOWegs_data/股票/yfinance/yfinance_data.py37CODE
LOWegs_data/股票/yfinance/yfinance_data.py38CODE
LOWegs_data/股票/yfinance/yfinance_data.py38CODE
LOWegs_data/股票/yfinance/yfinance_data.py38CODE
LOWegs_data/股票/baostock/get_stock_data.py34CODE
LOWegs_data/股票/stooq/stooq_demo.py34CODE
LOWegs_data/股票/efinance/efinance_demo.py38CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py25CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py26CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py33CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py33CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py34CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py35CODE
LOWegs_data/股票/wind/basic_data/save_index_data.py36CODE
LOWegs_data/股票/wind/basic_data/save_market_data.py31CODE
LOWegs_data/股票/pytdx/pytdx_demo.py34CODE
LOWegs_data/股票/pytdx/pytdx_demo.py34CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py36CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py268CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py319CODE
LOWegs_data/新闻/gdelt/gdelt_demo.py28CODE
LOWegs_data/新闻/xueqiu/xueqiu_demo.py212CODE
LOWegs_data/电子币/cryptocompare/cryptocompare_demo.py33CODE
LOWegs_aide/看盘神器/v1/main.py24CODE
LOWegs_aide/看盘神器/v2/main.py42CODE
LOWegs_aide/看盘神器/v2/main.py64CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py17CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_gif.py14CODE
LOWegs_aide/看盘神器/v2/tests/test_config.py6CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py31CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py31CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py433CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py434CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py435CODE
LOWegs_aide/看盘神器/v2/tests/test_e2e.py441CODE
LOW…de/看盘神器/v2/src/excel_monitor/sheets/detailed_quotes.py3CODE
LOW…/看盘神器/v2/src/excel_monitor/core/config_sheet_reader.py16CODE
LOW…/看盘神器/v2/src/excel_monitor/core/config_sheet_reader.py19CODE
LOW…s_aide/看盘神器/v2/src/excel_monitor/core/alert_checker.py10CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/core/backup_sources.py17CODE
LOWegs_aide/看盘神器/v2/src/excel_monitor/core/stock_pool.py21CODE
LOWegs_aide/看盘神器/v2/src/excel_monitor/utils/kline_chart.py3CODE
LOWegs_trade/paper_trade/wind/check_account.py28CODE
LOWegs_trade/paper_trade/wind/double_ma.py24CODE
LOWegs_trade/paper_trade/wind/double_ma.py35CODE
LOWegs_trade/paper_trade/wind/double_ma.py37CODE
LOWegs_trade/paper_trade/wind/double_ma.py37CODE
LOWquant_brain/data_io/baostock/get_stock_data.py2CODE
LOWquant_brain/data_io/baostock/get_stock_data.py3CODE
LOWquant_brain/data_io/wind/account_login.py24CODE
LOWquant_brain/data_io/wind/dump_data.py34CODE
LOWquant_brain/data_io/wind/dump_data.py35CODE
56 more matches not shown…
Over-Commented Block111 hits · 110 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.py61 # adjust to a proper valueCOMMENT
LOWtools/plots/trades_on_k_line.py121 # ma10_df = talib.MA(df_stock['close'], timeperiod=10)COMMENT
LOW…_hot_topic_report/v1_proto_internet/generate_report.py1# -*- coding: utf-8 -*-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.py141COMMENT
LOW…ain/a01_unsloth_stock_forcaster/a04_train/train_sft.py161# Save to q4_k_m GGUFCOMMENT
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
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.py81 # 涨跌 chgCOMMENT
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
LOWegs_data/新闻/finnhub/finnhub_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/新闻/xueqiu/xueqiu_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/新闻/news/news_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/电子币/ccxt/ccxt_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_data/电子币/cryptocompare/cryptocompare_demo.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_aide/看盘神器/v1/main.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_trade/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWegs_trade/paper_trade/wind/check_account.py1# -*- coding: utf-8 -*-COMMENT
51 more matches not shown…
Docstring Block Structure14 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…data/股票/data_loader_framework/data_loader_base_demo.py224按回退链获取第一个可用的数据加载器实例 Args: market: 市场类型,如 "a_share", "us_equity" Returns: 可用的数据加载器实例 RaiseSTRING
HIGH…/vibe_trading_skills/harmonic/example_signal_engine.py251使用 pyharmonics 库检测谐波形态。 Args: df: OHLCV DataFrame,需含 open/high/low/close/volume 列。 is_stock: 是否为股票标STRING
HIGH…/vibe_trading_skills/harmonic/example_signal_engine.py429从 OKX API 获取K线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。STRING
HIGH…vibe_trading_skills/social-media-intelligence/SKILL.md1220Unified entrypoint for collecting social-media data. Args: query: Query parameters including platform, keywSTRING
HIGH…/vibe_trading_skills/ichimoku/example_signal_engine.py135从 OKX API 获取K线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。STRING
HIGH…/07_skill包/vibe_trading_skills/options-payoff/SKILL.md272Black-Scholes option pricing. Args: S: Current underlying price K: Strike price T: Time to STRING
HIGH…/07_skill包/vibe_trading_skills/options-payoff/SKILL.md372Solve implied volatility with Newton-Raphson. Args: market_price: Observed market price tol: ConverSTRING
HIGH…be_trading_skills/candlestick/example_signal_engine.py536从 OKX 获取K线数据。 Args: inst_id: 交易对,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。 STRING
HIGH…e_trading_skills/elliott-wave/example_signal_engine.py396从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期,默认 "1D"。 limit: 获取数量,默认 3STRING
HIGH…e_trading_skills/pair-trading/example_signal_engine.py47根据价格比值 Z-score 生成配对交易信号。 Args: data_map: 恰好两个标的代码到 OHLCV DataFrame 的映射。 Returns: STRING
HIGH…07_skill包/vibe_trading_skills/credit-analysis/SKILL.md527附息债券净现值定价。 Args: face: 面值,通常100 coupon_rate: 年票面利率(小数形式,如0.05表示5%) ytm: 年到期收益率(小数形式) STRING
HIGH…07_skill包/vibe_trading_skills/credit-analysis/SKILL.md554给定市场价格反求YTM(数值解法)。 Args: price: 债券市场价格(脏价) face: 面值 coupon_rate: 年票面利率 n_periods: 剩STRING
HIGH…07_skill包/vibe_trading_skills/credit-analysis/SKILL.md699拟合收益率曲线并返回插值函数。 Args: maturities: 已知债券期限(年),如 [0.25, 0.5, 1, 2, 3, 5, 7, 10] yields: 对应YTM(小数),如 [0STRING
HIGH…07_skill包/vibe_trading_skills/credit-analysis/SKILL.md820信用利差时序分析(Z-Score标准化 + 历史分位数)。 Args: bond_yields: 信用债收益率时间序列(%,日频) risk_free_yields: 对应期限无风险利率(%,日频)STRING
Deep Nesting45 hits · 40 pts
SeverityFileLineSnippetContext
LOW…th_stock_forcaster/a05_test/batch_test_transformers.py119CODE
LOWegs_data/股票/yfinance/yfinance_data.py238CODE
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.py120CODE
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/看盘神器/v1/main.py34CODE
LOWegs_aide/看盘神器/v1/main.py103CODE
LOWegs_aide/看盘神器/v1/main.py133CODE
LOWegs_aide/看盘神器/v2/main.py101CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py428CODE
LOWegs_aide/看盘神器/v2/video_generator/generate_video.py1094CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/sheets/custom_watch.py254CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/core/backup_sources.py202CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/core/backup_sources.py275CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/core/backup_sources.py801CODE
LOW…_aide/看盘神器/v2/src/excel_monitor/core/backup_sources.py1016CODE
LOWegs_trade/paper_trade/wind/double_ma.py75CODE
LOWegs_trade/vanilla/momentum_rotation/strategy.py86CODE
LOWquant_brain/data_io/api_tushare_data.py121CODE
LOWquant_brain/data_io/api_tushare_data.py196CODE
LOW…/vibe_trading_skills/harmonic/example_signal_engine.py94CODE
LOW…/vibe_trading_skills/harmonic/example_signal_engine.py247CODE
LOW…/vibe_trading_skills/harmonic/example_signal_engine.py386CODE
LOW…s/ashare-pre-st-filter/scripts/fetch_sina_penalties.py244CODE
LOW…s/ashare-pre-st-filter/scripts/fetch_sina_penalties.py374CODE
LOW…s/ashare-pre-st-filter/scripts/fetch_sina_penalties.py393CODE
LOW…ibe_trading_skills/vnpy-export/scripts/cta_template.py83CODE
LOW…e_trading_skills/elliott-wave/example_signal_engine.py53CODE
LOW…e_trading_skills/elliott-wave/example_signal_engine.py173CODE
LOW…e_trading_skills/elliott-wave/example_signal_engine.py270CODE
LOW…e_trading_skills/elliott-wave/example_signal_engine.py355CODE
LOW…e_trading_skills/multi-factor/example_signal_engine.py94CODE
LOW…ll/broker-research-analyst/scripts/report_validator.py248CODE
LOW…ll/broker-research-analyst/scripts/report_validator.py366CODE
LOWegs_skill/broker-research-analyst/scripts/pdf_parser.py286CODE
LOW…ill/broker-research-analyst/scripts/generate_report.py154CODE
LOW…skill/broker-research-analyst/scripts/report_router.py39CODE
LOW…skill/broker-research-analyst/scripts/report_router.py239CODE
Structural Annotation Overuse16 hits · 28 pts
SeverityFileLineSnippetContext
LOW…包/vibe_trading_skills/performance-attribution/SKILL.md184### Step 1: Aggregate AnalysisCOMMENT
LOW…包/vibe_trading_skills/performance-attribution/SKILL.md192### Step 2: Attribution DecompositionCOMMENT
LOW…包/vibe_trading_skills/performance-attribution/SKILL.md200### Step 3: Style AnalysisCOMMENT
LOW…包/vibe_trading_skills/performance-attribution/SKILL.md208### Step 4: Conclusions and RecommendationsCOMMENT
LOW…07_skill包/vibe_trading_skills/valuation-model/SKILL.md27#### Step 1: Forecast free cash flow (usually 5 years)COMMENT
LOW…07_skill包/vibe_trading_skills/valuation-model/SKILL.md44#### Step 2: Calculate WACCCOMMENT
LOW…07_skill包/vibe_trading_skills/valuation-model/SKILL.md68#### Step 3: Terminal ValueCOMMENT
LOW…07_skill包/vibe_trading_skills/valuation-model/SKILL.md78#### Step 4: Sensitivity AnalysisCOMMENT
LOW…/07_skill包/vibe_trading_skills/macro-analysis/SKILL.md113### Step 1: Data Collection and Current-State DescriptionCOMMENT
LOW…/07_skill包/vibe_trading_skills/macro-analysis/SKILL.md122### Step 2: Cycle PositioningCOMMENT
LOW…/07_skill包/vibe_trading_skills/macro-analysis/SKILL.md133### Step 3: Policy Impact AssessmentCOMMENT
LOW…/07_skill包/vibe_trading_skills/macro-analysis/SKILL.md142### Step 4: Asset Allocation TiltCOMMENT
LOW…_skills/cross-market-strategy/example_signal_engine.py36 # Step 1: raw signals per marketCOMMENT
LOW…_skills/cross-market-strategy/example_signal_engine.py43 # Step 2: volatility-adjusted weightsCOMMENT
LOW…ill包/vibe_trading_skills/correlation-analysis/SKILL.md350 # Step 1: estimate the cointegrating vector with OLS.COMMENT
LOW…ill包/vibe_trading_skills/correlation-analysis/SKILL.md357 # Step 2: test residual stationarity with ADF.COMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…ibe_trading_skills/volatility/example_signal_engine.py0从 okx api 获取 k 线数据。 args: inst_id: 交易对标识,如 "btc-usdt"。 bar: k 线周期。 limit: 获取根数。 returns: ohlcv dataframe。STRING
HIGH…e_trading_skills/pair-trading/example_signal_engine.py0从 okx api 获取 k 线数据。 args: inst_id: 交易对标识,如 "btc-usdt"。 bar: k 线周期。 limit: 获取根数。 returns: ohlcv dataframe。STRING
HIGH…e_trading_skills/multi-factor/example_signal_engine.py0从 okx api 获取 k 线数据。 args: inst_id: 交易对标识,如 "btc-usdt"。 bar: k 线周期。 limit: 获取根数。 returns: ohlcv dataframe。STRING
HIGH…/vibe_trading_skills/seasonal/example_signal_engine.py0从 okx api 获取 k 线数据。 args: inst_id: 交易对标识,如 "btc-usdt"。 bar: k 线周期。 limit: 获取根数。 returns: ohlcv dataframe。STRING
Modern Structural Boilerplate6 hits · 8 pts
SeverityFileLineSnippetContext
LOWegs_data/股票/yfinance/yfinance_data.py49logger = logging.getLogger(__name__)CODE
LOWegs_data/股票/baostock/get_stock_data.py44logger = logging.getLogger(__name__)CODE
LOWegs_data/股票/stooq/stooq_demo.py43logger = logging.getLogger(__name__)CODE
LOWegs_data/股票/pytdx/pytdx_demo.py39logger = logging.getLogger(__name__)CODE
LOWegs_data/股票/tushare/tushare_demo.py42logger = logging.getLogger(__name__)CODE
LOW…data/股票/data_loader_framework/data_loader_base_demo.py41logger = logging.getLogger(__name__)CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…_skills/cross-market-strategy/example_signal_engine.py36 # Step 1: raw signals per marketCOMMENT
LOW…_skills/cross-market-strategy/example_signal_engine.py43 # Step 2: volatility-adjusted weightsCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWegs_data/股票/eastmoney/eastmoney_api.py102CODE
LOWegs_data/股票/tencent/tencent_api.py65CODE
LOW…rading_skills/technical-basic/example_signal_engine.py147CODE
LOW…l/broker-research-analyst/scripts/eastmoney_adapter.py135CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…_skill/broker-research-analyst/scripts/error_logger.py22 stage: str # 发生阶段:fetch/quality_gate/download/parse/image/generate/validate/hallucinationCODE