{"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-90d042574a0c45d8", "name": "Possibly dead Python function: answer_messages", "shortDescription": {"text": "Possibly dead Python function: answer_messages"}, "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-d8c3d56f03d17fe3", "name": "Possibly dead Python function: live_judge_messages", "shortDescription": {"text": "Possibly dead Python function: live_judge_messages"}, "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-ce6ba6c430208959", "name": "Possibly dead Python function: baseline_messages", "shortDescription": {"text": "Possibly dead Python function: baseline_messages"}, "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-bc7a54bbae806d95", "name": "Possibly dead Python function: baseline_judge_messages", "shortDescription": {"text": "Possibly dead Python function: baseline_judge_messages"}, "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-e18c5e9d677c2dbb", "name": "Possibly dead Python function: parse_json", "shortDescription": {"text": "Possibly dead Python function: parse_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-9f69bfc1ddc6033b", "name": "Possibly dead Python function: hana_connect", "shortDescription": {"text": "Possibly dead Python function: hana_connect"}, "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-1de70e3563cb1c7a", "name": "Possibly dead Python function: embed", "shortDescription": {"text": "Possibly dead Python function: embed"}, "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-8c4bb5683406838f", "name": "Possibly dead Python function: chat", "shortDescription": {"text": "Possibly dead Python function: chat"}, "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-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-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-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-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: `RERANK_ENABLED`, `RERANK_MODEL`, `SQLITE_PATH`, `STORE`. 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}}]}}, "automationDetails": {"id": "repobility/28816"}, "properties": {"repository": "qianli-hu/BTP_RAG_demo", "repoUrl": "https://github.com/qianli-hu/BTP_RAG_demo", "branch": "main"}, "results": [{"ruleId": "scanner-90d042574a0c45d8", "level": "note", "message": {"text": "Possibly dead Python function: answer_messages"}, "properties": {"repobilityId": "508d21a80b05519f", "scanner": "scanner-primary", "fingerprint": "90d042574a0c45d8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prompts.py:23"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d8c3d56f03d17fe3", "level": "note", "message": {"text": "Possibly dead Python function: live_judge_messages"}, "properties": {"repobilityId": "beb3943803a7eb33", "scanner": "scanner-primary", "fingerprint": "d8c3d56f03d17fe3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prompts.py:48"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ce6ba6c430208959", "level": "note", "message": {"text": "Possibly dead Python function: baseline_messages"}, "properties": {"repobilityId": "e02605d4fd6c4935", "scanner": "scanner-primary", "fingerprint": "ce6ba6c430208959", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prompts.py:55"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bc7a54bbae806d95", "level": "note", "message": {"text": "Possibly dead Python function: baseline_judge_messages"}, "properties": {"repobilityId": "a4207cf790ce410c", "scanner": "scanner-primary", "fingerprint": "bc7a54bbae806d95", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prompts.py:66"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e18c5e9d677c2dbb", "level": "note", "message": {"text": "Possibly dead Python function: parse_json"}, "properties": {"repobilityId": "3f174b2221842ddf", "scanner": "scanner-primary", "fingerprint": "e18c5e9d677c2dbb", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prompts.py:70"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9f69bfc1ddc6033b", "level": "note", "message": {"text": "Possibly dead Python function: hana_connect"}, "properties": {"repobilityId": "f2b4174d4f6fa82c", "scanner": "scanner-primary", "fingerprint": "9f69bfc1ddc6033b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "config.py:25"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1de70e3563cb1c7a", "level": "note", "message": {"text": "Possibly dead Python function: embed"}, "properties": {"repobilityId": "03db77c91b518a90", "scanner": "scanner-primary", "fingerprint": "1de70e3563cb1c7a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "providers.py:19"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8c4bb5683406838f", "level": "note", "message": {"text": "Possibly dead Python function: chat"}, "properties": {"repobilityId": "4a0aa5ee3a266d11", "scanner": "scanner-primary", "fingerprint": "8c4bb5683406838f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "providers.py:26"}, "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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "42f4f583c698afd6", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "f735c765fdcca4eb", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"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"]}}]}]}