{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"BotService.ProcessMessage (cyclomatic 49): BotService.ProcessMessage has cyclomatic complexity 49 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"540347c58cb794ef1fa6e614016e7ab9163a001f4d228008a5ed0a5bd7f7b2a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ModerationQuality.evaluate (cyclomatic 42): ModerationQuality.evaluate has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ModerationQuality.fs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc328e4cb56c25dea2c40fa2895f8da3e481d5480bcc0a0c9a6226486181fd"}},{"ruleId":"D1","level":"warning","message":{"text":"RichMessageText.appendBlock (cyclomatic 35): RichMessageText.appendBlock has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/RichMessageText.fs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2e9b702bae714b3210413a64ddcec50dc9cf35ab323a9604aa9ac776bae90"}},{"ruleId":"D1","level":"warning","message":{"text":"BotService.OnCallbackAux (cyclomatic 26): BotService.OnCallbackAux has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fe86b2e441ce2be09ebe0c6b21645688df7b9315631ae4a828e03cec64ea57"}},{"ruleId":"D1","level":"warning","message":{"text":"BotService.TryEnrichOcrFromCache (cyclomatic 25): BotService.TryEnrichOcrFromCache has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1441c129bf56cb10db03f14e55e53591c5acf3513854285038d0da1cf7068732"}},{"ruleId":"D1","level":"warning","message":{"text":"BotService.PostReactionTriageAlert (cyclomatic 22): BotService.PostReactionTriageAlert has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f75b37b1f25fe6a1722b59e00a3ce381c615fdcf6b4dd635e9f4e38c0dd36e"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotShape.render (cyclomatic 17): SnapshotShape.render has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventSnapshot.fs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a051354c72e051fda768ca28179e88668b9b86b6ddc148de9b64dacc7d6225c"}},{"ruleId":"D1","level":"warning","message":{"text":"LlmTriage.extractContentFilterTriggers (cyclomatic 17): LlmTriage.extractContentFilterTriggers has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a90aba3be2139c6aa6f1b7ef31f3cf35028f8f03a024fc8d1eddc2d8e79615d"}},{"ruleId":"D1","level":"warning","message":{"text":"Telemetry.updateIdentityTags (cyclomatic 17): Telemetry.updateIdentityTags has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Telemetry.fs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"477dca56f9ad23d7f4fa6f9faff1877118aea044cb3ce9d02e9c0427a0a37c60"}},{"ruleId":"D1","level":"warning","message":{"text":"BotService.OnMessageReaction (cyclomatic 16): BotService.OnMessageReaction has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420a4cf35ab876e846a089c6c941394004ff3b860904107346795841fc70182"}},{"ruleId":"D1","level":"warning","message":{"text":"BotService.RunReactionTriagePipeline (cyclomatic 16): BotService.RunReactionTriagePipeline has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 6 of the 11 methods over the threshold \u2014 including the worst \u2014 and 64 of the 117 points over it (55%), 2.4\u00D7 the next-largest file (src/VahterBanBot/ModerationQuality.fs at 27). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be13b92d1f37835e6f98ec3e98926a6e5889b166d39e54259a34b901644e35c"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.ProcessMessage (cognitive 69): BotService.ProcessMessage has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (31 pts), match/switch 7 (23 pts), boolean chains 15 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c26280db223251a10681bd58dcfb546662e2185d2e0023303500dcb63c035e4"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.TryEnrichOcrFromCache (cognitive 57): BotService.TryEnrichOcrFromCache has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (31 pts), error handling 4 (12 pts), match/switch 4 (12 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1883f08a43196a30b459f388b1d5777550392d239c82827cd66172de9d82e16"}},{"ruleId":"D2","level":"warning","message":{"text":"ModerationQuality.evaluate (cognitive 45): ModerationQuality.evaluate has cognitive complexity 45 (threshold 15). Drivers by points: match/switch 16 (34 pts), boolean chains 8, loops 3 (nesting depth added 18). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ModerationQuality.fs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c78af302ec290d5a56d52c875791acc4e7b89ed570f1f234d1d2aa59e0d2af"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.OnMessageReaction (cognitive 42): BotService.OnMessageReaction has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 3 (11 pts), boolean chains 1 (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"da41ca46ce95a280833cefc4c114970db71c07904d2d906d7e0b0f5744650d85"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmTriage.extractContentFilterTriggers (cognitive 40): LlmTriage.extractContentFilterTriggers has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 7 (26 pts), if/else 4 (12 pts), boolean chains 1, error handling 1 (nesting depth added 27). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecdd6a80ef9f53f34b16f1c3d2447354f953961ce46e54af2459a34f48edb89"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.PostReactionTriageAlert (cognitive 35): BotService.PostReactionTriageAlert has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (24 pts), match/switch 5 (8 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"71171481fa7dbe0b6ceb9ca4e2acc06badee7a119e762ddbab7144e9ddaebb46"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.OnMessage (cognitive 29): BotService.OnMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"7740420d2ab80460bc30f5079eb5d1c394b390cfd2efc944f3993c9bdc9a3140"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineLearning.Microsoft.Extensions.Hosting.IHostedService.StartAsync (cognitive 29): MachineLearning.Microsoft.Extensions.Hosting.IHostedService.StartAsync has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (18 pts), error handling 1 (6 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ML.fs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aaae04b881fb2f040963bd573849e1160faa24b6d4dc6b9125d8ccf3f454d4"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmTriage.mediaPlaceholder (cognitive 28): LlmTriage.mediaPlaceholder has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 3 (11 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa59cf894e9e60867dd96ecb9216cecdf003ab474dd981ac8b5dd6877250d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureLlmTriage.VahterBanBot.LlmTriage.ILlmTriage.Classify (cognitive 28): AzureLlmTriage.VahterBanBot.LlmTriage.ILlmTriage.Classify has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 4 (13 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1f338708e6c29f1ef36443c0bdcf7e56d5423c293a13adb91a4cd981e2ece0"}},{"ruleId":"D2","level":"warning","message":{"text":"RichMessageText.appendBlock (cognitive 28): RichMessageText.appendBlock has cognitive complexity 28 (threshold 15). Drivers by points: loops 8 (18 pts), match/switch 3 (7 pts), if/else 1 (3 pts) (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/RichMessageText.fs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f8139ca385e90507f83378b24e5917fbeaf893fbbe2831b9ff556fae974be"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotShape.render (cognitive 27): SnapshotShape.render has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4, match/switch 1 (4 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventSnapshot.fs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"102e613963f5c01e2305ee8c4a4a5357d9af4233908ad3cd8aa8cee0b93d9df7"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureReactionTriage.VahterBanBot.LlmTriage.IReactionTriageClassifier.ClassifyReactionSpammer (cognitive 26): AzureReactionTriage.VahterBanBot.LlmTriage.IReactionTriageClassifier.ClassifyReactionSpammer has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (5 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5539c5a9d811aa4d06f2e032cd0a8096d46a11b77747943c20c2d9166d013d"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.OnCallbackAux (cognitive 23): BotService.OnCallbackAux has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 9 (16 pts), if/else 4 (7 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9af1a3a62a9987bd8f8d655dc00af0b0c3020f1f370096b98871cb966d9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.TransactWithProjection (cognitive 21): EventStore.TransactWithProjection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventStore.fs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf763eec81ca65b39ad899d37e91818c616f9587b538d2a00438dca2bd4261"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.RunReactionTriagePipeline (cognitive 19): BotService.RunReactionTriagePipeline has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 6 (9 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd32da8b1d44d09bdccdbe0c2cbb4f3216cbf99642c1049e6c117d5111a309ac"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.TryEnrichWithInlineKeyboardText (cognitive 19): BotService.TryEnrichWithInlineKeyboardText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 2 (5 pts), match/switch 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"11841427fadbcb889c0fcae7738fd00cd39fabb0e310731162b57d9bfe6eb1d6"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonLogging.ofJsonElement (cognitive 18): JsonLogging.ofJsonElement has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 2 (6 pts), match/switch 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/JsonLogging.fs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447e22bad93756819bc50deef1a1c167718f186f1f39875b688846b16fa62c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBotOcr.BotInfra.IBotOcr.AnalyzeImageBytes (cognitive 18): AzureBotOcr.BotInfra.IBotOcr.AnalyzeImageBytes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (6 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/OcrService.fs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3794ae486dfc381fcd9fbed0eb6fe008f313ae97eb6065d9310f11bb77b4750"}},{"ruleId":"D2","level":"warning","message":{"text":"BotService.OcrFresh (cognitive 17): BotService.OcrFresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (4 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/VahterBanBot/Bot.fs holds 9 of the 21 methods over the threshold \u2014 including the worst \u2014 and 175 of the 319 points over it (55%), 2.8\u00D7 the next-largest file (src/VahterBanBot/LlmTriage.fs at 62). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e0d4b6a31c19e168dbb652097dd6353f1cc1637ab14d76b3ad30169c41cce9"}},{"ruleId":"D2","level":"warning","message":{"text":"DbService.RebuildSnapshots (cognitive 16): DbService.RebuildSnapshots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/DB.fs"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d822120462d0bf7afc61f28e198eee54573155de67e0f016e4804cff8c62c470"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VahterBanBot/Bot.fs: FileTooLong \u2014 1876 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1376 over it, 3.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cc64cd91acd10f6f2c130fca21d3f2c39aec56975af8082b8cd2eb502a20a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotService: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fccb87c886665489547c7a56023f093df938c2f93458a8313d83c1793fac495"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DbService: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/DB.fs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6107642ce4f1d6250bc5f25ffc298dce81ae35b99b3ca56268920b5907d04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VahterBanBot/DB.fs: FileTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 517 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/DB.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5879c8b6813ff950d5c2a35781115b2b61c0537b1abb05ecabfd913651dc9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: BotInfra/EventStore.fs: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventStore.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6aae5d287423dc1eae37fbadaad431c414f2680e7c3c5018f1a630ccff6735"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VahterBanBot/LlmTriage.fs: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b725ed0b112a1c2da40f33687e2d7f1f4465e0fe3b4eef2d6b0575cd58e8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VahterBanBot/Types.fs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Types.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8b5604c7bd76c5162d688c9e1de6457a3cd493bd748648b27d816c989abd9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/VahterBanBot/LlmTriage.fs:555-566 | src/VahterBanBot/LlmTriage.fs:872-883 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"be99feed1641301d7847128e8f0423c53c73e4f3a9574ea58e5b6d425ef676b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/BotInfra/EventStore.fs:611-619 | src/BotInfra/EventStore.fs:644-653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BotInfra/EventStore.fs:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventStore.fs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d334f6b8eef17a5114a98a84c295d64b5915362a6ebf2b4340b9cccbac670734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/VahterBanBot/Bot.fs:2245-2254 | src/VahterBanBot/Bot.fs:2295-2304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3decc7cdd4aa955de0d8c9b284bb7b455ac01b8078e43372d7e28a7dbdc4a953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/VahterBanBot/Bot.fs:2505-2510 | src/VahterBanBot/Bot.fs:2517-2522 | src/VahterBanBot/Bot.fs:2529-2534 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b0b9c1e151075f9e50dc4057f6aeb85bf7fdd1e3565ae1ac53a6683794d03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/VahterBanBot/Bot.fs:1645-1652 | src/VahterBanBot/Bot.fs:1685-1691 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3608b0a752212e41f229e0f046937810f5fd92a4853e2ce55cc1c8e57ec1443c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/VahterBanBot/Bot.fs:476-482 | src/VahterBanBot/Bot.fs:608-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/VahterBanBot/Bot.fs:608\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cca29236c56cbd724d5b7a2a857797b358e6f9607d0f87081673e31ff712663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/VahterBanBot/Bot.fs:2349-2356 | src/VahterBanBot/Bot.fs:2395-2402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"200401fc06a3d8d753087b8da2d174546c909069bae0e7f0c04f8a65d85f3618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/VahterBanBot/Bot.fs:507-512 | src/VahterBanBot/Bot.fs:896-902 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/VahterBanBot/Bot.fs:507\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d098eb36d73e37dd81edc9130bf7683148c000f8b0a8e651d22c37c071ec596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/VahterBanBot/Bot.fs:1780-1785 | src/VahterBanBot/Bot.fs:1812-1817 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba6904e384be31cad32e93bdb45e7f0e440dd84b1956cca71b60f292312314d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/TgMessage.fs: 25.7% line coverage (19/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/TgMessage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e92593c429793627b6519f01c867cae19f2ca53d7edf34278f1ecf81f926a2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/DB.fs: 0.0% line coverage (0/906)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/DB.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c01a582ee5cfc65f2fc4c751ac6c61c85d7ee587d967f5841a8f16c5852909"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/ModerationQuality.fs: 0.0% line coverage (0/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ModerationQuality.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd845dd0b1dfe4f1a1a57dc1c4a5bfa34b37d6faa5d9b84a57d786be1512f01"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/ModerationQualityHistory.fs: 0.0% line coverage (0/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ModerationQualityHistory.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b653105bbcf15f1a7889efdcab8eb68807367e48801aeca6c03703371a4fac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Program.fs: 0.0% line coverage (0/326)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Program.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df5bb12668c0db01e81ad5295fd99b095175add8b01d3c6d304264c2a0bd8b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/BotCommandsSetup.fs: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/BotCommandsSetup.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb455ef0155baaa2f0a1af7010efa026da620c84c985c4809b38558991c50a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/StartupMessage.fs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/StartupMessage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa2ff2bc5a16a01e344e4faff188178250780a402d1d92435388e8ef69d65ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Cleanup.fs: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Cleanup.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64862ea32aad3638e7ecdc6c5f069dbae5955ead5b0becb98dcfc64c45ff3cdc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Bot.fs: 0.9% line coverage (15/1639)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a87c4254f0b32ccfed43611b587aac2e008d069554f0c06ccde83320771b86a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/UpdateChatAdmins.fs: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/UpdateChatAdmins.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b08c85e744e85e5a7cfde94539a66e1a0ea099b33489ba9febbeb7254a49e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/LlmTriage.fs: 15.5% line coverage (76/490)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a2c59cb592322e8d353251b2f1b5700dbcd6f5583cdde5e76bf4e9e8a6aac8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/ProfileFetcher.fs: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ProfileFetcher.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37fb72fe61b82d99c6995a48e9be5ba953aa93be8e70993cda211faebeadb90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/ComputerVision.fs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ComputerVision.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e41cbe46623a26cd296aa2e3f89f0ae58d4b16c3e5c01f1831091fbca5c005a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/ML.fs: 0.0% line coverage (0/178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/ML.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6371d4dcbf8b3794dbf99353cc8cc42292354ec8ea2b35c60954099c8d7ee274"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/LlmVerdictCache.fs: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmVerdictCache.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7e50c6283598acc9418b5f9cbabf54592417652d8c352d88e60017983836b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/OcrCache.fs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/OcrCache.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14e47e038cc6d7002ddc28f79e522019a1c49407461df83d3da636f177ab9bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/SpamTextCache.fs: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/SpamTextCache.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"272699b45baa400a48ffde54b3879663f3f15f8bd3138f664a2ad986683b0870"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Metrics.fs: 0.0% line coverage (0/103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Metrics.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0727e1a29053ba998a302e5a54fb60e8e340320660f9c9f104acb9cbe4faf1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Types.fs: 21.6% line coverage (47/218)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Types.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed9758b5f0dc50637f1a04b40b3bf7dacf36036ae03358b9facf047577ec159"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/RichMessageText.fs: 48.5% line coverage (49/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/RichMessageText.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e23668e9262a76f947811cb021847f795b7dbc581dc7572b9af9a478301243"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/VahterBanBot/Utils.fs: 19.4% line coverage (6/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Utils.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"526319aba5347a36b476fcb68b9599ac992a40e8e15746da2932a0f3483f9b6a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/EventStore.fs: 0.0% line coverage (0/447)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/EventStore.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2708eea7fdd3355ce430e7a85f6eb73fd6781a824c0826348ee62bac8bd76d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/LiveOptions.fs: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/LiveOptions.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc5e1bf33b61a1036410d9886cec8c71803925cde4ca1f2daaa18998ce0816"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/OcrService.fs: 0.0% line coverage (0/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/OcrService.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85b9705535a9fde22cf5624d2450256b1681d4128722d62fe7463e286d03131"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/SettingsNotify.fs: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/SettingsNotify.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36287dd6457bdfb0250e9954860ee438eaa8c7ffec916aaabb60bf8cf664373"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/TelegramApi.fs: 38.5% line coverage (10/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/TelegramApi.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9335915ab41ca26364905c908c93943b780b57a82522bead43e9156ebe847dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/ScheduledJobs.fs: 0.0% line coverage (0/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/ScheduledJobs.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21b640dfa884dc167bfb41f129f7aff2131d14926dc6e3ef65847b395c354f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/WebhookRegistration.fs: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/WebhookRegistration.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e783310cc98068020bda2d7ce5509dc2d06e0e01f8062819bed07c3943a35749"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/WebhookHost.fs: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/WebhookHost.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8681a40db79d411159598d2d0a96bfbd1787205ba4a30903848aafc3e53187"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/TelegramMessage.fs: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/TelegramMessage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7f1fb7915ed06c0db7ca9828ea205dbac6763008f4bacbcde576ef8dc83a1c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/Observability.fs: 6.3% line coverage (6/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/Observability.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b4667eab1a00ceacccae1b0274fc5b283ee858342071446d51b10b705ccf17"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/DapperSetup.fs: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/DapperSetup.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5762d9100a31b2ef3f0c937daf549eb382a28d78bbc254c48842ed5fc3f8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/SettingsDump.fs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/SettingsDump.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e101cca10e1d5a846fbc2ed6fadade412c039847ce847844a11cebfde8ab98a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/DbSettings.fs: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/DbSettings.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5cbf77300f5cc608c2141db81dd85a75efd458c4a9f2b1869a5935315144ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/JsonSetup.fs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/JsonSetup.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"151277938a3acb011550895f8a51f75a0966b55ee3a656cf449de44f7ea45fd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/Time.fs: 40.0% line coverage (6/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/Time.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a07e2a351f81a0b7205a652237f0d1bac6db13d7ff2c3785b2927d231c436"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/BotInfra/Utils.fs: 3.2% line coverage (1/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BotInfra/Utils.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f95770ecee6b3c377eb0b63525b245a331ba9aaaec6d12eec32bb1f5cd6182"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: Azure.AI.OpenAI: Azure.AI.OpenAI resolves to 2.9.0-beta.1, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e633ef47b2c6f950c2dc8405ce6d6fbfab9484ff08f923dab30f04b8ac6b08b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/VahterBanBot/Bot.fs: src/VahterBanBot/Bot.fs changed 16 times in last 90 days, max cyclomatic complexity 49 in BotService.ProcessMessage at line 1359. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 17:50:35 \u002B00:00\u0027 --until=\u00272026-09-30 17:50:35 \u002B00:00\u0027 --full-history --no-merges -- src/VahterBanBot/Bot.fs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Bot.fs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"25369cdb761d5edbfcba785baf3067704c0c994fb3f24e4681571fd6b58cc861"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/VahterBanBot/Types.fs: src/VahterBanBot/Types.fs changed 18 times in last 90 days, max cyclomatic complexity 15 in User.Fold at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 17:50:35 \u002B00:00\u0027 --until=\u00272026-09-30 17:50:35 \u002B00:00\u0027 --full-history --no-merges -- src/VahterBanBot/Types.fs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/Types.fs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b706c20bcb0b25cdf8eea9dbe9f37572ce6c65eebd9376da5c38801a9ee065"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/VahterBanBot/LlmTriage.fs: src/VahterBanBot/LlmTriage.fs changed 11 times in last 90 days, max cyclomatic complexity 17 in LlmTriage.extractContentFilterTriggers at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 17:50:35 \u002B00:00\u0027 --until=\u00272026-09-30 17:50:35 \u002B00:00\u0027 --full-history --no-merges -- src/VahterBanBot/LlmTriage.fs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VahterBanBot/LlmTriage.fs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24f046550f97a3a1ee038623a6eb71087e34108e8e0fce24e111a4e2c7ac35a"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 92 % of calls cross a namespace and only 39 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b42e9978d6ddb69fcc9ca406510f36dc5249104d7b33ad1d3a74da72f97f69be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f22182e8c816448819a79f9d79c42a20ff8d049f5bf1553feba7b0ac085406b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84ea963d33f3de44456959e87227c84520db839b742f272003fcd04ac29c46e1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7efb908e17dbcd17911361d65925524d35f1811f3bdfe01ede6ccefc32a39de3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef614168f69ac92be034c54c7e27b66319dbdff10d7fb0a38d5213f68a42d622"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b18cbcd2d81f59b3845d5cf441794e0a76bdb4dd04602008a17c65f3d57f6624"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"711b2c68df769f6e4fdef04a0f478f7baee613d565d9bf77e680595249eca715"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97cd9dac30a2737960c3e4f3a01b443c6b4954b4d8592e6a70ed82a13f788a60"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README claims a monorepo sibling bots but the evidence shows no other projects \u2014 searched for: \u0060sibling bots\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add \u0060semgrep --config=auto\u0060 plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step. What was searched, so you can tell an absence from a miss: the 5706 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":10,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}