{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"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":"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"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":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"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":"Args.parse (cyclomatic 73): Args.parse has cyclomatic complexity 73 (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":"Sources/TurboFieldfareCLI/Args.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f33fa84933f3db5d20258895d59ce7033911b6679b0c9951e26976c65d66b7"}},{"ruleId":"D1","level":"warning","message":{"text":"RealForwardRunner.executePrefillChunk (cyclomatic 71): RealForwardRunner.executePrefillChunk has cyclomatic complexity 71 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bde8d0c247f19e4e343d0b7f841ed46c9bdc534e3c512ce2d82a6317ccdaee"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.validateRuntimeSchema (cyclomatic 59): Model.validateRuntimeSchema has cyclomatic complexity 59 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 38 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Inference/Model.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"766485b8f153cd2dbd51a59017aa043e5dae840803e564d4bcd779cbe943e974"}},{"ruleId":"D1","level":"warning","message":{"text":"RealForwardRunner.produceToken (cyclomatic 57): RealForwardRunner.produceToken has cyclomatic complexity 57 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084683609d01f070fdcc65cbd00d1502201b34214c844e104ea6e4931929202"}},{"ruleId":"D1","level":"warning","message":{"text":"GTurboManifestCodec.validate (cyclomatic 56): GTurboManifestCodec.validate has cyclomatic complexity 56 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7a11a7df1c6c162a81793ac0319d97cb0ec188c044c91c5b1fdec46ade6dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Arguments.parse (cyclomatic 52): Arguments.parse has cyclomatic complexity 52 (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":"Sources/TurboFieldfareRepack/Command/main.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db675716875380d61d77d4596cc2f51c66d40afd6a4681121138d18dd8f87508"}},{"ruleId":"D1","level":"warning","message":{"text":"VisionRuntime.encodePreparedPatches (cyclomatic 48): VisionRuntime.encodePreparedPatches has cyclomatic complexity 48 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f629c52ba5dcc8ef5d6cb5ef0ec2996826f05bf0769ec1851f5a3eb1c2200c07"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboFieldfareDecodeServiceMain.main (cyclomatic 42): TurboFieldfareDecodeServiceMain.main has cyclomatic complexity 42 (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":"Sources/TurboFieldfareDecodeService/Entry.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b9fa09d77c0abe960910aa777f9664c51a0ceaf56682defe2435c392dea41e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIRequestValidator.validateMessages (cyclomatic 41): OpenAIRequestValidator.validateMessages has cyclomatic complexity 41 (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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"133ad7753627410133d8e3ad275c71223c308c9f668a6184fb7b3cef64dbfdc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerArguments.parse (cyclomatic 41): ServerArguments.parse has cyclomatic complexity 41 (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":"Sources/TurboFieldfareServer/Core/ServerArguments.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1752ac77f21720816e4857a7f6047c850c075fb60662a7d40d3f2bf5f5467bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"Run.swift.run (cyclomatic 39): Run.swift.run has cyclomatic complexity 39 (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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c00239125d944ad490217671c86a85aa2b4ad24e628d0dd74c7d2e099e7f27"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerModelSession.generate (cyclomatic 39): ServerModelSession.generate has cyclomatic complexity 39 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565aae73804463d9f317038fd3c6bb28f63ce070fffd896ea886f7c0bdf3851"}},{"ruleId":"D1","level":"warning","message":{"text":"GTurboV1StructuralValidator.validate (cyclomatic 37): GTurboV1StructuralValidator.validate has cyclomatic complexity 37 (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":"Sources/TurboFieldfareFormat/GTurboPackedExpertsLayoutV1.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a08282cb423e34afab56c65ee970a79f0a80d7ecc97cdb43f551e166c1d81b"}},{"ruleId":"D1","level":"warning","message":{"text":"TailAutoClose.balancingInlineMarkers (cyclomatic 36): TailAutoClose.balancingInlineMarkers has cyclomatic complexity 36 (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":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed484274e43600e8905724915ec6abd3e70b66838fbca822863da83499b044c"}},{"ruleId":"D1","level":"warning","message":{"text":"TailAutoClose.consumeEmphasis (cyclomatic 33): TailAutoClose.consumeEmphasis has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff124eeb4d6bfe145571bf0c9d8c386fb38a20c4cb61ca2bd0d5ffcf16882d97"}},{"ruleId":"D1","level":"warning","message":{"text":"GTurboVisionStructuralValidator.validate (cyclomatic 32): GTurboVisionStructuralValidator.validate has cyclomatic complexity 32 (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":"Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b889944c1aa355e739001c5803950d050baae63df45d9c390618b84b294ddbe"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseBlockSplitter.consume (cyclomatic 31): ResponseBlockSplitter.consume has cyclomatic complexity 31 (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":"Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc809f404ac24776f5a7e7978a2c8ac3d45945e7e856450b47f4aca5dac55aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStore.open (cyclomatic 30): ConversationStore.open has cyclomatic complexity 30 (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":"Sources/TurboFieldfareApp/Core/History/ConversationStore.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c004499bffa5d4f48b39e65b1296d4ae439eb9a874084179ad24d26df54d1ce"}},{"ruleId":"D1","level":"warning","message":{"text":"AppGenerationRequest.validate (cyclomatic 30): AppGenerationRequest.validate 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":"Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d1438212e278d977e53453e1e9340d0bb9d8dc62e95fd1ade7d3148c2d8081"}},{"ruleId":"D1","level":"warning","message":{"text":"VisionWeightStore.open (cyclomatic 29): VisionWeightStore.open has cyclomatic complexity 29 (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":"Sources/TurboFieldfare/Runtime/Vision/VisionWeightStore.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"086a73cc05e677b9d293c2fde279c1615c60a174e43ecec23fad9dd4ab53aa29"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationScreenMachine.apply (cyclomatic 29): ConversationScreenMachine.apply has cyclomatic complexity 29 (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":"Sources/TurboFieldfareApp/Core/State/ConversationScreenMachine.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410e8963d4edbf17940742f9bf20edf628beb82245a1c70cd9f5624b4c13c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"InspectorView.visionSection (cyclomatic 29): InspectorView.visionSection has cyclomatic complexity 29 (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":"Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae34bf4d163acc13a3fd70c4d65d9e05212e8cb660861466ab821090e7fffa"}},{"ruleId":"D1","level":"warning","message":{"text":"MPPPrefillInt4QMM.encode (cyclomatic 28): MPPPrefillInt4QMM.encode has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/TensorCore/MPPPrefillInt4QMM.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70fee3bd2675ffabf9e69869d9e339f6d7dfb808eefd3ab53bf44dd525d0d47"}},{"ruleId":"D1","level":"warning","message":{"text":"RawCompletion.swift.runRawCompletionBody (cyclomatic 28): RawCompletion.swift.runRawCompletionBody has cyclomatic complexity 28 (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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccd72263dc116355135004e535e3a268daf37dbf2dd793090761966a2f5edbc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStoreImport.run (cyclomatic 28): ConversationStoreImport.run has cyclomatic complexity 28 (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":"Sources/TurboFieldfareApp/Core/Configuration/ConversationStoreImport.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"147603dfd7da813f6ba098952ff8e01be19dc9567aa3b57b4d7de835acc31e3c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppPresentationState.resolve (cyclomatic 28): AppPresentationState.resolve has cyclomatic complexity 28 (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":"Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b26a32bc4729fb7ef0f904bbc320d72c3729c7d6e72ff71e2a55ee93760519f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIRequestValidator.validate (cyclomatic 28): OpenAIRequestValidator.validate has cyclomatic complexity 28 (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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53267fe5ecb405bd9e37a823127a6a813fc760c4fffe1030c84d89aae2f4e50"}},{"ruleId":"D1","level":"warning","message":{"text":"MultimodalConversation.generate (cyclomatic 27): MultimodalConversation.generate 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":"Sources/TurboFieldfare/Runtime/Generation/MultimodalConversation.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f43b59e7a0a0ddf37a6e63192b7622d7831fc58dd306a39694a0fc64b3d934"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageMetadataReader.read (cyclomatic 26): ImageMetadataReader.read 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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/ImageMetadataReader.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0890c4066a329c87e0a0b70eaf18bde227d2f8bd5ac75c489cf74f8fb35e6e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionTranscriptDocumentController.synchronize (cyclomatic 24): InstructionTranscriptDocumentController.synchronize has cyclomatic complexity 24 (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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f99154339a5006152e8fe0afa5013c2df584b6781d78f8e54ab70d8a60437a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseMarkdownRenderer.block (cyclomatic 24): ResponseMarkdownRenderer.block has cyclomatic complexity 24 (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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28e173f519781e83ea927b47efe8ea8ea6a0fd381c8a44b965bfd13d6212692"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeServiceInferenceClient.generate (cyclomatic 24): DecodeServiceInferenceClient.generate has cyclomatic complexity 24 (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":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaaa02c56c92254e4fefe61719bc4f57892d75c4b428f15870abbc0e0f2ec1a"}},{"ruleId":"D1","level":"warning","message":{"text":"StructuredAssistantDecoder.consume (cyclomatic 23): StructuredAssistantDecoder.consume has cyclomatic complexity 23 (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":"Sources/TurboFieldfare/Tokenization/StructuredAssistantDecoder.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcdeec16b34f8e567767c665c51a34715a51a00760ddf72b1eac886f8a34c59"}},{"ruleId":"D1","level":"warning","message":{"text":"RealInferenceSession.run (cyclomatic 23): RealInferenceSession.run has cyclomatic complexity 23 (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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e536e26fc9bf33682e25c65c323c5f9d945a6957884460fbc3a6c25afa37965"}},{"ruleId":"D1","level":"warning","message":{"text":"Safetensors.parseHeaderBytes (cyclomatic 23): Safetensors.parseHeaderBytes has cyclomatic complexity 23 (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":"Sources/TurboFieldfareRepack/Core/Format/Safetensors.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22000f93c92c84187f43546c9df882fc414ae27168a10a535b236fcd269982f"}},{"ruleId":"D1","level":"warning","message":{"text":"GTurboDirectoryAccess.collectEntries (cyclomatic 23): GTurboDirectoryAccess.collectEntries has cyclomatic complexity 23 (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":"Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c9a6321d0a0f1778391446de7132c76e53b046108d6ea89b897da69823698"}},{"ruleId":"D1","level":"warning","message":{"text":"MultimodalConversation.restore (cyclomatic 22): MultimodalConversation.restore has cyclomatic complexity 22 (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":"Sources/TurboFieldfare/Runtime/Generation/MultimodalConversation.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e79998124b98ff3004f97b761323010af2b9c81706e56462546e13f4c01ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDataBootstrap.init (cyclomatic 22): AppDataBootstrap.init 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":"Sources/TurboFieldfareApp/Core/Configuration/AppDataBootstrap.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339afbec5832393bcbfa2c0b9546961e6bc7773028f8a02339e6e0cce066301"}},{"ruleId":"D1","level":"warning","message":{"text":"PrefillMoEGrouping.groupTokenExpertPairs (cyclomatic 21): PrefillMoEGrouping.groupTokenExpertPairs has cyclomatic complexity 21 (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":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c42af1fc845d8780ce909a17357893f540875b16cbfd292d69047e1b7a1de2"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerPrefix.listItem (cyclomatic 21): ContainerPrefix.listItem has cyclomatic complexity 21 (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":"Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c6c3071fdb7dbfc7775d92d5ea501fa7f52dd559ff065bd685d2497b53067f"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionTranscriptDocumentController.extendProgressiveRender (cyclomatic 21): InstructionTranscriptDocumentController.extendProgressiveRender has cyclomatic complexity 21 (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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a163c1a42e77434606615f7d4728248b5bee1a6f6c830b0cfe7872ffd2c70d"}},{"ruleId":"D1","level":"warning","message":{"text":"MathSpanDetector.maskBacktickSpans (cyclomatic 21): MathSpanDetector.maskBacktickSpans has cyclomatic complexity 21 (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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a9ec092d90e6b1e629db91f734ecb823f54237d4908f377e05a94562546e62"}},{"ruleId":"D1","level":"warning","message":{"text":"GTurboResidentIndexCodec.decodeRegion (cyclomatic 21): GTurboResidentIndexCodec.decodeRegion has cyclomatic complexity 21 (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":"Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"239ab1074117cba66bd414b6da33cdb5fc29be167c65cf89450f164c8dba3850"}},{"ruleId":"D1","level":"warning","message":{"text":"RepackPlanner.slotRank (cyclomatic 21): RepackPlanner.slotRank has cyclomatic complexity 21 (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":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e79a06ee2199951a7baba0c3670ce4795c5d385b60ca72c4e514f9fb6d5948"}},{"ruleId":"D1","level":"warning","message":{"text":"VisionPackVerifier.verify (cyclomatic 21): VisionPackVerifier.verify has cyclomatic complexity 21 (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":"Sources/TurboFieldfareRepack/Core/Verification/VisionPackVerifier.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85646e4a057e47ec8d2d5f0333b4928330996f097071133ecec75574f2b702f"}},{"ruleId":"D1","level":"warning","message":{"text":"GemmaToolSchema.adaptNullableUnion (cyclomatic 21): GemmaToolSchema.adaptNullableUnion has cyclomatic complexity 21 (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":"Sources/TurboFieldfareServer/Core/GemmaToolSchema.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3391596ef277764434d492daa1c7b1d2d09f3de19232eb62d22fa54091f65478"}},{"ruleId":"D1","level":"warning","message":{"text":"Attention.partialPipeline (cyclomatic 20): Attention.partialPipeline has cyclomatic complexity 20 (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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"530b6485b9cb036444f808a088061875c7ac5ec203660fbf9376d44c14b13f5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerPrefix.listItem (cyclomatic 20): ContainerPrefix.listItem has cyclomatic complexity 20 (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":"Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd867a3f6edcf957c6c29f775e5c989d89e7ddc549b2a0954db6f8aed140d7ff"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptTextView.refreshCodeCopyButtons (cyclomatic 20): TranscriptTextView.refreshCodeCopyButtons has cyclomatic complexity 20 (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":"Sources/TurboFieldfareApp/MacPresentation/TranscriptTextView.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d84b89f8b16c25a714e8fda38aaf02eb5e6b02f5ab861f129aabe2acf5acf91"}},{"ruleId":"D1","level":"warning","message":{"text":"AppModel.applyLoadState (cyclomatic 20): AppModel.applyLoadState has cyclomatic complexity 20 (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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74edcaff34ba9cdd3839f43593673505ee50d1b6ba7ce554300948a40dadda2"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeServiceOutbox.runWriter (cyclomatic 20): DecodeServiceOutbox.runWriter has cyclomatic complexity 20 (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":"Sources/TurboFieldfareDecodeService/DecodeServiceOutbox.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"84246b68cab73b09c9de1e3f645df856760fcbe29b847fc2fd8dfe3be7061932"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerPromptCache.match (cyclomatic 20): ServerPromptCache.match 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":"Sources/TurboFieldfareServer/Core/ServerPromptCache.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5e0f5ca3b9bf62a7bf75ae7727c2d01eea403858da3c7065c911c6fa998b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.escapedFragment (cyclomatic 18): Parser.escapedFragment has cyclomatic complexity 18 (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":"Sources/TurboFieldfare/Tokenization/GemmaToolCallParser.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4c5262b0fdad1e1f42297b969ef10f19223d986a80f50b28001e038699862"}},{"ruleId":"D1","level":"warning","message":{"text":"PrefillAttention.encodeCausal (cyclomatic 18): PrefillAttention.encodeCausal has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f5cd6bb001da71c67683ba1b828c2bd9cef7f66c7084d2aeb73fcaee2c161"}},{"ruleId":"D1","level":"warning","message":{"text":"RawCompletion.swift.runRawPrefillBody (cyclomatic 18): RawCompletion.swift.runRawPrefillBody has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. 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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"089404748c2ffb9c8173d841f124d05e286bf819e60c2d30afa363d49da88184"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationMetaProjection.project (cyclomatic 18): ConversationMetaProjection.project has cyclomatic complexity 18 (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":"Sources/TurboFieldfareApp/Core/History/ConversationMetaProjection.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc60994c29dd9837a11d4c7a3bec4ecb007b5128b20e93d16c75c99abc699a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Run.swift.parseInput (cyclomatic 18): Run.swift.parseInput has cyclomatic complexity 18 (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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb886f9011e8cf624b1084e6de51af56306b92e62ffaa8aec332540816611c"}},{"ruleId":"D1","level":"warning","message":{"text":"ResidentWriter.encodeIndex (cyclomatic 18): ResidentWriter.encodeIndex has cyclomatic complexity 18 (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":"Sources/TurboFieldfareRepack/Core/Writing/ResidentWriter.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f4c0daca92d4dbe224544afd949f1dc75da88e417e222175c17debc0c9110"}},{"ruleId":"D1","level":"warning","message":{"text":"PreadExpertStreamer.init (cyclomatic 17): PreadExpertStreamer.init has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"461600b8b9aec51a304f4cae563aba41a7d1279e8c27d9a52bd2b820e17c6999"}},{"ruleId":"D1","level":"warning","message":{"text":"VisionLinearBF16.init (cyclomatic 17): VisionLinearBF16.init has cyclomatic complexity 17 (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":"Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c528d6fc240ca482c29db411e6e9e7d91e628a857b98e054f2ce509a8e08b1ec"}},{"ruleId":"D1","level":"warning","message":{"text":"MultimodalPromptRenderer.render (cyclomatic 17): MultimodalPromptRenderer.render has cyclomatic complexity 17 (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":"Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"49762944c87e7cdba7a5eab2e93af7403dc182a5048725548387c5c4ed56e985"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplacedRange.differing (cyclomatic 17): ReplacedRange.differing has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c57fbca426f3eda596a82f134c7d2553a27236ec81f60d3bfa08acf150d1c7"}},{"ruleId":"D1","level":"warning","message":{"text":"MathSpanDetector.maskBlocks (cyclomatic 17): MathSpanDetector.maskBlocks has cyclomatic complexity 17 (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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2257cc49ff84064b3436f985a775138200ea2e33bd9dd85c51cdbfec22c8d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseBlockSplitter.kind (cyclomatic 17): ResponseBlockSplitter.kind has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5fb646f41c1922ad3cc378010c1eec3946a90c03ad6536125374df2bf392fb"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseMarkdownRenderer.tagToken (cyclomatic 17): ResponseMarkdownRenderer.tagToken has cyclomatic complexity 17 (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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f0be7598f4d93831c60cab1c1423e961fcc6645cb524a34a476f8bae146d78"}},{"ruleId":"D1","level":"warning","message":{"text":"AppModel.deliver (cyclomatic 17): AppModel.deliver 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. This is NOT this file\u0027s highest cyclomatic complexity: AppModel.visionInstallPhaseLabel (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d79f4e894cc3dc02413b235230153446e0d09e967e9d2e17360421c6919a180"}},{"ruleId":"D1","level":"warning","message":{"text":"AppModel.replayOutcome (cyclomatic 17): AppModel.replayOutcome has cyclomatic complexity 17 (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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b236c7532d56b9d95b59d6cfe000210bcad56bb5bb593c3b5abf1aed9d51c96"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexLoader.load (cyclomatic 17): IndexLoader.load has cyclomatic complexity 17 (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":"Sources/TurboFieldfareRepack/Core/Format/IndexLoader.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f1464de005fd062574facdd02b6d95579a61ffd12eacbc1157f8bf95ab8f1"}},{"ruleId":"D1","level":"warning","message":{"text":"RepackPlanner.plan (cyclomatic 17): RepackPlanner.plan has cyclomatic complexity 17 (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":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1ad5376ab0aa42a56da44f9e52df0e3f1b151c5f3103b14c04ede1b2eab7f4"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteInstallCheckpoint.validate (cyclomatic 17): RemoteInstallCheckpoint.validate has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteInstallCheckpoint.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f6ab581ccc0c12a466c8cd8d6acc285a9f7a09ab1a7ff32e7dc5bb63166524"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteStreamingRepacker.runPrepared (cyclomatic 17): RemoteStreamingRepacker.runPrepared has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67e645298778578a04d4cc62654a9e1efe0145f78bc8897ff86e50cb9b9542b"}},{"ruleId":"D1","level":"warning","message":{"text":"GemmaToolSchema.adapt (cyclomatic 17): GemmaToolSchema.adapt has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/GemmaToolSchema.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b667a85655c5d25473256c6adbc5e09fc36e2b674ba892e6a7048653d2a544"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerHTTPHandler.channelRead (cyclomatic 17): ServerHTTPHandler.channelRead has cyclomatic complexity 17 (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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"927bcaee6d35cbed0a5296bdcf1ed5f7f64bffabae0285f0d1dd82d1481dc446"}},{"ruleId":"D1","level":"warning","message":{"text":"JSONValue.jinjaSendableValue (cyclomatic 16): JSONValue.jinjaSendableValue 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":"Sources/TurboFieldfare/Tokenization/JSONValue.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadda8a78ff91f9152da3b9d672103839f6d3655c4daa16c474ec1f17a2b9e8"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedExpertInt4.encode (cyclomatic 16): SharedExpertInt4.encode has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c032daa7a451dcec5a38756c1fd94992db1cb9f3be6cfdb5a82ae2709439920"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationConfig.validate (cyclomatic 16): GenerationConfig.validate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Generation/Sampler.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9272baf2d7feb3d2d21e8bba4c2c0c0281daeaddf8ea3b761508f19515ab88"}},{"ruleId":"D1","level":"warning","message":{"text":"MathSpanDetector.inlineDollarClose (cyclomatic 16): MathSpanDetector.inlineDollarClose 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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1b647097b36e0a80358a2699257267a90daecddfb9dc5c5d278dd9ad580bb7"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseMarkdownRenderer.completingTables (cyclomatic 16): ResponseMarkdownRenderer.completingTables has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daeaf7a68c7961635856e2c9e67121de4421101de31110518daa1e4146bc1c9"}},{"ruleId":"D1","level":"warning","message":{"text":"TailAutoClose.fenceState (cyclomatic 16): TailAutoClose.fenceState 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":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d68c0a3f4311f1cb8f1277754303c3cf9af58ec0e4fa4363db7972f1626456"}},{"ruleId":"D2","level":"warning","message":{"text":"RealForwardRunner.executePrefillChunk (cognitive 131): RealForwardRunner.executePrefillChunk has cognitive complexity 131 (threshold 15). Drivers by points: if/else 42 (74 pts), ternaries 10 (21 pts), match/switch 3 (14 pts), boolean chains 11, loops 6 (11 pts) (nesting depth added 59). Of this number, 115 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"327c7c80938e587949e29d81b381a1691e21e18f1fcb47135235c3bb4772ce2e"}},{"ruleId":"D2","level":"warning","message":{"text":"RealForwardRunner.produceToken (cognitive 96): RealForwardRunner.produceToken has cognitive complexity 96 (threshold 15). Drivers by points: if/else 33 (56 pts), ternaries 9 (19 pts), boolean chains 17, loops 3 (4 pts) (nesting depth added 34). Of this number, 88 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dbb58f0a6ceaae60e98d30b2e6fb4533f259faf1e07f3a435a280dc82bdb5f"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboFieldfareDecodeServiceMain.main (cognitive 94): TurboFieldfareDecodeServiceMain.main has cognitive complexity 94 (threshold 15). Drivers by points: if/else 17 (43 pts), error handling 11 (31 pts), loops 3 (7 pts), ternaries 2 (7 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 58). 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":"Sources/TurboFieldfareDecodeService/Entry.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36db9ffc523ee3c3ed7a82a1f12be48568f28ded87a96684bdf8d18b25cfd5"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIRequestValidator.validateMessages (cognitive 92): OpenAIRequestValidator.validateMessages has cognitive complexity 92 (threshold 15). Drivers by points: if/else 23 (68 pts), boolean chains 10, match/switch 2 (6 pts), loops 2 (4 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 52). 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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"521e256d811f67acce65b6485b0ec3868f725fc0d97d157b83555d98026f0f70"}},{"ruleId":"D2","level":"warning","message":{"text":"Run.swift.run (cognitive 90): Run.swift.run has cognitive complexity 90 (threshold 15). Drivers by points: if/else 26 (67 pts), loops 4 (13 pts), match/switch 2 (4 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 54). 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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f63fdde979b20573097c7e7c3d81108328c1e305e610bfac1e70364a3d6213"}},{"ruleId":"D2","level":"warning","message":{"text":"Args.parse (cognitive 87): Args.parse has cognitive complexity 87 (threshold 15). Drivers by points: if/else 26 (56 pts), boolean chains 20, match/switch 2 (5 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 36). 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":"Sources/TurboFieldfareCLI/Args.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d21cdd3710ceed8fe46d2b18a478238e2637e13bd08e72f9d7da731d1d87728"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.validateRuntimeSchema (cognitive 75): Model.validateRuntimeSchema has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 34, if/else 15 (23 pts), loops 6 (13 pts), ternaries 3 (5 pts) (nesting depth added 17). Of this number, 37 points are the body\u0027s own statements and 38 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Inference/Model.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eb068cbe5c876694c8b62d6b33e400bc17474fa46620f242247558070d484b"}},{"ruleId":"D2","level":"warning","message":{"text":"Arguments.parse (cognitive 72): Arguments.parse has cognitive complexity 72 (threshold 15). Drivers by points: if/else 29 (55 pts), boolean chains 14, match/switch 1 (2 pts), loops 1 (nesting depth added 27). 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":"Sources/TurboFieldfareRepack/Command/main.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08589dad66cb9b766335c2bf90535dd675a5489a9a1e8702d04521ec1854718"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboManifestCodec.validate (cognitive 64): GTurboManifestCodec.validate has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 39, if/else 11 (18 pts), loops 5 (7 pts) (nesting depth added 9). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a59c7e1ee757bd8352789d1f025bd826249a829accf90fbf2df9d54bd5b10"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionRuntime.encodePreparedPatches (cognitive 62): VisionRuntime.encodePreparedPatches has cognitive complexity 62 (threshold 15). Drivers by points: if/else 19 (28 pts), ternaries 11 (16 pts), loops 5 (6 pts), match/switch 2 (5 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 20). Of this number, 55 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. 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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"be305cbdb156a18a6f49f03f812524347638a07a94c079d4337b4d2c1e6e7452"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerModelSession.generate (cognitive 61): ServerModelSession.generate has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (33 pts), ternaries 4 (10 pts), error handling 4 (6 pts), match/switch 3 (6 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 24). Of this number, 48 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4db073300f6ec598190d98f659d47f6aeccc1c6467dd0b04a9aef76b44f6ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"TailAutoClose.balancingInlineMarkers (cognitive 58): TailAutoClose.balancingInlineMarkers has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 13, loops 3 (5 pts), ternaries 1 (nesting depth added 21). 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":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910d58aa987ffcd31b0b8b8bb5dd8d687022fa8c78ed25ddda39a7992a0c5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboV1StructuralValidator.validate (cognitive 58): GTurboV1StructuralValidator.validate has cognitive complexity 58 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 21, loops 4 (9 pts), ternaries 1 (3 pts) (nesting depth added 22). 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":"Sources/TurboFieldfareFormat/GTurboPackedExpertsLayoutV1.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2e284e1151b881e038f50381729e13cf2284031c92392dc701d3f0a3c17f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStoreImport.run (cognitive 57): ConversationStoreImport.run has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (36 pts), loops 5 (13 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 29). 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":"Sources/TurboFieldfareApp/Core/Configuration/ConversationStoreImport.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a133057993bed8b07e5c34a2b5da33ae5f9466e218cb4ce2f0be1080293e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerArguments.parse (cognitive 57): ServerArguments.parse has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (44 pts), boolean chains 7, match/switch 2 (5 pts), loops 1 (nesting depth added 29). 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":"Sources/TurboFieldfareServer/Core/ServerArguments.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8176f309e4726b8db688e96bfa7cf8bc5960079b51738979c4d162fa71908e"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboDirectoryAccess.collectEntries (cognitive 50): GTurboDirectoryAccess.collectEntries has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (35 pts), ternaries 3 (8 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c727cef97184950e4e18357a33278e7eeaf62df6f8e0fce068b74f3cfc738728"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeServiceInferenceClient.generate (cognitive 49): DecodeServiceInferenceClient.generate has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 6, ternaries 1 (5 pts), match/switch 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bfd87b375d1518d08a0a8ee713cff2d12dc1ecec106decb19e893952f94433"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCompletion.swift.runRawCompletionBody (cognitive 46): RawCompletion.swift.runRawCompletionBody has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 5 (10 pts), boolean chains 7, match/switch 1 (3 pts), loops 1 (nesting depth added 18). 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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fcc9fa96520e72796f84d79793f39919ff3cace0546f4b9ee89f402ab6e908"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseBlockSplitter.consume (cognitive 45): ResponseBlockSplitter.consume has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 13 (nesting depth added 13). 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b674638687a2fcc993b94d23dacfa218e9d66dce7c3f1066d7504ade9814bee8"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboVisionStructuralValidator.validate (cognitive 43): GTurboVisionStructuralValidator.validate has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 12, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44b944e2709020317282c644b682b067013b268abf08dea3d98a47eefa1cae6"}},{"ruleId":"D2","level":"warning","message":{"text":"MathSpanDetector.maskBacktickSpans (cognitive 38): MathSpanDetector.maskBacktickSpans has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (10 pts), boolean chains 8 (nesting depth added 18). 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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"416527799395b26a0cfd9d07313d364122cc4272d10db10f16edc1743a87740e"}},{"ruleId":"D2","level":"warning","message":{"text":"RealInferenceSession.run (cognitive 38): RealInferenceSession.run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 2 (5 pts), boolean chains 4, match/switch 1 (2 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"335464b77d7c9c9c6be16cbbee484358f09e796a2060f709a97c613ec1a1993c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.open (cognitive 37): ConversationStore.open has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 7, loops 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/History/ConversationStore.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d754496ac6260426a7c9f40606dedca832310ed0f18742a593a1c8c086a94ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppPresentationState.resolve (cognitive 36): AppPresentationState.resolve has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 2 (5 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":"Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"577c14606bf5e6cc598acdb56ff15e343d08c50a14a034158358a97a03ee8f96"}},{"ruleId":"D2","level":"warning","message":{"text":"TailAutoClose.consumeEmphasis (cognitive 35): TailAutoClose.consumeEmphasis has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 20, if/else 6 (7 pts), ternaries 4 (6 pts), loops 2 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1392fdbf80eb4893b9ebcc1dd5cff53d8170ad650cf7d54fe0a311cbad147050"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDataBootstrap.init (cognitive 35): AppDataBootstrap.init has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 9, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 13). 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":"Sources/TurboFieldfareApp/Core/Configuration/AppDataBootstrap.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c467fd8fa97a3fbc6138d940cb57bfbac298c60b2bb64b613d033ea3e2b6b34e"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorView.visionSection (cognitive 35): InspectorView.visionSection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 6 (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":"Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8bf495563006400ed6fc41051e5a02ec139add4596b32799d7835ee69b7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalConversation.generate (cognitive 34): MultimodalConversation.generate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 4 (8 pts), boolean chains 5, ternaries 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). 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":"Sources/TurboFieldfare/Runtime/Generation/MultimodalConversation.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad2cd45e9a55230d1b580f95e3778249e68a424a3141bc8c6e9192c323b67af"}},{"ruleId":"D2","level":"warning","message":{"text":"AppGenerationRequest.validate (cognitive 34): AppGenerationRequest.validate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 11, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4a8ef140859861697ffc2dc69a2a75f8d68edaa8d829acb2a6897a1bfe8d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionWeightStore.open (cognitive 31): VisionWeightStore.open has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, error handling 8 (9 pts), loops 2 (nesting depth added 3). 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":"Sources/TurboFieldfare/Runtime/Vision/VisionWeightStore.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"83efa53f009b4e831c6e9b1f386fcb4ee8c51f7b9d21f16f4e4537744f0040f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Safetensors.parseHeaderBytes (cognitive 31): Safetensors.parseHeaderBytes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). 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":"Sources/TurboFieldfareRepack/Core/Format/Safetensors.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6b6d93081d966c710f96a1a722581d3d711f90c78a34183c1f8bf1c8491ae"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionLinearBF16.init (cognitive 30): VisionLinearBF16.init has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (8 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 11). 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":"Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be548b2827e6886db68ee4457400387f6814992dbee8c946ea052f3b9f637a8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeServiceOutbox.runWriter (cognitive 30): DecodeServiceOutbox.runWriter has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, ternaries 1 (3 pts), loops 1 (nesting depth added 11). 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":"Sources/TurboFieldfareDecodeService/DecodeServiceOutbox.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b3ead6f19a6fda86fe0a95719b7cec4d600d03d5fe10baaec7ebc87c6c47cc"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIRequestValidator.validate (cognitive 30): OpenAIRequestValidator.validate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15, match/switch 4 (7 pts), boolean chains 5, ternaries 2 (3 pts) (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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbc1ca4450fd7950f075c3c9d083a391e7fb1c5bb23cc5cfb0c485ca03bfde0"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionTranscriptDocumentController.synchronize (cognitive 29): InstructionTranscriptDocumentController.synchronize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 13, ternaries 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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4225f2e1f50f9c4b687fd2aa339d0a72f97edd7c1f1992e0eed988ed6b06e00"}},{"ruleId":"D2","level":"warning","message":{"text":"MathSpanDetector.maskBlocks (cognitive 29): MathSpanDetector.maskBlocks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 4, loops 1 (nesting depth added 13). 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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0e0410393c1a37714370fb1f1743a656a4056c88ef2fa79c1eed59d62cdac3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationScreenMachine.apply (cognitive 29): ConversationScreenMachine.apply has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, match/switch 2 (3 pts), ternaries 1 (3 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":"Sources/TurboFieldfareApp/Core/State/ConversationScreenMachine.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7250ab14893c25b3cb5b0639a2ed48bf7b8a8ab31657ce7a9b9a0ba9b506dbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerHTTPHandler.channelRead (cognitive 29): ServerHTTPHandler.channelRead has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (6 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 14). 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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"523e2ce462fdfcb40fe08924eb911d2da08941948af75107a9487288bdc071bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Run.swift.parseInput (cognitive 28): Run.swift.parseInput has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 2 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). 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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"babdd8bd8f7e075debb8ea878f0ed3850c62ece5f7ebf2511152aeabe9736545"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboJSON.encodeLayout (cognitive 28): GTurboJSON.encodeLayout has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), match/switch 1 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 18). 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":"Sources/TurboFieldfareRepack/Core/Format/GTurboJSON.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"17551fd0c465a76c0f48c9230b2ee210bb0ade1c5924e220713a402130d0d17d"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexLoader.load (cognitive 28): IndexLoader.load has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 4, loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Format/IndexLoader.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56e587e654f4c5d19dc81c735e27fc18594d6a02884c20fb7c86c064723581"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuredAssistantDecoder.consume (cognitive 27): StructuredAssistantDecoder.consume has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 9, error handling 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":"Sources/TurboFieldfare/Tokenization/StructuredAssistantDecoder.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0362b7f5e3a8c40f5f252be4d44dd8ae35a14f8da4d4aa4eb64f33e5a122fbc7"}},{"ruleId":"D2","level":"warning","message":{"text":"MPPPrefillInt4QMM.encode (cognitive 27): MPPPrefillInt4QMM.encode has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 17, ternaries 9, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/TensorCore/MPPPrefillInt4QMM.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b95f31ba069ff975679b7cdbcf77a3be059bce414409d9d700e7a6659288313"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerPrefix.listItem (cognitive 27): ContainerPrefix.listItem has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, loops 3 (4 pts) (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":"Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2604fe9fcc2308d686fb140b8ccc05762dfe9525121ec0380d9e6470619e8db5"}},{"ruleId":"D2","level":"warning","message":{"text":"GTurboResidentIndexCodec.decodeRegion (cognitive 27): GTurboResidentIndexCodec.decodeRegion has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, loops 2 (3 pts), ternaries 1 (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":"Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"df20d49bb9cf124706474ebb59deeab245096a97328e827ebe0d3e2df3515474"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalConversation.restore (cognitive 26): MultimodalConversation.restore has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 3 (5 pts), loops 2 (3 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Generation/MultimodalConversation.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"9930113f769c56f85bee10fdca72ca9eeee8561bf89c98cc43ef324553881e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"PrefillMoEGrouping.groupTokenExpertPairs (cognitive 26): PrefillMoEGrouping.groupTokenExpertPairs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5348a3983941094751185cec769dbb20cc19778565dd28b272f1487d0e4945f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageMetadataReader.read (cognitive 25): ImageMetadataReader.read has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 11, ternaries 2. 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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/ImageMetadataReader.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f122ae8ae00baf546fe24888c5f89850491ece3e840f23c6d547d938a031eeb0"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionTranscriptDocumentController.extendProgressiveRender (cognitive 25): InstructionTranscriptDocumentController.extendProgressiveRender has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 10, loops 1 (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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"295df944436f36e8ce2389f8486379fd3df89e5231159a00aefee8fae40b0635"}},{"ruleId":"D2","level":"warning","message":{"text":"TailAutoClose.fenceState (cognitive 25): TailAutoClose.fenceState has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f30ce5c03cf485ded8273433008fb32e1feb72dd872f33278a0f9eb44fb2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptTextView.refreshCodeCopyButtons (cognitive 25): TranscriptTextView.refreshCodeCopyButtons has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 11, loops 1 (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":"Sources/TurboFieldfareApp/MacPresentation/TranscriptTextView.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e2c1afae8e10bcaaca98f098f00f6dcb705085482568cbc3e86ef597c7dc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionPackVerifier.verify (cognitive 25): VisionPackVerifier.verify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7, loops 1, ternaries 1 (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":"Sources/TurboFieldfareRepack/Core/Verification/VisionPackVerifier.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f52648fff4f40732f03baebe837ef30ceb5e880d29185b594fbb0b241edab"}},{"ruleId":"D2","level":"warning","message":{"text":"Attention.partialPipeline (cognitive 24): Attention.partialPipeline has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), ternaries 3 (5 pts), error handling 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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37602cbc2a42ce321128052b37aec459c238bf34622069a37860cad5af75d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionAttention.init (cognitive 24): VisionAttention.init has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (10 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). 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":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93beeffcb7ed99e2eb79a5f20f26bb1a22b0c05d36a12ab1e6c94d8112223b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerPrefix.listItem (cognitive 24): ContainerPrefix.listItem has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), ternaries 2 (4 pts), loops 2 (nesting depth added 4). 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":"Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d644ef3c2ddad023099912a6e0239c6f28e46e34dbd309341d495cd11a2c94b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MathCommandNormalizer.arguments (cognitive 24): MathCommandNormalizer.arguments has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 13). 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":"Sources/TurboFieldfareApp/MacPresentation/MathCommandNormalizer.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b4ec4eb15ec7ed8e6d775676e4ddcf08e5119c69fe0c044f8f42b14a30c2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.replayOutcome (cognitive 24): AppModel.replayOutcome has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (6 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 11). 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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"65087a4909eb34fa09cf6ceaa4cc53e156a5b688f6d1eaec648914db2298cf5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationDocument.load (cognitive 23): ConversationDocument.load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/History/ConversationDocument.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cdc81bc7c3fb8d5235330e7e3b38da3932667ba45e0ba300eb73404ed5694"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.deliver (cognitive 23): AppModel.deliver has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 5 (9 pts), error handling 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8657845282d86d75ebfaaff11fc0731775073c15efc92646da469c4d41e4ccf"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIRequestValidator.validateSchemaKeys (cognitive 23): OpenAIRequestValidator.validateSchemaKeys has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (8 pts), match/switch 1 (nesting depth added 14). 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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"48320bb9f279e24ddf6348890eba8d7df86c48372e30bc52f431aecf5474e1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalPromptRenderer.render (cognitive 22): MultimodalPromptRenderer.render has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7ad06eee94e4a9403e4dcb40433e053b872abedf4b0321f55f14b6edc702dc"}},{"ruleId":"D2","level":"warning","message":{"text":"MathSpanDetector.inlineDollarClose (cognitive 22): MathSpanDetector.inlineDollarClose has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17a21b6517a9fe6996f9c08cb07cd2b76c47ed2c9b33e28d94b215efa82029d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.tagToken (cognitive 22): ResponseMarkdownRenderer.tagToken has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad83c274ba1f0dd630a0d1e0f032b4cfbaf1379179859c6d201556375b0710d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.deleteConversation (cognitive 22): AppModel.deleteConversation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e69bd6f98c5dd5d796d06dbb5f7f980c7e212efbd862caba5492336b68af597"}},{"ruleId":"D2","level":"warning","message":{"text":"RepackPlanner.plan (cognitive 22): RepackPlanner.plan has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df0460fb40a0f91be43c39ffebe07af2a049426af9cd693c26843198457c67"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteStreamingRepacker.runPrepared (cognitive 22): RemoteStreamingRepacker.runPrepared has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, ternaries 2, loops 1 (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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"31894b843ec343f48ef52aa2d86ae1af0ceb0b3db2b992fc77323e4f3abfdf4b"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionPackWriter.write (cognitive 22): VisionPackWriter.write has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Writing/VisionPackWriter.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"de23dfcf553aa77d111fd0ec51f07b7080424c8c5fff321621b3c0bd0befda64"}},{"ruleId":"D2","level":"warning","message":{"text":"GemmaToolSchema.adaptNullableUnion (cognitive 22): GemmaToolSchema.adaptNullableUnion has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 2, loops 1 (nesting depth added 2). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/GemmaToolSchema.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abccbff0cb86e178753aea290d2a330ebad9fd8b92da03a2f7edad56942ffd1"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBodyFilter.append (cognitive 21): CodeBodyFilter.append has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 11). 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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f92502190ed5c138f33e983e0223d45e0bc41c493f9089c3b0702cbb77c114"}},{"ruleId":"D2","level":"warning","message":{"text":"RealInferenceSession.ensureLoaded (cognitive 21): RealInferenceSession.ensureLoaded has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 5 (8 pts), boolean chains 2 (nesting depth added 8). 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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b20acedece9dc23eed59098aa774d9ac581d7e7496c3612999d0df266a38f"}},{"ruleId":"D2","level":"warning","message":{"text":"Quantization.quantizeInt4Affine (cognitive 20): Quantization.quantizeInt4Affine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2654f2da729aed8802f51897cbb1def6e276db6fbe7732e37f02093027be9"}},{"ruleId":"D2","level":"warning","message":{"text":"PreadExpertStreamer.init (cognitive 20): PreadExpertStreamer.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c96c9c06679b01471309167b6920ad6c5111dda31da91560d9e44bd184c04"}},{"ruleId":"D2","level":"warning","message":{"text":"MathSpanDetector.scanBackslash (cognitive 20): MathSpanDetector.scanBackslash has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, match/switch 1 (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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfe821565bedce4d52e77afa7baa9fb402c2f362b8f2d9b45f0a7890ef7fb8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.render (cognitive 20): ResponseMarkdownRenderer.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (5 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 8). 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9430171075f902345390c4741d9c100ec1c70d4245a2b3246754121c1b5f850"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptSyncPlanner.plan (cognitive 20): TranscriptSyncPlanner.plan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TranscriptSyncPlanner.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c56ef090d3860d38af1d4c1db2f345793fa47b83f912d226005ee079a3ec652"}},{"ruleId":"D2","level":"warning","message":{"text":"RepackPlanner.planLayerFile (cognitive 20): RepackPlanner.planLayerFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (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":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"da897d729b1923b38a4f37396decf107951f3a3f5630cb874fbd3822c720810f"}},{"ruleId":"D2","level":"warning","message":{"text":"RepackPlanner.slotRank (cognitive 20): RepackPlanner.slotRank has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d9a23e84c89de323b0738d631c036740d7236c83bde3988b2f703f0ac3581"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPRangeSourceByteProvider.copyBatch (cognitive 20): HTTPRangeSourceByteProvider.copyBatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 11). 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":"Sources/TurboFieldfareRepack/Core/Remote/SourceByteProvider.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbd9f07fd2c4a79290b02b33373b9b73a51288d107cb69e4175e95a3bc85dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerPromptCache.match (cognitive 20): ServerPromptCache.match has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8 (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":"Sources/TurboFieldfareServer/Core/ServerPromptCache.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c54f8e50a4dcbd20261aca13527396256e32a27eb250a397da97bc685ebc6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.escapedFragment (cognitive 19): Parser.escapedFragment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 8). 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":"Sources/TurboFieldfare/Tokenization/GemmaToolCallParser.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e531d054d3f91420d936c7920d91e753ea4e0d72011576c5b53861b18e381"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionTranscriptDocumentController.rebuild (cognitive 19): InstructionTranscriptDocumentController.rebuild has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, ternaries 1 (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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f1408ae4af1eac29ea250f547e1c574f0ed33fe513b3ab816cc6522028a07e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.block (cognitive 19): ResponseMarkdownRenderer.block has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 4, match/switch 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 2). 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa71ebbf9aea15cf7bb4aa530112f898509de58cd35cf24efc5173db27003f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.completingTables (cognitive 19): ResponseMarkdownRenderer.completingTables has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 3 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f621206bad421b6ef34b77200c18dad7b2bb609d15b43d8f96c55ffa39dfb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ResidentWriter.encodeIndex (cognitive 19): ResidentWriter.encodeIndex has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), loops 2, error handling 1 (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":"Sources/TurboFieldfareRepack/Core/Writing/ResidentWriter.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f207ba0d30f2adc767b5f05fac4c92a8678058be83c315a0c80392e3ae345b"}},{"ruleId":"D2","level":"warning","message":{"text":"GemmaToolSchema.adapt (cognitive 19): GemmaToolSchema.adapt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (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":"Sources/TurboFieldfareServer/Core/GemmaToolSchema.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf097d880c54ff70a12f2ad1e78c03edea51f47dabd2a637059547d44cf1a44"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingChatRequestBody.consumeStructural (cognitive 19): StreamingChatRequestBody.consumeStructural has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/StreamingChatRequestBody.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3fac41f51efa21665a1f80084fc6e5867f9bb156207fa8ae97936608a59ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"PrefillAttention.encodeCausal (cognitive 18): PrefillAttention.encodeCausal has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca2ef92457d986a507867bc747dd2e213e1f0f9ace2a2e8d9ae6fe36bc7e6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"MPPPrefillInt4QMM.init (cognitive 18): MPPPrefillInt4QMM.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/TensorCore/MPPPrefillInt4QMM.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"252978637bc530464a963ed13acaa897a9009d18d047e4c3e16bcceff6e5664b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplacedRange.differing (cognitive 18): ReplacedRange.differing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 2 (nesting depth added 2). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce94618d27952580e0b58625434ad5ae6e3f3ec6ec85e71eac8c7cb3da1d13af"}},{"ruleId":"D2","level":"warning","message":{"text":"MathSpanDetector.openInlineDollar (cognitive 18): MathSpanDetector.openInlineDollar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 7, loops 2 (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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e38c8d98836cd35671d48e421ac3108d71ccf3e49c10db4b0ec717ae0e4d870"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationMetaProjection.project (cognitive 18): ConversationMetaProjection.project has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 2, loops 1 (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":"Sources/TurboFieldfareApp/Core/History/ConversationMetaProjection.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ba1d20005cdbdc7767dad2c027576e7d0e4d18d627512279beddf6396a345"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModelLocation.validate (cognitive 18): AppModelLocation.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 8). 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":"Sources/TurboFieldfareApp/Core/Installation/AppModelLocation.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa015e85299d75f4d27bf3c82295094da8da80846300d874a843089edd0bfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.refreshVisionInstallReadiness (cognitive 18): AppModel.refreshVisionInstallReadiness has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, match/switch 1 (2 pts), ternaries 1 (2 pts), error handling 1 (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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d3dcb6b58cf735c93389d1a2d1dd16f9525558df1fe0e93f222eba2b487189"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.applyLoadState (cognitive 18): AppModel.applyLoadState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, match/switch 2 (nesting depth added 2). 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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f69021e3521d6792b67a24a52199a2f9cec504597266459560995d5abd5eda3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.persistCompletedTurn (cognitive 18): AppModel.persistCompletedTurn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d3c7779a221b9e62745a527f3746af5ee11c252491e70c52641d2ee28d5243"}},{"ruleId":"D2","level":"warning","message":{"text":"RepackPlanner.planResidentFile (cognitive 18): RepackPlanner.planResidentFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 2 (nesting depth added 8). 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":"Sources/TurboFieldfareRepack/Core/Planning/RepackPlanner.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b3889272bc448534c772ed9c9e0a7b173fb6346ba371ea89b09fd6ad05deca"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingChatRequestBody.acceptPrefix (cognitive 18): StreamingChatRequestBody.acceptPrefix has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/StreamingChatRequestBody.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9e2ad56ae460985e11a24ca43dce4d83d119353c269f2d19f74ebbe8e0af19"}},{"ruleId":"D2","level":"warning","message":{"text":"GFTokenizer.encodeMultimodalUserContinuation (cognitive 17): GFTokenizer.encodeMultimodalUserContinuation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). 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":"Sources/TurboFieldfare/Tokenization/Tokenizer.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"714eeabf2a8d74d99bb818518cf08ae1c3b7352abccdfbae9f6cdf8ed0e0aa57"}},{"ruleId":"D2","level":"warning","message":{"text":"VisionRuntime.encodePatches (cognitive 17): VisionRuntime.encodePatches has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 3). 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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ed8ab475e9e2aefdfa45d22e8aac5f9b0fef9ed6067e716a516155ca49b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedMathCoverage.skippingCommand (cognitive 17): PinnedMathCoverage.skippingCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 2 (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":"Sources/TurboFieldfareApp/MacPresentation/MathTypesetterCoverage.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b430615f1caa3f2c0e4d225e023234bc0a9a3eb93a67d3077df2491721d1a24b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseBlockSplitter.kind (cognitive 17): ResponseBlockSplitter.kind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (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":"Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c026d06fc63796edc09ca6a18390e03043a886c0d0091597d633b3a6822f32"}},{"ruleId":"D2","level":"warning","message":{"text":"TailAutoClose.isThematicBreakLine (cognitive 17): TailAutoClose.isThematicBreakLine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb46b7cceb86ea35574d5e3a6ccf15cd7dad8f3f06d1d16056eb4aae79e9702"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerDiagnosticsSection.body (cognitive 17): RunnerDiagnosticsSection.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 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":"Sources/TurboFieldfareApp/Mac/Diagnostics/RunnerDiagnosticsSection.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff04131f5309108b4c3e12feb3efa59a9c4672c7959f9c25f71a280adfab8f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteInstallCheckpoint.validate (cognitive 17): RemoteInstallCheckpoint.validate has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (4 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteInstallCheckpoint.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"453dcf26c96c7148e478d0cbdf2440c52bbe94c40751fc7f636a43aa45793b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSnapshotLoader.load (cognitive 17): RemoteSnapshotLoader.load has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteSnapshotLoader.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806613df0626fcfaf5556e5a0a10da0e0cf258010cfa93a6d6ced1a713daf73"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteVisionPackInstaller.runPrepared (cognitive 17): RemoteVisionPackInstaller.runPrepared has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 2 (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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db5fc7cbd2c6179f6a17784e5013e48f586143323194daa56c15205bbb99fd"}},{"ruleId":"D2","level":"warning","message":{"text":"GemmaToolSchema.adaptStringConstantUnion (cognitive 17): GemmaToolSchema.adaptStringConstantUnion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 3). 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":"Sources/TurboFieldfareServer/Core/GemmaToolSchema.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"01baae2e49daba0700f7acc7bc5c1c69afebd2e7b0e9a4470886e528673257d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerHTTPHandler.handleCompletion (cognitive 17): ServerHTTPHandler.handleCompletion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). 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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21612dfda3519a2d45536bb55b0a3cb3bf1f48f496ce2566f320078f96b8bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuredOutputFailureDiagnostics.init (cognitive 17): StructuredOutputFailureDiagnostics.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfcca980b441b81a69e64579bf7635f7c68cd97c362b1b806ed8add73843e39"}},{"ruleId":"D2","level":"warning","message":{"text":"Quantization.quantizeInt8Affine (cognitive 16): Quantization.quantizeInt8Affine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 8). 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":"Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7556a83d3dd12ceca9bd69afb24dfc6cf974d0a41fc8e0faddd9202f15b295f"}},{"ruleId":"D2","level":"warning","message":{"text":"FenceLine.run (cognitive 16): FenceLine.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 3 (nesting depth added 4). 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":"Sources/TurboFieldfareApp/MacPresentation/FenceLine.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"402bf6b8ffe42c67d6eaba7e37ed0c0ccba25c6776506cd5d7e2cc56cb1134f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.appendInlineHTML (cognitive 16): ResponseMarkdownRenderer.appendInlineHTML has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts) (nesting depth added 8). 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f818bf201c58f578156390dab20d01746384a8544e3dbf6b79957e2c74dc6af"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseMarkdownRenderer.consumeAttribute (cognitive 16): ResponseMarkdownRenderer.consumeAttribute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). 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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdae57ada1a671348c2fe386031f6e5982ab14a93c6c870e098cc0004e66658"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStoreImport.recover (cognitive 16): ConversationStoreImport.recover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2, boolean chains 1 (nesting depth added 4). 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":"Sources/TurboFieldfareApp/Core/Configuration/ConversationStoreImport.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d92c5a45a0a06a36cca28964be3670602d12c2a254ea4389d50c211156e0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.list (cognitive 16): ConversationStore.list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), loops 1 (nesting depth added 8). 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":"Sources/TurboFieldfareApp/Core/History/ConversationStore.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d2c80d00c24e5845199436034978969c527fb31e1a16e19cdb80b95f56a94"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.init (cognitive 16): AppModel.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35623c8de82c15df3ea9ca9539e013292a64b49a1d3001b97ced30dec4de19b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.finishVisionInstallFailure (cognitive 16): AppModel.finishVisionInstallFailure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb5073a7e9045b60d3a7e740596563dd34a464238b49074e1843309093e343f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel.releaseImagesOfTheConversationBeingLeft (cognitive 16): AppModel.releaseImagesOfTheConversationBeingLeft has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (7 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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"83800658ba3093e3f088f95ed2add0412c5f62e15a1f54670bbdba0baa97e80c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelInstallView.progressArea (cognitive 16): ModelInstallView.progressArea has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (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":"Sources/TurboFieldfareApp/Mac/Installation/ModelInstallView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8231667a53abf7f91be7fd19956d0bcdd0e1823377e47d748428987b88a291c"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteRetry.swift.withRemoteRetries (cognitive 16): RemoteRetry.swift.withRemoteRetries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 2 (6 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteRetry.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a03b8c4a0c13a122de6255cc373da51ed93210557ed546023af10e09bc9ca1a"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerModelSession.multimodalContinuation (cognitive 16): ServerModelSession.multimodalContinuation has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 4). 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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d345917ac3380cd94bbcce69b99d064d4e0ba551f2403911e97b01f024bccf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealForwardRunner.executePrefillChunk: MethodTooLong \u2014 executePrefillChunk runs 646 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 546 over it, 6.46\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f3403097d9c69ae768cb5d6dafd4a2e95921fb5eeb471ed1d7998d716b9ec4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppModel: ClassTooLong \u2014 1879 significant lines (blank, comment-only and punctuation-only lines excluded), 137 methods. The bar is 400 significant lines; this is 1479 over it, 4.70\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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f06c250cf1f8c92a4fba5f2959407302746a26c2055449595021ec8905dfbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppModel: TooManyMethods \u2014 137 methods, declared across 2 files: State/AppModel.swift (101), State/AppModelHistory.swift (36). The bar is 30 methods; this is 107 over it, 4.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7309dca8bdd37b58502fa77014c1fa0358f57a1e68fcc515d9254ac17de56541"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealForwardRunner.produceToken: MethodTooLong \u2014 produceToken runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a38a1bc33af63771990a52c215b6c6d279ac2d4759ecc5b390407636c8d406f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RealForwardRunner: ClassTooLong \u2014 1550 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 1150 over it, 3.88\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7086ec181b06918e6dc0b0feeef0c0427402e87c9d3eed18d8c3b2bc5c34f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: State/AppModel.swift: FileTooLong \u2014 1886 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: AppModel (9-3054). The bar is 500 significant lines; this is 1386 over it, 3.77\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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758ee5318665ddc49a055a4f872d8dbacb2b12dfa6d120b7c29bf4bc4262339"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisionRuntime.encodePreparedPatches: MethodTooLong \u2014 encodePreparedPatches runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.26\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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4f26a4f352813ecdd60a31e9be56b96a4ddc0c92db7ffd6641ed97f7b5b5df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Inference/RealForwardRunner.swift: FileTooLong \u2014 1622 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: RealForwardRunner (133-1980). The bar is 500 significant lines; this is 1122 over it, 3.24\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa62c117cab7b346f330f89508dad8de45f270a7e8c06c14c39388f36ace4f36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurboFieldfareDecodeServiceMain.main: MethodTooLong \u2014 main runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"Sources/TurboFieldfareDecodeService/Entry.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4097f0a96a567f8c11b3d950156c1b0d8a89db599b70667198f75e7f1502ec22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteStreamingRepacker.runPrepared: MethodTooLong \u2014 runPrepared runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"501dd81ac9a1a99f5b1f3375eab48219d18b17b898b12b89618adb96396a119f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Run.swift.run: FunctionTooLong \u2014 run runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5499c63e8e7d2b5fcf7e3fc670abebff96fdcc5ea72199298d08640a0c57c130"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerModelSession.generate: MethodTooLong \u2014 generate runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a14de208077b4b377c3fd888d52ff71584c6cbdb26f7baa0d4f2639c1ce91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstructionTranscriptDocumentController: ClassTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 330 over it, 1.83\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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aec2e245c7e6e904451f69fd30369c64fb7b4e4b114752dbdfd0fe82a1f99e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteVisionPackInstaller.runPrepared: MethodTooLong \u2014 runPrepared runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c32f4f305afc07ac9a6a4b1468bedfb7225e27f6500f9a4e3762bee809cfc3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Args.parse: MethodTooLong \u2014 parse runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"Sources/TurboFieldfareCLI/Args.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"352034c2e81dad1d895ec769dc7e886d8a17080d837644d51e0184761ea750c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.validateRuntimeSchema: MethodTooLong \u2014 validateRuntimeSchema runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"Sources/TurboFieldfare/Runtime/Inference/Model.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64de2b106e4642dcbb155a3d581e15449f4980642a764a9537289de033ffbd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/ServerInference.swift: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e050518431b4e983cce79d8213d75187ae9bee18d950598948adcc662013b88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MacPresentation/ResponseMarkdownRenderer.swift: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.69\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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990c79c4e5722b61bef729a21d8b7e29257ef6edef0f9a52431d960287b1d1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MacPresentation/InstructionTranscriptDocumentController.swift: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: InstructionTranscriptDocumentController (5-1089). The bar is 500 significant lines; this is 304 over it, 1.61\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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3ff01e21c9f07b9a93a6662dfcbe1c67cda83e8d582d6c66c16c0032a60237"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VisionRuntime: ClassTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 206 over it, 1.52\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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"082eb51b2225625c4314cb5464eef679f6ffd8ff6c55d86dcfdfdf5925459b86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisionPackWriter.write: MethodTooLong \u2014 write runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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":"Sources/TurboFieldfareRepack/Core/Writing/VisionPackWriter.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05304d7e30cceca951d89caa50107e5d2f046d854998c1950bbf10eb89f50d62"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MathSpanDetector: ClassTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 181 over it, 1.45\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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"589b6bd09838e0fbc0cc7e2061785e0341f3601996435c1c9d3e5fb50145cb6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Inference/RealInferenceClient.swift: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 220 over it, 1.44\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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaf1f48d8488a8033419097146de41076613c53d5ca2a476fcaef6c9b6e3ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/HTTPServer.swift: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: ServerHTTPHandler (142-760). The bar is 500 significant lines; this is 199 over it, 1.40\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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfc700cc63524e76f02c932769ab23266cbc56dcc3a388c8b3e570d39e0927e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InstructionTranscriptDocumentController: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b595107d1d43ca3a31d45ed900cd5a15d4480acabff66d5afbd6e08b2d2b6405"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Generation/OutputPaneView.swift: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: IncrementalTranscriptView (308-882). The bar is 500 significant lines; this is 180 over it, 1.36\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":"Sources/TurboFieldfareApp/Mac/Generation/OutputPaneView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5803b0a6125cf6a16dbd509967c5bad422387adee704c0421907b4fe3128d7f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealForwardRunner.init: MethodTooLong \u2014 init runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b78239a613a8550f1085a40df987b7a6b11a31ffc69d9f3590115e2b1b6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Vision/VisionRuntime.swift: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: VisionRuntime (92-905). The bar is 500 significant lines; this is 170 over it, 1.34\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":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1243c34ae42fc282f6efd9f55d547e0058c12d314c5cd0fc9ddcf2d4f5f85b94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAIRequestValidator.validateMessages: MethodTooLong \u2014 validateMessages runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"32514b759e726e2ccd8b16f5016db4ce3216424aeff96334449efcfe1bc93591"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResponseMarkdownRenderer: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c769bcc5c598c88d5524a90ac8c756a5361e5d763ba4630925ec610f9ffa56e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.load: MethodTooLong \u2014 load runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"Sources/TurboFieldfare/Runtime/Inference/Model.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"676275d6d0d383a9b62e8390c47fb8513a6f8c3e58f13602b56fa9bd3f0e10d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: State/AppModelHistory.swift: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\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":"Sources/TurboFieldfareApp/Core/State/AppModelHistory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29707768a4a14e245632a13a098d73f2c2efe07ef2e09e87cd7c480c13c9ec2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/OpenAIModels.swift: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"468b4a54bedfc0c9b8db788968b95a4fffb2e2fa7f4ab2df0eaad2ad1807ab00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DecodeServiceInferenceClient: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 97 over it, 1.24\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":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5c69e086ca2178375d4766ede789a03804d471155062fcc557f31f9893556b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerArguments.parse: MethodTooLong \u2014 parse runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"Sources/TurboFieldfareServer/Core/ServerArguments.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2874f7d22567565851975b458bee58b9f779680c962415c8741b652461554a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServerHTTPHandler: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 85 over it, 1.21\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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cdefce999af0b23c516c7bb3438304fbd799dc7876570eb44d95757e48595e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MacPresentation/MathSpanDetector.swift: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: MathSpanDetector (26-908). The bar is 500 significant lines; this is 91 over it, 1.18\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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dbe3ba904fad78d26e9b2d5bbc2a13bc472e95f0085411b22d281d240b0f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisionAttention.init: MethodTooLong \u2014 init runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55734b6cf0bf74965507d28c3474eb975358d16324bf801ea9ed6899b4bb74c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteVisionPackInstaller: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 59 over it, 1.15\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60fb7c8c4496bf3e908385c44fe5e7d8b5228d3a496d0f6f9a7f4cb03d3c4d6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteStreamingRepacker: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3deb1512655053ab5c4fffc3f96d8c1a76dc3d540ab3d66699671fa5b7c744d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InspectorView.visionSection: MethodTooLong \u2014 visionSection 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":"Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7ccefdea230b3fd35775a6fc0a1db94542760e666e89b3ef6f3aa9151395cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Inference/Model.swift: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\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":"Sources/TurboFieldfare/Runtime/Inference/Model.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f470d49027d62dcf7aaaeeebf96e6f69027f003de8694a8e458b8876b308f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealInferenceSession.run: MethodTooLong \u2014 run 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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e949de14512f9fc0c890d652918f23712cbecec03be87b97e0ba4fbf9af75b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RawCompletion.swift.runRawCompletionBody: FunctionTooLong \u2014 runRawCompletionBody runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"170539c145bd2111253b5a81ce231c47fad4f7d72afae2450ec2db56de8dafe5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrefillQKVEpilogue.encode: MethodTooLong \u2014 encode runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ac6a5d13f2004306b9cbfa1ec4af02523fc8c97abab78440c93adc8874de5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gemma4ImagePreprocessor.preprocess: MethodTooLong \u2014 preprocess runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ea8868a2b911ab45beecaaa3213831619c20b85e4f027c87681277eba5b29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Remote/RemoteStreamingRepacker.swift: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: RemoteStreamingRepacker (68-619). The bar is 500 significant lines; this is 19 over it, 1.04\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56853bd80cb4787a00b468b6a5b10293021c253dc669777873262ce75155daea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Remote/RemoteVisionPackInstaller.swift: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: RemoteVisionPackInstaller (66-642). The bar is 500 significant lines; this is 19 over it, 1.04\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868dd950c65bcd4f42b4290707aa78f9f0dbeb009f7ca52fba050dff495c347"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IncrementalTranscriptView: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 7 over it, 1.02\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":"Sources/TurboFieldfareApp/Mac/Generation/OutputPaneView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9aedf2f6ee88dbe0c313f07743d242ad3b9b6224638500fb9fc92941faf8e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisionWeightStore.open: MethodTooLong \u2014 open runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"Sources/TurboFieldfare/Runtime/Vision/VisionWeightStore.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d99a4298f4e7e459d0c59a16ad3f6cdf98eb1448c37d89dafdeef4de211ea5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Arguments.parse: MethodTooLong \u2014 parse runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"Sources/TurboFieldfareRepack/Command/main.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac323c8fe74327b1c765a865fda7edbe98bcdce555048652a7c8d4412eb73a5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerHTTPHandler.handleCompletion: MethodTooLong \u2014 handleCompletion runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d4dfa5f98756b8ed77111e9c4435ec510448cbc14bf5c1a86d3e2012000361"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Inference/DecodeServiceInferenceClient.swift: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DecodeServiceInferenceClient (7-705). The bar is 500 significant lines; this is 2 over it, 1.00\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":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f28002b1faa82ad9528c1af30a6f42a66935db74da11a34ae42dd5ed8ebf450"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 16 shared lines): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:42-95 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:11-60 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:11-74 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:37-89 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:11-38 \u2014 These 5 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"344426aaa947595bbaf2742d81bbacd18d35665d401ec542795acabf85dc862a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 11 shared lines): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:42-95 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:11-60 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:11-38 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:44-87 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:50-81 \u2014 These 5 members are variants of one another: a block of 11 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"062adddd8580d19f9295c6a951108e9ff1a6593371f3d4dbf7bfd5bcfdba2f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:157-378 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:309-510 \u2014 These two members are variants of one another: 70 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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0802bdc190b37d5d1589658c6669543ea16acf5429ff1d26c05a6215ce1bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:25-56 | Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:26-61 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d7f788b397c790fe6290a4eb8a03fa2f6e0a977847273f0fd53acbf3816494"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:91-101 | Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:103-114 | Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:116-126 | Sources/TurboFieldfareRepack/Core/Verification/RepackAudit.swift:75-88 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1316521d6a9144fa794653fff94e55e1d0515ec5812ec658b0141541cc0ea4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:50-102 | Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:135-177 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8220c9162944d47a311c9590bf5f0d56f70fd6ff1b8875291de51558bd7119a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 34\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:13-49 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:51-84 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:13-47 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:49-88 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e237884030b8afac3b416008cb1c7eed699da3df524123c13fdd9849fa6499c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): Sources/TurboFieldfare/Kernels/MoE/MoE.swift:212-245 | Sources/TurboFieldfare/Kernels/MoE/MoE.swift:247-290 | Sources/TurboFieldfare/Kernels/MoE/MoE.swift:292-327 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/MoE/MoE.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dab5ed45e2426d9e7b7f3b3b077d9cb297f8e07553dcd676ede4deedfbc712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift:16-63 | Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift:69-109 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbda434822626d0ac80843935780d0268922028a7382a1c393790979a01d6594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift:21-55 | Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift:23-70 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"21777bd75c0e595fd8558e4de25d64b6aea41efae1d0058f542d3efec127b3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:79-113 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:128-189 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9458827f050ea052fe3c33c43225f88a1a9ef1fb835a6d0688a37f612b01525d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:27-54 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:56-91 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb06a123f1bbfa7b0df211cc4b3e2275cdf75f9480f6b789c76437ab4bffd87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift:11-38 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:48-70 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:22-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"008f6527ac13f00eaf8420c4925757b6bbe4b0be3cc880251a17822c30ab4d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:90-125 | Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift:104-139 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"40900d98da67c621133295661eccd79ee938db82a7af4b900bb73bdbd9271e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:89-112 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:115-136 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac8a03299746756aff14ede33d8abf86be9f8146e766437ff1893f0ba03b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift:33-79 | Sources/TurboFieldfareFormat/GTurboManifestV1.swift:36-65 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"de38feb7bac2884ff4f7450737770816ace4532284f205fa413718b2b3d37f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:12-40 | Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:48-77 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbf6e3dbc8d7b071aff253290876395beaa9d19f26edd3c8f40e8c90fb299f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/TurboFieldfare/Kernels/Attention/Attention.swift:173-199 | Sources/TurboFieldfare/Kernels/Attention/Attention.swift:204-230 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a476697076a6ab21ff61c263c40473e515f795859163920f2fec59b5289c9d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:325-347 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:67-82 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:84-100 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:138-157 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdef2bfdc24bf1dda61042488b8efebe22b019dd8b87aba4278c1630c8453968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/TurboFieldfareApp/Core/State/AppModel.swift:527-550 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:590-613 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b695e45bdbf3ecd3d3a8ff1fe9d316261284f2b463f39cefdbdbe4cc52bd2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:304-323 | Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:369-392 | Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:394-424 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9941d20fac331fda52e19c215c2d95b4e5c9ad8024e8422de8b6cbcbbe5c76e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:20-52 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:21-51 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a601cc0af1068075c9bf3b5372885ee114cc29e9f7c7bf36ea8576e1e3c14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt4Gemv.swift:13-42 | Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt8Gemv.swift:13-40 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt4Gemv.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b322eaa4b3b2c7fd411dc29be04e7d95d0ba9e814c672f7c2e8c1ae067318a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:57-88 | Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift:74-102 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c73ad45f06709e77b9dcd8ce1bb57ca8a09158f2fc25ec8a0c5b8be06756009"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift:173-198 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift:200-222 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb85ea66df564a9f713c9b3d2517379612be0b9e1bac12c4799dce9fee9f249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:67-83 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:138-156 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71272afcc67adb31b8758050c5db4bc7a8ebbfc53fdbe4a64e7f28a54e9e17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/TurboFieldfareRepack/Core/System/Posix.swift:61-80 | Sources/TurboFieldfareRepack/Core/System/Posix.swift:82-101 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/System/Posix.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14e4ae568d6d40c835ced26f06b74960c96369952989e341699eb183df35338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:158-177 | Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:348-367 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2972a254d3c3081511224d18153831011d7e84873738b8374177caafd403f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/TurboFieldfareRepack/Core/System/InstallLock.swift:71-96 | Sources/TurboFieldfareRepack/Core/System/VisionPackMutationLock.swift:28-55 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/System/InstallLock.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9986e9ac293c12a5cde943bc479229d833e2a7f0bcc50bbc2ed6821d4f518f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift:35-63 | Sources/TurboFieldfareDecodeProtocol/DecodeProtocol.swift:119-140 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f925af19213df2497eebac7a87089dbc06d5b2e24b6e51af457eebeafd312730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/TurboFieldfareServer/Core/HTTPServer.swift:582-594 | Sources/TurboFieldfareServer/Core/HTTPServer.swift:642-658 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"571e5aac005eee7f35c78b5dfc352d7f165386cc742c182ba8afa18c39d6a134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift:379-399 | Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift:668-697 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"641b4e3205eccf3e521eee14a80c4bc05de77ff0558c162d114554d7a1bd0a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/TurboFieldfareServer/Core/OpenAIModels.swift:435-456 | Sources/TurboFieldfareServer/Core/OpenAIModels.swift:458-480 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7808ce52362dc06d76f806b75965116279f38981d589d8160b8ddca9ec580a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:25-40 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:19-36 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:24-42 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:30-45 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"896f5f08b9aa2e26351a1a3f072388dc79220d5892caae832f0ea46de1c0b75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/TurboFieldfareApp/Core/State/AppModel.swift:1739-1759 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:1771-1793 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d82af011fc5b0f2490127c9175c77b3f9628ff5acc3a475d01db9594e53c0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift:130-146 | Sources/TurboFieldfareServer/Core/ServerAttachmentStore.swift:51-66 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca32488e49ec40f63cfa4ab0c5f1e5e6d4d6246e1fd92e3f9768215731e51adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift:63-85 | Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift:297-315 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0344ef973a5f0a14396452f210db22a89c19652b368985e82d420513b05852e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:40-51 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:53-65 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:127-136 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:159-169 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e234b783a59d8a5118d3cf5c1964499086fb32be7c3a3951ca49157e66421d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift:108-124 | Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift:159-175 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb2fe6f874001048761c9aa817af5c9e4536a0e525330dcd10d2ea4a27250f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TurboFieldfare/Runtime/Generation/RequestCompletion.swift:32-48 | Sources/TurboFieldfareCLI/RequestCompletion.swift:11-30 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Generation/RequestCompletion.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215da2a3c44bc9abd39b1c0f57b594388f46b4fe920fc08b8b321d3bbb5fff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:143-156 | Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:333-346 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a0f431c84f89ce3da455b039b3a62a41c227f600856f2a26346ae3e9ab5f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/TurboFieldfareFormat/GTurboManifestV1.swift:159-170 | Sources/TurboFieldfareFormat/GTurboPackedExpertsLayoutV1.swift:73-85 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"679e68d691efd3da2c678133042bacc81589b2e421d124d7ea2c1f544d734a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/VisionPackUseLease.swift:132-148 | Sources/TurboFieldfareRepack/Core/System/Posix.swift:265-277 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/VisionPackUseLease.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5672d240769c4b38be319c8ea7e3fb4d87925bf79a8c2efc52296210858d4bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift:310-327 | Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift:415-432 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"77856b111e75fb0c37f4c77c13abc619d52ec028d859ba3ef2edd9af29bf4d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/TurboFieldfareApp/Core/Diagnostics/AppDiagnostics.swift:25-43 | Sources/TurboFieldfareDecodeProtocol/DecodeProtocol.swift:257-275 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Diagnostics/AppDiagnostics.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25354b6920580c8c7f9859cada43453544ddc74c8524aab54d9ced252e77b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift:61-70 | Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift:72-86 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5dd7f52bda93b05b192f9f12ac9fabe3ffd30840bc06750306bd0d7f158af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:81-92 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:271-282 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"490854a4d8717f4f96903beb3b7ee92891a4c3fb4ad5bee57a0ea636535ead6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TurboFieldfareApp/Core/Configuration/AppRuntimeOptions.swift:65-81 | Sources/TurboFieldfareDecodeProtocol/DecodeProtocol.swift:13-29 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Configuration/AppRuntimeOptions.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d7e9d42d2feea06c4d8d5e7e19ba6e9d9b8bd5bdae616828206d8ec23a8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/TranscriptImageTile.swift:18-23 | Sources/TurboFieldfareApp/MacPresentation/TranscriptImageTile.swift:27-32 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/TranscriptImageTile.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b4eb0c4fbd8762b6da2c92bbde4cb75f59abe534e2d95201fe4e0697ad0ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/TurboFieldfare/Runtime/KVCache/KVCacheManager.swift:169-173 | Sources/TurboFieldfare/Runtime/KVCache/KVCacheManager.swift:175-179 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/KVCache/KVCacheManager.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56d27a251f767c69ea8735e6e1d5daed9572788b55db4b6f074331c14c8637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/TurboFieldfareApp/Core/State/AppModel.swift:1504-1521 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:1533-1547 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa161f9e129f27fae4ce6e68f6a993e49f4623c98fe93736a7ab2eb02b395d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/TurboFieldfareValidation/Support/Tolerance/RelError.swift:7-16 | Sources/TurboFieldfareValidation/Support/Tolerance/RelError.swift:30-43 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Tolerance/RelError.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d4c0d4e97752508ad92adc93a37f894d47b9a088ba49a08c679d11134c059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:28-44 | Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:312-329 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab15491c9ad718d4f9c52d0a1fb25bceb75fc7a1ae531bbf1f00f910e511998"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:241-246 | Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:247-252 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d17edcd9b3b839ad2e9271b40031bb4f7317f122cad1d276bc149d5343066e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift:690-698 | Sources/TurboFieldfareDecodeService/Entry.swift:464-471 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"d699ad646e5a5f09ffb5ad8fa89b04c11caf432197e4140c61eedcad47b88801"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/TurboFieldfareApp/Core/State/AppModel.swift:516-525 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:580-588 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c623295d70998246597fa24140941db4e5af1737a7cd399c51b2a1b45cb0c93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TurboFieldfareValidation/Support/Buffers/Fp16Buffer.swift:34-45 | Sources/TurboFieldfareValidation/Support/Buffers/Fp16Buffer.swift:47-57 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Buffers/Fp16Buffer.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9923d2331585e2ae7fde129ed273293b153e2271635e168c2feebf9d7b2948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/TurboFieldfareApp/Core/History/ConversationStoreLocation.swift:32-40 | Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift:155-164 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/History/ConversationStoreLocation.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dcac83f54fa34fce9a0f8c9d31bbfdad40daea16c4a3903a9b70ab7f6ee1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TurboFieldfare/Tokenization/GemmaToolCallParser.swift:83-93 | Sources/TurboFieldfare/Tokenization/GemmaToolCallParser.swift:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Tokenization/GemmaToolCallParser.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2feb73a4ea5c3a77ea41cdd7f8af89d1df62510400fd08930e7bc3e5fe0546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:180-190 | Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:192-205 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2857fe8935e3280b25cc2035832f93ef292c6b86a331481d0e20ae28d391440d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift:663-675 | Sources/TurboFieldfareDecodeService/DecodeServiceOutbox.swift:207-219 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e1b1b55365aaf6374072d5287ff10b60867ad2ff41f79945c4b2169fdbbf43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/TurboFieldfareApp/Core/Installation/AppModelInstallDescriptor.swift:14-30 | Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:26-38 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/AppModelInstallDescriptor.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5997da9db6988031187bfb8c02d8357210149a50215d4b5d5e46529e2b4df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift:348-359 | Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift:368-382 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/VisionRuntime.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010f133fd0322ee5f0d3cd0c6ca4fed2d9204fb11f2187d4fe8a8c9d9fe607a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift:456-466 | Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift:468-483 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95510efd58b1fff9fca0224858f4f50c946e0ef13f857ebaa6df21406399804"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/TurboFieldfareFormat/GTurboManifestV1.swift:152-157 | Sources/TurboFieldfareFormat/GTurboPackedExpertsLayoutV1.swift:65-71 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca9cb187ad70d157f49240b77657624b21a2fcf39f4f9803e745c9d41a42fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift:29-39 | Sources/TurboFieldfare/Tokenization/Tokenizer.swift:313-323 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a522858285e4315e93df6c3d8fba96ff0d97c57600115f7fbec4db00ad7d9e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift:1032-1044 | Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift:1046-1057 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0ac9033551bd20cd15b3aa5725f58c39239276f0dacf2c59eb14b602023c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:256-259 | Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:260-263 | Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift:264-267 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75e1415b6b59a2c00a10f483926bfe449bde04cf281dbf96ab5f7e5ddec5c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/TurboFieldfareCLI/Run.swift:15-22 | Sources/TurboFieldfareServer/Core/OpenAIModels.swift:45-52 | Sources/TurboFieldfareServer/Core/OpenAIModels.swift:104-111 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9d421aad4a51971f6bb1746509eec3eb298b847f78c951b4b9aeb57161cd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/TurboFieldfareApp/Core/Installation/AppModelInstallState.swift:26-35 | Sources/TurboFieldfareApp/Core/Installation/AppModelInstallState.swift:37-49 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/AppModelInstallState.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2d0c2ceeb46504ecfb7568c507331f147320714ec9daeb16aedcfd7c947c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImageGeometry.swift:6-12 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:427-433 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImageGeometry.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9549d3ac17be40d81ea268a2dd4c246d3afcf05cc6711fb1f8a7476af64f02b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift:22-29 | Sources/TurboFieldfareDecodeProtocol/DecodeProtocol.swift:57-64 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e66d5f717bab1ea02e191233be75313c076bf6cba8ffae9ea074303793f88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/TurboFieldfareRepack/Core/Remote/RemoteDownloadSession.swift:107-116 | Sources/TurboFieldfareRepack/Core/Remote/RemoteRangeTransfer.swift:119-132 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteDownloadSession.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a3d914f8868059b2a88870b6a9f80eb8bed52a0897f287d2a4a04011f7b8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/TurboFieldfareApp/Mac/App/TurboFieldfareMacApp.swift:252-261 | Sources/TurboFieldfareApp/Mac/Installation/ModelLocationView.swift:143-149 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Mac/App/TurboFieldfareMacApp.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce741b8509e4e3af88dda709a04d5f30c69d36781573662faae70399372c4a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift:183-187 | Sources/TurboFieldfareApp/Mac/Installation/ModelInstallView.swift:215-219 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8991ce2d9958a2659c7dcfbcb8a22dc85b8b063695737fd46d2a2b7376ed33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/ConversationContextPresentation.swift:88-92 | Sources/TurboFieldfareApp/MacPresentation/ConversationSidebarPresentation.swift:90-94 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/ConversationContextPresentation.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"25825659b3fadd0291418697982a7d9ff2a55d47616963b6962c00b2311f2f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/TurboFieldfare/Runtime/Vision/VisionWeightStore.swift:258-264 | Sources/TurboFieldfareRepack/Core/Verification/VisionPackVerifier.swift:155-161 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Runtime/Vision/VisionWeightStore.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd9e9208bc80f4ee4945edcb030f067d3415b290908a918b431355c3253990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift:632-634 | Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift:1109-1111 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5956000d35bfbd9c73c3ff5fd1f7488404a695cd52845f8a57962ef19f38b69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift:23-28 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:18-23 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bdd46adf0e01517de60f34b9f3a5097c678d9872ce50b8c8f4db9139f9d6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift:370-373 | Sources/TurboFieldfareRepack/Core/Remote/SourceByteProvider.swift:217-220 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a338fdee4bd9c73412e76667d2d387db49f9150a362bc995676a91c498eff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201335 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:56-90 | Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:141-171 \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 \u0060Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:56\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":"Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46314702e0b9dccdcccebf351d81bb866c88ffb4d36890c631d05326fe286c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:282-311 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:436-465 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:282\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a600867a7e186a1e462ca6a440851538c8908f9069fa98d581ae10dbe1961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:161-182 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:315-340 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:161\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. 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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1513c621212035e063e96f8b8c608ff44220a45d98be723a7f2b99bff63805e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:101-125 | Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift:117-139 \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 \u0060Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:101\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba3855d225c6a3224ee843c7f29e3b8c0206e3509a147c9ed511abb9dcfdf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:578-601 | Sources/TurboFieldfareRepack/Core/Writing/VisionPackWriter.swift:125-146 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:578\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"283b4af2a2a76980df5fe4134367d96bad8a943ee15fe563d2794d9a7a5e2d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift:382-394 | Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift:672-692 \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 \u0060Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift:382\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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"77443392ab133e2cab0b7843c9197cdd413a5f539d7692c3a51d23236fb38a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/TurboFieldfareApp/Core/State/AppModel.swift:530-550 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:593-613 \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 \u0060Sources/TurboFieldfareApp/Core/State/AppModel.swift:530\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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374c0804b7d9ef9b15a639eee12d9cd9c801ec10043cfc2a3d98efc3b74b1bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 2): Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift:30-50 | Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift:81-96 \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 \u0060Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift:30\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":"Sources/TurboFieldfareValidation/Support/Reference/Attention/RoPE.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdde49455c21d2350dde8de05f1462e6d955572bb7e4c9739d8473ad401c23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201318 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift:35-52 | Sources/TurboFieldfareFormat/GTurboManifestV1.swift:37-42 \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. 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":"Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44291b789b6a4ea8e13c48ae3ac7edf2b19e343fe26809cee98304ea40d69be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:12-29 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:38-55 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5122d75d87385e445fbc79447c4ea1dd41aee37edd77190099e5c709f98660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201318 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift:153-170 | Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift:180-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift:153\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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"261cd9a70fba9ad4da54353d07344b423e1b66175637e762d0bbf2be75e75f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:96-113 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:172-189 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:96\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060RemoteStreamingRepackOptions\u0060 in one and \u0060RemoteVisionPackInstallOptions\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"207f64eb38378038c1607f2fea58f25475e6ca2dc8a15edc74f4cdc83cc7ca93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:195-212 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:358-375 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:195\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9d95331c1d1aab623085434de747e9a063f5acfc53a6a0be414826a61d44ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift:59-75 | Sources/TurboFieldfareFormat/GTurboManifestV1.swift:46-62 \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. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e17d7357f5362a6c54ca70d35e690372972778dc1532629012827fcb8b356a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:380-393 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:512-527 \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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c974f84898a07afd5e2d0ffb2638bab068c73d7088007c0a4a178d9d7abbda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:16-30 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:52-66 \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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:16\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3007e76c4e92a2ad535e418e9b8589548df85743195b07c251156baff672e838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt4Gemv.swift:28-42 | Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt8Gemv.swift:26-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 \u0060Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt4Gemv.swift:28\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Quant/DequantInt4Gemv.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1544d2ed4bfa3c3d0dd3c0c2c63a824c6c239003f735a6989af124d2e4ec5f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:21-34 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:17-30 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e4f2962b0625b469e0ad5593f5eac4c2999379e1508c1a95b7f667ed9b0eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:45-58 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:51-61 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 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 \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:45\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":"Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb4d0ecbe2368725e220ec64a5d82ebcbf7beffbe1624300ffbc4af7522e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:75-88 | Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift:89-102 \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 \u0060Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:75\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd7327ab95a4c5703a8a913ec96c3cc27671f0d8e4209c507b5cbdc8dddf8d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:44-56 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:13-25 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:19-31 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:15-27 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:45-57 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa370cd2d7fbb3762c796d9b2c0c784755e11b5c45ffd8ba1ce90ad44e74e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift:29-41 | Sources/TurboFieldfareApp/MacPresentation/FenceLine.swift:42-54 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/MacPresentation/ContainerPrefix.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e854f39617c747f7d525b044c4e11a354036e9a993d1eb4b3b902eebd6883d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:11-22 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:13-24 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:11-17 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:44-55 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:50-58 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:11\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":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bc3577ca0c2e5255edd88d9549098a9098befeb59a472ef428c6f7505a2eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/ManifestReader.swift:207-218 | Sources/TurboFieldfareRepack/Core/Format/GTurboJSON.swift:45-56 \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":"Sources/TurboFieldfare/Infrastructure/ModelIO/ManifestReader.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d803dd25da6ae1524f615fce6027a15832cef4d5ca98ab855ff223c4945f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:13-24 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:23-34 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:13\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2d4ba1a1eb006a2341760f247aa8518cec2361c89220f28efc9d3c8b532e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionResize.swift:131-142 | Sources/TurboFieldfare/Kernels/Vision/VisionResize.swift:156-167 \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":"Sources/TurboFieldfare/Kernels/Vision/VisionResize.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd398381dbe44c3028cbd15d704fa7716a7fe54e75e91d6c82ee229da2d1732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:73-82 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:39-48 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:51-61 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8448b3285e82a000683ea56ad67a1bf45fc0819ab6488671ea198090be39132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/TurboFieldfare/Kernels/Fusions/LMHeadChainInt4.swift:54-64 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:12-22 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:38-48 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/LMHeadChainInt4.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"507a32b2045ab12b4dc5a60d9922abda68bfc890ebba23bfa261054d082762bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:28-36 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:35-45 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 121 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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:28\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"625570ea623c2cff314f43337004a6895286160d89d603df2ac215c6eadafc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/TurboFieldfareFormat/GTurboManifestV1.swift:161-170 | Sources/TurboFieldfareFormat/GTurboPackedExpertsLayoutV1.swift:75-85 \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 \u0060Sources/TurboFieldfareFormat/GTurboManifestV1.swift:161\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":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b49fa9209b7ff14335f9ef0439bd4df53d3634db41b8356840626d4d8e9893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:225-234 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:344-353 \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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"484563242f2b6ff9aae619c809d6fa542f89c77a5bdb3740e6005123a428098d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift:174-183 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift:201-210 \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 \u0060Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift:174\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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7d6d85943534fff50361f5ede8d8a04842abd2f174464f4086e13d9aa55d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift:38-47 | Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift:52-61 \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":"Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b042b8644ae4ab22c2c3776a0587c7c8613fd8781c3f442f0afe4770f57a94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/TurboFieldfare/Kernels/Attention/Attention.swift:174-182 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:14-26 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:20-32 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:16-28 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 121 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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"805a6203864cd96d3b45ff86f4e956ec7c2e938c93bd4eca28fb4bc71cb5b106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/ResidentBuffer.swift:26-34 | Sources/TurboFieldfare/Infrastructure/ModelIO/ResidentIndex.swift:52-59 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/ResidentBuffer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34857187996888868d6328f1787bc0ec9527e3bfdf4cf5c0c19590e361a54c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:15-23 | Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:16-24 \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":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7581d57b1883d81e576fc08aab5054b4bb7878411cf843444f6f309141c9ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/LMHeadChainInt4.swift:96-104 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:71-79 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Fusions/LMHeadChainInt4.swift:95\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:70\u0060 does not \u2014 after which the two agree again for 3 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":"Sources/TurboFieldfare/Kernels/Fusions/LMHeadChainInt4.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73734d87528421b1387bc3165f97d9daa5ed18e7edb911dd904cc1364853fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfareApp/Mac/Components/GenerateControl.swift:24-32 | Sources/TurboFieldfareApp/Mac/Components/GenerateControl.swift:65-73 \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 \u0060Sources/TurboFieldfareApp/Mac/Components/GenerateControl.swift:24\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":"Sources/TurboFieldfareApp/Mac/Components/GenerateControl.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d7da5975acaae0610ad0fe1685a49e52746e4680e5a58a7596bc2f87790d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:531-539 | Sources/TurboFieldfareRepack/Core/Writing/VisionPackWriter.swift:52-60 \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 \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:531\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5901389715b039a0bb85c352e8acad3ec5c0838851e6383fb4995d3bb6c2a677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:22-30 | Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:60-68 \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 \u0060Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:70\u0060 calls \u0060Int\u0060 and \u0060Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift:31\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":"Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d5423d239519f6ea087a0df5df40128d2db2cc22bb89b4f77f45533a6b65d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Attention/Attention.swift:174-181 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:14-25 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:20-31 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:16-27 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:46-57 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 121 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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"75128622e054ab32c3c38c3488e3fe2836b9fb787b7b29ae0f1847953d167570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:72-79 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:38-45 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:50-57 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:72-79 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:32-39 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd53d945c07043ea2a3b09c476944ea8b6b09a6ac38de1bd01bfc912d079a1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:74-81 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift:26-33 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:26-33 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:57-64 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:35-42 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:73\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:25\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"741c3b927e599607d0a43ca0c62ab169a2e2c5e94c7af52c102148b2e7004e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:73-80 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:33-40 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:68-75 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:32\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:67\u0060 does not \u2014 after which the two agree again for 4 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":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"961b619c23b643370ea541d718ab16094a25f929ce5673e7fddd0cf5af17db49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): Sources/TurboFieldfareApp/Core/State/AppModel.swift:530-537 | Sources/TurboFieldfareApp/Core/State/AppModel.swift:593-600 | Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift:202-208 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TurboFieldfareApp/Core/State/AppModel.swift:530\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cba58a59c897faa197af940765f723a34faf5e7e4011e73c2de9e853671bc59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Attention/Attention.swift:174-181 | Sources/TurboFieldfare/Kernels/Attention/Attention.swift:205-212 \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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f6665f7c467550ad5641a68a889569c0aad4464b2acf78309b8b4b51791ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Attention/Attention.swift:205-212 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:45-56 \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":"Sources/TurboFieldfare/Kernels/Attention/Attention.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77685e68ddc263bd08305b74e44fb98720ca288c2d795a8de4b8f417e8fac6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:31-38 | Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:116-123 \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 \u0060Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:31\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":"Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a5779a3b8f8270d91317f1bd343a2820b005f1c808fe8e384c87300139048f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillGroupedRoutedMoE.swift:418-425 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillGroupedRoutedMoE.swift:442-449 \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":"Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillGroupedRoutedMoE.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d7634a243028cc25e6e10cd2f23e9927b319a81ba808fe77bdb84816b0920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:792-800 | Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:811-818 \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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"691ef50f363f515a3a12b4b5f60e5897f7330078df4f5198b58f28bb842940f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:1571-1578 | Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:1586-1593 \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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e368be3f2e90a5c030feec06a0f583f5419327b3820dc2776cb7cd79e48bc040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:174-181 | Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:323-330 \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 \u0060Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift:174\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":"Sources/TurboFieldfare/Runtime/Vision/Preprocessing/Gemma4ImagePreprocessor.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1f45d0ae791f376ea7b8287e437e506162abdb9fe93a29fc0ee931c39b9ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:160-167 | Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:350-356 \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 \u0060Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:160\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. 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":"Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d080abbb171c959bbf7d352914d4b53cb322d0f6fd032af7b2230b0231cc239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:30-37 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:30-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift:30\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":"Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec319a7b9530bdde77bba3b8f79a0c8cd79128cd7c106cbf44bbcf37ac155ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:77-83 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:43-49 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:56-62 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:75-81 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:35-41 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:70-76 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:29-35 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:69-75 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:75-81 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:32\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:67\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab3e1a1cf08c5de156387aab62045cd096a5858fce64ba8f3eabdbf3521e511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:43-54 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillFinalRowHead.swift:26-37 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:12-23 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:18-29 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:14-25 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:44-55 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:12-18 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e48a73e12befe541f8cb4580c2399c5e9be165ad70a373cece8176e6d3acc72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:60-66 | Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:67-73 | Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift:87-93 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt4.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a7dd8236976ece596c19bf7837dbb5e5de476dd7a210c7ec23b6087854b18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:21-27 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:26-34 \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 \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:30\u0060 calls \u0060MetalFunctionConstant\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:37\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a508d31ec57c2995a38ff657fbb150d1e3c6391c6d4b70f62aa1422ecbcb9be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:93-102 | Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:157-166 \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":"Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"32256980d2635802bebfd97b8d78683a6120b7f4dade4421fada45b6245c3ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:30-37 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:55-62 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc6bb32f7c8dbf30e325ad52b93b9f322992f7a3006f3e150b0ac1a89a3c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:81-87 | Sources/TurboFieldfare/Kernels/TensorCore/MPPPrefillInt4QMM.swift:121-127 \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":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e171b5abfbc9a11402998703c16b54c583fe8050490d4379d3721ee4879c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:95-104 | Sources/TurboFieldfare/Kernels/TensorCore/MPPPrefillInt4QMM.swift:162-171 \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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:95\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":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"580ba51c03c120197ac13cf7e0c3bb310b125c3c493078029f1ab173d342d163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:68-74 | Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:76-82 \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":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f61bbe33402dcc3b38c558ff82a311e1679160842449565f71a0e33801dc81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:77-83 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:150-156 \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 \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:77\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":"Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08b83adc02fcf949535c17b6530e08d055c988bf06c7426b87af0c9bbef51ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:106-112 | Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:119-124 \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 \u0060Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:106\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a868a92d18d13766a3afe47578cb7f26220eba4581ca7db1d149220be2041a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:78-83 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:44-49 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:57-62 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:76-81 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:36-41 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:71-76 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:30-35 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:70-75 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:40-45 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:76-81 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:33\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:39\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee162b86287b8bbb1f3aff13365b00a8574968d3cab34e99ca21a3f8a1f429b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:43-48 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:75-80 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift:27-32 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:27-32 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:58-63 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:36-41 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:73\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:25\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"813f84cff7317f7eb650234402a5b6935c9ea119bd6e4bfc00e7ea3f5c4bf756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:43-53 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:12-22 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillQKVEpilogue.swift:14-24 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:12-17 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:45-55 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:51-58 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b71beb8d711acc8ab21e91096dba705442cea9e604c26f77170ec66a258eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:72-77 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:38-43 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:50-55 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:72-77 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:26-31 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:35-40 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:36\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:33\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3f02883c6123e89f7f6701f4e5a97dd586fb626d7b501fce9174737cbee63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:49-54 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:101-106 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:147-152 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:68-73 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:67-72 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 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":"Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"170b9617fecf52f6359ba417fb31dd371e9d26094082eaff3287ebd76b7da548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:106-111 | Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift:181-186 \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 \u0060Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift: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":"Sources/TurboFieldfare/Infrastructure/ModelIO/Quantization.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6a96f0615a750c7190148c69838ffdea00cd2c74f4c0991989ca589aa1f8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:35-42 | Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:39-46 \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 \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:35\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e43b0b2805220945ba853010c6e3291eec121b955157a3c5671ff6956d7c8d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:48-53 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:73-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3773f167bc44cd93ac3efc2e599e63c24426d1f35141bb4976f5b81a49b2c0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:38-43 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:11-21 \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 \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:38\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. 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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9d7bb6d7436998e09042c1e4e671e282b0d4953f5345f0c839d9fef003aa2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:45-50 | Sources/TurboFieldfare/Kernels/MoE/MoE.swift:149-155 \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. 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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad11d714c6e03264b46c6759af4f45fddc6cc1945ff76a84e6d0329ee733a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:88-93 | Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:131-136 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:94\u0060 calls \u0060Int\u0060 and \u0060Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift:137\u0060 does not \u2014 after which the two agree again for 4 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":"Sources/TurboFieldfare/Kernels/MoE/SharedExpertInt8.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"970a81796cb4174ad27c1d5a36e2db13aa6c5beb8dd4e3f2bc0594b742e5c116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:74-79 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:125-130 \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":"Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7d404ac7a58faa2dbcf491abba1841e42bd0ee24ebfb4990a6c66aa200799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:341-347 | Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:361-367 \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 \u0060Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:341\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:340\u0060 calls \u0060UInt32\u0060 and \u0060Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:360\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":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e053e6fdbe9f8e0111bd31b62dd342aa3d8b858db28907c59f11443c6df605f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift:691-696 | Sources/TurboFieldfareDecodeService/Entry.swift:465-470 \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":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7068898f241dbfdda65639368f81cb46b32e506423fd16e58c844f51b304a94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:79-83 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVGEMV.swift:77-81 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:45-49 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:58-62 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift:29-33 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:77-81 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:37-41 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:72-76 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:29-33 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:60-64 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:31-35 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillRoPE.swift:71-75 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:41-45 | Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:77-81 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:38-42 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift:69\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Primitives/RoPE.swift:39\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37d44071f35af09977ef5afae5391a9d1958238cbc5e52937db351c616efe1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift:145-149 | Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift:71-75 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:37-41 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:49-53 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:71-75 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:25-29 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:67-71 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:66-70 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:34-38 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:36\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift:144\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":"Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d3be4369d820810c0b903726b308396bbf4611bd763f025452abae8f465ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:50-54 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:75-79 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:102-106 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:126-130 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:148-152 | Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift:69-73 | Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift:68-72 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt4GEMV.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/DequantInt8GEMV.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:101\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:125\u0060 does not \u2014 after which the two agree again for 4 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":"Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa16117ec637887b82f9f12a23b09e72f51edf98a4e6f2628a85c8076239bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:94-99 | Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:106-111 | Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:119-123 | Sources/TurboFieldfareRepack/Core/Verification/RepackAudit.swift:78-82 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift:94\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":"Sources/TurboFieldfareApp/Core/Diagnostics/AppMemorySampler.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6514ef09029c56e373fcfff49f4d84a6137c66e8f48efedd896d67fb794fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:45-49 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:52-54 | Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:79-83 | Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:201-205 \u2014 there are 4 copies across 3 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf994e245c0118182d1f081439d9290d35cc545f0884726ff506208bae30547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:33-37 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:42-46 | Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillRouter.swift:64-68 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 121 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1817d4d38f27b944c2708118eae74e75b0a3a3fb4c93df4f074cb9f86e5fae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:21-25 | Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:90-94 | Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:31-35 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:21\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift:28\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift:38\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":"Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPrimitives.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39600d76bc7f1e55aa15769a1924bc095b17f0e571e8f91f9d04389ecd6b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/Sha256Verifier.swift:44-49 | Sources/TurboFieldfare/Infrastructure/ModelIO/Sha256Verifier.swift:59-64 \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 \u0060Sources/TurboFieldfare/Infrastructure/ModelIO/Sha256Verifier.swift:44\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/Sha256Verifier.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50685c8f9cc9cf49253445416796cbf9bd0c191fe879baa846225233e89a0ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:50-56 | Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:55-61 \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 \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:50\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift:48\u0060 calls \u0060setBytes\u0060 and \u0060Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:53\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":"Sources/TurboFieldfare/Kernels/Fusions/FusedLayerTail.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee2be99ecde8079c98f3ce40814043cc32080a7c9f319e5da7faac7272e1a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift:53-57 | Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:32-36 \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":"Sources/TurboFieldfare/Kernels/Fusions/FusedPostAttentionSetup.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64a8937ddd00b0cc6904a8246f1700959db1773eecb33843cd7295724c516de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/MoE/MoE.swift:240-245 | Sources/TurboFieldfare/Kernels/MoE/MoE.swift:285-290 \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 \u0060Sources/TurboFieldfare/Kernels/MoE/MoE.swift:240\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":"Sources/TurboFieldfare/Kernels/MoE/MoE.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c72ec4ab75aab9305c0218dc92b248502fb817c6646fbb19d8efffc8572782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:54-60 | Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift:68-74 \u2014 before extracting anything, compare \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift\u0060 and \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillPostAttentionSetup.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 121 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 \u0060Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift:54\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":"Sources/TurboFieldfare/Kernels/Prefill/Epilogues/PrefillLayerTail.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac944dfdec05eaf346a6b101cdeffc43657732eb4e3e12260dfc6b4150cb4d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:104-112 | Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:128-136 \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 \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:104\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:101\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift:125\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":"Sources/TurboFieldfare/Kernels/Primitives/RMSNorm.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b58d166ad83f98ba91663ac3c2f445bb6fa7c04145600ab8588521f5a5c22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:36-41 | Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:89-94 \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 \u0060Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift:36\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":"Sources/TurboFieldfare/Kernels/Sampling/LogitOutput.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d95c9dd9b612d14488dd509c671c83f12d960a27eec59bbe8d991dcdff4514c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:77-82 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:95-100 \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 \u0060Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:77\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":"Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb475b90c1816e5dc349f98a8fca1ee85a59eb6a8faa89430133b1ec34ce5dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:1626-1630 | Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift:1652-1656 \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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69970926cd8cfbfa3186f0a34a904f00a3c9feeccec446b71bd5d90fde7b297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfareServer/Core/HTTPServer.swift:502-506 | Sources/TurboFieldfareServer/Core/HTTPServer.swift:587-591 \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 \u0060Sources/TurboFieldfareServer/Core/HTTPServer.swift:502\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":"Sources/TurboFieldfareServer/Core/HTTPServer.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7def69e79d528132118e8ec516cefa86067b23363a67e4e2e762c1332682bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift:57-63 | Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift:72-79 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29e6993581d5d5a7d5e73c0063e34383bdca396d75df83c3a94acb1b32ddef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift:90-94 | Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift:100-104 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Infrastructure/ModelIO/GTurboModelDirectory.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea03b96aabb842c72db4bb2ab8ecfb29598488c3ca569a28f88bcf38cf806b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift:127-133 | Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift:141-147 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8864123a06a90dacbf4bc5a144802fdba574661fdcb14c363ca51ccdb5e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift:226-233 | Sources/TurboFieldfareApp/MacPresentation/ResponseBlockSplitter.swift:489-496 \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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3755a1f87b7690b0439c07a863246eaba295606790d781bfdbf845fc6aa975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/TurboFieldfareFormat/GTurboManifestV1.swift:75-82 | Sources/TurboFieldfareFormat/GTurboVisionFormatV1.swift:67-74 \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":"Sources/TurboFieldfareFormat/GTurboManifestV1.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"92621416a16eb222533a4dd376dd96f0189d697c53652a2dc870af1b7da4a6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift:375-379 | Sources/TurboFieldfareRepack/Core/Remote/SourceByteProvider.swift:222-226 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfareRepack/Core/Remote/SourceByteProvider.swift:229\u0060 calls \u0060update\u0060 and \u0060Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift:381\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":"Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb59cefbfd71e157410e2bf75f32e314da3c2ecfd92fdbffd4449dec36727251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift:386-390 | Sources/TurboFieldfareRepack/Core/Remote/RemoteVisionPackInstaller.swift:637-641 \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":"Sources/TurboFieldfareRepack/Core/Planning/RangeCopyPlanner.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc4e936fd4b0dc0c70fa0010b8f4886c7a053c0c3d0f4e50ff637027b0614a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfareRepack/Core/Verification/VerifiedInstallTool.swift:105-109 | Sources/TurboFieldfareRepack/Core/Verification/VisionPackVerifier.swift:149-153 \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":"Sources/TurboFieldfareRepack/Core/Verification/VerifiedInstallTool.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3d32f6ce6aeca9755de5becfc7bc516a3815440d0aa4e888c678a947becc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TurboFieldfare/Kernels/MoE/MoE.swift:232-237 | Sources/TurboFieldfare/Kernels/MoE/MoE.swift:313-318 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/TurboFieldfare/Kernels/MoE/MoE.swift:319\u0060 calls \u0060setBuffer\u0060 and \u0060Sources/TurboFieldfare/Kernels/MoE/MoE.swift:238\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":"Sources/TurboFieldfare/Kernels/MoE/MoE.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"71297a9ea0e575876598dd3d4a9f3e4197ba5791dcda769c96fed82d1ce4b7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:332-336 | Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift:378-382 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8e1877131b1444772cd41cbb0cd38cfd8b470e60d3fd6243bc2221d2e4ec0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift:176-180 | Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift:201-205 \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":"Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd90c30cc71b021b4a596e64b7e21de2a36a8150360a3158d64671f4d62c44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:113-117 | Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift:147-151 \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":"Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bd7dbbc3277716957d8dd373f65d63f26762bfb1f17f606d3f6fea3714e44e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TurboFieldfareDecodeProtocol: TurboFieldfareDecodeProtocol: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9b4de86d57fe7d6fbeca96c6eceab872533597de91c58888223412cd166149e8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TurboFieldfareFormat: TurboFieldfareFormat: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"903c2914ae735e67cf436aa6df8be347df98c4a29cbfa65b39bd00285189f7b7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TurboFieldfare: TurboFieldfare: abstractness 0.03, instability 0.17, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b448e4bd23b64aff2f15eef17c2ce14965c1f2c41c1db28e6d4a106073de010f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ForegroundAppDelegate (LCOM4 5): ForegroundAppDelegate\u0027s methods fall into 5 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 5 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":"Sources/TurboFieldfareApp/Mac/App/TurboFieldfareMacApp.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a986e82690241968dc5ba9c39b22ad286ca088df2c775a8c748c2a3deb2536c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VisionPrimitives (LCOM4 4): VisionPrimitives\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":"Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360db0166aad837a86b07d0fb69bd4d0a33e10fd6c42bbd9b6222244bc0a43c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TranscriptTextView (LCOM4 4): TranscriptTextView\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":"Sources/TurboFieldfareApp/MacPresentation/TranscriptTextView.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6009a9849494d4cbc18ce019b96a028f7179ed622a3365d28e3000ccdb4cef44"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConversationHistoryState (LCOM4 4): ConversationHistoryState\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":"Sources/TurboFieldfareApp/Core/History/ConversationHistoryState.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c25291af9ef4a489a31e2407977e375fb3ac3b4fe421b332e87c530b807f4bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RepackVisionPackInstallerClient (LCOM4 4): RepackVisionPackInstallerClient\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":"Sources/TurboFieldfareApp/Core/Installation/RepackVisionPackInstallerClient.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25763290ec0ef19717e3198f4e001cbeacf43c26c7d212c8d4351ea68eda4d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: acceptsMatchingDocuments: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareFormat/GTurboFormatCodecTests.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0aa285bd25fac3b1097a5a4841d904b7cbd9ef1d093fcbf7780d5243ef41ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shutdownAfterListenerClosesIsIdempotent: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareServer/HTTPServerTests.swift"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472124833572169a6eb612ff7b90c81ff1dcf22625424c04ec0efac7a15b627"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aWrongTypedDeclaredValueAloneStillThrowsADecodingError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareServer/OpenAIRequestDecodingTests.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2327a1fef2c96028f273e08659a44a44319d5174558257f005f01ec4722968"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: textOnlyConversationIsUnaffectedByImageIdentity: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareServer/ServerPromptCacheTests.swift"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59aab5c0534e1def3e2955ed30dd8b51f3d3eccfbf0e08913534ad83478b09b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: richTextWithImageRemainsText: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/MacPresentation/ImagePasteboardPayloadTests.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e586ab6eb5653e06396d4dca163ea73b1dda63d9f1e4c56e45eac6ea191aa71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: malformedDeclaredImageIsReportedUnsupported: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/MacPresentation/ImagePasteboardPayloadTests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4175caf09608f8b39fb3ddacb428a718291207663c69442bc11e0040656c3ca1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unsupportedImageFlavorAndEmptyBoardAreDistinct: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/MacPresentation/ImagePasteboardPayloadTests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13a602d023c96ab293d3e1997bdcfb215c2c71ffe02850b57a9e79e2c4ced26"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stateReferenceIsReleasedAfterItsHostAndBindingsAreReleased: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/MacPresentation/StoredStateTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"68052a0591f40ccbc672d135132b2c0c02767c822a3192560079cdbfb3cf9a4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pinnedSequencePasses: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Tokenization/DecoderConfigTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607827914d43ae8eedcd6a02edecde773a16c7baae0d0eab876fd6b985c3d68"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamingASCII: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Tokenization/TokenizerTests.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba9b68100e10755bf4253fc8bfeb4424d51a8d33b24f78f1b94abf7d5e5d2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamingMultibyte: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Tokenization/TokenizerTests.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a438e3544d602afb8e7a6d321774d71a0cda44cf6f78c1fe0a5a4c72a1eebd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamingExtendedGraphemes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Tokenization/TokenizerTests.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8e7cda481820175de4a160b3c8ea6512cc0e542fed8094e9c93940941a690"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: imageOnlyRequestIsValid: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/AppGenerationRequestTests.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f66a2627a37a982221306d3e74fc18f01b5e8742aa3aef6ebe44a944a7d5df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: conversationTokenBoundariesAreValid: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/AppGenerationRequestTests.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cfd0fa492cf04a723fea70f87fac391c31104acd80d40419f9707a2f81cebd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: connectionLostDuringResetIsReportedAsConnectionLost: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/DecodeServiceLostConnectionTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2ce57ed7aa9fa3de679b2d39ac1d397ae3e29139999ec1c01c63b6a0f709db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aRestoreWithNoConnectionIsALostConnection: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/DecodeServiceLostConnectionTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bff0aa4f4a7a0a69430da208eac606be292b686ce76bc7015fadb9ffd41d508"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aResetWithNoConnectionIsALostConnection: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/DecodeServiceLostConnectionTests.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dbcc5521da8d320d9b1bd3487023d7c1a685222873f77dc469375a5ad998d9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: cancelWhenIdleIsNoOp: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/RealInferenceClientStateTests.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ccf44da335d04998a54e0c2216d40fa62293a84139bfa2b62188a3baa1e5a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unloadWhenIdleIsSafe: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Inference/RealInferenceClientStateTests.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d104ec946ae56927be9616196c0e580dee2037364e6244da846bb2ce52d37c72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: manifestWithoutFinalMetadataIsPartial: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/AppModelInstallationProbeTests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b19ad40b7d67d66e543dc46f3586f2eebe0194dc98395582cffe80e18e5e830"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: receiptBoundToDifferentPathIsPartial: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/AppModelInstallationProbeTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f896dcd395e9e1de7095672beda2eb30f30927b163e0e3c0b12fb12a1348d90"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: differentCheckpointIsPartial: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/AppModelInstallationProbeTests.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6fc11197e7f9058b33884947654ac8cc5dea02800ca4e4741cb3ece7dcf9e4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejectsUInt64MaxCheckpointDestinationBytes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/RepackModelInstallerClientTests.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a2f32581a4269ac7eba03288d529a1d7d51dea109b42792c7f7c1bb1c2d83d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejectsCheckpointDestinationByteOverflow: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/RepackModelInstallerClientTests.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe52b745bb9ada9215ba311037ae4cd3d275c5021db8d70a0d21514d7b9755c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejectsCheckpointDestinationBytesAboveInstalledModel: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/Installation/RepackModelInstallerClientTests.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"766c737b2f9fad8bf880951458d188367e6c685aba3d6d8f298648509e89a09e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: whatTheComposerAcceptsTheRequestAccepts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppImageCapacityTests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e572e8a876115b55e5fe500a028a6b6ce1321f3233b72c2ad71b619930c9b95"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: deletingTheHeldChatDoesNotCarryItsCountsIntoTheNextOne: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"852f3f1ba2dc67ed582dba6d7e3158b7c20c051dca780e6944a2a7d7a0bd7881"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: openingAChatDrawsThatChatAndNothingElse: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"14518042173820c9c59e04c2fa566cfc2ed8dbf4e5e95269099181419877535e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aChatWithPicturesInTwoTurnsReplaysAndContinues: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b525d7b3c3ba45739414a20e0a32d6ce33005af3efee26bdc691ddc9d2887c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reopeningAChatAndLeavingItKeepsItsPictures: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d045743768540d379f6f465f3bef96536c69f69b2bc6c502acfef6deb0301d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: comingBackToTheHeldChatAfterRaisingTheContextDrawsItOnce: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cfebf933ca863eb9fbbb81bf749fa863bc21c122c3cbfb35e3dd04cf662e00"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aFailedReplayLeavesTheHeldChatsPicturesAlone: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f84b932fce8853edf2a31d0439c1ef2ef9162fbdd95acc5f4ab366a8d38a7e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: deletingTheChatBeingReadSelectsTheOneThatComesBack: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c9855f53d2d3ad87e56fa9ccb2e41621f762049d6c8e27439b28226ba5f4f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reloadingWhileReadingAChatPreservesTheViewedOneOnScreen: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8201ff67a62615bd9e6c0a35740dd5a4aaffdda24f2d69760ffcf935e4c16630"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unloadingWhileReadingAChatPreservesTheViewedOneOnScreen: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4020a9c35a9ffc7ff5f274c470eedebf4c688a16f974d41fe5db84c3e6f42b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sendingAfterAReloadReplaysAndContinuesTheStoredConversation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644043b6b2f6590628dfe8def6b0c249cb4a36b14db841fd435b2c5b16f13e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: failedReplayAfterReloadDoesNotInventOutOfContextTurns: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb30840029170cf495d9823e76721ea4dd7757304be19ed636a0742cf1e41fc7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aSeededWalkHoldsEveryInvariant: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ac0da068c6731b014f5a57fc49c955fcfc06ebc34fd8e20fa0cf875071c267"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: aNamedSeedReplaysWithItsTrace: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareApp/Core/State/AppModelHistorySequenceTests.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fdce54558ac90df91ca5d6a643e90e25bf650953b32fd73bc0e8af9f64690a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: insufficientCheckReportsRequiredAndAvailableBytes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareRepack/Core/System/DiskSpaceCheckerTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"351eb9c41601941a3960b6aa6952703a9d39d57673955a5bc4df81d4d175d144"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: enumerationToleratesEntriesRemovedDuringTheScan: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfareRepack/Core/System/GTurboDirectoryAccessTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd0aecdbdd62fdec22a5237a3fe8f4b76fdfe365adf137f75d2a4a1e559c9db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: missingManifestThrowsPartialInstall: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"96121351d81b3743f68532b64f838caab1f874e427959bb3c83fb4ecfd22dbe4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: oversizedManifestRejectsBeforeDecode: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b5d95f9e6912778dcfc7ec95ba7a58c19f3c81e9c2b09df0d1777cc5988e89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: versionTwoThrowsUnsupportedVersion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a1500ac68df7979a77f5c0bfd33deba95059c2866618a890117bd8905b9729"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unknownFlagThrowsUnknownFlag: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd611a5d8daa262e873e0846ce65f2d0c99dc4cae9450026cef64597fd611bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: removedTurboQuantFlagIsRejected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"041f15c79455459190afa5b79d91d1289ba9823d3732c1fe92297b5c8e9cfc26"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: productionManifestRequiresQuantMetadata: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f906d5c581908eacd5c5b0f106cbe884c73149d4b6537b4f051c464dba5ff83"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: productionManifestRejectsUnsupportedQuantMetadata: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac7f75b26e0796543c35a1e6b19dbe3aa604d9ab6176053d237b55ccaf62796"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: archMismatchThrowsArchMismatch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"78049b517cd6b6b417ee7fb1a3960f0319802e1c25b1b1cb90a482b06f40ad75"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: nonPageAlignedExpertStrideThrows: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ManifestReaderTests.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3580cfcfe34853664547b77e2954aefcc7246d5c1e338552830cd560a4590e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: trustedReceiptReaderRejectsOversizedMetadataBeforeDecode: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ModelLoaderTests\u002BTrustedReceipt.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9681de53bd8778c70ce263dcad7c58aad4acd6d5cd26feee705b9c06422fd800"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: missingLayoutJsonThrowsMissingFile: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/PackedExpertsLayoutTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d610236658e2526412e2bfb15504460a8110162f8b384a43375c40ae1dd90319"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: oversizedLayoutRejectsBeforeDecode: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/PackedExpertsLayoutTests.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"432f23a2ab3be520b2f1a75c94e751b79ec473ff78a093336e89c42445a19b69"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: originalDescriptorFreeFunctionTypesRemainAvailable: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/PublicAPISignatureCompatibilityTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e49ff695a926931357d0d884466c3ea89e89b31d461af0629a347f7c6cc617"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shortFileThrowsIndexCorrupt: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ResidentIndexTests.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb808fb3c335b1b08ce4aa8a0753657cee4e741ed45146226dd7b4139cd566"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejectsIndexRegionAboveMetadataCapBeforeAllocation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/ResidentIndexTests.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fed131372080ce806a651fa4015ace30dcd0ffc9445b47ed6150566364a511"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: verifyMatches: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Infrastructure/ModelIO/Sha256VerifierTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8827ffb3f4d4a9de091463032e8918c123fe404697d7432b430e3615e2ac45bc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionSWA_smallShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"05be70faff54a0de34ecf1935244fa909b379cb6050272e8a43755974c972a32"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionSWA_shorterThanWindow: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee85d5dc372fa5c666eaca3fb57139ffa82f3c412c9223a997e3a11ae33e37"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionSWA_realShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e02bdc80f3fa1a208eb9a2bcf2e56261666187acbed050d5272df6402cd7f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_smallShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d17b3be934e92125f3b1c4cc99ab411982691929c6bff1c1b0257a04c92e368"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_realShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9c6b32c3927384cbd4a9c2dc906359b4a0e1fac900bb6bb025bff7f5618be8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_kvShared_smallShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e365fa10fc8dfbe473da19b7187dd92b3d8e213c7af1412db1b41b0839718a3d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_kvShared_realShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b6d8d8d81f0d25595fcacb67b18a8040937413795212d936215cbb910ba26e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_groupedVector_matchesReference: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f271ca3de282de4b7a3d34cbecfc2ecb0f4b30c639d57e8cde15661381aef3b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_groupedVector_sharedKV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e622d896bafc40bdc6ea31ec6390acee0354752c16c2f005ca78b7f608709c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: attentionFull_groupedVector_defaultScale: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/AttentionTests.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"239af0f95123bc6e9fa17edd5293a63171cda7e4ce2d7bdc0861bf52c6a1deb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: exactOrder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/GroupedAttentionIdentityTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8541ef7bb3573f82d5b853d7cd0df2c59d0b86a59a1f2620451b707e429f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: adversarial: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/GroupedAttentionIdentityTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d15a03c6a3c41e20c918eb22b24a1674f933843336dbcf9ba8ebde54a8672"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: twoKeyRecurrence: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/GroupedAttentionIdentityTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6c0d1d896392d96aeecd34634bad6ccc85ebfa7575f8f5b47cc9273f149d6c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: variedSeeds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/GroupedAttentionIdentityTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f4c7d0f4028279ba78adf9d3f1df0568afb76bd993403c9eb5e7388cf32c41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: prefillAttentionMatchesCPUReferenceFullAndSWA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/PrefillAttentionTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351006a3ead5e059199a9cc72eb12f0e6704da236c2e9306c81c9dfacba2961"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: prefillAttentionProductionDimsBoundedVisibility: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/PrefillAttentionTests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"948e1366813dde4d4abc286d78725ed7228008f9835d4aada9e3e49b9d7b743e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: prefillAttentionTiledProductionBoundarySmoke: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Attention/PrefillAttentionTests.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0909f83e32a1b227d03f913e53fac43d989a4e5db0fdc76b60f476fe68bb6262"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fusedQKVEpilogue_matchesLegacyChainBitwise_swaShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Fusions/FusedQKVEpilogueTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"549d155d1ffd82f48a62233fafcf82dd7f5984a45875a94651e7260161b033f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fusedQKVEpilogue_matchesLegacyChainBitwise_fullShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Fusions/FusedQKVEpilogueTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9210ba1f4fab4e127ab3c86e38d3e0358d286553f15a140921bf6bb14f6e950"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fusedQKVGEMV_matchesThreeGEMVs_smallShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Fusions/FusedQKVGEMVTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"883042fd68310f5911ff5adce75e48cad76bbce49a7195a3a3a3d4b53328a349"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fusedQKVGEMV_matchesThreeGEMVs_offsetWeights: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Fusions/FusedQKVGEMVTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2df246370e1222c0ed31093cf1dc10991ae7c529d8e963e01edc5f063985412"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sharedExpertInt8_matchesReference_swaShape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/MoE/SharedExpertInt8Tests.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"025c19529a479d168e9cccc20051d24c0ca4576514c9aae5f4540c1dc7770665"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: int4QMMMatchesRepeatedGEMV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillAffineTests.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9416230b236dbeff25e6b88acf35269d571065b19544ff30e2d0478691f2fdb5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: int4QMMProductionShapesMatchRepeatedGEMV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillAffineTests.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4202f57fa82bf5705f70fb6abbe7b808a24ee22fe5ab26e6e8060175d96cd18"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: int4QMMSelectedChunkShapesMatchRepeatedGEMV: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillAffineTests.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ed55b267c6b35eb1fe4a9f6d15eb1d26e6f99f2094923be545d0b51e2abe03"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamedTileBindingRejectsUnboundRouteExpert: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillGroupedRoutedMoETests\u002BBinding.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca0001843a100b2280ffc8303f671cbe2c04c7d2fbc4ae30805e49bd0418585"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamedTileSlotLifetimeRejectsPlannedCacheSlotReuseBeforeCompletion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillGroupedRoutedMoETests\u002BBinding.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fee15c054149f4200c0bfecf29393f9c9be8f4763bb82e6e076a119cc9ba7a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamedTileSlotLifetimeAllowsPinnedNonOverlappingSlots: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillGroupedRoutedMoETests\u002BBinding.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f5980eda604bddb8d7d73226bedbaef65ddeb0c0d87365fa47b63e8aef17e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: streamedTileSlotLifetimeAllowsSequentialReuseAfterCompletion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillGroupedRoutedMoETests\u002BBinding.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfff896fbebd6644658d5c2bbe81554f5168b6948f643ab713c130fee1d87977"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: groupingRejectsInvalidMetadataBeforeKernelUse: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillMoEGroupingTests.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7735819638ffa6b5214fb19153e299531ea9633cdf1545af3b3ecab4de016"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: blockBF16PerHeadNormMatchesRepeatedScalarQKShapes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillPerHeadNormTests.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec042112b0606fead8ffb7f9f71a3eb5067551ff0eea29ca7979dc513e96c646"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: blockNoScalePerHeadNormMatchesRepeatedScalarVShapes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillPerHeadNormTests.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144cc4637584e25edd736496697e90149fe85164894a876d7bd560ea97356c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: blockQKVEpilogueMatchesRepeatedScalarSWA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillQKVEpilogueTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dfffcbc8d39707bd7a32e38ea7116bd94606b7aba76af0d7725ce3e6b20892"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: blockSharedExpertMatchesRepeatedScalarRows: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Prefill/PrefillSharedExpertTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7575de7ae1ef225644e4fe65c3e62342536361f181e3a893fb7dd01f0cacbc9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rmsNorm_bf16w_d256: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Primitives/RMSNormTests.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d87cbebdf684a06afce7eef90c817683eeb59a34ee7367a7fb8f36c99508a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rmsNorm_bf16w_d2816: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Primitives/RMSNormTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90dc441add4ed8aaaafc7e54fb0c6d7e47490a696c29e9743d0bb5e0759008d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rmsNorm_noScale_d256: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Primitives/RMSNormTests.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fa87395bd9bf36b7845186abb80fdd80f3a075230d2d43d7ab769f0338d957"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rmsNorm_noScale_d2816: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Primitives/RMSNormTests.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d9affa1195b3985fea1b608bea85a12fe4636ff0e3921f9242f15d0953c98e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gemv_d128_n128: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Quant/DequantInt4GEMVTests.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e5b44032814f2ed9dcf51f4cc610e840ced03f9285536f8c441736dfc200ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gemv_m1024_n2816: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Quant/DequantInt4GEMVTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e8f213625149b1691eb58fee4451c122e6370ac7ed1061af17ce958a3e1bd5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gemv_m64_n64: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Quant/DequantInt4GEMVTests.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a946f9b9375e66cd4d8d6afdbcfe0e2487d27d2f3eb7f641e8da83159ed403ca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gemv_weightsAt2AlignedNot4AlignedOffset: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Quant/DequantInt4GEMVTests.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb679d3073b68b0a9ac83d3e0a6e9234654bfcee964fd99ab88e58bd8a40ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gemv_sweep: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Kernels/Quant/DequantInt4GEMVTests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f67f3324e4c7451958eb3b20d793d459a29766e19757629dbe02480dc83aa78"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: eachRejectionGuardNamesItsOwnLimit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Runtime/Vision/VisionResourceLimitTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"331f8c5d062646a188fe56927303bc3922cc1ed5c6cd5bf109c52080efb315c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: imageTowerFailsClosedBeforeApple8: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Runtime/Vision/VisionResourceLimitTests.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c24846f83392d933792f93a378a65b4438bfb1663086670cb04246be1b535c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: theDecodedCeilingAdmitsExactlyItselfAndRefusesOneByteMore: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Runtime/Vision/VisionResourceLimitTests.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb75dd46e1ecc7b6cb12578e5581840dce8c4dd753dcd9e990b2b059192f876"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: mismatchedLengthsTrap: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TurboFieldfare/Core/Validation/Reference/RMSNormReferenceTests.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f990fe7da3681abebeeb30b8570c4282ac4716e6ffd885bbbb6c9f385b7045"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareCLI/Args.swift: Sources/TurboFieldfareCLI/Args.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in Args.parse at line 202. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareCLI/Args.swift\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":"Sources/TurboFieldfareCLI/Args.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ed55ba2d3b7dde96312b4ed81e494dd5efa9bb7cd18ef1ff6287a54bb92569"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift: Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in RealForwardRunner.executePrefillChunk at line 691. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift\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":"Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b25850b698f5a01c9189cc6c365bca83b835b5be2b33e110dbd400806d0ef1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareDecodeService/Entry.swift: Sources/TurboFieldfareDecodeService/Entry.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in TurboFieldfareDecodeServiceMain.main at line 23. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareDecodeService/Entry.swift\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":"Sources/TurboFieldfareDecodeService/Entry.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde2bbf38395ef0fdcd9ec288b9344c443fdb82a5530a230f911b0aed5619c2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareServer/Core/ServerArguments.swift: Sources/TurboFieldfareServer/Core/ServerArguments.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ServerArguments.parse at line 95. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareServer/Core/ServerArguments.swift\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":"Sources/TurboFieldfareServer/Core/ServerArguments.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0482d0c91bc3e5448d4c86ae6df0f206e1fc2f962738e7e0cb403853c53efc32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareCLI/Run.swift: Sources/TurboFieldfareCLI/Run.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Run.swift.run at line 50. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareCLI/Run.swift\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":"Sources/TurboFieldfareCLI/Run.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd1c3365eb5c952c04ee3c1e38ad7851986e2c8b28afc4b0ece69729727d233"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift: Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in DecodeServiceInferenceClient.generate at line 218. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift\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":"Sources/TurboFieldfareApp/Core/Inference/DecodeServiceInferenceClient.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20d86303c21975833c66fe0b88490af7998b6a6cd1c4b1fb1bd79dce11d3794"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareServer/Core/ServerInference.swift: Sources/TurboFieldfareServer/Core/ServerInference.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ServerModelSession.generate at line 889. 1 of those changes was a fix/bug commit, and the other 3 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareServer/Core/ServerInference.swift\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":"Sources/TurboFieldfareServer/Core/ServerInference.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"9423c165bf6cc7bc16a778a86dde5ce9851293309144518709a17cf70cf25c13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift: Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in InspectorView.visionSection at line 42. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift\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":"Sources/TurboFieldfareApp/Mac/Diagnostics/InspectorView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"13703bc15aeb9c71528c70a4cec965ad5b94dfb85b3e3edb3435613352d5722a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift: Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in InstructionTranscriptDocumentController.synchronize at line 250. 1 of those changes was a fix/bug commit, and the other 5 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift\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":"Sources/TurboFieldfareApp/MacPresentation/InstructionTranscriptDocumentController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34489ea823c6b74a0b6c1cb865f456c321291a9df369e1bbda2a24c0c5eb665"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift: Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RawCompletion.swift.runRawCompletionBody at line 317. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift\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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"54557991a115f41b867b3cfde2e5471b25f9225a75990dc5cf9f74f0eabac958"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Core/State/AppModel.swift: Sources/TurboFieldfareApp/Core/State/AppModel.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AppModel.applyLoadState at line 2275. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Core/State/AppModel.swift\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":"Sources/TurboFieldfareApp/Core/State/AppModel.swift"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c76dafab32d8eaade34c2f1708718fa36258cd6bb0f3afe5f99c31f5eb670d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift: Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AppGenerationRequest.validate at line 69. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift\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":"Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb20b1a8ff3db4bd1224e0fc435b44bce50a35022c2fc691a9795e8936719b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift: Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RealInferenceSession.run at line 780. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift\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":"Sources/TurboFieldfareApp/Core/Inference/RealInferenceClient.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69887d15af078ccfcba6beee72bd85d7a522a51da9dfddcb949f08a0dd3d33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift: Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AppPresentationState.resolve at line 97. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift\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":"Sources/TurboFieldfareApp/Core/State/AppPresentationState.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f508452d6978aa750ed293d0d6d4cd86bd7596be2f0207d9c95a5afb982936b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareServer/Core/OpenAIModels.swift: Sources/TurboFieldfareServer/Core/OpenAIModels.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in OpenAIRequestValidator.validate at line 514. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareServer/Core/OpenAIModels.swift\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":"Sources/TurboFieldfareServer/Core/OpenAIModels.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abfe626a6e253b5deafc9ab03b26f096ea8f69a3430c8b65017e92dca58b8cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfareServer/Core/ServerPromptCache.swift: Sources/TurboFieldfareServer/Core/ServerPromptCache.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ServerPromptCache.match at line 164. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfareServer/Core/ServerPromptCache.swift\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":"Sources/TurboFieldfareServer/Core/ServerPromptCache.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d081eb0c70e75830afc316467ae4c8acddbc53d66d54442bd98448bac00f02a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift: Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PrefillAttention.encodeCausal at line 89. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift\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":"Sources/TurboFieldfare/Kernels/Attention/PrefillAttention.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e083fa4addd5a84e2e68a8d42cd1cb25ca49810cbcf13fe4b4b4e4da50f5f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift: Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PreadExpertStreamer.init at line 106. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:05:53 \u002B00:00\u0027 --until=\u00272026-11-14 16:05:53 \u002B00:00\u0027 --full-history --no-merges -- Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift\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":"Sources/TurboFieldfare/Infrastructure/Streaming/PreadExpertStreamer.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"869b29f63681e3ff98d968df7d4649e9bb626cb606bd90a690bb3fe648aaf356"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Package.swift\u0060 makes this repository a deployable product (line 12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tokenId\u0060 spells \u0060Id\u0060 where 101 names in the project spell it \u0060ID\u0060: 101 of 104 names in project TurboFieldfare spell the token \u0060ID\u0060 (101 of 104; unit: names in project TurboFieldfare containing \u0060ID\u0060). Peers: Manifest.modelID (Sources/TurboFieldfare/Infrastructure/ModelIO/ManifestReader.swift:54); VerifiedInstallReceipt.sourceRepoID (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:22); VerifiedInstallReceipt.init(sourceRepoID) (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:28); ConversationIdentity.modelID (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:28); ConversationIdentity.init(modelID) (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:33). Rename to \u0060tokenID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfare/Kernels/Quant/EmbedLookupInt4.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4488d5d51287e1be535b2f693008ae7bcf6acfa4778ce4304dd06573d72f14ad"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tokenId\u0060 spells \u0060Id\u0060 where 101 names in the project spell it \u0060ID\u0060: 101 of 104 names in project TurboFieldfare spell the token \u0060ID\u0060 (101 of 104; unit: names in project TurboFieldfare containing \u0060ID\u0060). Peers: Manifest.modelID (Sources/TurboFieldfare/Infrastructure/ModelIO/ManifestReader.swift:54); VerifiedInstallReceipt.sourceRepoID (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:22); VerifiedInstallReceipt.init(sourceRepoID) (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:28); ConversationIdentity.modelID (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:28); ConversationIdentity.init(modelID) (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:33). Rename to \u0060tokenID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f72fd6122ae0dc63ccbb81faf1778a9ebb4df3550947293e4da1f7c94cede64"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tokenId\u0060 spells \u0060Id\u0060 where 101 names in the project spell it \u0060ID\u0060: 101 of 104 names in project TurboFieldfare spell the token \u0060ID\u0060 (101 of 104; unit: names in project TurboFieldfare containing \u0060ID\u0060). Peers: Manifest.modelID (Sources/TurboFieldfare/Infrastructure/ModelIO/ManifestReader.swift:54); VerifiedInstallReceipt.sourceRepoID (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:22); VerifiedInstallReceipt.init(sourceRepoID) (Sources/TurboFieldfare/Infrastructure/ModelIO/VerifiedInstallReceipt.swift:28); ConversationIdentity.modelID (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:28); ConversationIdentity.init(modelID) (Sources/TurboFieldfare/Runtime/Generation/ConversationIdentity.swift:33). Rename to \u0060tokenID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareValidation/Support/Reference/Quant/EmbedLookup.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ec9cc48231dbdef7a186db6f78c8fb5e037e4a0417122e3f87a1cc5371a4f3"}},{"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":"0dbb915274563a1a1c7710b67a8c19d2a107f22fcaf0daddfce999f66be50e9d"},"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":"ed65b9c95a4dc53898afcb477735e650c15707ac619af8959b21ca0939b1e0af"},"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":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.role == .developer || $0.role == .tool || !$0.toolCalls.isEmpty\u0060 appears character-identically in 2 files \u2014 Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift, Sources/TurboFieldfareServer/Core/ServerInference.swift. 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":"Sources/TurboFieldfare/Runtime/Vision/MultimodalPromptRenderer.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b93901aaf7f3994da00d57abe191e5b2ad15ddc6f4392a36c93e7f75c358379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character == \u0022 \u0022 || character == \u0022\\t\u0022 || character == \u0022\\n\u0022 || character == \u0022\\r\u0022\u0060 appears character-identically in 2 files \u2014 Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift, Sources/TurboFieldfareApp/MacPresentation/ResponseMarkdownRenderer.swift. 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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"7028db88155450ed1b8e7f7688b6a2c190770fab1d56bf62cc5708b6ff330916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character == \u0022 \u0022 || character == \u0022\\t\u0022 || character == \u0022\\r\u0022\u0060 appears character-identically in 2 files \u2014 Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift, Sources/TurboFieldfareApp/MacPresentation/TailAutoClose.swift. 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":"Sources/TurboFieldfareApp/MacPresentation/MathSpanDetector.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3df414a2218e4493f8a1854700f23cb1caa44dad1d75d8273add8212f4cb17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceWidth == destinationWidth \u0026\u0026 sourceHeight == destinationHeight\u0060 appears character-identically in 2 files \u2014 Sources/TurboFieldfare/Kernels/Vision/VisionResize.swift, Sources/TurboFieldfare/Runtime/Vision/Preprocessing/TorchBicubicResize.swift. 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":"Sources/TurboFieldfare/Kernels/Vision/VisionResize.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc1fb4960fbdcb19283b43541f32bbf7cd19e0373060acfa2b0390042f183d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060temperature == 0 \u0026\u0026 repetitionPenalty == 1\u0060 appears character-identically in 2 files \u2014 Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift, Sources/TurboFieldfareApp/Core/Inference/AppGenerationRequest.swift. 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":"Sources/TurboFieldfare/Runtime/Generation/RawCompletion.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a6d9fff7716857a555ba88bf95152c2ab94e32b3aa356b82942d174694b13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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":"Sources/TurboFieldfare/Runtime/Generation/MultimodalConversation.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9880980f6f8bd95ee0cf0979b46253d7cd059ae65479b389afbc0864cf565e4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sweepAbandoned\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareApp/Core/Inference/AppImageAttachment.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e4d5e34399050ced6c8f46e16bf62877d8d584ce88e5fafd547020773f9553"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sweepAbandoned\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TurboFieldfareServer/Core/ServerAttachmentStore.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68f887bd5536dccb2efe5402c6a7c34ffa9b7bad061ed4791845a67667c9332"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.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-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-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":"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":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":3,"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."]}]}