{"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-b97c4e27622cc6b6", "name": "Possibly dead Python function: run_daily_routine", "shortDescription": {"text": "Possibly dead Python function: run_daily_routine"}, "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-2a5d6d0606159276", "name": "Possibly dead Python function: log_close_position", "shortDescription": {"text": "Possibly dead Python function: log_close_position"}, "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-bf88134f673d5092", "name": "Possibly dead Python function: log_summary", "shortDescription": {"text": "Possibly dead Python function: log_summary"}, "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-cdf3631da31c3932", "name": "Possibly dead Python function: log_close_position", "shortDescription": {"text": "Possibly dead Python function: log_close_position"}, "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-1c116aa59258fb02", "name": "Possibly dead Python function: log_entry_details", "shortDescription": {"text": "Possibly dead Python function: log_entry_details"}, "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-de3c32a1593f4edb", "name": "Possibly dead Python function: log_formation_rejected", "shortDescription": {"text": "Possibly dead Python function: log_formation_rejected"}, "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-363f6fcb0eda60c7", "name": "Possibly dead Python function: log_close_position", "shortDescription": {"text": "Possibly dead Python function: log_close_position"}, "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-1af42ea5228086bc", "name": "Possibly dead Python function: log_daily_summary", "shortDescription": {"text": "Possibly dead Python function: log_daily_summary"}, "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-b933960528c0dafe", "name": "Possibly dead Python function: send_trade_close", "shortDescription": {"text": "Possibly dead Python function: send_trade_close"}, "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-ee0fc8f42d84c2ec", "name": "Possibly dead Python function: send_api_error", "shortDescription": {"text": "Possibly dead Python function: send_api_error"}, "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-bd58b7dcbc2aa58a", "name": "Possibly dead Python function: send_kill_switch", "shortDescription": {"text": "Possibly dead Python function: send_kill_switch"}, "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-2f3f11820506ffb1", "name": "Possibly dead Python function: test_connection", "shortDescription": {"text": "Possibly dead Python function: test_connection"}, "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-a01ce5c2735b7b18", "name": "Possibly dead Python function: is_vector_candle", "shortDescription": {"text": "Possibly dead Python function: is_vector_candle"}, "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-ec9c4a569bbf6ec1", "name": "Possibly dead Python function: generate_report", "shortDescription": {"text": "Possibly dead Python function: generate_report"}, "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-d695fbad5959c62e", "name": "Possibly dead Python function: export_ml_dataset", "shortDescription": {"text": "Possibly dead Python function: export_ml_dataset"}, "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-9f25222029e2b5f3", "name": "Possibly dead Python function: export_to_json", "shortDescription": {"text": "Possibly dead Python function: export_to_json"}, "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-180da2ecb2e825da", "name": "Possibly dead Python function: reset_emergency", "shortDescription": {"text": "Possibly dead Python function: reset_emergency"}, "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-3607cd3116a0a169", "name": "Possibly dead Python function: register_trade_pnl", "shortDescription": {"text": "Possibly dead Python function: register_trade_pnl"}, "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-1d6a9561b91981cb", "name": "Possibly dead Python function: update_risk_parameters", "shortDescription": {"text": "Possibly dead Python function: update_risk_parameters"}, "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-c3fe1202cfa05d7f", "name": "Possibly dead Python function: cancel_all_orders", "shortDescription": {"text": "Possibly dead Python function: cancel_all_orders"}, "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-7743307edd10332e", "name": "Possibly dead Python function: update_trade", "shortDescription": {"text": "Possibly dead Python function: update_trade"}, "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-e066691601852931", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 527 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 18 placeholder/mock markers across 6 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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-1a540af625fe9147", "name": "Commented-code block (6 lines) in inspect_live_positions.py:13", "shortDescription": {"text": "Commented-code block (6 lines) in inspect_live_positions.py:13"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-08b3179a745e9c9c", "name": "Legacy-named symbol `safety_copy` in scripts/test_dashboard_smoke.py:162", "shortDescription": {"text": "Legacy-named symbol `safety_copy` in scripts/test_dashboard_smoke.py:162"}, "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-61415e7d1b99fa47", "name": "Legacy-named symbol `test_legacy` in scripts/test_legacy.py:16", "shortDescription": {"text": "Legacy-named symbol `test_legacy` in scripts/test_legacy.py:16"}, "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-4feed868ce7d508a", "name": "Commented-code block (8 lines) in src/trading_bot.py:223", "shortDescription": {"text": "Commented-code block (8 lines) in src/trading_bot.py:223"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-d1ef90377ac756a5", "name": "Stub function `cancel_all` (body is just `pass`/`return`) \u2014 src/backtest/backtest_engine.py:142", "shortDescription": {"text": "Stub function `cancel_all` (body is just `pass`/`return`) \u2014 src/backtest/backtest_engine.py:142"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-908d202abc321636", "name": "Legacy-named symbol `make_backup` in src/monitoring/dashboard_app/env_editor.py:50", "shortDescription": {"text": "Legacy-named symbol `make_backup` in src/monitoring/dashboard_app/env_editor.py:50"}, "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-594106d0b2a25332", "name": "Commented-code block (6 lines) in src/strategies/iron_condor.py:360", "shortDescription": {"text": "Commented-code block (6 lines) in src/strategies/iron_condor.py:360"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-837e9325a568b2f9", "name": "Commented-code block (7 lines) in src/core/risk_manager.py:320", "shortDescription": {"text": "Commented-code block (7 lines) in src/core/risk_manager.py:320"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-f808a4ef3e1071fb", "name": "14 env vars used in code but missing from .env.example", "shortDescription": {"text": "14 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `BINANCE_SYMBOLS`, `DAILY_SCAN_TIME`, `DATA_STORAGE_PATH`, `ENV_BACKUP_DIR`, `JOURNAL_DB_PATH`, `OI_POLL_INTERVAL_SEC`, `PERSIST_TICKS`, `POSITIONING_ENABLED` + 6 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-46969939caf8120b", "name": "Near-duplicate function bodies in 9 places", "shortDescription": {"text": "Near-duplicate function bodies in 9 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nconfig.py:from_env, config.py:from_env, config.py:from_env, config.py:from_env\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-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:\nscripts/quant_research.py:load_data, scripts/strategy_lab.py:load_1m\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:\nscripts/quant_research.py:resample, scripts/multicycle_research.py:resample, scripts/strategy_lab.py:resample\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-02525d39071dd2c7", "name": "Near-duplicate function bodies in 5 places", "shortDescription": {"text": "Near-duplicate function bodies in 5 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nsrc/strategies/funding_squeeze.py:execute_entry, src/strategies/liq_squeeze.py:execute_entry, src/strategies/imbalance_scalp.py:execute_entry, src/strategies/trend_breakdown.py:execute_entry\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}}]}}, "automationDetails": {"id": "repobility/25138"}, "properties": {"repository": "CryptoQuantix/CryptoQuantix", "repoUrl": "https://github.com/CryptoQuantix/CryptoQuantix", "branch": "main"}, "results": [{"ruleId": "scanner-b97c4e27622cc6b6", "level": "note", "message": {"text": "Possibly dead Python function: run_daily_routine"}, "properties": {"repobilityId": "2c56fd7641536e96", "scanner": "scanner-primary", "fingerprint": "b97c4e27622cc6b6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/trading_bot.py:207"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2a5d6d0606159276", "level": "note", "message": {"text": "Possibly dead Python function: log_close_position"}, "properties": {"repobilityId": "4ac488f2d2531c4f", "scanner": "scanner-primary", "fingerprint": "2a5d6d0606159276", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/brings_position_logger.py:89"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bf88134f673d5092", "level": "note", "message": {"text": "Possibly dead Python function: log_summary"}, "properties": {"repobilityId": "7cc475214854029d", "scanner": "scanner-primary", "fingerprint": "bf88134f673d5092", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/metrics.py:48"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-cdf3631da31c3932", "level": "note", "message": {"text": "Possibly dead Python function: log_close_position"}, "properties": {"repobilityId": "4ac488f2d2531c4f", "scanner": "scanner-primary", "fingerprint": "cdf3631da31c3932", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/smart_money_position_logger.py:124"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1c116aa59258fb02", "level": "note", "message": {"text": "Possibly dead Python function: log_entry_details"}, "properties": {"repobilityId": "f78f05aff1ee8a44", "scanner": "scanner-primary", "fingerprint": "1c116aa59258fb02", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/wm_position_logger.py:64"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-de3c32a1593f4edb", "level": "note", "message": {"text": "Possibly dead Python function: log_formation_rejected"}, "properties": {"repobilityId": "e9aa0f88dc61722a", "scanner": "scanner-primary", "fingerprint": "de3c32a1593f4edb", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/wm_position_logger.py:78"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-363f6fcb0eda60c7", "level": "note", "message": {"text": "Possibly dead Python function: log_close_position"}, "properties": {"repobilityId": "4ac488f2d2531c4f", "scanner": "scanner-primary", "fingerprint": "363f6fcb0eda60c7", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/wm_position_logger.py:122"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1af42ea5228086bc", "level": "note", "message": {"text": "Possibly dead Python function: log_daily_summary"}, "properties": {"repobilityId": "23326509cef7cefb", "scanner": "scanner-primary", "fingerprint": "1af42ea5228086bc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/utils/signal_logger.py:118"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b933960528c0dafe", "level": "note", "message": {"text": "Possibly dead Python function: send_trade_close"}, "properties": {"repobilityId": "3c7d37622fb9e3a6", "scanner": "scanner-primary", "fingerprint": "b933960528c0dafe", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/monitoring/alerts.py:152"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ee0fc8f42d84c2ec", "level": "note", "message": {"text": "Possibly dead Python function: send_api_error"}, "properties": {"repobilityId": "be99801f3367c466", "scanner": "scanner-primary", "fingerprint": "ee0fc8f42d84c2ec", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/monitoring/alerts.py:222"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bd58b7dcbc2aa58a", "level": "note", "message": {"text": "Possibly dead Python function: send_kill_switch"}, "properties": {"repobilityId": "3fae8c2d5e2a8439", "scanner": "scanner-primary", "fingerprint": "bd58b7dcbc2aa58a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/monitoring/alerts.py:243"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2f3f11820506ffb1", "level": "note", "message": {"text": "Possibly dead Python function: test_connection"}, "properties": {"repobilityId": "38cdf35d2fac8281", "scanner": "scanner-primary", "fingerprint": "2f3f11820506ffb1", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/monitoring/alerts.py:314"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a01ce5c2735b7b18", "level": "note", "message": {"text": "Possibly dead Python function: is_vector_candle"}, "properties": {"repobilityId": "8db3fb6dce0f1a32", "scanner": "scanner-primary", "fingerprint": "a01ce5c2735b7b18", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/strategies/pvsra_analyzer.py:176"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ec9c4a569bbf6ec1", "level": "note", "message": {"text": "Possibly dead Python function: generate_report"}, "properties": {"repobilityId": "7c9eb0110f5a6b96", "scanner": "scanner-primary", "fingerprint": "ec9c4a569bbf6ec1", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/journal/analytics.py:151"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d695fbad5959c62e", "level": "note", "message": {"text": "Possibly dead Python function: export_ml_dataset"}, "properties": {"repobilityId": "0cf7b52b000752f6", "scanner": "scanner-primary", "fingerprint": "d695fbad5959c62e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/journal/analytics.py:214"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9f25222029e2b5f3", "level": "note", "message": {"text": "Possibly dead Python function: export_to_json"}, "properties": {"repobilityId": "494f9505d0f2d79b", "scanner": "scanner-primary", "fingerprint": "9f25222029e2b5f3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/journal/trade_logger.py:345"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-180da2ecb2e825da", "level": "note", "message": {"text": "Possibly dead Python function: reset_emergency"}, "properties": {"repobilityId": "e6d3e9f16713cf42", "scanner": "scanner-primary", "fingerprint": "180da2ecb2e825da", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/failure_handler.py:248"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3607cd3116a0a169", "level": "note", "message": {"text": "Possibly dead Python function: register_trade_pnl"}, "properties": {"repobilityId": "1f9797fc77dc89a2", "scanner": "scanner-primary", "fingerprint": "3607cd3116a0a169", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/risk_manager.py:83"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1d6a9561b91981cb", "level": "note", "message": {"text": "Possibly dead Python function: update_risk_parameters"}, "properties": {"repobilityId": "a55c21df0ad73115", "scanner": "scanner-primary", "fingerprint": "1d6a9561b91981cb", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/risk_manager.py:494"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c3fe1202cfa05d7f", "level": "note", "message": {"text": "Possibly dead Python function: cancel_all_orders"}, "properties": {"repobilityId": "84a1b024fc5b9202", "scanner": "scanner-primary", "fingerprint": "c3fe1202cfa05d7f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/order_manager.py:430"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7743307edd10332e", "level": "note", "message": {"text": "Possibly dead Python function: update_trade"}, "properties": {"repobilityId": "523eca5be83eeec2", "scanner": "scanner-primary", "fingerprint": "7743307edd10332e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/order_registry.py:93"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e066691601852931", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "properties": {"repobilityId": "cafd810700997d9d", "scanner": "scanner-primary", "fingerprint": "e066691601852931", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 6}}}]}, {"ruleId": "scanner-e066691601852931", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "properties": {"repobilityId": "f0b4bee16c0c287e", "scanner": "scanner-primary", "fingerprint": "e066691601852931", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 24}}}]}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "41ff4a5a29e5039e", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "2f9a50d5d5fc9030", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "c6a7cf94729971b8", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-1a540af625fe9147", "level": "none", "message": {"text": "Commented-code block (6 lines) in inspect_live_positions.py:13"}, "properties": {"repobilityId": "3081d7712fb33f6e", "scanner": "scanner-primary", "fingerprint": "1a540af625fe9147", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-08b3179a745e9c9c", "level": "note", "message": {"text": "Legacy-named symbol `safety_copy` in scripts/test_dashboard_smoke.py:162"}, "properties": {"repobilityId": "3478887e9444ed79", "scanner": "scanner-primary", "fingerprint": "08b3179a745e9c9c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-61415e7d1b99fa47", "level": "note", "message": {"text": "Legacy-named symbol `test_legacy` in scripts/test_legacy.py:16"}, "properties": {"repobilityId": "10aa2dbd88bd17b8", "scanner": "scanner-primary", "fingerprint": "61415e7d1b99fa47", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-4feed868ce7d508a", "level": "none", "message": {"text": "Commented-code block (8 lines) in src/trading_bot.py:223"}, "properties": {"repobilityId": "fe51a28beef7f43d", "scanner": "scanner-primary", "fingerprint": "4feed868ce7d508a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d1ef90377ac756a5", "level": "note", "message": {"text": "Stub function `cancel_all` (body is just `pass`/`return`) \u2014 src/backtest/backtest_engine.py:142"}, "properties": {"repobilityId": "349be20e957b7d7d", "scanner": "scanner-primary", "fingerprint": "d1ef90377ac756a5", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-908d202abc321636", "level": "note", "message": {"text": "Legacy-named symbol `make_backup` in src/monitoring/dashboard_app/env_editor.py:50"}, "properties": {"repobilityId": "01cbbe11b88da661", "scanner": "scanner-primary", "fingerprint": "908d202abc321636", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-594106d0b2a25332", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/strategies/iron_condor.py:360"}, "properties": {"repobilityId": "44128d2cb0f258e2", "scanner": "scanner-primary", "fingerprint": "594106d0b2a25332", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-837e9325a568b2f9", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/core/risk_manager.py:320"}, "properties": {"repobilityId": "c977342e24b21d78", "scanner": "scanner-primary", "fingerprint": "837e9325a568b2f9", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f808a4ef3e1071fb", "level": "note", "message": {"text": "14 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "ce6b2ec4be4ec75a", "scanner": "scanner-primary", "fingerprint": "f808a4ef3e1071fb", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-46969939caf8120b", "level": "note", "message": {"text": "Near-duplicate function bodies in 9 places"}, "properties": {"repobilityId": "7c2bd73982f6ab85", "scanner": "scanner-primary", "fingerprint": "46969939caf8120b", "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": "14be7755441d41a3", "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": "44c2ae9c85091ace", "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": "0b09be466f47e64e", "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": "a2b73c95f8a846bd", "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": "5850b1e975903e62", "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": "5c5c7aef5c7fd758", "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": "c6d038b87fcdba09", "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": "d6e4f358fe2e77d7", "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": "031a60502f4affab", "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": "584e1a62dc570deb", "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": "6ff749568122aa50", "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": "a21731ecfe491090", "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": "aebf77c03780140a", "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": "1929a17be0dcb193", "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": "599c2dfb986e3425", "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": "f260ba0266b9cecf", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-02525d39071dd2c7", "level": "note", "message": {"text": "Near-duplicate function bodies in 5 places"}, "properties": {"repobilityId": "3a4c7417e746ba8e", "scanner": "scanner-primary", "fingerprint": "02525d39071dd2c7", "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": "1f71f35de46eb50e", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}