Repository Analysis

HKUDS/Vibe-Trading

"Vibe-Trading: Your Personal Trading Agent"

63.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of HKUDS/Vibe-Trading, a Python project with 22,432 GitHub stars. SynthScan v2.0 examined 300,385 lines of code across 1704 source files, recording 12046 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 63.6 places this repository in the Strong 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).

63.6
Adjusted Score
63.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
22.4K
Stars
Python
Language
300.4K
Lines of Code
1.7K
Files
12.0K
Pattern Hits
2026-07-14
Scan Date
0.28
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 12HIGH 468MEDIUM 2144LOW 9422

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 12046 distinct pattern matches across 22 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 Separators2101 hits · 7048 pts
SeverityFileLineSnippetContext
MEDIUMtools/test_ci_env_var_gate.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py173# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py199# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py237# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py239# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_ci_env_var_gate.py220# ---------------------------------------------------------------------------STRING
MEDIUMtools/test_ci_env_var_gate.py222# ---------------------------------------------------------------------------STRING
MEDIUMtools/ci_env_var_gate.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py194# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py231# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci_env_var_gate.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMfrontend/src/tests/setup.ts7// ── Global mocks for jsdom ───────────────────────────────────COMMENT
MEDIUMfrontend/src/hooks/__tests__/useSSE.test.ts4// ── Mock EventSource ──────────────────────────────────────COMMENT
MEDIUMfrontend/src/hooks/__tests__/useSSE.test.ts59// ── Tests ─────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/i18n/__tests__/i18n.test.ts8// ── helpers ────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/i18n/__tests__/i18n.test.ts40// ── locale parity ──────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/i18n/__tests__/i18n.test.ts68// ── interpolation variable parity ──────────────────────────────COMMENT
MEDIUMfrontend/src/i18n/__tests__/i18n.test.ts110// ── utility functions ──────────────────────────────────────────COMMENT
MEDIUMwiki/scripts/build_alpha_library.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py140# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py279# ---------------------------------------------------------------------------STRING
MEDIUMwiki/scripts/build_alpha_library.py281# ---------------------------------------------------------------------------STRING
MEDIUMwiki/scripts/build_alpha_library.py347# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py382# ---------------------------------------------------------------------------COMMENT
MEDIUMwiki/scripts/build_alpha_library.py384# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/api_server.py115# ============================================================================COMMENT
MEDIUMagent/api_server.py117# ============================================================================COMMENT
MEDIUMagent/api_server.py176# ============================================================================COMMENT
MEDIUMagent/api_server.py178# ============================================================================COMMENT
MEDIUMagent/api_server.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/api_server.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/api_server.py142# ============================================================================COMMENT
MEDIUMagent/api_server.py144# ============================================================================COMMENT
MEDIUMagent/api_server.py282# ============================================================================COMMENT
MEDIUMagent/api_server.py284# ============================================================================COMMENT
MEDIUMagent/api_server.py303# ============================================================================COMMENT
MEDIUMagent/api_server.py305# ============================================================================COMMENT
MEDIUMagent/mcp_server.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py1018# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py1020# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py187# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py189# ---------------------------------------------------------------------------COMMENT
MEDIUMagent/mcp_server.py222# ---------------------------------------------------------------------------COMMENT
2041 more matches not shown…
Unused Imports5219 hits · 5120 pts
SeverityFileLineSnippetContext
LOWtools/test_ci_env_var_gate.py11CODE
LOWtools/ci_env_var_gate.py31CODE
LOWwiki/scripts/build_alpha_library.py36CODE
LOWwiki/scripts/check_social_cards.py3CODE
LOWagent/api_server.py9CODE
LOWagent/api_server.py15CODE
LOWagent/api_server.py15CODE
LOWagent/api_server.py16CODE
LOWagent/api_server.py21CODE
LOWagent/api_server.py21CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py34CODE
LOWagent/api_server.py71CODE
LOWagent/api_server.py71CODE
LOWagent/api_server.py71CODE
LOWagent/api_server.py71CODE
LOWagent/api_server.py71CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
LOWagent/api_server.py79CODE
5159 more matches not shown…
Hyper-Verbose Identifiers2903 hits · 3092 pts
SeverityFileLineSnippetContext
LOWtools/test_ci_env_var_gate.py88 def test_subscript_read_in_expression(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py181 def test_pop_outside_settings_routes(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py190 def test_pop_in_settings_routes_no_warning(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py245 def test_noqa_suppresses_getenv(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py250 def test_noqa_suppresses_environ_get(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py255 def test_noqa_suppresses_subscript_read(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py260 def test_noqa_does_not_affect_other_lines(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py266 def test_partial_noqa_not_matched(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py62 def test_os_getenv_with_default(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py75 def test_environ_get_with_default(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py135 def test_subscript_aug_assign(self) -> None:CODE
LOWtools/test_ci_env_var_gate.py150 def test_config_visitor_clean(self) -> None:CODE
LOWfrontend/src/components/chat/RunnerStatus.tsx79function fallbackAuthorizeInstruction(): string {CODE
LOWfrontend/src/lib/swarmStatus.ts86export function buildSwarmStatusFromStarted(data: AnyRecord, now = Date.now()): SwarmRunStatus | null {CODE
LOWfrontend/src/lib/swarmStatus.ts254export function buildSwarmStatusFromToolResultPreview(preview: string, now = Date.now()): SwarmRunStatus | null {CODE
LOWfrontend/src/pages/RunDetail.tsx219 async function handleLoadAllChartSymbols() {CODE
LOWfrontend/src/pages/RunDetail.tsx241 function handleCancelLoadAllCharts() {CODE
LOWwiki/scripts/check_social_cards.py44def require_alpha_library_card() -> None:CODE
LOWagent/api_server.py170async def _stop_scheduled_research_on_shutdown() -> None:CODE
LOWagent/mcp_server.py388def update_research_goal_status(CODE
LOWagent/mcp_server.py693def trading_select_connection(connection: str) -> str:CODE
LOWagent/tests/test_dragon_tiger_tool.py71 def test_compact_date_normalizes(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py75 def test_compact_date_rejects_garbage(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py79 def test_bare_code_strips_suffix(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py94 def test_full_market_list_no_code(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py116 def test_with_code_adds_seats(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py133 def test_missing_date_returns_error_envelope(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py138 def test_bad_date_returns_error_envelope(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py143 def test_http_failure_returns_error_envelope(self) -> None:CODE
LOWagent/tests/test_dragon_tiger_tool.py158 def test_http_failure_uses_tushare_fallback_when_available(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py72 def test_close_allowed_when_no_position(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py84 def test_sell_same_day_blocked(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py109 def test_sell_allowed_when_no_position(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py121 def test_limit_up_buy_blocked(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py127 def test_limit_down_sell_blocked(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py136 def test_within_limit_allowed(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py153 def test_chinext_within_limit(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py179 def test_negative_clamps_to_zero(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py230 def test_buy_slippage_increases_price(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py234 def test_sell_slippage_decreases_price(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py238 def test_custom_slippage_rate(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py97 def test_sell_next_day_allowed(self) -> None:CODE
LOWagent/tests/test_china_a_engine.py268 def test_from_close_and_pre_close(self) -> None:CODE
LOWagent/tests/test_eastmoney_client.py34 def test_hong_kong_zero_pads_to_five(self):CODE
LOWagent/tests/test_eastmoney_client.py38 def test_case_insensitive_suffix(self):CODE
LOWagent/tests/test_eastmoney_client.py41 def test_unrecognized_suffix_returns_none(self):CODE
LOWagent/tests/test_eastmoney_client.py51 def test_resolves_and_caches_us_secid(self):CODE
LOWagent/tests/test_eastmoney_client.py65 def test_handles_jsonp_wrapped_search_body(self):CODE
LOWagent/tests/test_eastmoney_client.py70 def test_plain_json_body_with_parens_in_values(self):CODE
LOWagent/tests/test_eastmoney_client.py83 def test_no_us_candidate_returns_none(self):CODE
LOWagent/tests/test_eastmoney_client.py88 def test_search_failure_returns_none_without_raising(self):CODE
LOWagent/tests/test_eastmoney_client.py98 def test_parses_ohlcv_amount_rows(self):CODE
LOWagent/tests/test_eastmoney_client.py136 def test_empty_data_returns_empty_list(self):CODE
LOWagent/tests/test_eastmoney_client.py140 def test_malformed_row_is_skipped_not_fatal(self):CODE
LOWagent/tests/test_eastmoney_client.py154 def test_http_error_propagates(self):CODE
LOWagent/tests/test_eastmoney_client.py165 def test_plain_json_with_parens_parses_unchanged(self):CODE
LOWagent/tests/test_eastmoney_client.py173 def test_plain_json_array_parses_unchanged(self):CODE
LOWagent/tests/test_eastmoney_client.py176 def test_real_jsonp_wrapper_is_stripped(self):CODE
LOWagent/tests/test_eastmoney_client.py180 def test_dotted_callback_identifier_is_stripped(self):CODE
LOWagent/tests/test_eastmoney_client.py184 def test_unparseable_body_returns_none(self):CODE
2843 more matches not shown…
Cross-File Repetition330 hits · 1650 pts
SeverityFileLineSnippetContext
HIGHagent/tests/test_runtime_flatten.py0point the live runtime root at an isolated tmp dir.STRING
HIGHagent/tests/test_runtime_liveness.py0point the live runtime root at an isolated tmp dir.STRING
HIGHagent/tests/test_runtime_jobstore.py0point the live runtime root at an isolated tmp dir.STRING
HIGHagent/tests/test_halt.py0point the live runtime root at an isolated tmp dir.STRING
HIGHagent/tests/test_audit_redact.py0point the live runtime root at an isolated tmp dir.STRING
HIGHagent/tests/test_mandate_model.py0point the live root at a tmp dir so tests never touch the real store.STRING
HIGHagent/tests/test_consent_commit.py0point the live root at a tmp dir so tests never touch the real store.STRING
HIGHagent/tests/test_mandate_enforcement.py0point the live root at a tmp dir so tests never touch the real store.STRING
HIGHagent/backtest/loaders/fmp_loader.py0resolve the per-call minimum spacing, honoring the env override.STRING
HIGHagent/backtest/loaders/yahoo_client.py0resolve the per-call minimum spacing, honoring the env override.STRING
HIGHagent/backtest/loaders/stooq_loader.py0resolve the per-call minimum spacing, honoring the env override.STRING
HIGHagent/backtest/loaders/finnhub_loader.py0resolve the per-call minimum spacing, honoring the env override.STRING
HIGHagent/src/tools/fund_flow_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/sector_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/financial_statements_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/market_screener_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/image_vision_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/get_fundamentals_tool.py0build the failure envelope as a json string. args: message: human-readable error description. returns: a strict json ``{STRING
HIGHagent/src/tools/stock_news_tool.py0render a failure envelope as a json string. args: message: human-readable error text. returns: ``{"ok": false, "error": STRING
HIGHagent/src/tools/iwencai_tool.py0render a failure envelope as a json string. args: message: human-readable error text. returns: ``{"ok": false, "error": STRING
HIGHagent/src/tools/dragon_tiger_tool.py0render a failure envelope as a json string. args: message: human-readable error text. returns: ``{"ok": false, "error": STRING
HIGHagent/src/tools/symbol_search_tool.py0coerce a requested report count into the supported ``1.._max_limit`` range.STRING
HIGHagent/src/tools/sec_filings_tool.py0coerce a requested report count into the supported ``1.._max_limit`` range.STRING
HIGHagent/src/tools/research_reports_tool.py0coerce a requested report count into the supported ``1.._max_limit`` range.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_018.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_049.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_059.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_008.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_028.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_079.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_069.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_038.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_029.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_078.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_068.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_039.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_019.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_048.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_058.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_009.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_077.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_026.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_084.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_012.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_043.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_053.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_002.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_094.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_036.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_067.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_047.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_016.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_022.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_073.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_080.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_090.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_063.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_032.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_006.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
HIGHagent/src/factors/zoo/alpha101/alpha_057.py0compute the alpha on the ohlcv+ panel and return a wide dataframe.STRING
270 more matches not shown…
Docstring Block Structure128 hits · 640 pts
SeverityFileLineSnippetContext
HIGHwiki/scripts/build_alpha_library.py99Load and lightly validate a manifest written by export-manifest. Args: path: Filesystem path to ``manifest.STRING
HIGHagent/tests/test_swarm_worker_stream_retry.py67Raise the next queued error or return the final response. Args: messages: Conversation messages (igSTRING
HIGHagent/tests/test_agent_loop_stream_retry.py45Raise the next queued error or return the final response. Args: messages: Conversation messages (igSTRING
HIGHagent/cli/_legacy.py223Read user input with arrow key support if prompt_toolkit is available. Falls back to Rich Prompt.ask() when prompt_STRING
HIGHagent/cli/utils/format.py109Abbreviate a number with magnitude suffix. Use this for status-bar numbers where horizontal space is scarce. CurrenSTRING
HIGHagent/backtest/engines/china_futures.py112Extract product code from futures symbol. Examples: 'IF2406.CFFEX' -> 'IF' 'rb2410.SHFE' -> 'rb' STRING
HIGHagent/backtest/engines/options_portfolio.py232Options backtest entry point. Day-by-day simulation: 1. Read underlying price for the current day 2. Mark aSTRING
HIGHagent/backtest/loaders/alphavantage_loader.py165Fetch and slice one symbol's daily bars into an OHLCV DataFrame. Args: code: US-equity ticker. STRING
HIGHagent/backtest/loaders/eastmoney_loader.py34Convert a ``YYYY-MM-DD`` date into Eastmoney's ``YYYYMMDD`` form. Args: value: Date string in any pandas-paSTRING
HIGHagent/backtest/loaders/eastmoney_loader.py72Fetch OHLCV for each symbol; a single failure never aborts the batch. Args: codes: Symbols such as STRING
HIGHagent/backtest/loaders/registry.py144Return the first *available* loader instance for *market*. Walks the fallback chain and returns the first loader whSTRING
HIGHagent/backtest/loaders/registry.py182Return a loader *class* for *source*, falling back if unavailable. Args: source: Requested data source nameSTRING
HIGHagent/backtest/loaders/_http.py129GET ``url`` after waiting out the per-host minimum interval. Args: url: Fully-qualified request URL. STRING
HIGHagent/backtest/loaders/futu.py126Fetch OHLCV history from Futu OpenAPI. Args: codes: Project symbols such as ``700.HK`` or ``000001.STRING
HIGHagent/backtest/loaders/_fundamental_schema.py197Resolve a supported fundamental field to its schema entry. Args: field: Unified fundamental field name. STRING
HIGHagent/backtest/loaders/fmp_loader.py99Fetch daily OHLCV bars from FMP, one symbol at a time. A single failing symbol is logged and skipped so it neveSTRING
HIGHagent/backtest/loaders/fmp_loader.py150Fetch and parse one symbol's daily bars; ``None`` on no data. Args: code: Project symbol to fetch. STRING
HIGHagent/backtest/loaders/sec_edgar_client.py75GET ``url`` as JSON through the shared SEC-bucket throttle. Args: url: Fully-qualified SEC endpoint URL. STRING
HIGHagent/backtest/loaders/sec_edgar_client.py96Normalize a CIK to the SEC's zero-padded 10-digit string form. Args: cik: A CIK as an int or a string that STRING
HIGHagent/backtest/loaders/sec_edgar_client.py163Resolve a ticker symbol to its zero-padded 10-digit CIK. Args: ticker: A U.S. equity ticker (case-insensitiSTRING
HIGHagent/backtest/loaders/sec_edgar_client.py181Fetch the filing-index ("submissions") JSON for a CIK. Args: cik: A CIK as int or string; padded to 10 digiSTRING
HIGHagent/backtest/loaders/sec_edgar_client.py197Fetch the XBRL ``companyfacts`` JSON for a CIK. Args: cik: A CIK as int or string; padded to 10 digits inteSTRING
HIGHagent/backtest/loaders/rsshub_events.py78Convert a backtest code (e.g. ``"600519.SH"``) to a route's expected form. RSSHub routes disagree on instrument forSTRING
HIGHagent/backtest/loaders/rsshub_events.py143Build :class:`FeedSpec` objects from backtest-config dicts. Each entry must carry ``name``, ``route_template`` and STRING
HIGHagent/backtest/loaders/yahoo_client.py105Return ``(crumb, cookies)``, fetching them on first use or on refresh. Args: force_refresh: DiscardSTRING
HIGHagent/backtest/loaders/yahoo_client.py160Fetch OHLCV bars from the v8 chart endpoint as ascending rows. Either supply a ``range_`` (e.g. ``"1y"``, ``"max"``STRING
HIGHagent/backtest/loaders/yahoo_client.py250Fetch v10 quoteSummary modules, handling the cookie+crumb handshake. On a 401 (expired/invalid crumb) the crumb andSTRING
HIGHagent/backtest/loaders/yahoo_client.py308Fetch the v7 option chain for a symbol, handling the cookie+crumb handshake. Like ``v10/quoteSummary``, the ``v7/fiSTRING
HIGHagent/backtest/loaders/yahoo_client.py370Look up matching instruments via the v1 search endpoint. Args: query: Free-text query (ticker fragment or cSTRING
HIGHagent/backtest/loaders/longbridge.py236Fetch OHLCV history from LongPort OpenAPI. Args: codes: Project symbols such as ``AAPL``, ``AAPL.USSTRING
HIGHagent/backtest/loaders/stooq_loader.py98Fetch daily OHLCV bars for ``codes`` over ``[start_date, end_date]``. Args: codes: Project-side symSTRING
HIGHagent/backtest/loaders/fundamentals_loader.py53Extract a sparse ``period_end``/``filed``/``value`` series. Args: facts: SEC companyfacts payload. STRING
HIGHagent/backtest/loaders/fundamentals_loader.py205Load SEC fundamental fields as dense date-by-symbol panels. Args: symbols: Tickers to load. fields:STRING
HIGHagent/backtest/loaders/qveris_loader.py169Call ``POST /tools/execute`` and hydrate truncated results. Args: tool_id: QVeris tool identifier rSTRING
HIGHagent/backtest/loaders/qveris_loader.py275Fetch daily OHLCV history through selected QVeris capabilities. Args: codes: Symbols to fetch. STRING
HIGHagent/backtest/loaders/eastmoney_client.py80Issue a throttled Eastmoney GET and decode the body as JSON. Args: url: Fully-qualified Eastmoney endpoint STRING
HIGHagent/backtest/loaders/eastmoney_client.py275Fetch ascending OHLCV bars for one ``secid`` from push2his. Args: secid: Eastmoney secid (e.g. ``"1.600519"STRING
HIGHagent/backtest/loaders/tiingo_loader.py158Fetch OHLCV history keyed by the original project symbols. Each symbol is fetched independently so one failing STRING
HIGHagent/backtest/loaders/sina_loader.py55Extract the JSON array embedded in Sina's JSONP wrapper. Args: raw: Raw response body, e.g. ``var x=([{"d":STRING
HIGHagent/backtest/loaders/sina_loader.py146Fetch US daily OHLCV for each code; skip and log per-symbol failures. Args: codes: Symbols in ``TICSTRING
HIGHagent/backtest/loaders/base.py51Drop, flag, or reject bars that violate OHLC invariants. Loaders only drop NaN rows, so structurally dirty bars — `STRING
HIGHagent/backtest/loaders/base.py174Call ``fn`` with a bounded retry budget on declared transient errors. Between attempts sleeps ``min(backoff[attemptSTRING
HIGHagent/backtest/loaders/mootdx_loader.py100Fetch A-share OHLCV via mootdx. Args: codes: Symbol list. `.SH/.SZ/.BJ` suffix or bare 6-digit STRING
HIGHagent/backtest/loaders/finnhub_loader.py176Fetch daily OHLCV history keyed by the original project symbols. Each symbol is fetched independently through tSTRING
HIGHagent/src/swarm/store.py134Return the directory path for a given run. Args: run_id: Run identifier. Returns: STRING
HIGHagent/src/swarm/store.py158Create the directory structure for a new run and write initial state. Args: run: SwarmRun instance.STRING
HIGHagent/src/swarm/task_store.py60Load a task by ID. Args: task_id: Task ID. Returns: SwarmTask instance. STRING
HIGHagent/src/swarm/task_store.py204Kahn's algorithm topological layering; tasks in the same layer can run in parallel. Args: tasks: List of SwSTRING
HIGHagent/src/swarm/presets.py27Load a YAML preset by name. Args: name: Preset name (without .yaml extension). Returns: ParsedSTRING
HIGHagent/src/swarm/presets.py215Create a SwarmRun from a preset with user variables applied. Steps: 1. Load preset YAML 2. Create SSTRING
HIGHagent/src/swarm/runtime.py93Start a swarm run. Returns immediately, execution happens in background. Args: preset_name: YAML prSTRING
HIGHagent/src/tools/stock_news_tool.py154Fetch China-market news headlines for a query from Eastmoney. Args: query: Free-text search term (bare codeSTRING
HIGHagent/src/tools/stock_news_tool.py217Fetch US/HK related-instrument matches for a query via Yahoo search. Yahoo's public search endpoint also carries a STRING
HIGHagent/src/tools/trade_journal_parsers.py61Load a CSV/Excel file into a DataFrame with encoding fallback. Args: path: Path to the file (.csv/.xlsx/.xlSTRING
HIGHagent/src/tools/trade_journal_parsers.py335End-to-end: load file, detect format, parse. Args: path: File path. Returns: (format_name, recSTRING
HIGHagent/src/tools/trade_journal_tool.py394Parse a trade journal and return a JSON analysis. Args: file_path: Path to CSV/Excel file. analysisSTRING
HIGHagent/src/tools/dragon_tiger_tool.py38Normalize a ``YYYY-MM-DD`` (or already-compact) date for the API filter. Args: date: A trade date such as `STRING
HIGHagent/src/tools/dragon_tiger_tool.py72Pull one page of datacenter rows for a report, tolerating empty results. Args: report_name: Eastmoney ``repSTRING
HIGHagent/src/tools/mcp.py125Build local tool wrappers for a configured MCP server. Args: server_name: Logical server name from config. STRING
HIGHagent/src/tools/mcp.py514Call a remote tool with timeout and no automatic retry. Args: remote_name: Remote tool name. STRING
68 more matches not shown…
Excessive Try-Catch Wrapping644 hits · 614 pts
SeverityFileLineSnippetContext
LOWagent/mcp_server.py1008 except Exception:CODE
LOWagent/mcp_server.py979 except Exception:CODE
LOWagent/tests/test_mcp_server_smoke.py97 except Exception:CODE
LOWagent/tests/test_mcp_server_smoke.py233 except Exception:CODE
LOWagent/tests/test_mcp_regression.py64 except Exception as exc: # noqa: BLE001CODE
LOWagent/tests/test_mcp_regression.py112 except Exception as exc: # noqa: BLE001CODE
LOWagent/tests/test_env_schema.py352 except Exception as exc: # noqa: BLE001CODE
LOWagent/tests/factors/test_lookahead.py137 except Exception: # noqa: BLE001 — be loud only at test timeCODE
MEDIUMagent/tests/factors/test_lookahead.py134def _registered_alpha_ids() -> list[str]:CODE
LOWagent/cli/completer.py36 except Exception: # noqa: BLE001 — never block typeahead on theme importCODE
LOWagent/cli/stream.py140 except Exception: # noqa: BLE001 — Rich shutdown can raceCODE
LOWagent/cli/stream.py158 except Exception: # noqa: BLE001CODE
LOWagent/cli/stream.py193 except Exception: # noqa: BLE001CODE
MEDIUMagent/cli/main.py523def _worker() -> None:CODE
LOWagent/cli/main.py456 except Exception: # noqa: BLE001 — persistence is best-effortCODE
LOWagent/cli/main.py465 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py528 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py636 except Exception as exc: # noqa: BLE001 — never let a handler kill the loopCODE
LOWagent/cli/main.py149 except Exception: # noqa: BLE001 — never block startup on statsCODE
LOWagent/cli/main.py165 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py180 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py286 except Exception: # noqa: BLE001 — legacy will load again laterCODE
LOWagent/cli/main.py387 except Exception: # noqa: BLE001 — persistence error → empty historyCODE
LOWagent/cli/main.py416 except Exception: # noqa: BLE001 — never block the turn on persistenceCODE
LOWagent/cli/main.py425 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py481 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py656 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py858 except Exception as exc: # noqa: BLE001 — never let a halt failure kill the loopCODE
LOWagent/cli/main.py883 except Exception as exc: # noqa: BLE001 — never let a resume failure kill the loopCODE
LOWagent/cli/main.py921 except Exception as exc: # noqa: BLE001 — never let a connector command kill the loopCODE
LOWagent/cli/main.py935 except Exception as exc: # noqa: BLE001 # QVERIS-INTEGRATIONCODE
LOWagent/cli/main.py1060 except Exception as exc: # noqa: BLE001 — surface a clean error to the userCODE
LOWagent/cli/main.py1138 except Exception: # noqa: BLE001CODE
LOWagent/cli/main.py1165 except Exception as exc: # noqa: BLE001 — fall back gracefully if prompt_toolkit brokenCODE
LOWagent/cli/main.py1172 except Exception: # noqa: BLE001CODE
LOWagent/cli/_legacy.py2781 except Exception as exc:CODE
LOWagent/cli/_legacy.py341 except Exception:CODE
LOWagent/cli/_legacy.py385 except Exception:CODE
LOWagent/cli/_legacy.py395 except Exception:CODE
LOWagent/cli/_legacy.py948 except Exception: # noqa: BLE001 — relay must never break the turnCODE
LOWagent/cli/_legacy.py1020 except Exception: # noqa: BLE001 — capture must never kill the turnCODE
LOWagent/cli/_legacy.py1035 except Exception: # noqa: BLE001 — relay must never kill the turnCODE
LOWagent/cli/_legacy.py2470 except Exception as exc:CODE
LOWagent/cli/_legacy.py2716 except Exception:CODE
LOWagent/cli/_legacy.py2866 except Exception as exc: # noqa: BLE001 — surface a clean error to the userCODE
LOWagent/cli/_legacy.py2883 except Exception as exc: # noqa: BLE001 - CLI should explain offline API cleanlyCODE
LOWagent/cli/_legacy.py3065 except Exception as exc: # noqa: BLE001 # QVERIS-INTEGRATIONCODE
LOWagent/cli/_legacy.py3126 except Exception as exc: # noqa: BLE001 # QVERIS-INTEGRATIONCODE
LOWagent/cli/_legacy.py3174 except Exception: # noqa: BLE001 — diagnostics must not mask the real CLI errorCODE
LOWagent/cli/_legacy.py3287 except Exception as exc: # noqa: BLE001 — surface any handshake failureCODE
LOWagent/cli/_legacy.py3358 except Exception: # noqa: BLE001 — liveness lands concurrently; degrade cleanlyCODE
LOWagent/cli/_legacy.py3364 except Exception as exc: # noqa: BLE001 — never let a status read raiseCODE
LOWagent/cli/_legacy.py3375 except Exception: # noqa: BLE001CODE
LOWagent/cli/_legacy.py3702 except Exception: # noqa: BLE001 — runtime lands concurrently; fall back to a waitCODE
LOWagent/cli/_legacy.py3713 except Exception: # noqa: BLE001CODE
LOWagent/cli/_legacy.py3860 except Exception as exc: # noqa: BLE001CODE
LOWagent/cli/_legacy.py3944 except Exception as exc: # noqa: BLE001CODE
LOWagent/cli/_legacy.py3966 except Exception as exc: # noqa: BLE001CODE
LOWagent/cli/_legacy.py4017 except Exception as exc: # noqa: BLE001CODE
LOWagent/cli/_legacy.py4079 except Exception as exc: # noqa: BLE001CODE
584 more matches not shown…
AI Structural Patterns211 hits · 204 pts
SeverityFileLineSnippetContext
LOWagent/mcp_server.py293CODE
LOWagent/mcp_server.py807CODE
LOWagent/mcp_server.py838CODE
LOWagent/cli/_legacy.py978CODE
LOWagent/cli/_legacy.py4052CODE
LOWagent/cli/_legacy.py4103CODE
LOWagent/backtest/loaders/tushare_fundamentals.py180CODE
LOWagent/src/tools/__init__.py66CODE
LOWagent/src/tools/pattern_tool.py90CODE
LOWagent/src/hypotheses/registry.py214CODE
LOWagent/src/factors/zoo/alpha101/alpha_018.py63CODE
LOWagent/src/factors/zoo/alpha101/alpha_049.py99CODE
LOWagent/src/factors/zoo/alpha101/alpha_059.py95CODE
LOWagent/src/factors/zoo/alpha101/alpha_008.py77CODE
LOWagent/src/factors/zoo/alpha101/alpha_028.py64CODE
LOWagent/src/factors/zoo/alpha101/alpha_079.py100CODE
LOWagent/src/factors/zoo/alpha101/alpha_069.py98CODE
LOWagent/src/factors/zoo/alpha101/alpha_038.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_029.py89CODE
LOWagent/src/factors/zoo/alpha101/alpha_078.py72CODE
LOWagent/src/factors/zoo/alpha101/alpha_068.py67CODE
LOWagent/src/factors/zoo/alpha101/alpha_039.py68CODE
LOWagent/src/factors/zoo/alpha101/alpha_019.py76CODE
LOWagent/src/factors/zoo/alpha101/alpha_048.py110CODE
LOWagent/src/factors/zoo/alpha101/alpha_058.py94CODE
LOWagent/src/factors/zoo/alpha101/alpha_009.py86CODE
LOWagent/src/factors/zoo/alpha101/alpha_077.py69CODE
LOWagent/src/factors/zoo/alpha101/alpha_026.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_084.py68CODE
LOWagent/src/factors/zoo/alpha101/alpha_012.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_043.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_053.py64CODE
LOWagent/src/factors/zoo/alpha101/alpha_002.py63CODE
LOWagent/src/factors/zoo/alpha101/alpha_094.py64CODE
LOWagent/src/factors/zoo/alpha101/alpha_036.py83CODE
LOWagent/src/factors/zoo/alpha101/alpha_067.py98CODE
LOWagent/src/factors/zoo/alpha101/alpha_047.py86CODE
LOWagent/src/factors/zoo/alpha101/alpha_016.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_022.py63CODE
LOWagent/src/factors/zoo/alpha101/alpha_073.py70CODE
LOWagent/src/factors/zoo/alpha101/alpha_080.py100CODE
LOWagent/src/factors/zoo/alpha101/alpha_090.py97CODE
LOWagent/src/factors/zoo/alpha101/alpha_063.py105CODE
LOWagent/src/factors/zoo/alpha101/alpha_032.py76CODE
LOWagent/src/factors/zoo/alpha101/alpha_006.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_057.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_046.py99CODE
LOWagent/src/factors/zoo/alpha101/alpha_017.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_023.py91CODE
LOWagent/src/factors/zoo/alpha101/alpha_072.py66CODE
LOWagent/src/factors/zoo/alpha101/alpha_081.py80CODE
LOWagent/src/factors/zoo/alpha101/alpha_091.py97CODE
LOWagent/src/factors/zoo/alpha101/alpha_062.py74CODE
LOWagent/src/factors/zoo/alpha101/alpha_033.py62CODE
LOWagent/src/factors/zoo/alpha101/alpha_007.py92CODE
LOWagent/src/factors/zoo/alpha101/alpha_056.py78CODE
LOWagent/src/factors/zoo/alpha101/alpha_076.py100CODE
LOWagent/src/factors/zoo/alpha101/alpha_027.py98CODE
LOWagent/src/factors/zoo/alpha101/alpha_085.py67CODE
LOWagent/src/factors/zoo/alpha101/alpha_013.py62CODE
151 more matches not shown…
Modern Structural Boilerplate181 hits · 184 pts
SeverityFileLineSnippetContext
LOWtools/ci_env_var_gate.py89 def _set_source(self, source: str) -> None:CODE
LOWagent/api_server.py113logger = logging.getLogger(__name__)CODE
LOWagent/mcp_server.py74logger = logging.getLogger(__name__)CODE
LOWagent/cli/onboard.py534__all__ = ["run_onboarding", "PROVIDERS", "Provider", "BACK", "CANCEL"]CODE
LOWagent/cli/theme.py235__all__ = [CODE
LOWagent/cli/_version.py46__all__ = ["__version__"]CODE
LOWagent/cli/__init__.py103__all__ = ["main", *sorted(CODE
LOWagent/cli/completer.py115__all__ = ["SlashCompleter"]CODE
LOWagent/cli/stream.py144 def set_extra(self, extra: str) -> None:CODE
LOWagent/cli/stream.py339__all__ = [CODE
LOWagent/cli/input.py380__all__ = [CODE
LOWagent/cli/main.py1449__all__ = ["main", "InteractiveContext"]CODE
LOWagent/cli/intro.py5__all__ = ["print_banner"]CODE
LOWagent/cli/ui/__init__.py7__all__ = [CODE
LOWagent/cli/utils/__init__.py11__all__ = [CODE
LOWagent/cli/utils/format.py157__all__ = ["format_duration", "format_tokens", "abbreviate_num"]CODE
LOWagent/cli/utils/thinking_verbs.py41__all__ = ["pick_thinking_verb", "THINKING_VERBS"]CODE
LOWagent/cli/components/chat_log.py77__all__ = ["render_history"]CODE
LOWagent/cli/components/tool_event.py218__all__ = ["render_tool_event", "render_tool_events"]CODE
LOWagent/cli/components/hint_bar.py67__all__ = ["render_hint_bar"]CODE
LOWagent/cli/components/working_indicator.py107 def update_verb(self, verb: str) -> None:CODE
LOWagent/cli/components/working_indicator.py144__all__ = ["ThinkingSpinner"]CODE
LOWagent/cli/components/__init__.py12__all__ = [CODE
LOWagent/cli/commands/show.py86__all__ = ["run", "cmd_show", "cmd_skill", "cmd_pine"]CODE
LOWagent/cli/commands/memory.py67__all__ = ["run", "cmd_memory"]CODE
LOWagent/cli/commands/session.py98__all__ = ["run", "cmd_history", "cmd_search", "cmd_export"]CODE
LOWagent/cli/commands/__init__.py13__all__ = [CODE
LOWagent/cli/commands/chat.py247__all__ = [CODE
LOWagent/cli/commands/goal.py395__all__ = [CODE
LOWagent/cli/commands/help.py64__all__ = ["run"]CODE
LOWagent/backtest/runner.py47logger = logging.getLogger(__name__)CODE
LOWagent/backtest/correlation.py16logger = logging.getLogger(__name__)CODE
LOWagent/backtest/engines/base.py41logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/okx.py15logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/akshare_loader.py18logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/alphavantage_loader.py33logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/ccxt_loader.py28logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/yfinance_loader.py12logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/local_loader.py44logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/eastmoney_loader.py27logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/registry.py17logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/_http.py31logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/futu.py18logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/_fundamental_schema.py220__all__ = [CODE
LOWagent/backtest/loaders/fmp_loader.py30logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/yahoo_loader.py26logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/sec_edgar_client.py37logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/tencent_loader.py21logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/rsshub_events.py38logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/yahoo_client.py40logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/longbridge.py40logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/stooq_loader.py33logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/fundamentals_loader.py25logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/qveris_loader.py34logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/baostock_loader.py20logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/eastmoney_client.py30logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/tushare.py16logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/tiingo_loader.py27logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/sina_loader.py28logger = logging.getLogger(__name__)CODE
LOWagent/backtest/loaders/base.py24logger = logging.getLogger(__name__)CODE
121 more matches not shown…
Deep Nesting155 hits · 130 pts
SeverityFileLineSnippetContext
LOWtools/ci_env_var_gate.py199CODE
LOWagent/tests/test_market_data_tool.py51CODE
LOWagent/tests/test_no_set_mandate_tool.py46CODE
LOWagent/tests/test_no_set_mandate_tool.py67CODE
LOWagent/tests/test_consent_commit.py466CODE
LOWagent/tests/test_mcp_server_http_transport.py50CODE
LOWagent/tests/factors/test_alpha_purity.py200CODE
LOWagent/tests/factors/test_alpha_purity.py172CODE
LOWagent/cli/stream.py185CODE
LOWagent/cli/input.py121CODE
LOWagent/cli/main.py549CODE
LOWagent/cli/main.py1113CODE
LOWagent/cli/_legacy.py978CODE
LOWagent/cli/_legacy.py1786CODE
LOWagent/cli/_legacy.py1845CODE
LOWagent/cli/_legacy.py2125CODE
LOWagent/cli/_legacy.py2351CODE
LOWagent/cli/_legacy.py3667CODE
LOWagent/cli/_legacy.py5237CODE
LOWagent/cli/_legacy.py1012CODE
LOWagent/cli/_legacy.py1979CODE
LOWagent/cli/_legacy.py2042CODE
LOWagent/cli/ui/rail.py319CODE
LOWagent/backtest/runner.py353CODE
LOWagent/backtest/runner.py380CODE
LOWagent/backtest/runner.py808CODE
LOWagent/backtest/runner.py1043CODE
LOWagent/backtest/engines/global_futures.py147CODE
LOWagent/backtest/engines/china_futures.py157CODE
LOWagent/backtest/engines/options_portfolio.py225CODE
LOWagent/backtest/engines/composite.py25CODE
LOWagent/backtest/loaders/rsshub_events.py501CODE
LOWagent/backtest/loaders/longbridge.py227CODE
LOWagent/backtest/loaders/fundamentals_loader.py46CODE
LOWagent/backtest/loaders/qveris_loader.py440CODE
LOWagent/backtest/loaders/baostock_loader.py51CODE
LOWagent/backtest/loaders/tushare.py174CODE
LOWagent/backtest/loaders/tushare.py229CODE
LOWagent/src/ui_services.py100CODE
LOWagent/src/ui_services.py303CODE
LOWagent/src/ui_services.py402CODE
LOWagent/src/market_data.py80CODE
LOWagent/src/swarm/worker.py297CODE
LOWagent/src/swarm/task_store.py203CODE
LOWagent/src/swarm/runtime.py211CODE
LOWagent/src/swarm/runtime.py461CODE
LOWagent/src/tools/alpha_zoo_tool.py97CODE
LOWagent/src/tools/sdm_decay_scan_tool.py59CODE
LOWagent/src/tools/__init__.py66CODE
LOWagent/src/tools/read_file_tool.py33CODE
LOWagent/src/tools/mcp.py760CODE
LOWagent/src/tools/web_search_tool.py173CODE
LOWagent/src/tools/report_audit_tool.py79CODE
LOWagent/src/tools/report_audit_tool.py226CODE
LOWagent/src/tools/report_audit_tool.py370CODE
LOWagent/src/tools/doc_reader_tool.py122CODE
LOWagent/src/tools/doc_reader_tool.py239CODE
LOWagent/src/tools/path_utils.py158CODE
LOWagent/src/tools/financial_rigor_tool.py518CODE
LOWagent/src/core/runner.py112CODE
95 more matches not shown…
Hallucination Indicators12 hits · 120 pts
SeverityFileLineSnippetContext
CRITICALagent/src/channels/feishu.py937 response = self._client.im.v1.message_reaction.create(request)CODE
CRITICALagent/src/channels/feishu.py978 response = self._client.im.v1.message_reaction.delete(request)CODE
CRITICALagent/src/channels/feishu.py1315 response = self._client.im.v1.image.create(request)CODE
CRITICALagent/src/channels/feishu.py1349 response = self._client.im.v1.file.create(request)CODE
CRITICALagent/src/channels/feishu.py1377 response = self._client.im.v1.message_resource.get(request)CODE
CRITICALagent/src/channels/feishu.py1412 response = self._client.im.v1.message_resource.get(request)CODE
CRITICALagent/src/channels/feishu.py1516 response = self._client.im.v1.message.get(request)CODE
CRITICALagent/src/channels/feishu.py1573 response = self._client.im.v1.message.reply(request)CODE
CRITICALagent/src/channels/feishu.py1623 response = self._client.im.v1.message.create(request)CODE
CRITICALagent/src/channels/feishu.py1675 response = self._client.cardkit.v1.card.create(request)CODE
CRITICALagent/src/channels/feishu.py1725 response = self._client.cardkit.v1.card_element.content(request)CODE
CRITICALagent/src/channels/feishu.py1757 response = self._client.cardkit.v1.card.settings(request)CODE
Structural Annotation Overuse66 hits · 116 pts
SeverityFileLineSnippetContext
LOWagent/src/swarm/presets/etf_allocation_desk.yaml209 ### Step 1: Three-Dimensional Trade-offCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml214 ### Step 2: Final Portfolio Weight DeterminationCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml220 ### Step 3: Portfolio Holdings FinalizationCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml224 ### Step 4: Historical Backtest ExecutionCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml230 ### Step 5: Portfolio Performance AttributionCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml73 ### Step 1: Unit-root preconditionsCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml80 ### Step 2: Cointegration testsCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml97 ### Step 3: Mean-reversion parametersCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml111 ### Step 4: Composite arb-value score (max 100)COMMENT
LOWagent/src/skills/thesis-tracker/SKILL.md23## Step 1: Decide the ModeCOMMENT
LOWagent/src/skills/performance-attribution/SKILL.md184### Step 1: Aggregate AnalysisCOMMENT
LOWagent/src/skills/performance-attribution/SKILL.md192### Step 2: Attribution DecompositionCOMMENT
LOWagent/src/skills/performance-attribution/SKILL.md200### Step 3: Style AnalysisCOMMENT
LOWagent/src/skills/performance-attribution/SKILL.md208### Step 4: Conclusions and RecommendationsCOMMENT
LOWagent/src/skills/dividend-analysis/SKILL.md39### Step 1: Normalize the DividendCOMMENT
LOWagent/src/skills/dividend-analysis/SKILL.md51### Step 2: Check CoverageCOMMENT
LOWagent/src/skills/dividend-analysis/SKILL.md67### Step 3: Diagnose Dividend Growth QualityCOMMENT
LOWagent/src/skills/dividend-analysis/SKILL.md84### Step 4: Check Balance Sheet FlexibilityCOMMENT
LOWagent/src/skills/dividend-analysis/SKILL.md96### Step 5: Separate Dividend Yield from Total ReturnCOMMENT
LOWagent/src/skills/valuation-model/SKILL.md27#### Step 1: Forecast free cash flow (usually 5 years)COMMENT
LOWagent/src/skills/valuation-model/SKILL.md44#### Step 2: Calculate WACCCOMMENT
LOWagent/src/skills/valuation-model/SKILL.md68#### Step 3: Terminal ValueCOMMENT
LOWagent/src/skills/valuation-model/SKILL.md78#### Step 4: Sensitivity AnalysisCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md19## Step 1: Super-Trend ConfirmationCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md32## Step 2: Physical Supply-Chain DecompositionCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md64## Step 3: Bottleneck Identification — Finding "Choke Points"COMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md79## Step 4: Company Screening — From Bottleneck to TickersCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md102## Step 5: Cross-Validation — Don't Trust a Single StoryCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md125## Step 6: Output — Bottleneck Opportunity BoardCOMMENT
LOWagent/src/skills/bottleneck-hunter/SKILL.md167## Step 7: Inventory Update — Maintain the Bottleneck MapCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md62### Step 1: Identify the Strategy TypeCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md75### Step 2: Extract the Signal Generation LogicCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md85### Step 3: Extract Entry ConditionsCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md94### Step 4: Extract Exit ConditionsCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md103### Step 5: Extract Position Sizing RulesCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md112### Step 6: Extract Risk Management ParametersCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md122### Step 7: Identify Required Data InputsCOMMENT
LOW…gy-dev-manager/references/strategy_extraction_guide.md131### Step 8: Map to SignalEngine Template ParametersCOMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py44 # Step 1: Compute raw factor values for each symbolCOMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py53 # Step 2: Cross-sectional rankingCOMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py78 # Step 3: Clip signals to [-1, 1]COMMENT
LOWagent/src/skills/macro-analysis/SKILL.md113### Step 1: Data Collection and Current-State DescriptionCOMMENT
LOWagent/src/skills/macro-analysis/SKILL.md122### Step 2: Cycle PositioningCOMMENT
LOWagent/src/skills/macro-analysis/SKILL.md133### Step 3: Policy Impact AssessmentCOMMENT
LOWagent/src/skills/macro-analysis/SKILL.md142### Step 4: Asset Allocation TiltCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md23## Step 1: Identify Key PeopleCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md39## Step 2: CEO Circle of CompetenceCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md60## Step 3: Integrity Assessment (most important)COMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md93## Step 4: Capital AllocationCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md118## Step 5: GovernanceCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md142## Step 6: Side ValidationCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md150## Step 7: Post-CEO ScenarioCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md159## Step 8: OutputCOMMENT
LOWagent/src/skills/management-deep-dive/SKILL.md181## Step 9: SaveCOMMENT
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
LOWagent/src/skills/correlation-analysis/SKILL.md371 # Step 1: estimate the cointegrating vector with OLS.COMMENT
LOWagent/src/skills/correlation-analysis/SKILL.md378 # Step 2: test residual stationarity with ADF.COMMENT
LOWagent/src/channels/dingtalk.py743 # Step 1: Exchange downloadCode for a temporary download URLCOMMENT
LOWagent/src/channels/dingtalk.py758 # Step 2: Download the file contentCOMMENT
6 more matches not shown…
AI Slop Vocabulary25 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMagent/tests/test_china_a_engine.py219 """A-share engine forces leverage=1."""STRING
MEDIUMagent/tests/test_crypto_engine.py285 """Spot (leverage=1) should never get liquidated."""STRING
MEDIUMagent/tests/test_equity_regression.py93 """Different leverage values produce correct margin calculations."""STRING
MEDIUMagent/tests/test_china_futures_engine.py279 """IF margin=12% → leverage≈8.33."""STRING
MEDIUMagent/tests/test_consent_commit.py83 # Cash-only ceiling => no profile may request leverage.COMMENT
MEDIUMagent/tests/test_consent_commit.py241# H9: commit-time ceiling re-check is alias-robust (no silent NO-OP)COMMENT
MEDIUMagent/tests/test_india_equity_engine.py146# apply_slippage + leverageCOMMENT
MEDIUMagent/tests/test_india_equity_engine.py155 # Cash delivery is forced to 1.0 leverage regardless of config input.COMMENT
MEDIUMagent/tests/test_mandate_enforcement.py197 # Leverage (quantitative): tiny funding makes 1x leverage breach.COMMENT
MEDIUMagent/backtest/engines/global_futures.py138 # Leverage: most futures have 5-15% margin → 7-20x leverage.COMMENT
MEDIUMagent/backtest/engines/global_futures.py140 # User can override via config["leverage"].COMMENT
MEDIUMagent/backtest/engines/china_futures.py140 # Derive leverage from margin rate of first code, or use config overrideCOMMENT
MEDIUMagent/backtest/engines/india_equity.py50 config = {**config, "leverage": 1.0} # cash delivery: no leverageCODE
MEDIUMagent/backtest/engines/china_a.py32 config = {**config, "leverage": 1.0} # A-shares: no leverageCODE
MEDIUMagent/src/swarm/worker.py51 """Resolve the heartbeat tick interval from env, robust to garbage values.STRING
MEDIUMagent/src/swarm/worker.py63 """Resolve the delay before the single stream retry, robust to garbage.STRING
MEDIUMagent/src/tools/propose_mandate_tool.py243 """Return the account type label ('cash' unless ceilings allow leverage)."""STRING
MEDIUMagent/src/live/enforcement.py477 # 5–6. Exposure + leverage need observable positions; fail-closed on anyCOMMENT
MEDIUMagent/src/live/enforcement.py496 # 6. Gross leverage = post-trade gross exposure / account_funding_usd.COMMENT
MEDIUMagent/src/live/mandate/commit.py61#: daily trade cap, leverage, and instruments.COMMENT
MEDIUMagent/src/live/mandate/commit.py69 # leverage (single spelling, mapped for completeness)COMMENT
MEDIUMagent/src/live/mandate/commit.py306 # Cash-only ceiling forbids any leverage other than "none".COMMENT
MEDIUMagent/src/channels/dingtalk.py59 # Parse using SDK's ChatbotMessage for robust handlingCOMMENT
MEDIUMagent/src/channels/signal.py687 # Keep aliases of the bot account for robust mention matching.COMMENT
LOWagent/src/channels/weixin.py685 # If quoted message is media, just pass the textCOMMENT
Verbosity Indicators22 hits · 39 pts
SeverityFileLineSnippetContext
LOWagent/src/swarm/presets/etf_allocation_desk.yaml209 ### Step 1: Three-Dimensional Trade-offCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml214 ### Step 2: Final Portfolio Weight DeterminationCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml220 ### Step 3: Portfolio Holdings FinalizationCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml224 ### Step 4: Historical Backtest ExecutionCOMMENT
LOWagent/src/swarm/presets/etf_allocation_desk.yaml230 ### Step 5: Portfolio Performance AttributionCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml73 ### Step 1: Unit-root preconditionsCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml80 ### Step 2: Cointegration testsCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml97 ### Step 3: Mean-reversion parametersCOMMENT
LOWagent/src/swarm/presets/pairs_research_lab.yaml111 ### Step 4: Composite arb-value score (max 100)COMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py44 # Step 1: Compute raw factor values for each symbolCOMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py53 # Step 2: Cross-sectional rankingCOMMENT
LOW…strategy-dev-manager/templates/factor_signal_engine.py78 # Step 3: Clip signals to [-1, 1]COMMENT
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
LOWagent/src/channels/dingtalk.py743 # Step 1: Exchange downloadCode for a temporary download URLCOMMENT
LOWagent/src/channels/dingtalk.py758 # Step 2: Download the file contentCOMMENT
LOWagent/src/channels/weixin.py1375 # Step 1: Get upload URL from server (prefer upload_full_url, fallback to upload_param)COMMENT
LOWagent/src/channels/weixin.py1399 # Step 2: AES-128-ECB encrypt and POST to CDNCOMMENT
LOWagent/src/channels/weixin.py1427 # Step 3: Send message with the media itemCOMMENT
LOWagent/src/channels/wecom.py438 # Step 1: initCOMMENT
LOWagent/src/channels/wecom.py455 # Step 2: send chunksCOMMENT
LOWagent/src/channels/wecom.py467 # Step 3: finishCOMMENT
Cross-Language Confusion9 hits · 36 pts
SeverityFileLineSnippetContext
HIGHagent/api_server.py363 print("[warn] Run: cd frontend && npm run build")CODE
HIGHagent/tests/test_kimi_reasoning_content.py511 content=null; Moonshot kimi-k2.6 rejects that, so we normalize to ''."""STRING
HIGHagent/tests/factors/test_bench_strict.py71 assert not a.equals(b)CODE
HIGHagent/cli/_legacy.py5178 Windows footgun. Equivalent to running ``cd frontend && npm installSTRING
HIGHagent/backtest/loaders/ccxt_loader.py204 if trade is None or mark is None or not trade.index.equals(mark.index):CODE
HIGHagent/backtest/loaders/yahoo_client.py223 # A non-trading slot leaves OHLC null; skip rather than emit a NaN bar.COMMENT
HIGHagent/scripts/w4a_run_benches.py4 cd agent && python scripts/w4a_run_benches.pySTRING
HIGHagent/src/swarm/serialization.py44 Returns ``None`` (an explicit null, not an absent key) when no task carriesSTRING
HIGHagent/src/factors/bench_runner_strict.py188 """One-sample t-stat against zero (returns 0.0 if undefined)."""STRING
Over-Commented Block23 hits · 20 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml21 - vibe-sessions:/app/agent/sessionsCOMMENT
LOWrequirements-lock.txt1# Fully-pinned, hash-verified lock of the CORE runtime dependencies (the setCOMMENT
LOWrequirements-lock.txt161 # via fastapiCOMMENT
LOWrequirements-lock.txt1541 # -r agent/requirements.txtCOMMENT
LOWrequirements-lock.txt3241 # ccxtCOMMENT
LOWrequirements-lock.txt3761 --hash=sha256:f578fb778868c0b744ac9173a837b695fd82e8d1b1e0d39c1f882b0e4fef7ecbCOMMENT
LOWrequirements-lock.txt3781 # py-key-value-aioCOMMENT
LOWtools/ci_grep_gates.sh1#!/usr/bin/env bashCOMMENT
LOWfrontend/src/components/layout/Layout.tsx261 </div>COMMENT
LOWwiki/functions/_middleware.js1// In-path traffic classifier for vibetrading.wiki (Cloudflare Pages Function).COMMENT
LOWwiki/functions/api/stats.js1// GET /api/stats — aggregate numbers for the wiki footer.COMMENT
LOWagent/mcp_server.py1081 end_date=end_date,COMMENT
LOWagent/cli/main.py801COMMENT
LOWagent/cli/_legacy.py901COMMENT
LOWagent/cli/_legacy.py2781 except Exception as exc:COMMENT
LOWagent/cli/_legacy.py5081# Cross-platform frontend setup / dev commands.COMMENT
LOWagent/backtest/runner.py241 f"Executable class-level statement {type(child).__name__} is not allowed"COMMENT
LOWagent/src/config/schema.py21 "ibkr.com": "ibkr",COMMENT
LOWagent/src/config/schema.py181# Canonical seed for the operator-side ``~/.vibe-trading/agent.json`` mcpServersCOMMENT
LOWagent/src/live/enforcement.py61 AssetClass.IN_EQUITY: "india_equity",COMMENT
LOWagent/src/live/halt.py201# cancelling resting orders and (per mandate) flattening positions, instead ofCOMMENT
LOWagent/src/live/runtime/runner.py101COMMENT
LOWagent/src/skills/pine-script/SKILL.md81// [Group inputs logically with input.int(), input.float(), input.string()]COMMENT
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMagent/backtest/loaders/rsshub_events.py48#: knowable only on the next calendar day, matching the event-driven skill'sCOMMENT
MEDIUMagent/backtest/loaders/sina_loader.py40# assignment/paren scaffolding around it.COMMENT
MEDIUMagent/src/tools/block_trades_tool.py40# context window. Eastmoney paginates; we pull one bounded page.COMMENT
MEDIUMagent/src/config/schema.py25# bypassable: a Robinhood agentic URL placed under any other key (e.g. ``rh``)COMMENT
MEDIUMagent/src/providers/capabilities.py92# GLM thinking models (glm-4.5+/glm-5.x) stream the chain-of-thought asCOMMENT
Self-Referential Comments2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMagent/tests/test_session_search.py203 # Create a fake session directoryCOMMENT
MEDIUMagent/tests/test_strategy_store.py847 # Create a new store instance pointing to the same DBCOMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWfrontend/src/i18n/locales/ja.json364 "placeholder": "例: 000001.SZ のデュアル MA クロスオーバー戦略を作成し、2024 年をバックテストする",CODE
LOWfrontend/src/i18n/locales/zh-CN.json364 "placeholder": "例如:为 000001.SZ 创建双均线交叉策略,回测 2024 年",CODE
LOWfrontend/src/i18n/locales/en.json369 "placeholder": "e.g. Create a dual MA crossover strategy for 000001.SZ, backtest 2024",CODE
LOWfrontend/src/i18n/locales/ko.json364 "placeholder": "예: 000001.SZ에 대한 듀얼 MA 크로스오버 전략을 만들고 2024년 백테스트 수행",CODE
LOWfrontend/src/i18n/locales/ar.json364 "placeholder": "مثال: أنشئ استراتيجية تقاطع MA مزدوجة لـ 000001.SZ، واختبرها عكسيًا لعام 2024",CODE
LOWagent/tests/test_settings_api.py60@pytest.mark.parametrize("placeholder", ["sk-xxx", "xxx", "gsk_xxx"])CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…trategy-dev-manager/references/scheduled_decay_scan.md66 -H "Authorization: Bearer <your-api-key>" \CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWagent/src/channels/wecom.py418 # Read file size and data in a thread to avoid blocking the event loopCOMMENT
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWagent/tests/test_skill_writer_tools.py279 path="templates/helper.py", content="def helper(): pass",CODE
Example Usage Blocks1 hit · 0 pts
SeverityFileLineSnippetContext
LOWagent/src/tools/skill_writer_tool.py8 examples/ # Example usageSTRING