Open-source AI Trading OS, agent trading, and vibe trading, with Jev System One integration. Research, build Python strategies, backtest, and paper/live trade across crypto, stocks, and forex. Launch your own multi-tenant trading SaaS with built-in user management, billing, payments, and settlement.
This report summarizes scanner evidence for OpenByteInc/QuantDinger, a Python project with 13,357 GitHub stars. SynthScan examined 301,348 lines of code across 1155 source files, recording 7871 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 31.2 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 4356 finding(s).
Are imports declared and package/API names verified? 771 finding(s).
Are wrappers, guards, and repeated structures necessary? 6569 finding(s).
Which changes need focused human review? 7871 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 7871 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/bootstrap_env.py | 84 | def _password_from_database_url(value: str) -> str: | CODE |
| LOW | scripts/bootstrap_env.py | 136 | def _has_existing_database_volume(compose_file: Path) -> bool: | CODE |
| LOW | mcp_server/tests/test_transport_resolution.py | 39 | def test_transport_default_is_stdio(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 56 | def test_transport_aliases_resolve(monkeypatch, fresh_module, raw, expected): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 61 | def test_transport_unknown_exits(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 67 | def test_apply_http_settings_without_error(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 78 | def test_non_loopback_http_requires_auth(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 86 | def test_non_loopback_http_accepts_distinct_strong_auth(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 94 | def test_non_loopback_authenticated_http_requires_https(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_transport_resolution.py | 104 | def test_invalid_numeric_env_uses_default(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 32 | def test_mcp_tool_registry_complete(fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 39 | def test_gateway_tools_do_not_advertise_an_inferred_result_wrapper(fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 46 | def test_success_payload_is_preserved_without_a_result_wrapper(monkeypatch, fresh_module, body): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 53 | def test_health_failures_set_protocol_error(fresh_module, monkeypatch, failure): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 135 | def test_protocol_guard_denial_and_error_redaction(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 145 | def test_successful_empty_snapshot_is_not_an_error(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 153 | def test_strategy_authoring_contract_uses_agent_gateway(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 165 | def test_package_version_matches_pyproject(): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 175 | def test_protocol_server_version_matches_package(fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 181 | def test_create_strategy_uses_canonical_deployment_payload(monkeypatch, fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 246 | def test_stop_strategy_requires_confirmation(fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 252 | def test_place_quick_order_requires_confirmation(fresh_module): | CODE |
| LOW⚡ | mcp_server/tests/test_security_and_tools.py | 258 | def test_indicator_code_size_rejected_in_mcp(monkeypatch, fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 74 | def test_health_success_stays_success(fresh_module, monkeypatch): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 85 | def test_mcp_tools_are_actually_registered(fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 90 | def test_every_tool_has_explicit_risk_annotations(fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 111 | def test_protocol_marks_gateway_and_business_failures(monkeypatch, fresh_module, status, body): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 124 | def test_protocol_marks_transport_failures(monkeypatch, fresh_module, exception_type): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 220 | def test_quick_order_forwards_native_protection(monkeypatch, fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 294 | def test_compile_strategy_code_forwards_idempotency_key(monkeypatch, fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 309 | def test_strategy_source_workspace_payloads(monkeypatch, fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 352 | def test_source_restore_and_paper_cancel_require_confirmation(fresh_module): | CODE |
| LOW | mcp_server/tests/test_security_and_tools.py | 372 | def test_redaction_handles_camel_case_and_deep_values(): | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 558 | def get_indicator_authoring_contract() -> Any: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 679 | def get_strategy_authoring_contract() -> Any: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 762 | def list_strategy_source_versions(source_id: int) -> Any: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 768 | def restore_strategy_source_version( | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 1000 | def list_strategy_pending_orders(strategy_id: int, limit: int = 50, cursor: int = 0) -> Any: | CODE |
| LOW⚡ | mcp_server/src/quantdinger_mcp/server.py | 1111 | def _apply_http_settings_from_env() -> None: | CODE |
| LOW⚡ | mcp_server/src/quantdinger_mcp/server.py | 1132 | def _validate_network_security(transport: str) -> None: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 31 | def assert_indicator_code_size(code: str) -> None: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 74 | def start_pending_order_worker(): | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 99 | def start_execution_stream_supervisor(): | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 190 | def _schedule_post_restore_position_sync() -> None: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 261 | def _start_scheduler_services(*, include_celery_managed: bool = False) -> None: | CODE |
| LOW | backend_api_python/app/startup.py | 46 | def get_execution_stream_supervisor(): | CODE |
| LOW | backend_api_python/app/startup.py | 55 | def _is_debug_reloader_parent() -> bool: | CODE |
| LOW | backend_api_python/app/startup.py | 144 | def restore_running_strategies(): | CODE |
| LOW | backend_api_python/app/startup.py | 239 | def _start_trading_support_services(*, lease_guard=None) -> None: | CODE |
| LOW | backend_api_python/app/startup.py | 250 | def stop_trading_support_services() -> None: | CODE |
| LOW | backend_api_python/app/research/intelligence.py | 185 | def build_research_intelligence( | CODE |
| LOW | backend_api_python/app/tasks/indicator_translation.py | 16 | def translate_indicator_metadata( | CODE |
| LOW | backend_api_python/app/config/redis_urls.py | 38 | def celery_result_backend_url() -> str: | CODE |
| LOW | backend_api_python/app/runtime/roles.py | 29 | def strategy_commands_enabled() -> bool: | CODE |
| LOW | backend_api_python/app/utils/auth.py | 23 | def _configure_jwt_secret_warnings() -> None: | CODE |
| LOW | backend_api_python/app/utils/db.py | 110 | def _resolve_market_symbols_sql_path() -> Path: | CODE |
| LOW | backend_api_python/app/utils/db.py | 114 | def _resolve_strategy_templates_sql_path() -> Path: | CODE |
| LOW | backend_api_python/app/utils/db.py | 127 | def _migration_timeout_seconds(name: str, default: int) -> int: | STRING |
| LOW | backend_api_python/app/utils/db.py | 184 | def _apply_migration_component( | STRING |
| LOW⚡ | backend_api_python/app/utils/local_brokers.py | 8 | def local_desktop_brokers_allowed() -> bool: | CODE |
| 3739 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check_version.py | 39 | except Exception: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 226 | except Exception: | CODE |
| LOW⚡ | mcp_server/src/quantdinger_mcp/server.py | 1120 | except Exception: | CODE |
| LOW⚡ | mcp_server/src/quantdinger_mcp/server.py | 1125 | except Exception: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 84 | except Exception: | CODE |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 109 | except Exception: | CODE |
| LOW | backend_api_python/run.py | 14 | except Exception: | CODE |
| LOW | backend_api_python/run.py | 28 | except Exception: | CODE |
| LOW | backend_api_python/env_sync_core.py | 88 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 70 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 81 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 95 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 103 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 177 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 179 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 185 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 196 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 269 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 276 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 285 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/startup.py | 291 | except Exception: | CODE |
| LOW | backend_api_python/app/startup.py | 140 | except Exception as e: | CODE |
| LOW | backend_api_python/app/startup.py | 207 | except Exception as exc: | CODE |
| LOW | backend_api_python/app/_version.py | 66 | except Exception: | CODE |
| LOW | backend_api_python/app/__init__.py | 21 | except Exception: | CODE |
| LOW | backend_api_python/app/__init__.py | 105 | except Exception as exc: | CODE |
| LOW | backend_api_python/app/__init__.py | 126 | except Exception as sample_exc: | CODE |
| LOW | backend_api_python/app/__init__.py | 128 | except Exception as e: | CODE |
| MEDIUM | backend_api_python/app/__init__.py | 100 | def _configure_ibkr_asyncio() -> None: | CODE |
| MEDIUM | backend_api_python/app/__init__.py | 109 | def _bootstrap_database() -> None: | CODE |
| LOW | backend_api_python/app/tasks/agent_jobs.py | 76 | except Exception as exc: | CODE |
| LOW | backend_api_python/app/utils/json_helpers.py | 18 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/auth.py | 84 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/auth.py | 193 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/db.py | 238 | except Exception: | STRING |
| LOW | backend_api_python/app/utils/db.py | 241 | except Exception: | STRING |
| LOW | backend_api_python/app/utils/db.py | 365 | except Exception as exc: | STRING |
| LOW | backend_api_python/app/utils/db.py | 392 | except Exception as exc: | STRING |
| LOW | backend_api_python/app/utils/db.py | 398 | except Exception as exc: | STRING |
| LOW | backend_api_python/app/utils/config_loader.py | 34 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/config_loader.py | 229 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/config_loader.py | 311 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/request_guard.py | 37 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/request_guard.py | 107 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/request_guard.py | 129 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/timeutil.py | 29 | except Exception: # pragma: no cover - fallback for very old runtimes | CODE |
| LOW | backend_api_python/app/utils/timeutil.py | 45 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/timeutil.py | 80 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/timeutil.py | 95 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/safe_exec.py | 387 | except Exception as exc: | CODE |
| LOW | backend_api_python/app/utils/safe_exec.py | 569 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/safe_exec.py | 622 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/safe_exec.py | 1150 | except Exception: | CODE |
| LOW | backend_api_python/app/utils/cache.py | 90 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/utils/cache.py | 103 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/utils/cache.py | 111 | except Exception as e: | CODE |
| LOW⚡ | backend_api_python/app/utils/cache.py | 118 | except Exception as e: | CODE |
| LOW | backend_api_python/app/utils/trade_close_reason.py | 213 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/utils/trade_net_pnl.py | 39 | except Exception: | CODE |
| LOW⚡ | backend_api_python/app/utils/trade_net_pnl.py | 45 | except Exception: | CODE |
| 2057 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mcp_server/src/quantdinger_mcp/server.py | 1120 | except Exception: | CODE |
| HIGH | backend_api_python/run.py | 14 | except Exception: | CODE |
| HIGH | backend_api_python/run.py | 28 | except Exception: | CODE |
| HIGH | backend_api_python/env_sync_core.py | 91 | except FileNotFoundError: | CODE |
| HIGH | backend_api_python/app/__init__.py | 21 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db.py | 241 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/request_guard.py | 107 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/timeutil.py | 45 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/safe_exec.py | 484 | except ValueError: | CODE |
| HIGH | backend_api_python/app/utils/trade_net_pnl.py | 178 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/trade_net_pnl.py | 197 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 212 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 206 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 249 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 421 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 777 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 541 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 762 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 546 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/db_postgres.py | 563 | except Exception: | CODE |
| HIGH | backend_api_python/app/utils/agent_auth.py | 302 | except RuntimeError: | CODE |
| HIGH | backend_api_python/app/utils/safe_exec_worker.py | 155 | except Exception: | CODE |
| HIGH | backend_api_python/app/professional_report/snapshot.py | 33 | except (OverflowError, OSError, ValueError): | CODE |
| HIGH | backend_api_python/app/professional_report/snapshot.py | 50 | except ValueError: | CODE |
| HIGH | backend_api_python/app/data_providers/heatmap.py | 180 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/hk_research.py | 48 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/hk_research.py | 53 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/hk_research.py | 58 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/hk_research.py | 89 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/__init__.py | 326 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/us_research.py | 414 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/commodities.py | 92 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/news.py | 43 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_providers/news.py | 56 | except Exception: | CODE |
| HIGH | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 687 | except ImportError: | CODE |
| HIGH | backend_api_python/app/data_sources/forex.py | 76 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_sources/forex.py | 266 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_sources/futures.py | 43 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_sources/crypto.py | 680 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_sources/tencent.py | 92 | except Exception: | CODE |
| HIGH | backend_api_python/app/data_sources/asia_stock_kline.py | 136 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/auth.py | 798 | except (ValueError, TypeError): | CODE |
| HIGH | backend_api_python/app/routes/auth.py | 455 | except (ValueError, TypeError): | CODE |
| HIGH | backend_api_python/app/routes/user.py | 1035 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/user.py | 1395 | except (TypeError, ValueError): | CODE |
| HIGH | backend_api_python/app/routes/quick_trade.py | 647 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/ai_chat.py | 824 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/ai_chat.py | 889 | except (TypeError, ValueError, OSError, OverflowError): | CODE |
| HIGH | backend_api_python/app/routes/ai_chat.py | 1852 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/ai_chat.py | 3322 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/ai_chat.py | 3328 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/strategy_notifications.py | 96 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/dashboard.py | 497 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/dashboard.py | 596 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/dashboard.py | 742 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/fast_analysis.py | 304 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/fast_analysis.py | 287 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/fast_analysis.py | 292 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/strategy_ledger_routes.py | 106 | except Exception: | CODE |
| HIGH | backend_api_python/app/routes/strategy_ledger_routes.py | 373 | except Exception: | CODE |
| 215 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker-compose.yml | 96 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 98 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 130 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 132 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 260 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 262 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 616 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 618 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 652 | # ======================== | COMMENT |
| MEDIUM | docker-compose.yml | 654 | # ======================== | COMMENT |
| MEDIUM | docs/deployment/NOTIFICATION_SMS_CONFIG_CN.md | 93 | # ========================= | COMMENT |
| MEDIUM | docs/deployment/NOTIFICATION_SMS_CONFIG_CN.md | 95 | # ========================= | COMMENT |
| MEDIUM⚡ | docs/deployment/NOTIFICATION_EMAIL_CONFIG_EN.md | 72 | # ========================= | COMMENT |
| MEDIUM⚡ | docs/deployment/NOTIFICATION_EMAIL_CONFIG_EN.md | 74 | # ========================= | COMMENT |
| MEDIUM⚡ | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 92 | # ========================= | COMMENT |
| MEDIUM⚡ | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 94 | # ========================= | COMMENT |
| MEDIUM | docs/deployment/NOTIFICATION_EMAIL_CONFIG_CN.md | 74 | # ========================= | COMMENT |
| MEDIUM | docs/deployment/NOTIFICATION_EMAIL_CONFIG_CN.md | 76 | # ========================= | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_jobs.py | 283 | # ──────────────────────────── progress / streaming ──────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 350 | # ─────────────────────────── verification ─────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 393 | # ─────────────────────────── audit ─────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 483 | # ─────────────────────────── decorator ─────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 739 | # ─────────────────────────── idempotency ─────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 776 | # ─────────────────────────── helpers for routes ─────────────────────────── | COMMENT |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 202 | # ─────────────────────────── token primitives ─────────────────────────── | STRING |
| MEDIUM | backend_api_python/app/utils/agent_auth.py | 245 | # ─────────────────────────── distributed rate limit ─────────────────────────── | STRING |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/__init__.py | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_providers/opportunities.py | 232 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_providers/opportunities.py | 234 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/opportunities.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_providers/opportunities.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 520 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 522 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 99 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 373 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kend_api_python/app/data_sources/cn_hk_fundamentals.py | 375 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/forex.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/forex.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/cache_manager.py | 171 | # ============================================ | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/cache_manager.py | 172 | # ============================================ | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/futures.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/futures.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/circuit_breaker.py | 152 | # ============================================ | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/circuit_breaker.py | 153 | # ============================================ | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 106 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 126 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 128 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 324 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/data_sources/asia_stock_kline.py | 326 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/asia_stock_kline.py | 486 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend_api_python/app/data_sources/asia_stock_kline.py | 488 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend_api_python/app/routes/auth.py | 140 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | backend_api_python/app/routes/auth.py | 142 | # ============================================================================= | COMMENT |
| 154 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/sync_env.py | 4 | CODE | |
| LOW | scripts/sync_env.py | 14 | CODE | |
| LOW | scripts/check_mojibake.py | 9 | CODE | |
| LOW | scripts/check_docs.py | 4 | CODE | |
| LOW | scripts/bootstrap_env.py | 4 | CODE | |
| LOW | scripts/bump_version.py | 12 | CODE | |
| LOW | scripts/check_version.py | 12 | CODE | |
| LOW | mcp_server/tests/test_transport_resolution.py | 11 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 7 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 2 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/tool_contract.py | 4 | CODE | |
| LOW | backend_api_python/env_sync_core.py | 3 | CODE | |
| LOW | backend_api_python/app/startup.py | 2 | CODE | |
| LOW | backend_api_python/app/_version.py | 8 | CODE | |
| LOW | backend_api_python/app/celery_app.py | 3 | CODE | |
| LOW | backend_api_python/app/__init__.py | 2 | CODE | |
| LOW | backend_api_python/app/__init__.py | 28 | CODE | |
| LOW | backend_api_python/app/__init__.py | 28 | CODE | |
| LOW | backend_api_python/app/research/__init__.py | 3 | CODE | |
| LOW | backend_api_python/app/research/__init__.py | 4 | CODE | |
| LOW | backend_api_python/app/research/intelligence.py | 3 | CODE | |
| LOW | backend_api_python/app/research/workflows.py | 3 | CODE | |
| LOW | backend_api_python/app/tasks/maintenance.py | 3 | CODE | |
| LOW | backend_api_python/app/tasks/agent_jobs.py | 3 | CODE | |
| LOW | backend_api_python/app/tasks/fast_analysis.py | 3 | CODE | |
| LOW | backend_api_python/app/tasks/indicator_translation.py | 3 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 2 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 3 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 4 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 4 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/config/redis_urls.py | 3 | CODE | |
| LOW | backend_api_python/app/runtime/roles.py | 3 | CODE | |
| LOW | backend_api_python/app/runtime/__init__.py | 3 | CODE | |
| LOW | backend_api_python/app/runtime/__init__.py | 3 | CODE | |
| LOW | backend_api_python/app/runtime/process.py | 3 | CODE | |
| LOW | backend_api_python/app/utils/json_helpers.py | 3 | CODE | |
| LOW | backend_api_python/app/utils/redaction.py | 8 | CODE | |
| LOW | backend_api_python/app/utils/db.py | 24 | CODE | |
| LOW | backend_api_python/app/utils/db.py | 24 | CODE | |
| LOW | backend_api_python/app/utils/db.py | 24 | CODE | |
| LOW | backend_api_python/app/utils/local_brokers.py | 3 | CODE | |
| LOW | backend_api_python/app/utils/request_guard.py | 3 | CODE | |
| LOW | backend_api_python/app/utils/notification_display.py | 6 | CODE | |
| LOW | backend_api_python/app/utils/timeutil.py | 21 | CODE | |
| LOW | backend_api_python/app/utils/market_visibility.py | 27 | CODE | |
| LOW | backend_api_python/app/utils/technical_indicators.py | 8 | CODE | |
| LOW | backend_api_python/app/utils/__init__.py | 4 | CODE | |
| LOW | backend_api_python/app/utils/__init__.py | 5 | CODE | |
| LOW | backend_api_python/app/utils/__init__.py | 6 | CODE | |
| LOW | backend_api_python/app/utils/trade_close_reason.py | 6 | CODE | |
| LOW | backend_api_python/app/utils/trade_net_pnl.py | 10 | CODE | |
| LOW | backend_api_python/app/utils/agent_jobs.py | 19 | CODE | |
| LOW | backend_api_python/app/utils/resource_guard.py | 8 | CODE | |
| 686 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check_mojibake.py | 80 | CODE | |
| LOW | scripts/check_docs.py | 49 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 43 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/security.py | 90 | CODE | |
| LOW | backend_api_python/app/startup.py | 144 | CODE | |
| LOW | backend_api_python/app/utils/db.py | 376 | CODE | |
| LOW | backend_api_python/app/utils/config_loader.py | 236 | CODE | |
| LOW | backend_api_python/app/utils/request_guard.py | 55 | CODE | |
| LOW | backend_api_python/app/utils/timeutil.py | 50 | CODE | |
| LOW | backend_api_python/app/utils/safe_exec.py | 863 | CODE | |
| LOW | backend_api_python/app/utils/safe_exec.py | 1067 | CODE | |
| LOW | backend_api_python/app/utils/safe_exec.py | 346 | CODE | |
| LOW | backend_api_python/app/utils/agent_jobs.py | 81 | CODE | |
| LOW | backend_api_python/app/utils/agent_jobs.py | 333 | CODE | |
| LOW | backend_api_python/app/utils/db_postgres.py | 496 | CODE | |
| LOW | backend_api_python/app/utils/agent_auth.py | 49 | CODE | |
| LOW | backend_api_python/app/observability/metrics.py | 72 | CODE | |
| LOW | backend_api_python/app/openapi/register.py | 137 | CODE | |
| LOW | backend_api_python/app/openapi/register.py | 172 | CODE | |
| LOW | backend_api_python/app/professional_report/builder.py | 594 | CODE | |
| LOW | backend_api_python/app/professional_report/snapshot.py | 229 | CODE | |
| LOW | …_api_python/app/professional_report/features/crypto.py | 139 | CODE | |
| LOW | …_api_python/app/professional_report/features/crypto.py | 292 | CODE | |
| LOW | …_api_python/app/professional_report/features/crypto.py | 421 | CODE | |
| LOW | …_api_python/app/professional_report/features/crypto.py | 513 | CODE | |
| LOW | backend_api_python/app/data_providers/heatmap.py | 143 | CODE | |
| LOW | backend_api_python/app/data_providers/heatmap.py | 163 | CODE | |
| LOW | backend_api_python/app/data_providers/forex.py | 29 | CODE | |
| LOW | backend_api_python/app/data_providers/forex.py | 69 | CODE | |
| LOW | backend_api_python/app/data_providers/forex.py | 109 | CODE | |
| LOW | backend_api_python/app/data_providers/forex.py | 158 | CODE | |
| LOW | …_api_python/app/data_providers/cross_asset_research.py | 136 | CODE | |
| LOW | …_api_python/app/data_providers/cross_asset_research.py | 271 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 45 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 114 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 184 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 253 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 289 | CODE | |
| LOW | backend_api_python/app/data_providers/sentiment.py | 325 | CODE | |
| LOW | backend_api_python/app/data_providers/hk_research.py | 217 | CODE | |
| LOW | backend_api_python/app/data_providers/__init__.py | 306 | CODE | |
| LOW | backend_api_python/app/data_providers/us_research.py | 703 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 85 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 143 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 236 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 283 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 323 | CODE | |
| LOW | backend_api_python/app/data_providers/opportunities.py | 384 | CODE | |
| LOW | backend_api_python/app/data_providers/crypto.py | 28 | CODE | |
| LOW | backend_api_python/app/data_providers/crypto.py | 68 | CODE | |
| LOW | …kend_api_python/app/data_providers/company_research.py | 94 | CODE | |
| LOW | …kend_api_python/app/data_providers/company_research.py | 240 | CODE | |
| LOW | backend_api_python/app/data_providers/commodities.py | 29 | CODE | |
| LOW | backend_api_python/app/data_providers/commodities.py | 67 | CODE | |
| LOW | backend_api_python/app/data_providers/commodities.py | 114 | CODE | |
| LOW | backend_api_python/app/data_providers/commodities.py | 161 | CODE | |
| LOW | backend_api_python/app/data_providers/indices.py | 30 | CODE | |
| LOW | backend_api_python/app/data_providers/news.py | 15 | CODE | |
| LOW | backend_api_python/app/workers/lease_heartbeat.py | 107 | CODE | |
| LOW | backend_api_python/app/workers/trading.py | 166 | CODE | |
| 360 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/bootstrap_env.py | 50 | def _set_value(path: Path, key: str, value: str) -> None: | CODE |
| LOW | backend_api_python/run.py | 62 | def _set_if_blank(key: str, value: str) -> None: | CODE |
| LOW | backend_api_python/app/celery_app.py | 96 | __all__ = ["celery_app"] | CODE |
| LOW | backend_api_python/app/research/__init__.py | 6 | __all__ = ["build_research_intelligence", "resolve_workflow"] | CODE |
| LOW | backend_api_python/app/research/intelligence.py | 228 | __all__ = ["build_research_intelligence"] | CODE |
| LOW | backend_api_python/app/research/workflows.py | 95 | __all__ = ["resolve_workflow"] | CODE |
| LOW | backend_api_python/app/config/__init__.py | 15 | __all__ = [ | CODE |
| LOW | backend_api_python/app/runtime/__init__.py | 5 | __all__ = ["ProcessRole", "current_process_role"] | CODE |
| LOW | backend_api_python/app/utils/db.py | 435 | __all__ = [ | CODE |
| LOW | backend_api_python/app/utils/config_loader.py | 70 | def set_nested(cfg: Dict[str, Any], dotted_key: str, value: Any) -> None: | CODE |
| LOW | backend_api_python/app/utils/timeutil.py | 112 | __all__ = ["to_utc_iso"] | CODE |
| LOW | backend_api_python/app/utils/__init__.py | 8 | __all__ = ['get_logger', 'CacheManager', 'get_retry_session'] | CODE |
| LOW | backend_api_python/app/utils/broker_session.py | 119 | __all__ = ['BrokerSessionRegistry'] | CODE |
| LOW | backend_api_python/app/utils/numeric_precision.py | 75 | __all__ = [ | CODE |
| LOW⚡ | backend_api_python/app/utils/safe_exec_worker.py | 259 | def set_universe(self, *args: Any, **kwargs: Any) -> None: | CODE |
| LOW⚡ | backend_api_python/app/utils/safe_exec_worker.py | 262 | def set_benchmark(self, *args: Any, **kwargs: Any) -> None: | CODE |
| LOW⚡ | backend_api_python/app/utils/safe_exec_worker.py | 268 | def set_warmup(self, *args: Any, **kwargs: Any) -> None: | CODE |
| LOW⚡ | backend_api_python/app/utils/safe_exec_worker.py | 274 | def set_metadata(self, *args: Any, **kwargs: Any) -> None: | CODE |
| LOW | backend_api_python/app/observability/__init__.py | 10 | __all__ = ["init_http_observability"] | CODE |
| LOW | backend_api_python/app/observability/db_metrics.py | 31 | __all__ = [ | CODE |
| LOW | backend_api_python/app/openapi/schemas/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …end_api_python/app/professional_report/llm_contract.py | 104 | __all__ = ["FastAnalysisNarrative", "validate_llm_analysis"] | CODE |
| LOW | backend_api_python/app/professional_report/__init__.py | 9 | __all__ = ["build_professional_report"] | CODE |
| LOW | backend_api_python/app/professional_report/narrative.py | 77 | __all__ = ["has_mojibake", "normalize_report_text", "numeric_tokens", "validate_evidence_claims"] | CODE |
| LOW | backend_api_python/app/professional_report/builder.py | 849 | __all__ = ["build_professional_report"] | CODE |
| LOW | backend_api_python/app/professional_report/contracts.py | 399 | __all__ = [ | CODE |
| LOW | backend_api_python/app/professional_report/risk.py | 216 | __all__ = ["build_risk_plan"] | CODE |
| LOW | backend_api_python/app/professional_report/prompt.py | 218 | __all__ = ["build_professional_analysis_prompt"] | CODE |
| LOW | backend_api_python/app/professional_report/quality.py | 189 | __all__ = ["apply_quality_gate", "assess_snapshot_quality"] | CODE |
| LOW | backend_api_python/app/professional_report/snapshot.py | 494 | __all__ = ["build_evidence_snapshot"] | CODE |
| LOW | …pi_python/app/professional_report/providers/catalog.py | 586 | __all__ = [ | CODE |
| LOW | …i_python/app/professional_report/providers/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …_api_python/app/professional_report/features/equity.py | 169 | __all__ = ["build_equity_features"] | CODE |
| LOW | …pi_python/app/professional_report/features/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …_api_python/app/professional_report/features/crypto.py | 775 | __all__ = ["VERSION", "build_crypto_features", "extract_crypto_features"] | CODE |
| LOW | …python/app/professional_report/features/cross_asset.py | 63 | __all__ = ["build_forex_features", "build_futures_features"] | CODE |
| LOW | …_api_python/app/data_providers/cross_asset_research.py | 327 | __all__ = [ | CODE |
| LOW | backend_api_python/app/data_providers/hk_research.py | 275 | __all__ = [ | CODE |
| LOW | backend_api_python/app/data_providers/us_research.py | 766 | __all__ = [ | CODE |
| LOW | backend_api_python/app/data_providers/news.py | 75 | __all__ = ["fetch_financial_news", "get_economic_calendar", "get_economic_calendar_payload"] | CODE |
| LOW | backend_api_python/app/data_sources/cache_manager.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend_api_python/app/data_sources/rate_limiter.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend_api_python/app/data_sources/__init__.py | 13 | __all__ = [ | CODE |
| LOW | backend_api_python/app/data_sources/__init__.py | 35 | __all__ = [ | CODE |
| LOW | backend_api_python/app/data_sources/circuit_breaker.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend_api_python/app/data_sources/native_crypto.py | 630 | __all__ = [ | CODE |
| LOW | backend_api_python/app/events/dispatcher.py | 82 | __all__ = ["StrategyDueDispatcher"] | CODE |
| LOW | backend_api_python/app/events/protocol.py | 297 | __all__ = [ | CODE |
| LOW | backend_api_python/app/events/__init__.py | 19 | __all__ = [ | CODE |
| LOW | backend_api_python/app/events/bar_clock.py | 266 | __all__ = [ | CODE |
| LOW | backend_api_python/app/events/bus.py | 118 | __all__ = ["EventBus", "EventSubscription", "InMemoryEventBus"] | CODE |
| LOW | backend_api_python/app/events/topics.py | 98 | __all__ = ["TopicSpec", "event_topic_map", "topic_for_event", "topic_specs"] | CODE |
| LOW | backend_api_python/app/events/kafka.py | 300 | __all__ = [ | CODE |
| LOW | backend_api_python/app/events/evaluator.py | 252 | __all__ = ["StrategyEvaluationBatchHandler"] | CODE |
| LOW | …nd_api_python/app/services/shared_market_price_feed.py | 229 | __all__ = [ | CODE |
| LOW | backend_api_python/app/services/event_inbox.py | 272 | __all__ = [ | CODE |
| LOW | …pi_python/app/services/strategy_event_subscriptions.py | 210 | __all__ = [ | CODE |
| LOW | backend_api_python/app/services/virtual_trading.py | 853 | __all__ = [ | CODE |
| LOW | backend_api_python/app/services/ai_copilot_store.py | 440 | def update_request_usage(cur, request_id: int, **values: Any) -> None: | CODE |
| LOW | …nd_api_python/app/services/distributed_runtime_host.py | 201 | __all__ = ["DistributedRuntimeHost"] | CODE |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend_api_python/app/routes/credentials.py | 0 | insert into qd_exchange_credentials (user_id, name, exchange_id, api_key_hint, encrypted_config, created_at, updated_at) | STRING |
| HIGH | backend_api_python/app/routes/openapi_brokers.py | 0 | insert into qd_exchange_credentials (user_id, name, exchange_id, api_key_hint, encrypted_config, created_at, updated_at) | STRING |
| HIGH | backend_api_python/app/routes/alpaca.py | 0 | insert into qd_exchange_credentials (user_id, name, exchange_id, api_key_hint, encrypted_config, created_at, updated_at) | STRING |
| HIGH | …api_python/app/services/strategy_command_repository.py | 0 | select 1 from qd_strategy_runtime_leases where strategy_id = %s and fencing_token = %s and lease_expires_at >= now() lim | STRING |
| HIGH | backend_api_python/app/services/strategy.py | 0 | select 1 from qd_strategy_runtime_leases where strategy_id = %s and fencing_token = %s and lease_expires_at >= now() lim | STRING |
| HIGH | …_api_python/app/services/strategy_v2/live_execution.py | 0 | select 1 from qd_strategy_runtime_leases where strategy_id = %s and fencing_token = %s and lease_expires_at >= now() lim | STRING |
| HIGH | backend_api_python/app/services/live_trading/okx.py | 0 | private endpoint to validate credentials (best-effort). | STRING |
| HIGH | backend_api_python/app/services/live_trading/bitget.py | 0 | private endpoint to validate credentials (best-effort). | STRING |
| HIGH | …api_python/app/services/live_trading/bitget_classic.py | 0 | private endpoint to validate credentials (best-effort). | STRING |
| HIGH | backend_api_python/app/services/live_trading/bybit.py | 0 | convert decimal to string with controlled precision. bitget requires quantities to match sizestep/sizeplace precision. a | STRING |
| HIGH | …nd_api_python/app/services/live_trading/bitget_spot.py | 0 | convert decimal to string with controlled precision. bitget requires quantities to match sizestep/sizeplace precision. a | STRING |
| HIGH | …ython/app/services/live_trading/bitget_spot_classic.py | 0 | convert decimal to string with controlled precision. bitget requires quantities to match sizestep/sizeplace precision. a | STRING |
| HIGH | backend_api_python/app/services/live_trading/bitget.py | 0 | convert decimal to string with controlled precision. bitget requires quantities to match sizestep/sizeplace precision. a | STRING |
| HIGH | …api_python/app/services/live_trading/bitget_classic.py | 0 | convert decimal to string with controlled precision. bitget requires quantities to match sizestep/sizeplace precision. a | STRING |
| HIGH | backend_api_python/tests/test_agent_current_contract.py | 0 | def initialize(context): context.set_universe(["usstock:aapl"]) context.subscribe(frequency="1d") def handle_data(contex | STRING |
| HIGH | backend_api_python/tests/test_strategy_evolution.py | 0 | def initialize(context): context.set_universe(["usstock:aapl"]) context.subscribe(frequency="1d") def handle_data(contex | STRING |
| HIGH | backend_api_python/tests/test_strategy_v2_service.py | 0 | def initialize(context): context.set_universe(["usstock:aapl"]) context.subscribe(frequency="1d") def handle_data(contex | STRING |
| HIGH | backend_api_python/tests/test_strategy_v2_runtime.py | 0 | def initialize(context): context.set_universe(["usstock:aapl"]) context.subscribe(frequency="1d") def handle_data(contex | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend_api_python/app/routes/quick_trade.py | 312 | # Swap input is margin and expands by leverage. | COMMENT |
| MEDIUM⚡ | backend_api_python/app/routes/global_market.py | 146 | """Get comprehensive market sentiment indicators.""" | STRING |
| MEDIUM | …end_api_python/app/services/ai_generation_contracts.py | 101 | ## Contract leverage | COMMENT |
| MEDIUM⚡ | backend_api_python/app/services/pending_order_worker.py | 1781 | # - For OKX swap, leverage must be set via private endpoint; otherwise exchange defaults apply. | COMMENT |
| MEDIUM⚡ | backend_api_python/app/services/pending_order_worker.py | 1782 | # - For other exchanges, leverage setting is not implemented yet in this local client. | COMMENT |
| MEDIUM | backend_api_python/app/services/llm.py | 1504 | """Safe LLM call with robust JSON parsing and fallback structure.""" | STRING |
| LOW | backend_api_python/app/services/symbol_name.py | 228 | # 1) Seed (already in our DB — nothing to learn, just return). | COMMENT |
| MEDIUM | backend_api_python/app/services/indicator_workspace.py | 66 | "# @strategy, # signal_form, # exit_owner, # flip_mode, # timeframe, risk, leverage, trade direction, stop l | CODE |
| MEDIUM⚡ | backend_api_python/app/services/portfolio_monitor.py | 463 | """Build a comprehensive text report (backward compatible).""" | STRING |
| MEDIUM | backend_api_python/app/services/live_trading/okx.py | 97 | # Best-effort cache for leverage settings to avoid spamming set-leverage on every tick. | COMMENT |
| MEDIUM | backend_api_python/app/services/live_trading/okx.py | 781 | # since OKX may block leverage changes for any instrument | COMMENT |
| MEDIUM | backend_api_python/app/services/live_trading/okx.py | 1155 | # Algo order types that block leverage adjustment per OKX error 59669 | COMMENT |
| MEDIUM⚡ | backend_api_python/app/services/live_trading/okx.py | 626 | """Read configured leverage for an instrument (works without open position).""" | STRING |
| MEDIUM⚡ | backend_api_python/app/services/live_trading/okx.py | 636 | """Read leverage from open position or account leverage-info.""" | STRING |
| MEDIUM | backend_api_python/app/services/live_trading/okx.py | 594 | """Best-effort read of current leverage from an open position row.""" | STRING |
| MEDIUM | …hon/app/services/live_trading/account_configuration.py | 100 | """Apply requested leverage and margin mode or reject the order.""" | STRING |
| MEDIUM | backend_api_python/app/services/live_trading/bitget.py | 85 | # Best-effort cache for leverage settings to avoid spamming set-leverage on every tick. | COMMENT |
| MEDIUM | backend_api_python/app/services/live_trading/gate.py | 916 | # Gate expects ``leverage`` / ``cross_leverage_limit`` as **query parameters**, not JSON body | COMMENT |
| MEDIUM | backend_api_python/app/services/live_trading/gate.py | 917 | # (see gateapi-python: update_position_leverage). Cross / portfolio mode: leverage=0 + cross_leverage_limit. | COMMENT |
| MEDIUM | …api_python/app/services/live_trading/bitget_classic.py | 86 | # Best-effort cache for leverage settings to avoid spamming set-leverage on every tick. | COMMENT |
| MEDIUM | backend_api_python/app/services/live_trading/binance.py | 1097 | """Read back symbol-level margin mode and leverage from positionRisk. | STRING |
| MEDIUM | …i_python/app/services/pending_orders/leverage_retry.py | 1 | """Recoverable OKX leverage / algo-order (59669) retry helpers. | STRING |
| MEDIUM | …i_python/app/services/pending_orders/leverage_retry.py | 42 | """Requeue a live order blocked by recoverable OKX leverage errors.""" | STRING |
| MEDIUM | …d_api_python/app/services/usdt_payment/watchers/evm.py | 118 | # mainnet, and Etherscan's indexed tokentx endpoint is more robust | COMMENT |
| MEDIUM | backend_api_python/app/services/grid/engine.py | 1569 | """One grid line's base quantity (amountPerGrid × leverage / price), exchange-normalized.""" | STRING |
| MEDIUM⚡ | backend_api_python/tests/test_okx_set_leverage_59669.py | 44 | # Keep attempting set-leverage until retries are exhausted, then | COMMENT |
| MEDIUM⚡ | backend_api_python/tests/test_okx_set_leverage_59669.py | 45 | # report the target leverage as already configured on the venue. | COMMENT |
| MEDIUM | backend_api_python/tests/test_okx_set_leverage_59669.py | 67 | """Client whose set-leverage always fails with 59669 until retries run out.""" | STRING |
| MEDIUM | backend_api_python/tests/test_grid_engine.py | 508 | """100 USDT * 20% margin * 20x leverage ≈ 400 USDT notional at 72710.""" | STRING |
| MEDIUM⚡ | backend_api_python/tests/test_indicator_code_quality.py | 74 | # @strategy leverage 2 | COMMENT |
| MEDIUM⚡ | backend_api_python/tests/test_risk_pct_basis.py | 62 | # 92 / 100 = -8% > -9% — must NOT trigger even at 10x leverage. | COMMENT |
| MEDIUM | backend_api_python/tests/test_risk_pct_basis.py | 114 | # 16% price move required regardless of leverage. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 17 | ### Step 1: Create a Google Cloud Project | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 23 | ### Step 2: Configure OAuth Consent Screen | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 35 | ### Step 3: Create OAuth 2.0 Client ID | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 49 | ### Step 4: Configure .env File | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 62 | ### Step 1: Create GitHub OAuth App | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 75 | ### Step 2: Get Credentials | COMMENT |
| LOW | docs/deployment/OAUTH_CONFIG_EN.md | 81 | ### Step 3: Configure .env File | COMMENT |
| LOW⚡ | docs/deployment/OAUTH_CONFIG_EN.md | 96 | ### Step 1: Create Turnstile Widget | COMMENT |
| LOW⚡ | docs/deployment/OAUTH_CONFIG_EN.md | 106 | ### Step 2: Get Keys | COMMENT |
| LOW⚡ | docs/deployment/OAUTH_CONFIG_EN.md | 112 | ### Step 3: Configure .env File | COMMENT |
| LOW | docs/deployment/NOTIFICATION_EMAIL_CONFIG_EN.md | 48 | ### Step 1: Obtain SMTP Service Information | COMMENT |
| LOW⚡ | docs/deployment/NOTIFICATION_EMAIL_CONFIG_EN.md | 67 | ### Step 2: Configure Environment Variables | COMMENT |
| LOW | docs/deployment/NOTIFICATION_EMAIL_CONFIG_EN.md | 103 | ### Step 3: Enable Email Notifications in Strategy | COMMENT |
| LOW | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 45 | ### Step 1: Create a Twilio Account | COMMENT |
| LOW | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 57 | ### Step 2: Obtain API Credentials | COMMENT |
| LOW | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 71 | ### Step 3: Get a Phone Number | COMMENT |
| LOW⚡ | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 87 | ### Step 4: Configure Environment Variables | COMMENT |
| LOW | docs/deployment/NOTIFICATION_SMS_CONFIG_EN.md | 113 | ### Step 5: Enable SMS Notifications in Strategy | COMMENT |
| LOW | docs/deployment/NOTIFICATION_TELEGRAM_CONFIG_EN.md | 27 | ## Step 1: Create a Telegram Bot | COMMENT |
| LOW | docs/deployment/NOTIFICATION_TELEGRAM_CONFIG_EN.md | 36 | ## Step 2: Obtain Bot Token | COMMENT |
| LOW | docs/deployment/NOTIFICATION_TELEGRAM_CONFIG_EN.md | 48 | ## Step 3: Get Your User ID | COMMENT |
| LOW | docs/deployment/NOTIFICATION_TELEGRAM_CONFIG_EN.md | 71 | ## Step 4: Configure Environment Variables | COMMENT |
| LOW | docs/deployment/NOTIFICATION_TELEGRAM_CONFIG_EN.md | 84 | ## Step 5: Enable Telegram Notifications in Strategy | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 175 | # Step 1: Verify Turnstile (if enabled) | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 184 | # Step 2: Check rate limiting | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 191 | # Step 3: Authenticate | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 272 | # Step 4: Record successful login | COMMENT |
| LOW | …pi_python/app/services/usdt_payment/watchers/solana.py | 183 | # Step 1: resolve the watched account. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate-secret-key.sh | 9 | # Check if .env exists. | COMMENT |
| LOW | backend_api_python/docker-entrypoint.sh | 11 | # Check if .env file exists | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 197 | # Check if user has no password set (code-login user) | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 416 | # Check if user exists | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 421 | # Check if registration is enabled | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 727 | # Check if registration is enabled | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 772 | # Check if username already exists | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 777 | # Check if email already exists | COMMENT |
| LOW | backend_api_python/app/routes/portfolio.py | 86 | # Check if force refresh (skip cache) | COMMENT |
| LOW | backend_api_python/app/routes/portfolio.py | 316 | # Check if force refresh | COMMENT |
| LOW | backend_api_python/app/routes/portfolio.py | 730 | # Check if alert already exists for this position (unique constraint) | COMMENT |
| LOW | backend_api_python/app/services/pending_order_worker.py | 1685 | # Check if this is an IBKR client (US stocks) | COMMENT |
| LOW⚡ | backend_api_python/app/services/oauth_service.py | 681 | # Check if user has password (can't unlink last auth method) | COMMENT |
| LOW⚡ | backend_api_python/app/services/oauth_service.py | 689 | # Check if this is the only OAuth link | COMMENT |
| LOW | backend_api_python/app/services/oauth_service.py | 466 | # Check if OAuth link exists | COMMENT |
| LOW | backend_api_python/app/services/oauth_service.py | 516 | # Check if user exists with same email | COMMENT |
| LOW | backend_api_python/app/services/llm.py | 1228 | # Check if we have API key for the detected provider | COMMENT |
| LOW⚡ | backend_api_python/app/services/email_service.py | 52 | # Check if email is properly configured | COMMENT |
| LOW | backend_api_python/app/services/email_service.py | 197 | # Check if code matches | COMMENT |
| LOW | backend_api_python/app/services/portfolio_monitor.py | 1529 | # Check if we can trigger (not triggered yet, or repeat interval passed) | STRING |
| LOW | backend_api_python/app/services/user_service.py | 643 | # Check if user has no password (code-login user) | COMMENT |
| LOW | backend_api_python/app/services/user_service.py | 765 | # Check if username already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend_api_python/app/services/strategy_v2/runtime.py | 268 | key not in updated or not frame.equals(updated[key].iloc[:len(frame)]) | CODE |
| HIGH | backend_api_python/app/services/strategy_v2/runtime.py | 484 | or not cached.index.equals(frame.index[:cached_length]) | CODE |
| HIGH | backend_api_python/app/services/strategy_v2/data.py | 304 | if any(not baseline.equals(rows.iloc[index]) for index in range(1, len(rows))): | CODE |
| HIGH | …ckend_api_python/tests/test_strategy_v2_market_data.py | 644 | assert second.equals(first) | CODE |
| HIGH | backend_api_python/tests/test_llm_litellm_provider.py | 270 | b'data: {"choices":[{"delta":{"content":"partial"},"finish_reason":null}]}', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mcp_server/src/quantdinger_mcp/server.py | 385 | CODE | |
| LOW | mcp_server/src/quantdinger_mcp/server.py | 629 | CODE | |
| LOW | backend_api_python/app/professional_report/snapshot.py | 155 | CODE | |
| LOW | backend_api_python/app/routes/user.py | 873 | CODE | |
| LOW | backend_api_python/app/routes/global_market.py | 174 | CODE | |
| LOW | backend_api_python/app/routes/ai_chat.py | 731 | CODE | |
| LOW | backend_api_python/app/services/pending_order_worker.py | 2809 | CODE | |
| LOW | backend_api_python/app/services/ai_copilot_store.py | 274 | CODE | |
| LOW | backend_api_python/app/services/community_service.py | 245 | CODE | |
| LOW | backend_api_python/app/services/community_service.py | 587 | CODE | |
| LOW | backend_api_python/app/services/research_agent.py | 150 | CODE | |
| LOW | …ython/app/services/live_trading/external_flat_close.py | 333 | CODE | |
| LOW | backend_api_python/app/services/live_trading/htx_v5.py | 370 | CODE | |
| LOW | backend_api_python/app/services/live_trading/records.py | 510 | CODE | |
| LOW | …api_python/app/services/strategy_v2/factor_research.py | 81 | CODE | |
| LOW | backend_api_python/app/services/strategy_v2/service.py | 70 | CODE | |
| LOW | backend_api_python/app/services/strategy_v2/service.py | 297 | CODE | |
| LOW | backend_api_python/app/services/strategy_v2/runtime.py | 1766 | CODE | |
| LOW | …api_python/app/services/pending_orders/fill_records.py | 126 | CODE | |
| LOW | …pi_python/app/services/execution_streams/repository.py | 14 | CODE | |
| LOW | …_python/app/services/strategy_runtime/order_intents.py | 84 | CODE | |
| LOW | …d_api_python/app/services/strategy_runtime/identity.py | 75 | CODE | |
| LOW | …d_api_python/app/services/quick_trade/trade_history.py | 136 | CODE | |
| LOW | backend_api_python/app/services/grid/engine.py | 1943 | CODE | |
| LOW | backend_api_python/app/services/grid/fill_handler.py | 27 | CODE | |
| LOW | backend_api_python/app/services/grid/fill_handler.py | 103 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend_api_python/app/routes/settings.py | 398 | 'default': 'admin@example.com', | CODE |
| LOW | backend_api_python/app/routes/settings.py | 2255 | if requested_admin_email and requested_admin_email != 'admin@example.com': | CODE |
| LOW | backend_api_python/app/services/security_service.py | 27 | 'placeholder', | CODE |
| LOW | backend_api_python/app/services/user_service.py | 383 | if email == 'admin@example.com': | CODE |
| LOW | backend_api_python/app/services/user_service.py | 384 | return {'synced': False, 'reason': 'placeholder'} | CODE |
| LOW | backend_api_python/app/services/user_service.py | 414 | if current_email and current_email != 'admin@example.com' and not overwrite_existing: | CODE |
| LOW | backend_api_python/app/services/user_service.py | 1127 | admin_email = os.getenv('ADMIN_EMAIL', 'admin@example.com') | CODE |
| LOW | backend_api_python/tests/test_db_log_noise_fixes.py | 80 | result = service.start_setup(9383, "user@example.com") | CODE |
| LOW | …ckend_api_python/tests/test_initial_password_policy.py | 88 | "email": "admin@example.com", | CODE |
| LOW | …ckend_api_python/tests/test_initial_password_policy.py | 162 | "email": "admin@example.com", | CODE |
| LOW | …ckend_api_python/tests/test_registration_rate_limit.py | 60 | email="user@example.com", | CODE |
| LOW | backend_api_python/tests/test_auth_time_windows.py | 70 | "user@example.com", | CODE |
| LOW | backend_api_python/tests/test_auth_time_windows.py | 105 | "user@example.com", | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 128 | "user@example.com", | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 138 | assert params == ("user@example.com", "login", 30) | CODE |
| LOW | backend_api_python/tests/test_auth_time_windows.py | 154 | "user@example.com", | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 177 | "user@example.com", | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 186 | assert params == ("user@example.com", "account", 90, 60, 5, 30) | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 222 | "user@example.com", | CODE |
| LOW⚡ | backend_api_python/tests/test_auth_time_windows.py | 231 | assert email_params == ("user@example.com", 60) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | backend_api_python/app/services/ai_calibration.py | 147 | # Approx correctness rules (as requested) | COMMENT |
| HIGH | backend_api_python/app/services/ai_report_pdf.py | 505 | "disclaimer": "This report is generated by AI for research only and is not investment advice.", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.ghcr.yml | 1 | # QuantDinger Docker Compose - GHCR prebuilt images (zero-repo deploy) | COMMENT |
| LOW | docker-compose.ghcr.yml | 21 | # IMAGE_TAG - unified tag for backend AND frontend (optional; see per-side defaults below) | COMMENT |
| LOW | install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docker-compose.build.yml | 1 | # Override file for local frontend builds. | COMMENT |
| LOW | docker-compose.yml | 1 | # QuantDinger Docker Compose - One-Click Deployment | COMMENT |
| LOW | docker-compose.yml | 621 | # (gitignored) and layer the build override on top: | COMMENT |
| LOW | .github/workflows/docker-publish.yml | 1 | name: Publish backend image to GHCR | COMMENT |
| LOW | backend_api_python/requirements.txt | 41 | # Runtime metrics | COMMENT |
| LOW | backend_api_python/requirements.txt | 61 | pypdf>=6.21.4,<7 | COMMENT |
| LOW | backend_api_python/app/services/builtin_indicators.py | 41 | # * output['signals'] is chart-only and never drives orders by itself | COMMENT |
| LOW | backend_api_python/app/services/oauth_service.py | 161 | # FRONTEND_URL accepts a comma-separated list of origins (the same | COMMENT |
| LOW | backend_api_python/app/services/usdt_payment/service.py | 101 | updated_at TIMESTAMP DEFAULT NOW() | COMMENT |
| LOW | …d_api_python/app/services/usdt_payment/watchers/evm.py | 81 | "https://bsc-dataseed4.binance.org", | COMMENT |
| LOW | …d_api_python/app/services/usdt_payment/watchers/evm.py | 101 | # eth_getLogs; we cap at 4800 to stay safely under that. At 0.75s/block | COMMENT |
| LOW | …pi_python/app/services/usdt_payment/watchers/solana.py | 181 | min_ts = int(ct.timestamp()) - 60 if ct else None | COMMENT |
| LOW | backend_api_python/tests/test_backtest_metrics.py | 941 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend_api_python/app/routes/auth.py | 175 | # Step 1: Verify Turnstile (if enabled) | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 184 | # Step 2: Check rate limiting | COMMENT |
| LOW⚡ | backend_api_python/app/routes/auth.py | 191 | # Step 3: Authenticate | COMMENT |
| LOW | backend_api_python/app/routes/auth.py | 272 | # Step 4: Record successful login | COMMENT |
| LOW | …pi_python/app/services/usdt_payment/watchers/solana.py | 183 | # Step 1: resolve the watched account. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker-compose.ghcr.yml | 13 | # - .env contains backend runtime settings and Docker Compose orchestration knobs. | COMMENT |
| MEDIUM | docs/architecture/ARCHITECTURE.md | 52 | ai/ # skills, prompts, provider orchestration | CODE |
| MEDIUM | docs/architecture/V6_HYPERSCALE_ARCHITECTURE_PLAN.md | 793 | ### Phase 2: event-driven bar evaluation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 5 | # Usage: | COMMENT |
| LOW | docker-compose.build.yml | 2 | # Usage: | COMMENT |
| LOW | docker-compose.yml | 2 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kend_api_python/tests/test_ai_chat_snapshot_quality.py | 238 | CODE |