{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-817eb618955a79b0", "name": "Possibly dead Python function: send_photo", "shortDescription": {"text": "Possibly dead Python function: send_photo"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e52abe859558aaad", "name": "Possibly dead Python function: loop", "shortDescription": {"text": "Possibly dead Python function: loop"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1c12838cc4a5a191", "name": "Possibly dead Python function: cmd_sim", "shortDescription": {"text": "Possibly dead Python function: cmd_sim"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8c03f4315ecd25b8", "name": "Possibly dead Python function: cmd_alert", "shortDescription": {"text": "Possibly dead Python function: cmd_alert"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6d687d8e3a3fdfd3", "name": "Possibly dead Python function: notify_triggered_alerts", "shortDescription": {"text": "Possibly dead Python function: notify_triggered_alerts"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-693aa213e603d9a8", "name": "Possibly dead Python function: notify_intraday_signals", "shortDescription": {"text": "Possibly dead Python function: notify_intraday_signals"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f00dd3200a0332c8", "name": "Possibly dead Python function: notify_entry_signals", "shortDescription": {"text": "Possibly dead Python function: notify_entry_signals"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-873d7b3ab0b9168b", "name": "Possibly dead Python function: notify_phase_change", "shortDescription": {"text": "Possibly dead Python function: notify_phase_change"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-faca7f02cd92023f", "name": "Possibly dead Python function: calculate_rebalancing", "shortDescription": {"text": "Possibly dead Python function: calculate_rebalancing"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-28bb77671f50f792", "name": "Possibly dead Python function: cmd_holding", "shortDescription": {"text": "Possibly dead Python function: cmd_holding"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-43bf141efd2a2c3c", "name": "Possibly dead Python function: fetch_msci_proxy", "shortDescription": {"text": "Possibly dead Python function: fetch_msci_proxy"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-16f7a66d46eb0f35", "name": "Possibly dead Python function: fetch_news_features", "shortDescription": {"text": "Possibly dead Python function: fetch_news_features"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-94ec982f3fe738f6", "name": "Possibly dead Python function: safe_get", "shortDescription": {"text": "Possibly dead Python function: safe_get"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8fedfa80762b200c", "name": "Possibly dead Python function: section_1_market_overview", "shortDescription": {"text": "Possibly dead Python function: section_1_market_overview"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-803950b4a732c5b8", "name": "Possibly dead Python function: section_3_sector_performance", "shortDescription": {"text": "Possibly dead Python function: section_3_sector_performance"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0229f2e67273fd43", "name": "Possibly dead Python function: section_4_technical_analysis", "shortDescription": {"text": "Possibly dead Python function: section_4_technical_analysis"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-a9bb32b5b77357c4", "name": "Possibly dead Python function: section_5_fear_greed", "shortDescription": {"text": "Possibly dead Python function: section_5_fear_greed"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9fa69ca9e3c37c90", "name": "Possibly dead Python function: section_6_portfolio_analysis", "shortDescription": {"text": "Possibly dead Python function: section_6_portfolio_analysis"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-fee5dbced742654e", "name": "Possibly dead Python function: section_7_buy_sell_signals", "shortDescription": {"text": "Possibly dead Python function: section_7_buy_sell_signals"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f40b90e9c7929461", "name": "Possibly dead Python function: section_8_major_investors", "shortDescription": {"text": "Possibly dead Python function: section_8_major_investors"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-591003348ed2b47b", "name": "Possibly dead Python function: section_9_analyst_reports", "shortDescription": {"text": "Possibly dead Python function: section_9_analyst_reports"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-77aa62f7b43bf4c5", "name": "Possibly dead Python function: section_10_economic_calendar", "shortDescription": {"text": "Possibly dead Python function: section_10_economic_calendar"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3040b9c2348b1cfa", "name": "Very large file: telegram_bot.py (1802 lines)", "shortDescription": {"text": "Very large file: telegram_bot.py (1802 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5facb90934351755", "name": "Very large file: barbell_strategy.py (2107 lines)", "shortDescription": {"text": "Very large file: barbell_strategy.py (2107 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9f42a3e81098eb9b", "name": "Very large file: reports/investment_report.py (2289 lines)", "shortDescription": {"text": "Very large file: reports/investment_report.py (2289 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 148 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-bea357a6497a2d5d", "name": "Agent authority lacks a verifier contract: CLAUDE.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-147bc0464d69e692", "name": "Legacy-named symbol `backtest_v2` in backtest/backtest_v2.py:4", "shortDescription": {"text": "Legacy-named symbol `backtest_v2` in backtest/backtest_v2.py:4"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1027619560e41747", "name": "Legacy-named symbol `_decision_v2` in tests/test_investment_report.py:11", "shortDescription": {"text": "Legacy-named symbol `_decision_v2` in tests/test_investment_report.py:11"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-be35505c1183b9e6", "name": "Legacy-named symbol `fcf_v2` in reports/fundamental_score.py:540", "shortDescription": {"text": "Legacy-named symbol `fcf_v2` in reports/fundamental_score.py:540"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-117eb27e380104aa", "name": "Legacy-named symbol `decision_v2` in reports/investment_report.py:386", "shortDescription": {"text": "Legacy-named symbol `decision_v2` in reports/investment_report.py:386"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbacktest/backtest_multi.py:send_telegram, backtest/backtest_compare.py:send_telegram\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-49c98f7cedd9c977", "name": "Near-duplicate function bodies in 4 places", "shortDescription": {"text": "Near-duplicate function bodies in 4 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nml/models.py:fit, ml/models.py:fit, ml/models.py:fit, ml/models.py:fit\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nml/sklearn_baselines.py:fit, ml/sklearn_baselines.py:fit, ml/sklearn_baselines.py:fit\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6e4973446fd8e503", "name": "Flask mutation route `sync` without `@login_required` \u2014 portfolio_sync_server.py:64", "shortDescription": {"text": "Flask mutation route `sync` without `@login_required` \u2014 portfolio_sync_server.py:64"}, "fullDescription": {"text": "Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-e16b9535e59948dd", "name": "Unused endpoint: ANY /sync", "shortDescription": {"text": "Unused endpoint: ANY /sync"}, "fullDescription": {"text": "`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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23293"}, "properties": {"repository": "yoobinkim541/stock-report", "repoUrl": "https://github.com/yoobinkim541/stock-report", "branch": "main"}, "results": [{"ruleId": "scanner-817eb618955a79b0", "level": "note", "message": {"text": "Possibly dead Python function: send_photo"}, "properties": {"repobilityId": "b077e911bff91ed9", "scanner": "scanner-primary", "fingerprint": "817eb618955a79b0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:380"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e52abe859558aaad", "level": "note", "message": {"text": "Possibly dead Python function: loop"}, "properties": {"repobilityId": "ef7a4029179da27e", "scanner": "scanner-primary", "fingerprint": "e52abe859558aaad", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:404"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1c12838cc4a5a191", "level": "note", "message": {"text": "Possibly dead Python function: cmd_sim"}, "properties": {"repobilityId": "d96ebe744d21eaa8", "scanner": "scanner-primary", "fingerprint": "1c12838cc4a5a191", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:687"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8c03f4315ecd25b8", "level": "note", "message": {"text": "Possibly dead Python function: cmd_alert"}, "properties": {"repobilityId": "a181c912499b72d5", "scanner": "scanner-primary", "fingerprint": "8c03f4315ecd25b8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:919"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6d687d8e3a3fdfd3", "level": "note", "message": {"text": "Possibly dead Python function: notify_triggered_alerts"}, "properties": {"repobilityId": "5d5c4a553d2842cc", "scanner": "scanner-primary", "fingerprint": "6d687d8e3a3fdfd3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:1023"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-693aa213e603d9a8", "level": "note", "message": {"text": "Possibly dead Python function: notify_intraday_signals"}, "properties": {"repobilityId": "caff9f1393a0934f", "scanner": "scanner-primary", "fingerprint": "693aa213e603d9a8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:1102"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f00dd3200a0332c8", "level": "note", "message": {"text": "Possibly dead Python function: notify_entry_signals"}, "properties": {"repobilityId": "6e4bf5209f506c0a", "scanner": "scanner-primary", "fingerprint": "f00dd3200a0332c8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:1161"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-873d7b3ab0b9168b", "level": "note", "message": {"text": "Possibly dead Python function: notify_phase_change"}, "properties": {"repobilityId": "0f01f3067d427c5a", "scanner": "scanner-primary", "fingerprint": "873d7b3ab0b9168b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "telegram_bot.py:1227"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-faca7f02cd92023f", "level": "note", "message": {"text": "Possibly dead Python function: calculate_rebalancing"}, "properties": {"repobilityId": "3ad966270adc6502", "scanner": "scanner-primary", "fingerprint": "faca7f02cd92023f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "barbell_strategy.py:1824"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-28bb77671f50f792", "level": "note", "message": {"text": "Possibly dead Python function: cmd_holding"}, "properties": {"repobilityId": "827d4029afadebbf", "scanner": "scanner-primary", "fingerprint": "28bb77671f50f792", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "bot/holding_commands.py:286"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-43bf141efd2a2c3c", "level": "note", "message": {"text": "Possibly dead Python function: fetch_msci_proxy"}, "properties": {"repobilityId": "22b549d4ca2093a0", "scanner": "scanner-primary", "fingerprint": "43bf141efd2a2c3c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "ml/data_sources.py:209"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-16f7a66d46eb0f35", "level": "note", "message": {"text": "Possibly dead Python function: fetch_news_features"}, "properties": {"repobilityId": "33e798b41a4fc3f4", "scanner": "scanner-primary", "fingerprint": "16f7a66d46eb0f35", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "ml/data_sources.py:221"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-94ec982f3fe738f6", "level": "note", "message": {"text": "Possibly dead Python function: safe_get"}, "properties": {"repobilityId": "82d0c1d4ccbdc700", "scanner": "scanner-primary", "fingerprint": "94ec982f3fe738f6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:99"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8fedfa80762b200c", "level": "note", "message": {"text": "Possibly dead Python function: section_1_market_overview"}, "properties": {"repobilityId": "0578c713a5763efc", "scanner": "scanner-primary", "fingerprint": "8fedfa80762b200c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:351"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-803950b4a732c5b8", "level": "note", "message": {"text": "Possibly dead Python function: section_3_sector_performance"}, "properties": {"repobilityId": "b095b5681342f533", "scanner": "scanner-primary", "fingerprint": "803950b4a732c5b8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:510"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0229f2e67273fd43", "level": "note", "message": {"text": "Possibly dead Python function: section_4_technical_analysis"}, "properties": {"repobilityId": "b7535c4488a10297", "scanner": "scanner-primary", "fingerprint": "0229f2e67273fd43", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:535"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a9bb32b5b77357c4", "level": "note", "message": {"text": "Possibly dead Python function: section_5_fear_greed"}, "properties": {"repobilityId": "24f45d7077737e2b", "scanner": "scanner-primary", "fingerprint": "a9bb32b5b77357c4", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:610"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9fa69ca9e3c37c90", "level": "note", "message": {"text": "Possibly dead Python function: section_6_portfolio_analysis"}, "properties": {"repobilityId": "3a5e50d5c518f4b3", "scanner": "scanner-primary", "fingerprint": "9fa69ca9e3c37c90", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:686"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fee5dbced742654e", "level": "note", "message": {"text": "Possibly dead Python function: section_7_buy_sell_signals"}, "properties": {"repobilityId": "9bb2c330bdae2870", "scanner": "scanner-primary", "fingerprint": "fee5dbced742654e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:796"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f40b90e9c7929461", "level": "note", "message": {"text": "Possibly dead Python function: section_8_major_investors"}, "properties": {"repobilityId": "e86139bef0a1e732", "scanner": "scanner-primary", "fingerprint": "f40b90e9c7929461", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:871"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-591003348ed2b47b", "level": "note", "message": {"text": "Possibly dead Python function: section_9_analyst_reports"}, "properties": {"repobilityId": "7520ad39a77b5b64", "scanner": "scanner-primary", "fingerprint": "591003348ed2b47b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:942"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-77aa62f7b43bf4c5", "level": "note", "message": {"text": "Possibly dead Python function: section_10_economic_calendar"}, "properties": {"repobilityId": "dc8deb9a2ad3de1a", "scanner": "scanner-primary", "fingerprint": "77aa62f7b43bf4c5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "reports/market_report.py:1006"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-3040b9c2348b1cfa", "level": "note", "message": {"text": "Very large file: telegram_bot.py (1802 lines)"}, "properties": {"repobilityId": "15016cf09a921686", "scanner": "scanner-primary", "fingerprint": "3040b9c2348b1cfa", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-5facb90934351755", "level": "note", "message": {"text": "Very large file: barbell_strategy.py (2107 lines)"}, "properties": {"repobilityId": "520fba1c502d8f7e", "scanner": "scanner-primary", "fingerprint": "5facb90934351755", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-9f42a3e81098eb9b", "level": "note", "message": {"text": "Very large file: reports/investment_report.py (2289 lines)"}, "properties": {"repobilityId": "04e6b6a50c53fa49", "scanner": "scanner-primary", "fingerprint": "9f42a3e81098eb9b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "7b2f1476d9ae0754", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "0ebc113bcff3fd91", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "6c0ecc5f1ea09bfc", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "cfb5bc7572730b99", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "d77229be97a5a960", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "0eaef884949b1123", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "c0a1afea39ccf0b1", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-bea357a6497a2d5d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "properties": {"repobilityId": "aae72df3934829ac", "scanner": "scanner-primary", "fingerprint": "bea357a6497a2d5d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "CLAUDE.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-147bc0464d69e692", "level": "note", "message": {"text": "Legacy-named symbol `backtest_v2` in backtest/backtest_v2.py:4"}, "properties": {"repobilityId": "ffbba66761503e05", "scanner": "scanner-primary", "fingerprint": "147bc0464d69e692", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-1027619560e41747", "level": "note", "message": {"text": "Legacy-named symbol `_decision_v2` in tests/test_investment_report.py:11"}, "properties": {"repobilityId": "291747fd6c6ade83", "scanner": "scanner-primary", "fingerprint": "1027619560e41747", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-be35505c1183b9e6", "level": "note", "message": {"text": "Legacy-named symbol `fcf_v2` in reports/fundamental_score.py:540"}, "properties": {"repobilityId": "f133b54d72380c50", "scanner": "scanner-primary", "fingerprint": "be35505c1183b9e6", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-117eb27e380104aa", "level": "note", "message": {"text": "Legacy-named symbol `decision_v2` in reports/investment_report.py:386"}, "properties": {"repobilityId": "e2a60026e71557fe", "scanner": "scanner-primary", "fingerprint": "117eb27e380104aa", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "0f6af048415e5eef", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "42532d40f563fa33", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "836c219066b9e7ec", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "aaf60ad81e37bc93", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "b0607f6042849e28", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "0258bbc60df42a46", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "24ecd4bfc4682522", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "89361f967f093b56", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "021312fd7a42fe44", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "be403aff1c1c40c0", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "d4340358e8917519", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-6e4973446fd8e503", "level": "error", "message": {"text": "Flask mutation route `sync` without `@login_required` \u2014 portfolio_sync_server.py:64"}, "properties": {"repobilityId": "39449dd439bddbb7", "scanner": "scanner-primary", "fingerprint": "6e4973446fd8e503", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.flask.unauth_route"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "portfolio_sync_server.py"}, "region": {"startLine": 64}}}]}, {"ruleId": "scanner-e16b9535e59948dd", "level": "note", "message": {"text": "Unused endpoint: ANY /sync"}, "properties": {"repobilityId": "5a894a50e3d5567b", "scanner": "scanner-primary", "fingerprint": "e16b9535e59948dd", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}