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.

yoobinkim541/stock-report

https://github.com/yoobinkim541/stock-report · scanned 2026-06-16 01:07 UTC (2 months, 1 week ago)

53 raw signals (0 security + 53 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 45 actionable findings from 1 signal source. 8 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 88.0/100 with 100.0% coverage. It contains 1447 nodes across 2 cross-layer flows, written primarily in mixed languages. Engine surfaced 53 findings — concentrated in quality (26), software (22), security (2). Risk profile is high: 0 critical, 1 high, 5 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 43 of 45 actionable findings. 53 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 Flask mutation route `sync` without `@login_required` — portfolio_sync_server.py:64
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
portfolio_sync_server.py:64 securityAuth flask unauth route
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: CLAUDE.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.
CLAUDE.md VerificationClaude instruction
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 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
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 148 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 Integrity conf 1.00 7 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: backtest/backtest_multi.py:send_telegram, backtest/backtest_compare.py:send_telegram 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 separate.
7 occurrences
repo-level (7 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: ml/sklearn_baselines.py:fit, ml/sklearn_baselines.py:fit, ml/sklearn_baselines.py:fit 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 separate.
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: ml/models.py:fit, ml/models.py:fit, ml/models.py:fit, ml/models.py:fit 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 separate.
2 occurrences
repo-level (2 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 `_decision_v2` in tests/test_investment_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 `backtest_v2` in backtest/backtest_v2.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 `decision_v2` in reports/investment_report.py:386
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 `fcf_v2` in reports/fundamental_score.py:540
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: calculate_rebalancing
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
barbell_strategy.py:1824
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_alert
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:919
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_holding
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/holding_commands.py:286
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_sim
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:687
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_msci_proxy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ml/data_sources.py:209
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_news_features
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ml/data_sources.py:221
low System graph software Dead code conf 1.00 Possibly dead Python function: loop
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:404
low System graph software Dead code conf 1.00 Possibly dead Python function: notify_entry_signals
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:1161
low System graph software Dead code conf 1.00 Possibly dead Python function: notify_intraday_signals
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:1102
low System graph software Dead code conf 1.00 Possibly dead Python function: notify_phase_change
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:1227
low System graph software Dead code conf 1.00 Possibly dead Python function: notify_triggered_alerts
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:1023
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_get
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: section_10_economic_calendar
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:1006
low System graph software Dead code conf 1.00 Possibly dead Python function: section_1_market_overview
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:351
low System graph software Dead code conf 1.00 Possibly dead Python function: section_3_sector_performance
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:510
low System graph software Dead code conf 1.00 Possibly dead Python function: section_4_technical_analysis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:535
low System graph software Dead code conf 1.00 Possibly dead Python function: section_5_fear_greed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:610
low System graph software Dead code conf 1.00 Possibly dead Python function: section_6_portfolio_analysis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:686
low System graph software Dead code conf 1.00 Possibly dead Python function: section_7_buy_sell_signals
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:796
low System graph software Dead code conf 1.00 Possibly dead Python function: section_8_major_investors
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:871
low System graph software Dead code conf 1.00 Possibly dead Python function: section_9_analyst_reports
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reports/market_report.py:942
low System graph software Dead code conf 1.00 Possibly dead Python function: send_photo
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
telegram_bot.py:380
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: ANY /sync
`portfolio_sync_server.py` declares `ANY /sync` 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: barbell_strategy.py (2107 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: reports/investment_report.py (2289 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: telegram_bot.py (1802 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/72e80a69-6272-4c71-9254-e8e81fc76141/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/72e80a69-6272-4c71-9254-e8e81fc76141/

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.