{"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-7e159bdcb950ffa0", "name": "Possibly dead Python function: to_date", "shortDescription": {"text": "Possibly dead Python function: to_date"}, "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-c01f1f98d86d1c77", "name": "Possibly dead Python function: metric_card", "shortDescription": {"text": "Possibly dead Python function: metric_card"}, "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-2d71b312a95ef919", "name": "Possibly dead Python function: fetch_gdp", "shortDescription": {"text": "Possibly dead Python function: fetch_gdp"}, "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-43d5da26a4f0b4cd", "name": "Possibly dead Python function: fetch_unemployment", "shortDescription": {"text": "Possibly dead Python function: fetch_unemployment"}, "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-8c53e8f0449383f2", "name": "Possibly dead Python function: fetch_interest_rates", "shortDescription": {"text": "Possibly dead Python function: fetch_interest_rates"}, "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-492ec72b002b1178", "name": "Possibly dead Python function: fetch_inflation", "shortDescription": {"text": "Possibly dead Python function: fetch_inflation"}, "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-e37065c38f8c2723", "name": "Possibly dead Python function: fetch_credit", "shortDescription": {"text": "Possibly dead Python function: fetch_credit"}, "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-3d488cc206e14a07", "name": "Possibly dead Python function: fetch_public_debt", "shortDescription": {"text": "Possibly dead Python function: fetch_public_debt"}, "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-65571e4ba3009c2a", "name": "Possibly dead Python function: fetch_housing", "shortDescription": {"text": "Possibly dead Python function: fetch_housing"}, "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-9dd361235139c137", "name": "Possibly dead Python function: fetch_labor_detail", "shortDescription": {"text": "Possibly dead Python function: fetch_labor_detail"}, "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-e0f76e38cc905893", "name": "Possibly dead Python function: fetch_external_accounts", "shortDescription": {"text": "Possibly dead Python function: fetch_external_accounts"}, "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-3cb37d3fea61debd", "name": "Possibly dead Python function: fetch_fiscal", "shortDescription": {"text": "Possibly dead Python function: fetch_fiscal"}, "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-9922ee3093b36e17", "name": "Possibly dead Python function: fetch_inequality", "shortDescription": {"text": "Possibly dead Python function: fetch_inequality"}, "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-5d5c51d8648386c3", "name": "Possibly dead Python function: fetch_regional", "shortDescription": {"text": "Possibly dead Python function: fetch_regional"}, "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-0e1e673abfda057d", "name": "Possibly dead Python function: load_gdp", "shortDescription": {"text": "Possibly dead Python function: load_gdp"}, "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-0e03b579c58711f3", "name": "Possibly dead Python function: load_unemployment", "shortDescription": {"text": "Possibly dead Python function: load_unemployment"}, "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-d9a253483ad65db2", "name": "Possibly dead Python function: load_credit", "shortDescription": {"text": "Possibly dead Python function: load_credit"}, "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-d23924a5766d4a54", "name": "Possibly dead Python function: load_interest_rates", "shortDescription": {"text": "Possibly dead Python function: load_interest_rates"}, "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-1e4a05bc8af37c8f", "name": "Possibly dead Python function: load_inflation", "shortDescription": {"text": "Possibly dead Python function: load_inflation"}, "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-eacb7d43a8a98a63", "name": "Possibly dead Python function: load_public_debt", "shortDescription": {"text": "Possibly dead Python function: load_public_debt"}, "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-f7d3d94595d36446", "name": "Possibly dead Python function: load_housing", "shortDescription": {"text": "Possibly dead Python function: load_housing"}, "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-9f4a7f22010be8b4", "name": "Possibly dead Python function: load_labor_detail", "shortDescription": {"text": "Possibly dead Python function: load_labor_detail"}, "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-d0a1569061b8ce34", "name": "Possibly dead Python function: load_external_accounts", "shortDescription": {"text": "Possibly dead Python function: load_external_accounts"}, "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-aae42ef8c04eca3c", "name": "Possibly dead Python function: load_fiscal", "shortDescription": {"text": "Possibly dead Python function: load_fiscal"}, "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-2a57ee12d017390b", "name": "Possibly dead Python function: load_inequality", "shortDescription": {"text": "Possibly dead Python function: load_inequality"}, "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-0ed5a9c3e724461f", "name": "Possibly dead Python function: load_regional", "shortDescription": {"text": "Possibly dead Python function: load_regional"}, "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-a35324bee9123e2d", "name": "Possibly dead Python function: run_scenarios", "shortDescription": {"text": "Possibly dead Python function: run_scenarios"}, "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-c58ed4e9bdfa1831", "name": "Possibly dead Python function: analyse_gdp", "shortDescription": {"text": "Possibly dead Python function: analyse_gdp"}, "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-078e01e2049d1733", "name": "Possibly dead Python function: analyse_unemployment", "shortDescription": {"text": "Possibly dead Python function: analyse_unemployment"}, "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-82405da3b0b8bf13", "name": "Possibly dead Python function: analyse_credit", "shortDescription": {"text": "Possibly dead Python function: analyse_credit"}, "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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "codecov/codecov-action@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e465b47ebe61d511", "name": "Very large file: dashboard/generate_report.py (2128 lines)", "shortDescription": {"text": "Very large file: dashboard/generate_report.py (2128 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-8242277774604459", "name": "Very large file: src/etl/fetch_real_data.py (2418 lines)", "shortDescription": {"text": "Very large file: src/etl/fetch_real_data.py (2418 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-004ff28cbe78532c", "name": "Very large file: src/analysis/visualisations.py (1529 lines)", "shortDescription": {"text": "Very large file: src/analysis/visualisations.py (1529 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-744d63e215099612", "name": "Very large file: src/ai_insights/pillar_insights.py (1198 lines)", "shortDescription": {"text": "Very large file: src/ai_insights/pillar_insights.py (1198 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-deadadd95ff04b03", "name": "Very large file: src/ai_insights/pillar_insights_pt.py (1285 lines)", "shortDescription": {"text": "Very large file: src/ai_insights/pillar_insights_pt.py (1285 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 166 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-46f7129f6e3bfa6e", "name": "Commented-code block (12 lines) in src/etl/fetch_real_data.py:1770", "shortDescription": {"text": "Commented-code block (12 lines) in src/etl/fetch_real_data.py:1770"}, "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-a3ffa2eabdb53d02", "name": "Commented-code block (5 lines) in src/ai_insights/insight_engine.py:321", "shortDescription": {"text": "Commented-code block (5 lines) in src/ai_insights/insight_engine.py:321"}, "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-f6b9bc83c31ec944", "name": "Commented-code block (5 lines) in src/reporting/shared_styles.py:40", "shortDescription": {"text": "Commented-code block (5 lines) in src/reporting/shared_styles.py:40"}, "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-250f57e8a1dbd3c5", "name": "4 env vars used in code but missing from .env.example", "shortDescription": {"text": "4 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `API_ALLOWED_ORIGINS`, `API_KEY`, `DQ_FAIL_ON_ERROR`, `LOG_FORMAT_JSON`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "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/analysis/ensemble_forecast.py:fn, src/analysis/ensemble_forecast.py:fn, src/analysis/ensemble_forecast.py:fn, src/analysis/ensemble_forecast.py:fn\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:\nsrc/ai_insights/insight_engine.py:get_logger, src/ai_insights/generate_insights.py:get_logger\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/25423"}, "properties": {"repository": "diogomserino/Portugal-Data-Intelligence", "repoUrl": "https://github.com/diogomserino/Portugal-Data-Intelligence", "branch": "main"}, "results": [{"ruleId": "scanner-7e159bdcb950ffa0", "level": "note", "message": {"text": "Possibly dead Python function: to_date"}, "properties": {"repobilityId": "cbcf3b3fc2e31f64", "scanner": "scanner-primary", "fingerprint": "7e159bdcb950ffa0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard/app.py:125"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c01f1f98d86d1c77", "level": "note", "message": {"text": "Possibly dead Python function: metric_card"}, "properties": {"repobilityId": "3bb50e8eee666a40", "scanner": "scanner-primary", "fingerprint": "c01f1f98d86d1c77", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard/app.py:138"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2d71b312a95ef919", "level": "note", "message": {"text": "Possibly dead Python function: fetch_gdp"}, "properties": {"repobilityId": "9cf0e3bd505599c8", "scanner": "scanner-primary", "fingerprint": "2d71b312a95ef919", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:292"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-43d5da26a4f0b4cd", "level": "note", "message": {"text": "Possibly dead Python function: fetch_unemployment"}, "properties": {"repobilityId": "d2e988adc42f17cf", "scanner": "scanner-primary", "fingerprint": "43d5da26a4f0b4cd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:380"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8c53e8f0449383f2", "level": "note", "message": {"text": "Possibly dead Python function: fetch_interest_rates"}, "properties": {"repobilityId": "e3c8a121faf1eb25", "scanner": "scanner-primary", "fingerprint": "8c53e8f0449383f2", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:496"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-492ec72b002b1178", "level": "note", "message": {"text": "Possibly dead Python function: fetch_inflation"}, "properties": {"repobilityId": "eec06039215070d7", "scanner": "scanner-primary", "fingerprint": "492ec72b002b1178", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:608"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e37065c38f8c2723", "level": "note", "message": {"text": "Possibly dead Python function: fetch_credit"}, "properties": {"repobilityId": "7430d14b7ee7e26a", "scanner": "scanner-primary", "fingerprint": "e37065c38f8c2723", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:696"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3d488cc206e14a07", "level": "note", "message": {"text": "Possibly dead Python function: fetch_public_debt"}, "properties": {"repobilityId": "5bf9fdd371c06a9c", "scanner": "scanner-primary", "fingerprint": "3d488cc206e14a07", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:804"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-65571e4ba3009c2a", "level": "note", "message": {"text": "Possibly dead Python function: fetch_housing"}, "properties": {"repobilityId": "683331e93c23bec7", "scanner": "scanner-primary", "fingerprint": "65571e4ba3009c2a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:1040"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9dd361235139c137", "level": "note", "message": {"text": "Possibly dead Python function: fetch_labor_detail"}, "properties": {"repobilityId": "7c10121b5513e51f", "scanner": "scanner-primary", "fingerprint": "9dd361235139c137", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:1196"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e0f76e38cc905893", "level": "note", "message": {"text": "Possibly dead Python function: fetch_external_accounts"}, "properties": {"repobilityId": "72a96c4839599feb", "scanner": "scanner-primary", "fingerprint": "e0f76e38cc905893", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:1329"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3cb37d3fea61debd", "level": "note", "message": {"text": "Possibly dead Python function: fetch_fiscal"}, "properties": {"repobilityId": "fd7564de40f621c8", "scanner": "scanner-primary", "fingerprint": "3cb37d3fea61debd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:1481"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9922ee3093b36e17", "level": "note", "message": {"text": "Possibly dead Python function: fetch_inequality"}, "properties": {"repobilityId": "cf1d4d139826fc4d", "scanner": "scanner-primary", "fingerprint": "9922ee3093b36e17", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:1696"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5d5c51d8648386c3", "level": "note", "message": {"text": "Possibly dead Python function: fetch_regional"}, "properties": {"repobilityId": "ddcfbfceff05c7a9", "scanner": "scanner-primary", "fingerprint": "5d5c51d8648386c3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/fetch_real_data.py:2208"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0e1e673abfda057d", "level": "note", "message": {"text": "Possibly dead Python function: load_gdp"}, "properties": {"repobilityId": "c8a24964bf66f524", "scanner": "scanner-primary", "fingerprint": "0e1e673abfda057d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:401"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0e03b579c58711f3", "level": "note", "message": {"text": "Possibly dead Python function: load_unemployment"}, "properties": {"repobilityId": "82e73acdbd33eabf", "scanner": "scanner-primary", "fingerprint": "0e03b579c58711f3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:406"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d9a253483ad65db2", "level": "note", "message": {"text": "Possibly dead Python function: load_credit"}, "properties": {"repobilityId": "66d1043ba19bc3e0", "scanner": "scanner-primary", "fingerprint": "d9a253483ad65db2", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:411"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d23924a5766d4a54", "level": "note", "message": {"text": "Possibly dead Python function: load_interest_rates"}, "properties": {"repobilityId": "4569398526161200", "scanner": "scanner-primary", "fingerprint": "d23924a5766d4a54", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:416"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1e4a05bc8af37c8f", "level": "note", "message": {"text": "Possibly dead Python function: load_inflation"}, "properties": {"repobilityId": "12aea6e28bf83b5e", "scanner": "scanner-primary", "fingerprint": "1e4a05bc8af37c8f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:421"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-eacb7d43a8a98a63", "level": "note", "message": {"text": "Possibly dead Python function: load_public_debt"}, "properties": {"repobilityId": "f6c26248369326e6", "scanner": "scanner-primary", "fingerprint": "eacb7d43a8a98a63", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:426"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f7d3d94595d36446", "level": "note", "message": {"text": "Possibly dead Python function: load_housing"}, "properties": {"repobilityId": "dcc0d7385e2879ac", "scanner": "scanner-primary", "fingerprint": "f7d3d94595d36446", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:431"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9f4a7f22010be8b4", "level": "note", "message": {"text": "Possibly dead Python function: load_labor_detail"}, "properties": {"repobilityId": "57d0bc01ae9b19cf", "scanner": "scanner-primary", "fingerprint": "9f4a7f22010be8b4", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:436"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d0a1569061b8ce34", "level": "note", "message": {"text": "Possibly dead Python function: load_external_accounts"}, "properties": {"repobilityId": "363bd9395cec7f96", "scanner": "scanner-primary", "fingerprint": "d0a1569061b8ce34", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:441"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aae42ef8c04eca3c", "level": "note", "message": {"text": "Possibly dead Python function: load_fiscal"}, "properties": {"repobilityId": "7bc64fdccc5aaed5", "scanner": "scanner-primary", "fingerprint": "aae42ef8c04eca3c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:448"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2a57ee12d017390b", "level": "note", "message": {"text": "Possibly dead Python function: load_inequality"}, "properties": {"repobilityId": "401f1636475e71c7", "scanner": "scanner-primary", "fingerprint": "2a57ee12d017390b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:453"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0ed5a9c3e724461f", "level": "note", "message": {"text": "Possibly dead Python function: load_regional"}, "properties": {"repobilityId": "871da93dbfcc845e", "scanner": "scanner-primary", "fingerprint": "0ed5a9c3e724461f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/etl/load.py:458"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a35324bee9123e2d", "level": "note", "message": {"text": "Possibly dead Python function: run_scenarios"}, "properties": {"repobilityId": "c6505e789a945fb2", "scanner": "scanner-primary", "fingerprint": "a35324bee9123e2d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/analysis/scenario_analysis.py:644"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c58ed4e9bdfa1831", "level": "note", "message": {"text": "Possibly dead Python function: analyse_gdp"}, "properties": {"repobilityId": "15ddb457762cc435", "scanner": "scanner-primary", "fingerprint": "c58ed4e9bdfa1831", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/analysis/statistical_analysis.py:91"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-078e01e2049d1733", "level": "note", "message": {"text": "Possibly dead Python function: analyse_unemployment"}, "properties": {"repobilityId": "58f1043f2dba4f91", "scanner": "scanner-primary", "fingerprint": "078e01e2049d1733", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/analysis/statistical_analysis.py:167"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-82405da3b0b8bf13", "level": "note", "message": {"text": "Possibly dead Python function: analyse_credit"}, "properties": {"repobilityId": "1fa45564f20334a5", "scanner": "scanner-primary", "fingerprint": "82405da3b0b8bf13", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/analysis/statistical_analysis.py:255"}, "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": "f391052c9bfd7e8b", "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": 1}}}]}, {"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-27924aa79fa4a517", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "a3c03147ef1f40b5", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 82}}}]}, {"ruleId": "scanner-e465b47ebe61d511", "level": "note", "message": {"text": "Very large file: dashboard/generate_report.py (2128 lines)"}, "properties": {"repobilityId": "d89273e6c63e3123", "scanner": "scanner-primary", "fingerprint": "e465b47ebe61d511", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-8242277774604459", "level": "note", "message": {"text": "Very large file: src/etl/fetch_real_data.py (2418 lines)"}, "properties": {"repobilityId": "e21600d4f93bf127", "scanner": "scanner-primary", "fingerprint": "8242277774604459", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-004ff28cbe78532c", "level": "note", "message": {"text": "Very large file: src/analysis/visualisations.py (1529 lines)"}, "properties": {"repobilityId": "7600e7ae6131ff41", "scanner": "scanner-primary", "fingerprint": "004ff28cbe78532c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-744d63e215099612", "level": "note", "message": {"text": "Very large file: src/ai_insights/pillar_insights.py (1198 lines)"}, "properties": {"repobilityId": "1d07df0bedb65a57", "scanner": "scanner-primary", "fingerprint": "744d63e215099612", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-deadadd95ff04b03", "level": "note", "message": {"text": "Very large file: src/ai_insights/pillar_insights_pt.py (1285 lines)"}, "properties": {"repobilityId": "41dfb4391013c36f", "scanner": "scanner-primary", "fingerprint": "deadadd95ff04b03", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "eac9c1b37d43e426", "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": "b21db942caa0b79c", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-46f7129f6e3bfa6e", "level": "none", "message": {"text": "Commented-code block (12 lines) in src/etl/fetch_real_data.py:1770"}, "properties": {"repobilityId": "01648c922bb10f25", "scanner": "scanner-primary", "fingerprint": "46f7129f6e3bfa6e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a3ffa2eabdb53d02", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/ai_insights/insight_engine.py:321"}, "properties": {"repobilityId": "25cce7671db84c6e", "scanner": "scanner-primary", "fingerprint": "a3ffa2eabdb53d02", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f6b9bc83c31ec944", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/reporting/shared_styles.py:40"}, "properties": {"repobilityId": "984dc8895f2e2df4", "scanner": "scanner-primary", "fingerprint": "f6b9bc83c31ec944", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-250f57e8a1dbd3c5", "level": "none", "message": {"text": "4 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "57584f22b735b5ee", "scanner": "scanner-primary", "fingerprint": "250f57e8a1dbd3c5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-02525d39071dd2c7", "level": "note", "message": {"text": "Near-duplicate function bodies in 5 places"}, "properties": {"repobilityId": "40dd7ec2363d0fae", "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": "877bc28be63b7744", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}