{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"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":"ChatChunks.fromResponseEvents (cyclomatic 82): ChatChunks.fromResponseEvents has cyclomatic complexity 82 (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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8327fea26b4a333a743e8359fa6575e2c3ebb39a486f499451faf4677ea4463d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaMacros.shapeExprOf (cyclomatic 49): JsonSchemaMacros.shapeExprOf has cyclomatic complexity 49 (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":"openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0edc65149242c4c340f737c1f342e44f8114cd83aaa93017c0f03a3570923"}},{"ruleId":"D1","level":"warning","message":{"text":"RetryEngine.run (cyclomatic 32): RetryEngine.run has cyclomatic complexity 32 (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":"openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0900696f124f6e73d318fb55bc9d4619405ed96db4136726edaceba1cfaccc"}},{"ruleId":"D1","level":"warning","message":{"text":"responsesapi.toTracedBlocks (cyclomatic 32): responsesapi.toTracedBlocks has cyclomatic complexity 32 (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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/package.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1234a31a44fcd820bb0ea45c68c3788e1d6edd39d8019c6daaf98af0a8abbb84"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCompletionBodyMaker.createBodyParamsForChatCompletion (cyclomatic 30): ChatCompletionBodyMaker.createBodyParamsForChatCompletion has cyclomatic complexity 30 (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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6d59297a19fbb58101d4912e667cd6a0b2b22e84e3e2695541b74671141c6"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaQuestions.plan (cyclomatic 30): SchemaQuestions.plan has cyclomatic complexity 30 (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":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e2b02aad79548d5bf38ff83da7ac8f161fd67c002f832d45ea45ab4c0c6e06"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaReflection.shapeOf (cyclomatic 27): JsonSchemaReflection.shapeOf has cyclomatic complexity 27 (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":"openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eec11c88602bba680d1a04b336134b4e08f9c79d6259c19048e07d50c84aee"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamedChunkMapper.apply (cyclomatic 26): StreamedChunkMapper.apply 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"50175e6c02e847936cd6fe437373128c757d84898a8615802984c6359cffc221"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnState.onEvent (cyclomatic 26): TurnState.onEvent 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d3aef9e593800c5fc2c2a8dcb66b46fd3240a6f004687216c7b60b4dfbba3e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponsesChatCompletionService.toResponsesSettings (cyclomatic 26): OpenAIResponsesChatCompletionService.toResponsesSettings has cyclomatic complexity 26 (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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559aaed3f96b9b643c209823a93658d1d4f4482bc066f521b396a2ec56a24b9"}},{"ruleId":"D1","level":"warning","message":{"text":"impl.toAnthropicMessages (cyclomatic 22): impl.toAnthropicMessages has cyclomatic complexity 22 (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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f275611106d0de9619a2a54a5a4cebbce48c32549b588dfc8019a40f36f2da3"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIAgentsChatCompletionService.toCreate (cyclomatic 22): OpenAIAgentsChatCompletionService.toCreate 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"93774574c54031ed35caeda995bca5ce4fbdff160431973198b29aea31344224"}},{"ruleId":"D1","level":"warning","message":{"text":"impl.toToolResultChunks (cyclomatic 20): impl.toToolResultChunks has cyclomatic complexity 20 (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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0e8dc71c77f7def8cacbaf57be091a53d675f80b8255c73186a11836f96e48"}},{"ruleId":"D1","level":"warning","message":{"text":"impl.toTracedBlocks (cyclomatic 20): impl.toTracedBlocks has cyclomatic complexity 20 (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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e1db0cf35266c285affdcfbadaf20aea6de1f6287a078e67fc1fe62da66ce"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponsesChatCompletionService.buildResponsesRequest (cyclomatic 20): OpenAIResponsesChatCompletionService.buildResponsesRequest has cyclomatic complexity 20 (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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a547a7729f0c3094f4fdb238a786073acdb9cb4d860151223fe0d27509ebac"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaQuestions.assemble (cyclomatic 20): SchemaQuestions.assemble has cyclomatic complexity 20 (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":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d03642f5b3830b6d69b86afcdf36b972fd8abb8feeeb609c3cb9448cb9366f"}},{"ruleId":"D1","level":"warning","message":{"text":"impl.toAnthropicSettings (cyclomatic 19): impl.toAnthropicSettings has cyclomatic complexity 19 (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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"712cb0be5cb7dd15ef5e2e9621edadfc80ad05bef6b52b16b276edda27dec2f4"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIGeminiChatCompletionService.chatChunksFlow (cyclomatic 19): OpenAIGeminiChatCompletionService.chatChunksFlow has cyclomatic complexity 19 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab67d2500a77e051a1839cbcd2f6ecf4e985102f72140009a5dd4a6a78bbdba"}},{"ruleId":"D1","level":"warning","message":{"text":"TypedTurnMapper.map (cyclomatic 17): TypedTurnMapper.map 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicManagedAgentChatCompletionService.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6d30c13e02ba52f6917832819780e0a5c4181fd44034f07982c2df83c727c2"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionImage.dimensions (cyclomatic 17): DecisionImage.dimensions has cyclomatic complexity 17 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/domain/DecisionImage.scala"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2397842793c4e4447c70a395dc03b1c9b3cdff6601f280100dd032c3dad5522"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIAnthropicChatCompletionService.toAnthropicToolRequest (cyclomatic 16): OpenAIAnthropicChatCompletionService.toAnthropicToolRequest has cyclomatic complexity 16 (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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f246dea30f72e7393d5b783ee046d1133a7a5d8439f596000c58732a7c821c8"}},{"ruleId":"D1","level":"warning","message":{"text":"VertexAIChatChunks.toChatChunks (cyclomatic 16): VertexAIChatChunks.toChatChunks 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/VertexAIChatChunks.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8355ae65065ab13821e7348bbbd0f9a7b6e48f565ccc6ac11e5349812a2ea49"}},{"ruleId":"D1","level":"warning","message":{"text":"impl.toVertexAIContents (cyclomatic 16): impl.toVertexAIContents 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"00833c853288e898c2476f0ff1f962d26bebb30724abf2d7b19a2fdc3f27c1c2"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaShape.toJsonSchema (cyclomatic 16): JsonSchemaShape.toJsonSchema 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f252e753307c695ded972af58c31d7bd83819df7501641a38964c6c74fd42a75"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIAgentsChatCompletionService.toInput (cyclomatic 16): OpenAIAgentsChatCompletionService.toInput 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2a6041d4a7ab1d10245ea7392d78b21487e5eaf0642fa70c5c323ee98fef5"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponsesChatCompletionService.convertMessages (cyclomatic 16): OpenAIResponsesChatCompletionService.convertMessages 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"55183a461e87f003861f2327462d43256f48841b7e7683216400c03b471ce2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChunks.fromResponseEvents (cognitive 64): ChatChunks.fromResponseEvents has cognitive complexity 64 (threshold 15). Drivers by points: if/else 28 (41 pts), match/switch 7 (13 pts), loops 3 (9 pts), boolean chains 1 (nesting depth added 25). 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b6a7ab5c7d2f99312eb63d97d51617b8812915d5c847a6c8ae8c7d94d0d018"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaMacros.shapeExprOf (cognitive 56): JsonSchemaMacros.shapeExprOf has cognitive complexity 56 (threshold 15). Drivers by points: if/else 38 (39 pts), boolean chains 12, match/switch 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9251e9cec8448127a0bc7e17af05e390eb636b77236a291d7cec0e9fbfc6146"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryEngine.run (cognitive 38): RetryEngine.run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (23 pts), match/switch 8 (13 pts), boolean chains 1, error handling 1 (nesting depth added 10). 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":"openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"56077d9497af970aa8c7b5a2dcd08887b3aa5abdc2624d92e6d11070c92d9bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaQuestions.plan (cognitive 34): SchemaQuestions.plan has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 8 (23 pts), if/else 10, boolean chains 1 (nesting depth added 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. 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":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a715bbbf3797cecefea53203adef27a2729597ecf57b8023ceef62659f764d7"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexAIChatChunks.toChatChunks (cognitive 33): VertexAIChatChunks.toChatChunks has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (30 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 14). 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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/VertexAIChatChunks.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"22616ec5819e81d5ba1088cba708ed24716c66a5be92c778aefa9608dcec2730"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAgentsChatCompletionService.toCreate (cognitive 33): OpenAIAgentsChatCompletionService.toCreate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), match/switch 6 (9 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2dc8f5306469b2df3b8998330bcfce43a80ff5494c8daf4e6d59f884930f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIGeminiChatCompletionService.chatChunksFlow (cognitive 32): OpenAIGeminiChatCompletionService.chatChunksFlow has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 2 (3 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":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"866dc2b3cd0810d37c5f163bcf00673f26d408fffaf50603172f27eb631a3d12"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesChatCompletionService.toResponsesSettings (cognitive 32): OpenAIResponsesChatCompletionService.toResponsesSettings has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (26 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 5). 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"27829ecfe8ce77f1ed89a8bbe6450cf85c90394626b64c7054d51a6c64125259"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCompletionBodyMaker.createBodyParamsForChatCompletion (cognitive 31): ChatCompletionBodyMaker.createBodyParamsForChatCompletion has cognitive complexity 31 (threshold 15). Drivers by points: if/else 28, match/switch 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"863512dd24d73d09e0e3e958914bfa7d1e0a5f11e1861b23aff3c130b3bc3971"}},{"ruleId":"D2","level":"warning","message":{"text":"responsesapi.toTracedBlocks (cognitive 31): responsesapi.toTracedBlocks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 6 (11 pts) (nesting depth added 12). 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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/package.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"52582e77396ad355aa13a43f807a1e79c647de06679cf96b6bdcccaaf75a5832"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesChatCompletionService.buildResponsesRequest (cognitive 30): OpenAIResponsesChatCompletionService.buildResponsesRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 5 (8 pts), boolean chains 5 (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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33b53a5ea116ac47d900ea1515b85e7e08c4095e94efc58d0045700241dc3b3"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaReflection.shapeOf (cognitive 29): JsonSchemaReflection.shapeOf has cognitive complexity 29 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a178cc009564faa3bf88a94619bfeb130db6eb7cb61433cd25046dfdd9a24e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonFormats.parseSystemInit (cognitive 28): JsonFormats.parseSystemInit has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (28 pts) (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"claude-agent-client/src/main/scala/io/cequence/openaiscala/claudeagent/JsonFormats.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc59f4d1b5e9311c38a8a74a41742226bb73b285765515dc2a7a12cea22765e"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toAnthropicMessages (cognitive 26): impl.toAnthropicMessages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 7 (11 pts), boolean chains 2 (nesting depth added 7). 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bad13db0e9d54a96abb10d115aa61e31d1dc86038c1aef6b6ee0505d09d1168"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toAnthropicSettings (cognitive 25): impl.toAnthropicSettings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 6). 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad82e01707babe018fb2a8c821554077c14bc9c729a295083d5092f9059cc732"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIVertexAIChatCompletionService.deleteChatCompletionBatch (cognitive 24): OpenAIVertexAIChatCompletionService.deleteChatCompletionBatch has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (15 pts), match/switch 2 (6 pts), if/else 2 (3 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"babdcef4f1fdf3d303b43df156484ff03c05d48632a9c5aa6190f1012af5b8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChatCompletionExtra.handleOutputJsonSchema (cognitive 24): OpenAIChatCompletionExtra.handleOutputJsonSchema has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 3 (7 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaa2ca7a56d76970f35313b159e330756e764f16afe5c041f990dd0309b843e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAnthropicChatCompletionService.toAnthropicToolRequest (cognitive 22): OpenAIAnthropicChatCompletionService.toAnthropicToolRequest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 4 (5 pts), boolean chains 3 (nesting depth added 4). 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00f4987aa58e67d8a87976580a61dc052516f5ccbb12ee564c2fc0aa802ede0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAnthropicManagedAgentChatCompletionService.createChatToolCompletionStreamed (cognitive 21): OpenAIAnthropicManagedAgentChatCompletionService.createChatToolCompletionStreamed has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (5 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicManagedAgentChatCompletionService.scala"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86d926c58a0a0b07c9634fc0345b89f9ab7e21effd23abd382f58ec0b261d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaQuestions.assemble (cognitive 21): SchemaQuestions.assemble has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 10 (20 pts), if/else 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"20403a51e5aaf216d3695b9486c19c625396ad7af3460f22a19f7f7461088977"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAnthropicChatCompletionService.streamWithContinuation (cognitive 20): OpenAIAnthropicChatCompletionService.streamWithContinuation has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 6 (9 pts), boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"704aab92d859d55d2ea8914e4698ed367f3e927b7384e498eff2695dc14f17c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Anthropic.createBodyParamsForMessageCreation (cognitive 19): Anthropic.createBodyParamsForMessageCreation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/Anthropic.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de31c6defda0b530bd3e552a1a74da663cae4d6a51e52f92849653a01311ede"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toAnthropic (cognitive 19): impl.toAnthropic has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (3 pts) (nesting depth added 8). 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a549ed36f12742e89ff5b194cc7fdd5fbc5fa73fefad9321a6adde48dba8ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toToolResultChunks (cognitive 19): impl.toToolResultChunks has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 4 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b9a1e116699b989bd93c3b33619e95140c187c33b7e5aee94144ef25caef72"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonFormats.withChunkedContent (cognitive 19): JsonFormats.withChunkedContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 7). 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":"openai-core/src/main/scala/io/cequence/openaiscala/JsonFormats.scala"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd07556fd96bfa11d43814848104be379758be62da05fdb8d3c0cf83a441e30"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnState.onEvent (cognitive 19): TurnState.onEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 3). 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72cf5fa761f0c482cdb1232bf333801ffe6e2fd144838bd5977ecd895427db0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChunks.fromOpenAIChunks (cognitive 18): ChatChunks.fromOpenAIChunks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (4 pts) (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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e71c28189c33862d6a543489a622f7b9421311385f477895708e4d2c06a557"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionImage.dimensions (cognitive 18): DecisionImage.dimensions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 6, match/switch 2 (4 pts) (nesting depth added 2). 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":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/domain/DecisionImage.scala"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e37e0d1213c5b80d7bfb6a7f33b1a5e01f3c5d4093387dcc17c14cfdedaf1"}},{"ruleId":"D2","level":"warning","message":{"text":"TypedTurnMapper.map (cognitive 17): TypedTurnMapper.map has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 3 (6 pts) (nesting depth added 6). 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicManagedAgentChatCompletionService.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"69395ac7f9e759e3d1d6444c4c8fa8ba79939ed4f94792d41143065796833f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSentEvents.dataOf (cognitive 17): ServerSentEvents.dataOf has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 5). 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ServerSentEvents.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8763a26536acb16557511658a567c62764049e76b6e15d318a98c5ee94a754"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIAgentsChatCompletionService.toInput (cognitive 17): OpenAIAgentsChatCompletionService.toInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c97ed546be1408165cc9dedc24d7506b5bf1e369abc1b027f0db21674aa5812"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toVertexAIContents (cognitive 16): impl.toVertexAIContents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa71e1f1cdc1dfd4453516a98dff5222d30784d6d47c9d0c4b22e947db0aa16"}},{"ruleId":"D2","level":"warning","message":{"text":"impl.toThinkingBudget (cognitive 16): impl.toThinkingBudget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13499573018617fe1b8830478d163991ed2748b9a9dbb77e8f7a1bc64eebc15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anthropic/JsonFormats.scala: FileTooLong \u2014 1958 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1458 over it, 3.92\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/JsonFormats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad1f2fb00e53d1988ba66ca9553f4188895dadafdcbbe1478105b5d9ea9792"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatChunks.toChatUsage: MethodTooLong \u2014 toChatUsage runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a5c97be3e8ed9c7ddb581765535d3003d1d1ac01b60832311803c5ec6ddcf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatChunks.fromResponseEvents: MethodTooLong \u2014 fromResponseEvents runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cc15b0da2ab1969fa48078660b3aff818c548f6934c727cf7f66dd2aea1c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openaiscala/JsonFormats.scala: FileTooLong \u2014 1383 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 883 over it, 2.77\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":"openai-core/src/main/scala/io/cequence/openaiscala/JsonFormats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d71e0aa24919fd0c6d02786acbdc3a45ccae97449c6f17360382282514cbba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/AnthropicServiceImpl.scala: FileTooLong \u2014 1272 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 772 over it, 2.54\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a55d0dfc05c231b5eebd183a5654319aeb806e59004012e8b6869a1b2cc37c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/OpenAIGeminiChatCompletionService.scala: FileTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 647 over it, 2.29\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":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f81189086f82cc68c9e531807878cd1b57ced3911148260519af8e8d3792d02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/OpenAIServiceImpl.scala: FileTooLong \u2014 1137 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 637 over it, 2.27\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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6cca30a2137adc5772a913e89e756aa31f5eb7b3debd7014969726ccb900df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/package.scala: FileTooLong \u2014 1061 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 561 over it, 2.12\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4123306308958600c003dbc7fc02cdaccaac1f94ca5fabef3f7ea3c6e656a891"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RetryEngine.run: MethodTooLong \u2014 run runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bacfcfb4fea6c8b2a78416b09966bd9778bc178cbd1929329c212bc67f9050c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: domain/NonOpenAIModelId.scala: FileTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 408 over it, 1.82\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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/NonOpenAIModelId.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f161298101344a4839333d4ef226710c801fb92c1416e7e064abfbb275e29a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIServiceBatchExtWrapperImpl: ClassTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 300 over it, 1.75\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIServiceWrapper.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52b59f2a93aaf419e746e1f29ef3d860ea5bd16e635c20752d6715b5feef86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/OpenAIServiceWrapper.scala: FileTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: OpenAIServiceBatchExtWrapperImpl (69-1007). The bar is 500 significant lines; this is 312 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIServiceWrapper.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c8c4294ffc7d84ba92527b19cdd483d8a31bdbd997d1866ce65b3406664df9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responsesapi/JsonFormats.scala: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/JsonFormats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b807a89de5bdc5b1c610f48465f72289c79159956344333ac7d4c8c0a3a4aaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/OpenAIAgentsChatCompletionService.scala: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 236 over it, 1.47\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f6701041d4c27de51761b61bd5617ee310043f1cf5457406f228dbc6f380bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/ChatCompletionSettingsConversions.scala: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionSettingsConversions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c2cb7359df52edb0e8b7f85f5399551c8e57680e7320d399200ab9d3e91d24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/OpenAIAnthropicManagedAgentChatCompletionService.scala: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicManagedAgentChatCompletionService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963a81c7a1cea041109e4c4bdf42b836fb2dae1deae226909f2c30781dc68aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatCompletionSettingsConversions: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionSettingsConversions.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e0378cc0bd711e348b7acc65d0b3692695ad9e885ea485a5ef0366bb313e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/OpenAIResponsesChatCompletionService.scala: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 121 over it, 1.24\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b4bfe488ec6303739714bea0532674bc4a57409242761023e8a4d2f59af2ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/AnthropicBedrockServiceImpl.scala: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 118 over it, 1.24\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicBedrockServiceImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312bbe24f7be4da0a0c1975c02604fcbd3a48e29b5e0df6a94d9a154c73a6297"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/JsonFormats.scala: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/tools/JsonFormats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe017b3671020d00ac402e451d45b67a742f9642031213f4be4a46161bdf6d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VertexAIChatChunks.protoJson: MethodTooLong \u2014 protoJson runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/VertexAIChatChunks.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"133fe346ccb5093f5e54bb7c8cce93a780ecf4437844e1aad3591ed1c016b013"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/OpenAIChatCompletionExtra.scala: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f737c5977105a7b626a273665fa64ae867832332484adc821239163683a187a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/package.scala: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf71f84682905a14bead7eade60aa32ee6cf34cee3b3ede2bcffc6ee7458b7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VertexAIChatChunks.toChatChunks: MethodTooLong \u2014 toChatChunks runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/VertexAIChatChunks.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d71d8cc8415f374449cbae400713e0d80098eaf8d41a5216c28117b2f425e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/JsonFormats.scala: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/agents/JsonFormats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bef12e3f24af9af7c12f696875736e1b93524cbd02de757b0175721d6b81c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/ChatChunks.scala: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 33 over it, 1.07\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6522a64f6dfee62e5486a8f35c3ac008af30da1ca38b2f7179fb07242bbb45a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/AnthropicServiceFactory.scala: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicServiceFactory.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd210fc7e60c76aa110aae61f5c20d63f3b8bdde34ec3517b43e15cb920d0504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:141-160 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:170-189 \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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89b3bd8d07fcd18487e3fc9a02fb24a2b2a5a937c26bfa51ee978f9df3f26ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1130-1144 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:516-533 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1130\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":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3953df540b0dc18a15581d5aa8c6a6faf516873e4d619efe4275b4166e8c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala:152-162 | openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala:816-831 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4bff160020769d731107573c454e07bbcb021922ff9a4e717aaa6b435f1be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionErrorInterceptAdapter.scala:45-60 | openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionErrorInterceptAdapter.scala:75-90 \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 \u0060openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionErrorInterceptAdapter.scala:45\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionErrorInterceptAdapter.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b832b7a18e153861c106c34d0482cb009180ef3fd195c07148b9c5481df565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:640-654 | google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1130-1144 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:519-533 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:640\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"7375401691e82c5e58d451bdd2a6e77b66707a71ab7bd17c1163aa9c16ad187a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala:106-117 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala:134-148 \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 \u0060google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala:106\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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ac0929331857f94bd63d2d673060e53812748955e0d5458a024a8abef5710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1300-1312 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:424-436 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"09211030c356327b20fa7800a67d7643d6631b6779dd3ca8069ec1d15617054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/S3BatchStorage.scala:181-192 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/GcsBatchStorage.scala:138-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/S3BatchStorage.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aab37250a1009f568c749db204c97425fde331441c7ca1fb06d94d73d58628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1058-1067 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:140-149 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:169-178 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6e17ceff318c296e8f7bfeb7def39b197b5881a95871a33b9658d719b9c4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:807-816 | openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:827-836 \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 \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:807\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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"a857abaf9759aea81fdab4844ab75d2b73a2c2882f97112709662d1dacc9e172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:1061-1069 | anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:1077-1085 \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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f25057a4e14c8f8c2324bf039f37db16ac55cb4d5fcd318551bc9025ce4e1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:402-409 | openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:424-431 \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 \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:402\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:401\u0060 calls \u0060Some\u0060 and \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:423\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec73cb1317de5b4bb3daab729f651e1ce9323f6ecbc1aa1da53f372e9070eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:280-285 | google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1039-1044 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:138-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:280\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b2ca6b656e20367569bbb96daa4f35d68bfc122bd7c16ae94ba2c0539fa317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala:306-310 | google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala:1057-1061 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala:168-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"25be22e333af074b1de79d7914f6643e460b508fed1142b289654ca897767aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:377-381 | openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:400-404 \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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3939823bf218c9e5c6d1996e40e01342bd2d95febe6577c2cfbc1400bc0186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:457-461 | openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:480-484 \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 \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala:457\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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd64dfccd1df92cc45e9a88676413f8ea8b1bf35d2605c3913b036ce947f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicScalaClientException.scala:9-65 | google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/GeminiScalaClientException.scala:9-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicScalaClientException.scala:9\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicScalaClientException.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e95deba825d584ff1cf28fd9765b0dcf56d403c40d95912c9394ff7e1f82ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/S3BatchStorage.scala:166-178 | google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/GcsBatchStorage.scala:123-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/S3BatchStorage.scala:166\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/S3BatchStorage.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"829ea1e884d63fc094a2371a6cb763ee83292158f32df3ea2ccf95d69f2ecfaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (81 shared lines): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:75-377 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:120-409 \u2014 These two members are variants of one another: 81 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90ce796ad685bffce826844322f5e9fef6fb3081bcd7b5cddbfb29d31aca42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletion.scala:36-60 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatToolCompletionWithOpenAIAdapter.scala:42-66 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatToolCompletion.scala:43-67 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/fireworksai/FireworksAICreateChatToolCompletion.scala:45-69 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionWithOpenAIAdapter.scala:46-70 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatToolCompletionWithOpenAIAdapter.scala:42-65 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatToolCompletion.scala:43-67 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionViaResponsesAPI.scala:53-105 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletion.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d485ff1b25c5870e5048dd5d69b5b3d521b9754899fbe951ee9da14fcb2108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (95\u201398 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithReasoningEffort.scala:49-143 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionWithReasoningEffort.scala:48-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithReasoningEffort.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"25814537eadd7ec497034c3cc2cfbfb018a92daccd5a46d802b98a93078b5379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithPptxSkill.scala:35-105 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithXlsxSkill.scala:49-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithPptxSkill.scala:35\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithPptxSkill.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca8183beb920d60b398f5ba50a4c2ba9efda8a6d14fd1970311a3f0cc041510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201371 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateSkill.scala:17-75 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateSkillVersion.scala:19-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateSkill.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f0fc4b02eab7b715b22a4298e6c5f31a4a4c9a841bef9e5d1eabf6578dbf0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala:112-154 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable5JsonSchemaAndReasoningLive.scala:105-147 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicSonnet5JsonSchemaAndReasoningLive.scala:113-155 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable5JsonSchemaAndReasoningLive.scala\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b486824c2c1aaf94690607bc2d875a470eea75e3ef4c416d148fbe2a8a21815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:105-142 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:147-184 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:105\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bc4425fec65b99f022ab00578abc50799f1ae43a7c016006bb110bb6fd4bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala:68-101 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable5JsonSchemaAndReasoningLive.scala:61-94 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicSonnet5JsonSchemaAndReasoningLive.scala:72-105 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable5JsonSchemaAndReasoningLive.scala\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicFable51JsonSchemaReasoningAndToolChoiceLive.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1aee78075f9e5bfc3c1dc9d731ced1c23ea7c6b0f7fb63e7ab09e135feb1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithPptxSkill.scala:65-91 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithXlsxSkill.scala:79-105 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithCodeExecution.scala:39-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicCreateMessageWithPptxSkill.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62d7d188b96002175d365a2da55df1f6dd42bb81330421e35c315e8a08bf384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebFetch.scala:103-129 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebSearch.scala:73-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebFetch.scala:103\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebSearch.scala:71\u0060 calls \u0060Error\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebFetch.scala:102\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/tools/AnthropicCreateMessageWithWebFetch.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68f65efc18e904706e103c2e5a5f90f977bf1f2fe699358e2e6d29f73284a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamedWithApproval.scala:111-136 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamedWithApprovalCallback.scala:103-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamedWithApproval.scala:111\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamedWithApproval.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1073f346c4537ca88679465f1aa85a283f45b871522636af92289947581213e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:135-160 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:192-216 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:135\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"decc06404c60990a5ca4b0fda68608e4c5bdbda24c35e13a2ce613d336002240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala:66-89 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchSplitFlowWithOpenAIAdapter.scala:73-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala:66\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d31e29648ac30fdbbc5be5c165ab9af76606d1857bf6b95bbab8c7e60e2555c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala:45-64 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchSplitFlowWithOpenAIAdapter.scala:52-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala:45\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchSplitFlow.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94a6d550dbe49b3fc51440b70562e3f20d722570f9814e7c109a456c3958d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/ChatCompletionBatchCachingExperiment.scala:112-129 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:82-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/ChatCompletionBatchCachingExperiment.scala:112\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/ChatCompletionBatchCachingExperiment.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db164a1347d9b746914cc3318ec81776f562b97c04f2f0b657d2951cc1fc501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletion.scala:44-60 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatToolCompletionWithOpenAIAdapter.scala:50-66 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatToolCompletion.scala:51-67 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/fireworksai/FireworksAICreateChatToolCompletion.scala:53-69 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionWithOpenAIAdapter.scala:54-70 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatToolCompletionWithOpenAIAdapter.scala:49-65 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatToolCompletion.scala:51-67 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionViaResponsesAPI.scala:88-104 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatToolCompletionWithOpenAIAdapter.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatToolCompletion.scala\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletion.scala:44\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletion.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fe1889724c9577ab8678861579144ef849bea7179acb28ad998fd517a53baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiGenerateContentCached.scala:75-91 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiGenerateContentCachedWithInlineData.scala:63-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiGenerateContentCached.scala:75\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiGenerateContentCached.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf788d524318c37e0c804b3db1abe7f483fe32219659fd69946b8308a85eec32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/Assistants.scala:22-38 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/CreateThreadAndRunScenario.scala:23-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/Assistants.scala:22\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/Assistants.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b363f66727e786effc69463ef9c90bb1fa5d0d79e17a10ee3c481d65804b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicDeleteSkill.scala:22-37 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicDeleteSkillVersion.scala:25-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicDeleteSkill.scala:22\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/skills/AnthropicDeleteSkill.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61aa232ddb63e8a5d576a29a9da635dab8e99c68eccd8222d9f9d656503ef39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionStreamedRouterExample.scala:146-160 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionStreamedRouterWithFullServiceExample.scala:87-101 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionStreamedRouterWithMappedModelsExample.scala:81-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionStreamedRouterExample.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef049e4dc9608119b60728ad322a5bdeef9793bcf6484cb02aae44b671f6366b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicDeploymentRunsLive.scala:26-40 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicManagedDeploymentsLive.scala:27-41 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicManagedSessionsLive.scala:27-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicDeploymentRunsLive.scala:26\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicDeploymentRunsLive.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4269085d89b9dd4a9c294d49e26208328d1201e81dd93f90443ebaf6110a539b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletionStreamed.scala:31-45 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatCompletionStreamed.scala:25-39 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/mistral/MistralCreateChatCompletionStreamed.scala:26-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletionStreamed.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ac96467ed016f4c794b36f7df3f567630b1f2b560066b0b606af67890dc02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobs.scala:21-35 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobsWithSpecialChars.scala:18-32 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobs.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobsWithSpecialChars.scala\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobs.scala:21\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionWithLogprobs.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc36027ca682ee5fa4964e961d5f7bfe6eb5b4d378b669c52f878679e81f23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:104-118 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:133-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb47f48559b2b52435df1fd73def5d9cbee4b48169b30a9b997b1596c87eb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithOpenAIAdapter.scala:52-66 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatCompletionBatchWithOpenAIAdapter.scala:59-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithOpenAIAdapter.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ddcf5d14465d4b59f5ef4c87e541ce2e09aaa334b4d8ca0cec1468c0b9a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionStreamedWithOpenAIAdapter.scala:54-68 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatToolCompletionStreamedWithOpenAIAdapter.scala:59-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionStreamedWithOpenAIAdapter.scala:54\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionStreamedWithOpenAIAdapter.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42ee2d6a518bca1c7aa72c6b9e9cacc7311dc25bf1e56d723a91513c8010cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatCompletionWithToolsCodeExecution.scala:36-50 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatCompletionWithToolsGoogleSearch.scala:35-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatCompletionWithToolsCodeExecution.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2467a5e9ee60d0d8b372ba75d3f35bbfe07c2db65e583d6a676d135e138a9ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionWithFeedback.scala:96-108 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala:143-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionWithFeedback.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fface78ca197a4b7e03c361841076ecee3096a4b8293aae47ec4d6f797e95f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:304-316 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:304-316 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:304\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"83428db389840f35572aca75239eb4cabdf65d7e9f58c43deef5ebad1a217ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/octoml/OctoMLCreateChatCompletionStreamed.scala:31-42 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/ollama/OllamaCreateChatCompletionStreamed.scala:34-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/octoml/OctoMLCreateChatCompletionStreamed.scala:31\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/octoml/OctoMLCreateChatCompletionStreamed.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beb44d5b849168948f765386c761337bc9bd16546369d8f63dc1970dfc23323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImage.scala:19-28 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImageEdit.scala:20-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImage.scala:19\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImage.scala:17\u0060 calls \u0060Some\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImageEdit.scala:18\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateImage.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d24fa8e98b4065546a4384309ea99b5089276b2c7a7b143cf4d1372e9c54c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionWithFeedback.scala:60-69 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala:85-92 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionWithFeedback.scala:60\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionWithFeedback.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa13e8e63ab35bf1234c7d74941ad5fc09f85a715aade492724d552afe9a3347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:76-81 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:121-126 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7a6fb2144e6eb43e3a3824f1607ad6613d4afc6ba7d59704e300da238058f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:96-101 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala:138-143 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala:96\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionContextLatencyBenchmark.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b9d35d0b05d817903ae55e2c7f196670ef5a7d5bf4bc2f489e98382f2c000a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithImage.scala:36-47 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithPdf.scala:37-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithImage.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf19d7794df5ca105657c09db568bd3987189f3e09665ccd90a723977a93ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithTextBlockAndCitations.scala:49-69 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithTextContentsAndCitations.scala:50-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageWithTextBlockAndCitations.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eba7633ed0e74d52d77b9f028e988a5bdac90697d97e5309d0a4ec98980c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/ChatCompletionBatchCachingExperiment.scala:66-77 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:66-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/ChatCompletionBatchCachingExperiment.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"efddf5dc11d6fcaa9a2257f882c2802b32957d12a3ead08c5a42a4c00c0268b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchWithCaching.scala:63-71 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:75-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionBatchWithCaching.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"782185d6e5e6ea4641403b3df94ca56c9754c8b261adee7f26e4d75a300c646c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionVisionWithLocalFile.scala:25-34 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionVisionWithURL.scala:23-32 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionVisionWithLocalFile.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionVisionWithURL.scala\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionVisionWithLocalFile.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e84580ddc994741d2181411ab5d1475b3c37d0090dc783404f1096d8a9a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateVectorStoreFile.scala:10-20 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/UploadBatchFile.scala:8-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateVectorStoreFile.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f66060b616d718239d1bb7e5ff41e78324a7ffdedfd8aad502ec09efb9bb43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/ListThreadMessages.scala:10-17 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/ListThreads.scala:10-17 \u2014 before extracting anything, compare \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/ListThreadMessages.scala\u0060 and \u0060openai-examples/src/main/scala/io/cequence/openaiscala/examples/ListThreads.scala\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/ListThreadMessages.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b314caad97bc3656b68e3f489bfb1c811ad4afe28e99340f098b29e9745b68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionRouterAdapterWithMappedModelsExample.scala:77-89 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/RetryAdapterExample.scala:59-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionRouterAdapterWithMappedModelsExample.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69ff597c0ff4ef4a1f311fdc3e5cbe4b4f133937ce0e8c4e6183f7d93416674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicBedrockCreateMessageStreamed.scala:28-40 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateMessageStreamed.scala:26-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicBedrockCreateMessageStreamed.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8703dccd38c0a711ed5f5effe4887c47b9960a0f439c875b05e5185351ca7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithMultipleNamedImagesAsFileContent.scala:59-67 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithMultipleNamedPdfsAsFileContent.scala:57-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithMultipleNamedImagesAsFileContent.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21b5d941090f2cceebc27830e4084b0caa1703eaa30b96b34e1785cdeb59729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithOpenAIAdapterAndImage.scala:35-44 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithOpenAIAdapterAndPdf.scala:36-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/AnthropicCreateChatCompletionWithOpenAIAdapterAndImage.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a234b0ec272c3129fd52e055168b4ae75e810d7769cb87d85e6ce4f055cabe4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicManagedAgentsWithAuthTokenLive.scala:37-45 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicManagedAgentsWithOAuthProfileLive.scala:35-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/anthropic/managedagents/AnthropicManagedAgentsWithAuthTokenLive.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199304c94aa439062dba8f6f99b13cfa5978dd6db9ad9cfd4d729154d788127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletion.scala:30-39 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/deepseek/DeepseekCreateChatCompletion.scala:25-34 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/grok/GrokCreateChatCompletion.scala:25-34 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/grok/GrokCreateChatCompletionWithImage.scala:39-48 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatCompletion.scala:25-34 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/mistral/MistralCreateChatCompletion.scala:23-32 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/novita/NovitaCreateChatCompletion.scala:30-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletion.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb5e565fa4b27c0650b7d7772715483dfc3125f3fe0b2f2d4213079db04b638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletionWithFileContentAndPdf.scala:59-64 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatCompletionWithFileContentAndPdf.scala:59-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletionWithFileContentAndPdf.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"285f577be6db4a0bfef0c58485ebe2814d1f40f2866981a96d66fa3228602a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/deepseek/DeepseekCreateChatCompletionStreamed.scala:26-39 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionStreamedWithOpenAIAdapter.scala:28-41 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/grok/GrokCreateChatCompletionStreamed.scala:25-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/deepseek/DeepseekCreateChatCompletionStreamed.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b25c15b57b7cfe86341020e2c726cc37a2a6966a79e937c18be072858c09c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/fireworksai/FireworksAIDocumentInlining.scala:34-43 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/fireworksai/FireworksAIDocumentInliningLocal.scala:43-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/fireworksai/FireworksAIDocumentInlining.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1e9898aebb2e8aa70c740dad5dba78b6e236c622107ecb15568aadd6660b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala:123-127 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatToolCompletionCachedWithOpenAIAdapter.scala:121-125 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiGenerateContentCachedWithOpenAIAdapter.scala:113-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionBatchWithCachingAndOpenAIAdapter.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947ecaf0ed41603494683b0c3a5ce06c6379e03ef11168385fdc5db06204377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionWithMultipleNamedFilesAsFileContent.scala:64-72 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlevertexai/GoogleVertexAICreateChatCompletionWithMultipleNamedFilesAsFileContent.scala:67-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletionWithMultipleNamedFilesAsFileContent.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"79636d8abfd2e50e3f7e9d09f0174fafda31d25afaef02adec56ad755ae5270e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/octoml/OctoMLCreateChatCompletion.scala:23-34 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/togetherai/TogetherAICreateChatCompletion.scala:27-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/octoml/OctoMLCreateChatCompletion.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c86abcb8569ef6d311c5dc3fa0b083be5f5092ab964bff3113de71af1984c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionWithFileContentAndPdfViaResponsesAPI.scala:41-49 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionWithMultipleNamedImagesViaResponsesAPI.scala:69-77 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionWithMultipleNamedImagesViaResponsesAPIImproved.scala:56-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/responsesapi/CreateChatCompletionWithFileContentAndPdfViaResponsesAPI.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2ddaffdf02fb2a5dc96be18b1b7bd53e2719ed0e0e7ca019f32fff042aa6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/Assistants.scala:13-19 | openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/CreateThreadAndRunScenario.scala:14-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/scenario/Assistants.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"878fb8ddde91454abcc6faaf5929bc990cfadd7467c0461889fd342eb1ba4ed8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: core: core: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"deda6fd6cb2c3d74f7dc0fecd76cc36d1d58966a5bcb861efc01f7e84f6f398d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeminiServiceImpl (LCOM4 4): GeminiServiceImpl\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/GeminiServiceImpl.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"81caca149b3f6556eaec760c39f5e9bccac964f1c570014b013f90aa0853c65d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala: openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in ChatChunks.fromResponseEvents at line 176. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/ChatChunks.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2e1f3a6a308bb0d1e064f57d3901723ed429897b3feabebdccc112db08a75d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala: openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatCompletionBodyMaker.createBodyParamsForChatCompletion at line 297. 1 of those changes was a fix/bug commit, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala\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":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cb52b6fcd201982626307baf8f08e96fed5ca67802aed941f9e5745fbeb5c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala: anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in StreamedChunkMapper.apply at line 1222. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741f0976b4984aa45cca689c86591a7b4e64d785941cad62f98f4e26d3637e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala: google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OpenAIGeminiChatCompletionService.chatChunksFlow at line 212. 5 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala\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":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53fcc9d3f350f0227c15d2f14b9ec5ad9b62a913d6dbcf4b88ce5bc6cdc4fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala: typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SchemaQuestions.plan at line 106. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala\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":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/SchemaQuestions.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"be692d7aa0b2871d0a0a8d719ad8b41faa65558ce6af03f53c512f9412806078"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala: openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in OpenAIResponsesChatCompletionService.toResponsesSettings at line 531. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed20a8a645d5264aa2b92c061ae1938f92f7b387b463a9a4fb84e2bd4ce8c00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala: openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in JsonSchemaMacros.shapeExprOf at line 108. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala\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":"openai-core/src/main/scala-3/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"275b942c00466bdee31197b103709e1cc4718900eb14e00c5f43c677ea9b7d01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala: anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OpenAIAnthropicChatCompletionService.toAnthropicToolRequest at line 442. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala\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":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1443a0255b078b5599377bd27b00b49cdb6fae73eb264da630fb0767120f02b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala: openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in JsonSchemaReflection.shapeOf at line 134. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala\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":"openai-core/src/main/scala-2/io/cequence/openaiscala/service/JsonSchemaReflectionHelper.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7a59f7620b4347933595713aeaac30edb5d44a5544fd0d4487a668af19bc18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala: openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DecisionModelsLatencyBenchmark.main at line 120. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/DecisionModelsLatencyBenchmark.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112b3f67aad98eb39c9b3f69b908520ade788f16b77711c41c21aea691eab65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala: openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in OpenAIChatCompletionExtra.handleOutputJsonSchema at line 778. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"49afd85f79be90e421c136b779c29ffeab326178d4bf04991b1c6bca3cf09a46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala: google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in impl.toVertexAIContents at line 123. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala\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":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4aed003c1d898b3f9459070a54e3e02149ce5dc86b99d244f58519eed4788a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/TypeSafeOpenAIAdapterScenarios.scala: openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/TypeSafeOpenAIAdapterScenarios.scala changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TypeSafeOpenAIAdapterScenarios.main at line 121. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/TypeSafeOpenAIAdapterScenarios.scala\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/typesafe/TypeSafeOpenAIAdapterScenarios.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef227083105315c39f882de52dc1876479f6d2919fb5260664e83ed1a97501"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala: openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in JsonSchemaShape.toJsonSchema at line 114. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala\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":"openai-core/src/main/scala/io/cequence/openaiscala/service/JsonSchemaShape.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2978382fcb86931a5cb17401d580f334c64e841179ac09fcb465a0f7970a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamed.scala: openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamed.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ChatChunkPrinter.describe at line 70. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamed.scala\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":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatToolCompletionStreamed.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184a7d5abe19ff92b5a952bfd9f4e36a73a68b19745336a9c4e15f087822398"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openai-core/src/main/scala/io/cequence/openaiscala/domain/response/AssembledChatCompletion.scala: openai-core/src/main/scala/io/cequence/openaiscala/domain/response/AssembledChatCompletion.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AssembledChatCompletion.add at line 46. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:01:21 \u002B01:00\u0027 --until=\u00272026-11-06 16:01:21 \u002B01:00\u0027 --full-history --no-merges -- openai-core/src/main/scala/io/cequence/openaiscala/domain/response/AssembledChatCompletion.scala\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":"openai-core/src/main/scala/io/cequence/openaiscala/domain/response/AssembledChatCompletion.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"00402ca6488d7a949a300dce49a74fa0207956c2969276f94f6d08b6a0669508"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support JsonSchema but needs to convert \u0022description\u0022 to \u0022title\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perplexity-sonar-client/src/main/scala/io/cequence/openaiscala/perplexity/domain/settings/SonarCreateChatCompletionSettings.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3c81ba0f60c7eaa4cc42321c9d7d02c898dbaf2f29b2dd965f87d2e6ff617"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this... we have a better provider for Gemini. See [[GoogleGeminiCreateChatCompletionJSONWithOpenAIAdapter]] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/googlegemini/GoogleGeminiCreateChatCompletion.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2d523641878712d8da1720b2ca698fd6d1b53d92bb8c158b96c205da8368df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: temperature cannot be lower than 0.01 or so \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/adapters/ChatCompletionInputAdapterForFireworksAI.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0222f5b95c456282f7016f73be4002d7fd9386aaad9f8e89be06cdd66bf019f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add gpt-4-turbo-2024-04-09, gpt-4-0125-preview, gpt-4-1106-preview \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-count-tokens/src/test/scala/io/cequence/openaiscala/service/OpenAICountTokensServiceSpec.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"071643e3dd73cd90fd0edcc09e7eda6777f49f62261f6a0d335a1053f2d1fb32"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: What will be the weather like in Rome tomorrow? -\u003E 68 tokens, however fails with 400: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-count-tokens/src/test/scala/io/cequence/openaiscala/service/OpenAICountTokensServiceSpec.scala"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8712fc51a464c3637fcb19971dd0b8f308e725d6fe1c04af634ba1c592f94f4f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: using fineTuneId to be consistent, however, it shall be fineTuningJobId \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"633ca110af17857d1433521cb8ef3f0388aebcab0dfb9f0f3725cdacc1e4c59d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to settings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1033d7087f202243b43658dc07bd0341ecadd29871b932d4c877efba4252492c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expires after \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba4bf95b835b59edb6f8baa719dcf43859f30b14df2b56aa48f24e8f8aa94c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expires after \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"075eff1336a197edeae52ec29920b350ce379caed419c8870b88752c5bb578af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: toChatCompletionResponse strips tool_calls from the intercept payload. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionInterceptAdapter.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da44116c2d90f7ad820d2ff2dc2f7de72b672a41bf19a0bb51b032d1e2d35a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: convert log probs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatToCompletionAdapter.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf72f79bb49d16e41c06e997228e715abe76e53e1ee3b73bf2d76a0a8d601fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to ServiceBaseAdapters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ServiceAdapters.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4feeeec69027caa12d69839a13c4504cb8a0d98d8a0237f51cf455de78330"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: split by providers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/NonOpenAIModelId.scala"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"840d61086c0d2d0f7d3dd18827adcb826b72bbdcaeae357fe5a636d25bd006d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this a finished state? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/Run.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ec767c937861475455c6a012605468283f3849bf5af2b6a2f8371f94035be7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check whether the message model is restrictive enough \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/ThreadAndRun.scala"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"160f1626f0d089fc4ab93d9fb4cd0b098058c7cc1e7f1d7e462d4f93465c45f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: status (in_progress, incomplete, completed), incomplete_details, completed_at, incomplete_at \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/ThreadFullMessage.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a8679f6c0bf4281a032bd545a431d031cbb3e476d77f1df63d9eacc12aecc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be renamed to max_completion_tokens in future :) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateChatCompletionSettings.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9a1e578a4c457fce5b8cc4282cb4b83fe207f0a9ba2725a0fc5be7bac1e5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  // TODO: support this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateChatCompletionSettings.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae932dd84b58da7cdd84f0679724d66ceec0515c95446e48e7a295fec54cec7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  // TODO: support this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateChatCompletionSettings.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a81cf260b69e7c9866e82e93074fcdde2197d0aca511dd460c36f25057f3bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  // TODO: support this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateChatCompletionSettings.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90412d7f52a0766629641b802b32e52e71e1c2e26ebd5ada6dda83c4b624f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check, is this the right place for integrations? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateFineTuneSettings.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c5a29f0b78e22569446c9ce7b4d7534efe24faddfa9605192f2cf802ce9c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: truncation_strategy, parallel_tool_calls, metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateRunSettings.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5250bb496eab4730ac1e706d423eec6501ee61abcca5f280b622c81055120d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge with JsonSchemaDef? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/ResponseFormat.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4b33f6a37013cc75ca8e210d28f78e4bca4fee427ef23b9d018d767804b375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: compare with ApproximateLocation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/tools/WebSearchTool.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a92aea1a83080113d309af7d14f7aaa397325535b7e0b08e479c3ab4c7206f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: seems to be provided at the end when some flag is set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/response/ChatCompletionResponse.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"53790e6ea550b8392092d0a123235a88f3a30ce36dbb1f4d72500410d57cd737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: create an enum type for status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/response/FineTuneJob.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee812c3d2404057d904fd32a324c4c6522762dbca0e4518b424f61e95a3fdea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use wrappers/adapters instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client-stream/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionStreamedRoundRobinService.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e47f56a8a5c04a7594256643be01ea260d96368e2f61e67b03ae80a206cae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use wrappers/adapters instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client-stream/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionStreamedServiceRouter.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"816c008d3de1d009613eaf0aa7b492c5b2572350edc3f1ade83e0ae9186199e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this function is hidden in the parent class - try to sneak it through WSClientEngine \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/test/scala/io/cequence/openaiscala/service/impl/TestFactory.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa70e46d0fc41a8b95c94890e33a304df23aa8f075922144feb2eed1d46974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this function is hidden in the parent class - try to sneak it through WSClientEngine \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/TestFactory.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f8bf7c4ac9e56ed8118dfbda910c54ab2f06d1ef83f8e37832b4ff287ca440"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is it legal? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ed8ef5d5d5bfcce23594ae18382530be84dec616a5ddf998fbaa8ed1783653"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should HandleOpenAIErrorCodes be here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a8e2fce31ac55694e2fb8ebe2e5f3a51b14e738a632da7fa789a9d9cdadad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Azure returns http code 204 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85616824a194db8f3ef51f9f24f91a750d39e7ea61e125b1a67f0cb91dad818"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Content? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7a42557364f711dd323c78761080ac53440aee47033e37f524e2cc8c428c8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: system messages not support e.g. for gemini-1.0-pro-001 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/OpenAIVertexAIChatCompletionService.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddadf48f2974aa37131aa4d1e4515e7878ab6df15a36dc0cb599b3844ab93427"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enum \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/domain/Content.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bfbbfbd600a3b0f7706f33f2a7a3b5f870b359118d078f742d68825096f91c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enum \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/domain/Content.scala"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"45994c2aab8bfec66eae7f343b15d94c0794167c59080443612d5998f219a460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if not double \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/domain/Tool.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e5235fff435cff4ddb59c0d0ad9e8a64af85fb18ca374ebc0bf68ee1ea0e7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revisit this - we don\u0027t write citations if empty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/JsonFormats.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"704272975a885f9e8b9c9ae1ed00353f49f58ccf85b4a4e58445d5373ed9c5ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c05ebc1feba11ac2bf6f8aedcf4223d704a4b1c671e84b98d80497fa428d6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revisit this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/domain/Content.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b11232a4e710962b0fb0906936555278c40762b1891b57c16651d9805bfe3ed"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 12 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060openai-core\u0060 (30287 LoC, 1093 module-visible types across 17 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"f49729ba699b69ea7b77353866dfcbed936f892e45c819b74a51fa6adc2a2fc1"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5eeae92ae89feb4946183c4c16d8eda5551b4060834390c85b7519d3c0978bec"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ae667b45338acdbd10ebab0e5021ee3296ca12ffc398db602601679982e39c62"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8206a451aaf0ecea4e2aff5e5eedb8c8e024b5a519243268388e3305cee4e617"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"39bae64cb272d3c626b153ba173b04139542f3ed0b89954a42c45f2552026165"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"af67c5756403d79617ae815e64472dccef9459cb71005b3ee5143f4190019daa"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5c8212464cb1ec0515ab0a86feac43b00f8482af84ec5fe462f8eb654d961516"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"48ee217ae86d16de0244c9a400e308699ff562ad1de69150e35e173c156b1c22"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c0bbf8e702f2b825d65ffacc4c93510cde1248a875439f251787d5e778273ce7"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c8de473d9597744c14216d5bf830eb6dfd5edcc204103a8a777fd744c3e31bf9"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0e7a94f54562bd903b12c84d59cbb8238d644474007a7a5f6284a42458720d9f"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"41ad0ba1f7b8f47e7e312d4f8b45766221275b4c76b6bc76688de16e7aae8b86"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7bd4e06d8c7f28a16e3f67a0c0c4e749d7df2558633f1a86d925af852e8b19fe"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"eb4c6ca896f8a31258ad3140b8ac8ab7123dac22b0c517d28a75642c50929ae2"},"taxa":[{"id":"CWE-749","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"32f89906b4b39220a774f5ad877fe73e6c735082366a6ff58a1a6807afd812e0"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"2f0981c30b8155b3ed426e8c31371f6787a0114b2dc569b09c45abcdf199f5d4"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"5ea31137e2dbe7a93891799a22e2cb668519de9cd55a058f3b414f558a1ebdb4"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 8 of 358 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 358 of the 830 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: openai-core/src/main/scala/io/cequence/openaiscala/domain/Batch.scala, openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateThreadAndRunSettings.scala, openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala, openai-core/src/main/scala/io/cequence/openaiscala/domain/response/Assistant.scala, openai-core/src/main/scala/io/cequence/openaiscala/domain/Run.scala, openai-core/src/main/scala/io/cequence/openaiscala/domain/ThreadAndRun.scala, openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateThreadAndRun.scala, openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRun.scala. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/Batch.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037276d8d922aa2f56f11eefa19319b992827820d6fa26faa42505147eb1b37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737941487f9e678699c5fdf0aafcf91d5f5e08e68f83fb7e3124a9fc0a10d0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/settings/CreateThreadAndRunSettings.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85625e8f04d1404459be22888733e1e3af6452beb6b86ae6d55111043a97a118"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateThreadAndRun.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6f6fa20cd8093b390f8d914b2a8a1d5036e2ef5e851e695e78f514b5173be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/response/Assistant.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c97791bfe6d1ad0ebb94aee6962822093ca79e0cadec7e2c9693396ab99611"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/Run.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e9e02397f2a0229400c7e75bcb27c8a2840c66e82856497258d60b1a89490"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/ThreadAndRun.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea00612371c6970c42f9a8e0d34441f61b65872c9872a104ea09dbb57ee5a1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRun.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f036a26cdf82a0db78f0cd2596958f2d40b7b588dbb4d19266761f6ba150356c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: NonOpenAIModelId.scala \u2194 DecisionProviderSettings.scala: \u0060openai-core/src/main/scala/io/cequence/openaiscala/domain/NonOpenAIModelId.scala\u0060 (context openai-core) and \u0060typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/DecisionProviderSettings.scala\u0060 (context typesafe-client) sit in DIFFERENT parts of the tree yet change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060bd8f9f2f\u0060 Decision models: Sarvam Prism and Bespoke Labs\u0027 Nimble presets; \u0060585d59ce\u0060 GPT-6.1 Terra, Mistral\u0027s GLM 5.3 Flash / DeepSeek V4.1 Flash, decisio\u2026; \u00603edf7f2c\u0060 Perplexity\u0027s v1.2 deciders: pplx-decider-v1.2 and pplx-decider-flash-\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/NonOpenAIModelId.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"442f70623579a8b8c7769aed20e44cea5ee01ae5a109157d4a9d4c879c66fb9e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: OpenAIServiceImpl.scala \u2194 OpenAIServiceWrapper.scala: \u0060openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala\u0060 (context openai-client) and \u0060openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIServiceWrapper.scala\u0060 (context openai-core) sit in DIFFERENT parts of the tree yet change together 74% of the time (46 of the 62 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 46 shared commits counted here, the most recent 3 are \u006084cbcef3\u0060 Deprecations since 1.4.0 (1.3.1 will not be released); \u0060fdf7f121\u0060 deprecate the Assistants API methods (shut down by OpenAI on 2026-08-26); \u006034d4163c\u0060 Responses API - DeleteResponse and llistModelResponseInputItems endpoint \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"752e97107c022ea39e623747d42b28ca179a6eab26230eea17484fd03ec8df62"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f3d698d34e694fc78def4e0538afabd92fed2340e1eda8c1ee1dbf82253aecad"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a22c5c5a4b8dc67ebf51ca44ac4adebfecbab1ee6c5b56f9980ab09aa016b8f0"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AnthropicService (16 abstract members): \u0060AnthropicService\u0060 declares 16 abstract members: \u0060createMessage\u0060, \u0060createMessageStreamed\u0060, \u0060createMessageStreamedEvents\u0060, \u0060createSkill\u0060, \u0060listSkills\u0060, \u0060getSkill\u0060, \u0060deleteSkill\u0060, \u0060createSkillVersion\u0060, \u0060listSkillVersions\u0060, \u0060getSkillVersion\u0060, \u0060deleteSkillVersion\u0060, \u0060createFile\u0060, \u0060listFiles\u0060, \u0060getFileMetadata\u0060, \u0060downloadFile\u0060, \u0060deleteFile\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicService.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"81378dc7f0425bf117b4ef0bbecfc9cffc377758b2b0964f0f20b937d911a9eb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AnthropicSessionService (17 abstract members): \u0060AnthropicSessionService\u0060 declares 17 abstract members: \u0060createSession\u0060, \u0060listSessions\u0060, \u0060getSession\u0060, \u0060updateSession\u0060, \u0060deleteSession\u0060, \u0060archiveSession\u0060, \u0060sendSessionEvents\u0060, \u0060listSessionEvents\u0060, \u0060streamSessionEvents\u0060, \u0060addSessionResource\u0060, \u0060listSessionResources\u0060, \u0060getSessionResource\u0060, \u0060updateSessionResource\u0060, \u0060deleteSessionResource\u0060, \u0060listSessionThreads\u0060, \u0060getSessionThread\u0060, \u0060archiveSessionThread\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/AnthropicSessionService.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcbda11df3f9cd6b7c5a05d68e041d52b8862080d5dc628a9647a4763789cbd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: GeminiService (17 abstract members): \u0060GeminiService\u0060 declares 17 abstract members: \u0060generateContent\u0060, \u0060generateContentStreamed\u0060, \u0060listModels\u0060, \u0060createCachedContent\u0060, \u0060updateCachedContent\u0060, \u0060listCachedContents\u0060, \u0060getCachedContent\u0060, \u0060deleteCachedContent\u0060, \u0060createBatchGenerateContent\u0060, \u0060getBatch\u0060, \u0060listBatches\u0060, \u0060cancelBatch\u0060, \u0060deleteBatch\u0060, \u0060uploadFile\u0060, \u0060getFile\u0060, \u0060deleteFile\u0060, \u0060downloadFile\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/GeminiService.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a04fc2ad407043c72df8de1128808f305cc4b2b3921b33ecceff10525c67a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OpenAIAgentsService (28 abstract members): \u0060OpenAIAgentsService\u0060 declares 28 abstract members: \u0060createAgent\u0060, \u0060listAgents\u0060, \u0060getAgent\u0060, \u0060updateAgent\u0060, \u0060deleteAgent\u0060, \u0060createAgentSession\u0060, \u0060listAgentSessions\u0060, \u0060getAgentSession\u0060, \u0060updateAgentSession\u0060, \u0060deleteAgentSession\u0060, \u0060sendAgentSessionEvents\u0060, \u0060listAgentSessionItems\u0060, \u0060listAgentSessionTurns\u0060, \u0060getAgentSessionTurn\u0060, \u0060listAgentSessionSubagents\u0060, \u0060getAgentSessionSubagent\u0060, \u0060listAgentSessionArtifacts\u0060, \u0060getAgentSessionArtifact\u0060, \u0060getAgentSessionArtifactContent\u0060, \u0060deleteAgentSessionArtifact\u0060, \u0060createAgentEnvironmentTemplate\u0060, \u0060listAgentEnvironmentTemplates\u0060, \u0060getAgentEnvironmentTemplate\u0060, \u0060updateAgentEnvironmentTemplate\u0060, \u0060deleteAgentEnvironmentTemplate\u0060, \u0060getAgentEnvironment\u0060, \u0060listAgentEnvironmentFiles\u0060, \u0060addAgentEnvironmentFile\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIAgentsService.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ec2e20ce2350d5fde1958cf34ae73c5211943fcce57b8dcd063ee6971f93c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OpenAIService (70 abstract members): \u0060OpenAIService\u0060 declares 70 abstract members: \u0060createCompletion\u0060, \u0060retrieveModel\u0060, \u0060createChatFunCompletion\u0060, \u0060createChatWebSearchCompletion\u0060, \u0060createEdit\u0060, \u0060createImage\u0060, \u0060createImageEdit\u0060, \u0060createImageVariation\u0060, \u0060createAudioSpeech\u0060, \u0060createAudioTranscription\u0060, \u0060createAudioTranslation\u0060, \u0060listFiles\u0060, \u0060uploadFile\u0060, \u0060uploadBatchFile\u0060, \u0060buildAndUploadBatchFile\u0060, \u0060buildBatchFileContent\u0060, \u0060deleteFile\u0060, \u0060retrieveFile\u0060, \u0060retrieveFileContent\u0060, \u0060retrieveFileContentAsSource\u0060, \u0060createFineTune\u0060, \u0060listFineTunes\u0060, \u0060retrieveFineTune\u0060, \u0060cancelFineTune\u0060, \u0060listFineTuneEvents\u0060, \u0060listFineTuneCheckpoints\u0060, \u0060deleteFineTuneModel\u0060, \u0060createModeration\u0060, \u0060createAssistant\u0060, \u0060listAssistants\u0060, \u0060retrieveAssistant\u0060, \u0060modifyAssistant\u0060, \u0060deleteAssistant\u0060, \u0060deleteAssistantFile\u0060, \u0060createThread\u0060, \u0060retrieveThread\u0060, \u0060modifyThread\u0060, \u0060deleteThread\u0060, \u0060createThreadMessage\u0060, \u0060retrieveThreadMessage\u0060, and 30 more. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc3714d4cda43f2ed933eb175e281b516a7d79893d3318869b5c363c1e1d3d5"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72c58eeaee22473bf723bb6960a7a34c39eaa0482678d5cae964615f2f20cf"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c4144979c2efb14c1b32db603e018afbb59e58f2100b19a4ab34086f4d6f8d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"152b687bfe09db4d5b3b5a26dade47026c42dd5302c8ccf187d7a8669b5d8870"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"61680cb816fbd801adf66295ba1736f7707e51fda3c566c375b54374cec6b8f7"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd619e96bd4fe7afc292569f91135cf7f46259a82242f38251845d3b1a4cd04"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47bf3dadfc541849ba348068ad394b146d747dc2b72e12196b96b02ff55a777"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e44ef0a0f43d44cf8b83b76f3a43e46964ff45d59342b62277aed4da59e399"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc5685386b6aa2a28a36095ea566159c170bb140cb1bee3fdc7f43b4623378e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/test/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceSpec.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e8715160194ed7efded440e8728838c48f84b89faa1e475621957b50c6537a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/test/scala/io/cequence/openaiscala/service/HandleOpenAIErrorCodesSpec.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c588ed9a48e7bbfd3bfb113359ba2cd340a54f5509766d3cbf5cdcde7d3a2d66"}},{"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060runExperiment\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateChatCompletionJsonCaching.scala"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"332733d8767ce87a0725090db3da7b7f90f5ab29cd1596c06bd99a3fad0ef51d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateCompletionStreamed.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afc16f55ecdab15b21a17a11007ce6dc2a0134a11da213ba4e919fe9ca05f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bf3e69d0b42fb3a5a8057eaf5a97877d4f6c0d3627e444ee640ecabbb6d5e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060additionalProperties.nonEmpty \u0026\u0026 additionalProperties.get\u0060 appears character-identically in 2 files \u2014 google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala, google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"82affb38c4655712e9d3b29a54aae1659e89bfcd6d84ed94b4fce2a45976411e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFlashLite \u0026\u0026 budget \u003E 0 \u0026\u0026 budget \u003C flashLiteMinBudget\u0060 appears character-identically in 2 files \u2014 google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala, google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"25145ca22cc9ec922d882c420e03cbd98aefc1bd683778082c1d82231bc3fa4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060responseFormat == ChatCompletionResponseFormatType.json_schema \u0026\u0026 settings.jsonSchema.isDefined\u0060 appears character-identically in 3 files \u2014 anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala, google-gemini-client/src/main/scala/io/cequence/openaiscala/gemini/service/impl/OpenAIGeminiChatCompletionService.scala, google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a6ca40c122a33f2d7b771fdfc0eddc3f31a72e4b9aa0c99ad9a44bee70f4ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tools.nonEmpty \u0026\u0026 ChatCompletionSettingsConversions.chatToolsUnsupported(settings.model)\u0060 appears character-identically in 2 files \u2014 openai-client-stream/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceStreamedExtraImpl.scala, openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client-stream/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceStreamedExtraImpl.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4195487f704c21d639b50c4ff9c99de3d44084e7f272fe5591957674795dda8a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 100 is called with an argument built by \u0060verdict.flagged.map(_.name).mkString(\u0022\u2026\u0022)\u0060 (line 102), whose cost grows with the collection it walks. Scala evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: the logger takes a built \u0060String\u0060 (SLF4J, Akka/Pekko \u0060LoggingAdapter\u0060, \u0060context.log\u0060), and there is no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test and no debug flag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/guardrails/ModelGuardrail.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8447c1a24e84ac626601a21ce2a84e5366f00e6e91420dd264fb42e0d1ad9476"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case scala.util.control.NonFatal(_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/RetryEngine.scala"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2499a90e009535edaaa60749c5bab72e15084bcc7a3280928ae3a6c2abf21c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"google-vertexai-client/src/main/scala/io/cequence/openaiscala/vertexai/service/impl/package.scala"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ebba3541858b25a0457c0e436206be3d0996a99f754d50f7241443c8071eee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 278 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"typesafe-client/src/main/scala/io/cequence/openaiscala/typesafe/service/impl/DecisionTranslation.scala"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"36485f06cfabaa077f645b434ef61444a25a22acc05e9766ef41ad15274d3ab8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 90 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/FailoverChain.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c664803729eac4bc122311c298df3c0c7bd04e739f77da57c0c102e5ce47c41d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 79 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/InferredJsonSchema.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b398aabaeb98da842fe0cf828ca4e37faa71a86b967d0d036637c3b4e12de9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 449 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c4ded8a9be782953b32bb8fae684d8b41ed28d1009ca2bbb291ad2ec8dfa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 460 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafe9966e049fc732d880829b95d2d909b593ad7759e0bc102a901f55ad804fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 470 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec6c87c283f5da355167054b24db54292ef00e81ae91d5c01c0b93adee1d0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 629 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc1e476b64a58cb8573b673c35be40e4e7e4add7d903d068594d49d98ec902"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 712 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd3b9ef9e68777259c629f0287a747278f5666257b33046b38e86b1ec070f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 737 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bf62e1272a993fc33c4ec768d1a1d5da87616f5896c2efda8fcda02476a063"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 754 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab5e92c041553ec532164ea8ac7e9968eb41b703e99b9c0000c0e1ccbe50f03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 824 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfdfc93367419d11ec57afdb1408ca863d307e598cfa9d0e9365bb648aaeb83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 837 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"def0d68e23d0d929c0eab545cae0cc56cb5871caf243f4f195c84417844fc3a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 869 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e6afdd8faf89c2f717cae2ebbd550f20ff54696a1d108b961e950c4a1aada"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 879 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb5ddf26dc5633e4af9c36a4ebe4816a3ed7a625ece32563de7f2ce2475fe34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 66 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ProducedReasoning.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7336d117e2f8ff8ba49dfbc3799bf7e3fe6b93a2f160f8aec74d2a1f5c8eac3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 70 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ProducedReasoning.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106bf8ec917ea4056e675be0ece95a820fdbd525d5fc3cb7ced5c47d220d8b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 93 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ToolApprovalLoop.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b189fa77ad3939d57c6c6f57f05690f6fda84df5bd127c355a12bee49115773"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 100 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ToolApprovalLoop.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6470cf04257bc9435a278251c59f47e16203db3ba6fc03b8ff630ce53154cba7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/ToolApprovalLoop.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1274cf30cf74f57f40d946babae650786e9009db60f0670127f68656957bd0fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 110 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/guardrails/ModelGuardrail.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ad8fb18f0550466732abe4ea3c9f4de381ffb429e9c3a18e558a7bf9652781"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 115 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/guardrails/ModelGuardrail.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf7818c9c7ff6f58b981a6db8407480a9ea4ddaa9dca1bc9b1df758cb4d96c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 139 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/guardrails/ModelGuardrail.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aff2a8a435dd2362510208c93b743449455c99387ac5687b9d6a80b9fcf3b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 796 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionSettingsConversions.scala"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"067196412ab762cdc69d85e23c71a3973a8805b1795cfd10ca43cf6b2a8c8d29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 801 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/ChatCompletionSettingsConversions.scala"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08d415b54b4f13df348c0a20e96972151d78ac51b15c0978bfd3bbcdd34a8e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 402 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/GuardrailsAdapter.scala"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edcef2a066e402d28892440a1d69c14c1f9328bd5caa97595d7c1288098ec3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 443 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/GuardrailsAdapter.scala"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff82bee2d8e4c0d289a5a3fe3dddd924799e4fd0c2dbbaf9e942fe86c0fe2283"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 24 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/MessageConversions.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b323408fea50770ef42ab3a63e91602cd0a391e5b284560de6c1d1a739befae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 336 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb27568bfca32221bea85ee84c5de86158c49f951eb475ed6a21f236f50792b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 429 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ac0c24a752b9f977550ecf49ad6b068c603d90077de4de2a30689da2e74e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 634 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2af9ae9977364d77c07ff941ad1567f2565b35eb651ad55063e45fc2bff487f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 646 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIAgentsChatCompletionService.scala"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c3174ef79da4043e6225445fa5a04023da685d16a434ea6d72b2ff576731ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 218 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e8cd6e9deed529a9367c8e0c15402d07727a5dc168a73eda7d06de13201ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 244 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6137b25f93ee702588b1ed3016d64fcbc16ded74134e1c36c0d77b3b72333e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 522 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e656a757898539d9df023d86568653cdbbad4c93fc6635af6f9fea762dbb5cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 631 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIResponsesChatCompletionService.scala"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eda8b85feb658a8b71e0e6f8259205e63821b68f6a3d52cf6e83d5744b1f0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 119 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/JsonFormats.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a9fb1a6a7a774a7e3f6aa77f164cd00a91f8884a80b7fab907b44833f0725"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 701 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/domain/responsesapi/JsonFormats.scala"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9c490ab7a9cabc625c2c682aa2b00ff4c488ab231a4cfd541ea77dcdebeb2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 140 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39336915902c76274d2e646de3819970d381a785ae1f91eeed08b4d0131e69a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 502 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/OpenAIAnthropicChatCompletionService.scala"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d088a24362fa1f542cd4fc29a84cb554c18fb4d5998683b428f5a7418ef9f8b"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 467 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060choiceIndex\u0060 swallows every exception into \u0060-1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/GuardrailsStreamedAdapter.scala"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"25173e53a930d6c15f707ac9d8e17cd486f5fbede7cd3eaac57b24f73adf7d1e"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-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":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-749","guid":"8f3b2148-6d3c-a456-89ec-55de3df25642","name":"Exposed Dangerous Method or Function","shortDescription":{"text":"Exposed Dangerous Method or Function"},"helpUri":"https://cwe.mitre.org/data/definitions/749.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":22,"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."]}]}