Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

zexpp5/StockAssistant

https://github.com/zexpp5/StockAssistant · scanned 2026-06-16 01:12 UTC (2 months, 1 week ago)

228 raw signals (0 security + 228 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 219 actionable findings from 1 signal source. 9 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 67.3/100 with 100.0% coverage. It contains 3468 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 228 findings — concentrated in quality (101), api (50), security (36). Risk profile is high: 0 critical, 33 high, 18 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 207 of 219 actionable findings. 228 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph security auth conf 1.00 FastAPI DELETE `delete_cash_flow_one` without auth dependency — stock_research/api/main.py:1629
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1629 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_holding_one` without auth dependency — stock_research/api/main.py:2323
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2323 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_model_sim_holding_one` without auth dependency — stock_research/api/main.py:2302
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2302 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_real_holding_one` without auth dependency — stock_research/api/main.py:1763
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1763 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_watchlist` without auth dependency — stock_research/api/main.py:559
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:559 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_real_holding_discipline_status` without auth dependency — stock_research/api/main.py:1712
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1712 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `add_to_real_holding` without auth dependency — stock_research/api/main.py:1523
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1523 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auto_enrich_watchlist` without auth dependency — stock_research/api/main.py:1077
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1077 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bottleneck_review_save` without auth dependency — stock_research/api/main.py:1786
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1786 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_replace_holdings_endpoint` without auth dependency — stock_research/api/main.py:2327
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2327 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_replace_model_sim_holdings_endpoint` without auth dependency — stock_research/api/main.py:2296
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2296 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `close_real_holding` without auth dependency — stock_research/api/main.py:1541
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1541 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_cash_flow` without auth dependency — stock_research/api/main.py:1619
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1619 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_holding` without auth dependency — stock_research/api/main.py:2315
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2315 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_real_holding_discipline` without auth dependency — stock_research/api/main.py:1688
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1688 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_real_holding` without auth dependency — stock_research/api/main.py:1360
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1360 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_watchlist` without auth dependency — stock_research/api/main.py:484
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:484 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `fetch_holdings_prices` without auth dependency — stock_research/api/main.py:1396
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1396 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `picks_rerun` without auth dependency — stock_research/api/main.py:1236
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1236 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `real_holdings_daily_review_run` without auth dependency — stock_research/api/main.py:2193
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2193 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `rebuild_real_holdings` without auth dependency — stock_research/api/main.py:1658
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1658 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `record_real_holding_buy` without auth dependency — stock_research/api/main.py:1456
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1456 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `sync_holdings_to_watchlist` without auth dependency — stock_research/api/main.py:1426
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1426 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `trigger_13f_refresh` without auth dependency — stock_research/api/main.py:2376
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2376 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `trigger_audit` without auth dependency — stock_research/api/main.py:2390
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2390 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `trigger_enrich` without auth dependency — stock_research/api/main.py:2383
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2383 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `trigger_ipo_refresh` without auth dependency — stock_research/api/main.py:2571
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2571 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `trigger_refresh_v2_recommendations` without auth dependency — stock_research/api/main.py:2548
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2548 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `void_real_holding_trade_one` without auth dependency — stock_research/api/main.py:1645
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1645 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_holding_one` without auth dependency — stock_research/api/main.py:2319
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2319 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_real_holding_one` without auth dependency — stock_research/api/main.py:1727
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:1727 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_user_config` without auth dependency — stock_research/api/main.py:2338
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:2338 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_watchlist` without auth dependency — stock_research/api/main.py:510
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
stock_research/api/main.py:510 securityAuth fastapi unauth mutation
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: AGENTS.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
AGENTS.md VerificationAgents md
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in stock_research/api/main.py:327
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
stock_research/api/main.py:327 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in .claude/settings.json:42
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
.claude/settings.json:42 Direct innerhtml assignment
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph network Security conf 1.00 Privileged port 10 in use
Port 10 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_premarket_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 15 in use
Port 15 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_premarket_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 16 in use
Port 16 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
daily_refresh.sh Ports
medium System graph network Security conf 1.00 Privileged port 20 in use
Port 20 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_premarket_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 21 in use
Port 21 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
enhancement_refresh.sh Ports
medium System graph network Security conf 1.00 Privileged port 23 in use
Port 23 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_defense_watcher_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 30 in use
Port 30 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
daily_refresh.sh Ports
medium System graph network Security conf 1.00 Privileged port 36 in use
Port 36 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
daily_refresh.sh Ports
medium System graph network Security conf 1.00 Privileged port 45 in use
Port 45 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_premarket_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 5 in use
Port 5 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_defense_watcher_launchd.sh Ports
medium System graph network Security conf 1.00 Privileged port 55 in use
Port 55 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/setup_defense_watcher_launchd.sh Ports
low System graph quality Integrity conf 1.00 34 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `A_SHARE_DEEP_RISK`, `A_SHARE_PRODUCTION_MODE`, `A_SHARE_UNIVERSE`, `A_SHARE_UNIVERSE_LIMIT`, `FEISHU_ALERT_WEBHOOK`, `FEISHU_BRIEF_CHAT_ID`, `FEISHU_BRIEF_USER_ID` + 26 more. Add them (with a placeholder/comment) to .env.examp…
config drift
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 1645 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph quality Tests conf 1.00 Low test-to-source ratio
51 tests / 213 src (ratio 0.24).
low System graph quality Integrity conf 1.00 10 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/lib/stock_db.py:insert_real_holding_result, scripts/lib/stock_db.py:insert_real_holding This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're sep…
10 occurrences
repo-level (10 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_move_to_backup` in scripts/tools/reset_for_clean_proof.py:77
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `audit_picks_v2` in stock_research/jobs/audit_picks_v2.py:15
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `build_strategy_validation_v2` in tests/test_strategy_eval.py:4
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `build_strategy_validation_v2` in tests/test_strategy_validation_v2.py:8
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `build_v2` in tests/test_build_v2_recommendations.py:14
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `classify_chain_v2` in stock_research/core/ai_radar.py:1719
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `clear_legacy` in scripts/tools/migrate_holdings_split_v2.py:23
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `compute_piotroski_v2` in scripts/tools/build_v2_recommendations.py:290
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `compute_piotroski_v2` in scripts/tools/compute_piotroski_v2.py:23
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `compute_piotroski_v2` in stock_research/core/baostock_client.py:158
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `days_old` in stock_research/jobs/aggregate_theme_tags.py:132
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `enrich_system_universe_v2` in stock_research/core/watchlist_enrich.py:400
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `enrich_system_universe_v2` in stock_research/jobs/enrich_watchlist.py:175
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `fallback_v2` in stock_research/jobs/optimize_portfolio.py:476
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/check_cutover_readiness.py:27
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/classify_chain_v2.py:23
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/discover_candidates.py:9
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/init_stock_db_v2.py:648
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/production_acceptance_check.py:1002
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in scripts/tools/refresh_system_universe_v2.py:25
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in tests/test_ai_radar.py:11
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in tests/test_discover_candidates.py:14
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in tests/test_evaluate_v2_picks.py:13
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in tests/test_recommendation_evidence_report.py:11
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `init_stock_db_v2` in tests/test_strategy_failure_diagnosis.py:11
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `p0_policy_validation_v1` in scripts/tools/build_strategy_validation_v2.py:352
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `recommendation_readiness_v1` in scripts/tools/recommendation_readiness_check.py:433
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `refresh_system_universe_v2` in stock_research/api/main.py:333
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reverse_validation_v2` in archive/legacy/reverse_validate_v2.py:152
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `shadow_old` in tests/test_evaluate_shadow_tuning_run.py:115
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `shadow_tuning_evidence_v1` in scripts/tools/evaluate_shadow_tuning_run.py:533
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `shadow_tuning_run_v1` in scripts/tools/build_shadow_tuning_run.py:563
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `shadow_v1` in tests/test_us_shadow_preflight_check.py:28
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `state_backup` in scripts/lib/stock_db.py:6
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `state_backup` in scripts/tools/backup_state_to_json.py:2
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `state_backup` in scripts/tools/restore_state_from_json.py:2
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `state_backup` in stock_research/jobs/weekly_self_review.py:4
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/pipeline/ingest_benchmark_prices.py:85
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/pipeline/intraday_refresh_holdings.py:33
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/current_state_report.py:135
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/drop_v1_tables_v2.py:24
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/evaluate_catalyst_signals.py:65
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/evaluate_v2_picks.py:148
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/migrate_holdings_ledger_v2.py:5
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in scripts/tools/strict_caliber_backtest.py:38
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/config.py:26
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/core/premarket_gate.py:1285
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/jobs/archive_picks.py:60
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/jobs/event_calendar_us_daily.py:38
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/jobs/event_calendar_us_form4_daily.py:157
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/jobs/event_calendar_us_sec_daily.py:265
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `stock_history_v2` in stock_research/jobs/junior_stock_watcher.py:490
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `strategy_failure_diagnosis_v1` in scripts/tools/strategy_failure_diagnosis.py:850
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `strategy_tuning_proposal_v1` in scripts/tools/strategy_tuning_proposal.py:203
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `tech_ai_v1` in stock_research/core/strategy_eval.py:6
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `tech_ai_v2` in tests/test_build_shadow_tuning_run.py:108
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `us_production_acceptance_v1` in scripts/tools/us_production_acceptance_check.py:502
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `us_shadow_preflight_v1` in scripts/tools/us_shadow_preflight_check.py:393
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `us_strict_trial_v1` in scripts/tools/us_strict_trial.py:678
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `v2_system_enrichment_v1` in scripts/tools/enrich_system_universe_v2.py:722
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: attribute
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/brinson.py:72
low System graph software Dead code conf 1.00 Possibly dead Python function: backfill_real_holding_entry_fx
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/stock_db.py:1998
low System graph software Dead code conf 1.00 Possibly dead Python function: bulk_replace_holdings
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/stock_db.py:3849
low System graph software Dead code conf 1.00 Possibly dead Python function: db_load_all
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:165
low System graph software Dead code conf 1.00 Possibly dead Python function: db_load_latest
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:146
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_holding
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/stock_db.py:3835
low System graph software Dead code conf 1.00 Possibly dead Python function: duckdb_available
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:81
low System graph software Dead code conf 1.00 Possibly dead Python function: extract_field_text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/daily_news_to_feishu.py:83
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_grade_events
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/fmp_client.py:489
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_latest_portfolio_plan_baseline
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/stock_db.py:1229
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_quote
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/fmp_client.py:210
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_realized_move
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/premarket_gate.py:1186
low System graph software Dead code conf 1.00 Possibly dead Python function: fmt_money_rmb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pipeline/build_stock_dashboard_html.py:17031
low System graph software Dead code conf 1.00 Possibly dead Python function: format_market_cap
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pipeline/fetch_stock_prices.py:871
low System graph software Dead code conf 1.00 Possibly dead Python function: format_text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/brinson.py:163
low System graph software Dead code conf 1.00 Possibly dead Python function: install_default_timeout
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/http_timeout.py:26
low System graph software Dead code conf 1.00 Possibly dead Python function: load_all_json
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:59
low System graph software Dead code conf 1.00 Possibly dead Python function: load_audit_snapshot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pipeline/build_stock_dashboard_html.py:20269
low System graph software Dead code conf 1.00 Possibly dead Python function: pipeline_load_latest
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:213
low System graph software Dead code conf 1.00 Possibly dead Python function: pipeline_save
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:197
low System graph software Dead code conf 1.00 Possibly dead Python function: reset_throttle_disable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/core/fmp_client.py:131
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_default
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
archive/legacy/track_13f.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: score_to_points
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/gics_classifier.py:269
low System graph software Dead code conf 1.00 Possibly dead Python function: show_source_tiers
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/tools/verify_data_sources.py:133
low System graph software Dead code conf 1.00 Possibly dead Python function: sort_key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/tools/strategy_failure_diagnosis.py:514
low System graph software Dead code conf 1.00 Possibly dead Python function: update_holding
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lib/stock_db.py:3810
low System graph software Dead code conf 1.00 Possibly dead Python function: upsert_enrichment
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
stock_research/adapters/store.py:236
low System graph software Dead code conf 1.00 Possibly dead Python function: write_record
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/daily_news_to_feishu.py:128
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /api/real-holdings/cash-flows/{flow_id}
`stock_research/api/main.py` declares `DELETE /api/real-holdings/cash-flows/{flow_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /api/real-holdings/{holding_id}
`stock_research/api/main.py` declares `DELETE /api/real-holdings/{holding_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /api/watchlist/{code}
`stock_research/api/main.py` declares `DELETE /api/watchlist/{code}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /
`stock_research/api/main.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/13f/changes/{cik}
`stock_research/api/main.py` declares `GET /api/13f/changes/{cik}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/13f/filings/{cik}
`stock_research/api/main.py` declares `GET /api/13f/filings/{cik}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/13f/investors
`stock_research/api/main.py` declares `GET /api/13f/investors` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/bottleneck-reviews
`stock_research/api/main.py` declares `GET /api/bottleneck-reviews` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/chain-metadata
`stock_research/api/main.py` declares `GET /api/chain-metadata` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/db/all-stocks
`stock_research/api/main.py` declares `GET /api/db/all-stocks` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/db/stock-history/{code}
`stock_research/api/main.py` declares `GET /api/db/stock-history/{code}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/db/table/{name}
`stock_research/api/main.py` declares `GET /api/db/table/{name}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/db/tables-overview
`stock_research/api/main.py` declares `GET /api/db/tables-overview` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/fx-rates
`stock_research/api/main.py` declares `GET /api/fx-rates` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/picks/by-code/{code}
`stock_research/api/main.py` declares `GET /api/picks/by-code/{code}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/picks/latest-summary
`stock_research/api/main.py` declares `GET /api/picks/latest-summary` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/picks/rerun-status
`stock_research/api/main.py` declares `GET /api/picks/rerun-status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/premarket-gate
`stock_research/api/main.py` declares `GET /api/premarket-gate` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/premarket-gate/history
`stock_research/api/main.py` declares `GET /api/premarket-gate/history` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings
`stock_research/api/main.py` declares `GET /api/real-holdings` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/account-summary
`stock_research/api/main.py` declares `GET /api/real-holdings/account-summary` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/cash-flows
`stock_research/api/main.py` declares `GET /api/real-holdings/cash-flows` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/daily-review/latest
`stock_research/api/main.py` declares `GET /api/real-holdings/daily-review/latest` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/daily-verdict
`stock_research/api/main.py` declares `GET /api/real-holdings/daily-verdict` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/discipline
`stock_research/api/main.py` declares `GET /api/real-holdings/discipline` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/pnl-summary
`stock_research/api/main.py` declares `GET /api/real-holdings/pnl-summary` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/trade-history
`stock_research/api/main.py` declares `GET /api/real-holdings/trade-history` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/{holding_id}/discipline
`stock_research/api/main.py` declares `GET /api/real-holdings/{holding_id}/discipline` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/real-holdings/{holding_id}/records
`stock_research/api/main.py` declares `GET /api/real-holdings/{holding_id}/records` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/watchlist
`stock_research/api/main.py` declares `GET /api/watchlist` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/watchlist/{code}
`stock_research/api/main.py` declares `GET /api/watchlist/{code}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /premarket
`stock_research/api/main.py` declares `GET /premarket` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /premarket/history
`stock_research/api/main.py` declares `GET /premarket/history` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /api/real-holdings/discipline/{plan_id}
`stock_research/api/main.py` declares `PATCH /api/real-holdings/discipline/{plan_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/bottleneck-review
`stock_research/api/main.py` declares `POST /api/bottleneck-review` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/picks/rerun
`stock_research/api/main.py` declares `POST /api/picks/rerun` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings
`stock_research/api/main.py` declares `POST /api/real-holdings` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/buy
`stock_research/api/main.py` declares `POST /api/real-holdings/buy` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/cash-flows
`stock_research/api/main.py` declares `POST /api/real-holdings/cash-flows` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/fetch-prices
`stock_research/api/main.py` declares `POST /api/real-holdings/fetch-prices` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/rebuild-from-trades
`stock_research/api/main.py` declares `POST /api/real-holdings/rebuild-from-trades` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/sync-to-watchlist
`stock_research/api/main.py` declares `POST /api/real-holdings/sync-to-watchlist` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/trades/{trade_id}/void
`stock_research/api/main.py` declares `POST /api/real-holdings/trades/{trade_id}/void` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/{holding_id}/add
`stock_research/api/main.py` declares `POST /api/real-holdings/{holding_id}/add` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/{holding_id}/close
`stock_research/api/main.py` declares `POST /api/real-holdings/{holding_id}/close` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/real-holdings/{holding_id}/discipline
`stock_research/api/main.py` declares `POST /api/real-holdings/{holding_id}/discipline` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/watchlist
`stock_research/api/main.py` declares `POST /api/watchlist` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/watchlist/auto-enrich
`stock_research/api/main.py` declares `POST /api/watchlist/auto-enrich` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /api/real-holdings/{holding_id}
`stock_research/api/main.py` declares `PUT /api/real-holdings/{holding_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /api/watchlist/{code}
`stock_research/api/main.py` declares `PUT /api/watchlist/{code}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: daily_refresh.sh (891 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/lib/stock_db.py (3954 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/tools/build_v2_recommendations.py (1698 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/tools/production_acceptance_check.py (1905 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/api/main.py (2595 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/core/ai_radar.py (2687 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/core/premarket_gate.py (1512 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/jobs/junior_stock_watcher.py (2506 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/jobs/morning_brief.py (3436 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/jobs/optimize_portfolio.py (1316 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: stock_research/jobs/real_holding_review.py (1193 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/f786d55c-8bed-4524-a064-a28c27e3bc2c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f786d55c-8bed-4524-a064-a28c27e3bc2c/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.